:root {
  color-scheme: light;
  --bg: #f7efe2;
  --shell: #fffaf2;
  --panel: #fffdf8;
  --ink: #1d1914;
  --muted: #75695f;
  --line: #e6d8c6;
  --gold: #c7962d;
  --gold-deep: #7b5515;
  --dark: #1b1712;
  --ok: #277354;
  --forest: #245f4d;
  --plum: #55335d;
  --copper: #a86535;
  --warn: #9b5c16;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 250, 242, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--shell);
}

.button,
.button-secondary,
.download-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--dark);
  border-radius: 8px;
  padding: 10px 15px;
  background: var(--dark);
  color: #fff8e8;
  font-weight: 800;
  cursor: pointer;
}

.button:disabled,
.button-secondary:disabled {
  opacity: 0.55;
  cursor: wait;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button:hover,
.button-secondary:hover,
.download-button:hover {
  transform: translateY(-1px);
}

.page {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.eyebrow,
.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--shell);
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow-dark {
  border-color: rgba(255, 238, 191, 0.22);
  background: rgba(255, 250, 242, 0.08);
  color: #f6d783;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.95;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.lead {
  max-width: 660px;
  font-size: 18px;
}

.premium-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - 118px);
  display: grid;
  align-items: center;
  padding: clamp(38px, 6vw, 84px) 0 clamp(26px, 4vw, 48px);
  background:
    linear-gradient(115deg, rgba(20, 17, 14, 0.98) 0%, rgba(25, 18, 15, 0.92) 48%, rgba(36, 95, 77, 0.82) 100%),
    #15120f;
  color: #fff8e8;
}

.premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.22), #000 42%, rgba(0, 0, 0, 0.92));
}

.premium-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 38%;
  background: linear-gradient(0deg, rgba(247, 239, 226, 0.18), transparent);
  pointer-events: none;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  --mx: 0px;
  --my: 0px;
}

.stage-grid {
  position: absolute;
  inset: 12% 0 0 34%;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(247, 215, 146, 0.12) 42% 43%, transparent 43%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 18px);
  opacity: 0.55;
  transform: skewY(-8deg);
}

.stage-shell {
  position: absolute;
  right: clamp(20px, 5vw, 86px);
  top: clamp(38px, 8vh, 88px);
  width: min(680px, 56vw);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(250, 226, 169, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.14), rgba(255, 250, 242, 0.04)),
    rgba(18, 16, 14, 0.7);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.38);
  transform: translate3d(var(--mx), var(--my), 0) rotateX(0.01deg);
}

.stage-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 242, 204, 0.12) 38%, transparent 58%);
  transform: translateX(-100%);
  animation: stage-sheen 8s ease-in-out infinite;
}

.stage-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(250, 226, 169, 0.18);
  color: rgba(255, 248, 232, 0.78);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.stage-topbar span:last-child {
  margin-left: auto;
  color: #a7d8c6;
}

.status-dot,
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #58d79c;
  box-shadow: 0 0 0 6px rgba(88, 215, 156, 0.12);
}

.stage-canvas {
  position: relative;
  min-height: 472px;
  padding: 24px;
}

.voice-pill {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(430px, calc(100% - 52px));
  min-height: 66px;
  border: 1px solid rgba(247, 215, 146, 0.36);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(12, 10, 8, 0.94);
  color: #fff3cf;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%);
}

.pulse-dot {
  flex: 0 0 auto;
  animation: pulse-dot 1.9s ease-in-out infinite;
}

.wave {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.wave span {
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--gold);
  animation: wave-bounce 1.15s ease-in-out infinite;
}

.wave span:nth-child(2) {
  animation-delay: 0.12s;
}

.wave span:nth-child(3) {
  animation-delay: 0.24s;
}

.wave span:nth-child(4) {
  animation-delay: 0.36s;
}

.wave span:nth-child(5) {
  animation-delay: 0.48s;
}

.draft-card,
.vault-panel,
.agent-panel {
  position: absolute;
  border: 1px solid rgba(255, 238, 191, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.1);
  backdrop-filter: blur(18px);
  color: #fff8e8;
}

.draft-card {
  top: 34px;
  left: 28px;
  width: min(330px, 52%);
  padding: 18px;
  animation: float-card 6.2s ease-in-out infinite;
}

.label,
.mini-kicker {
  display: block;
  color: #f5d17b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.draft-card p,
.vault-panel p,
.agent-panel p {
  color: rgba(255, 248, 232, 0.74);
  font-size: 14px;
  line-height: 1.5;
}

.draft-card p {
  margin: 8px 0 14px;
  color: #fff7df;
}

.typing-lines {
  display: grid;
  gap: 8px;
}

.typing-lines span {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 248, 232, 0.28), rgba(245, 209, 123, 0.72), rgba(255, 248, 232, 0.22));
  background-size: 220% 100%;
  animation: typing-shine 2.8s ease-in-out infinite;
}

.typing-lines span:nth-child(2) {
  width: 84%;
  animation-delay: 0.2s;
}

.typing-lines span:nth-child(3) {
  width: 58%;
  animation-delay: 0.4s;
}

.privacy-orbit {
  position: absolute;
  right: 26px;
  top: 116px;
  display: grid;
  grid-template-columns: auto 42px auto 42px auto;
  align-items: center;
  gap: 7px;
}

.route-node {
  min-width: 62px;
  border: 1px solid rgba(255, 248, 232, 0.2);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 250, 242, 0.09);
  color: rgba(255, 248, 232, 0.72);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.route-node-strong {
  background: rgba(39, 115, 84, 0.42);
  color: #dff7ed;
}

.route-line {
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.14);
}

.route-line::after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: #f2c564;
  animation: route-pulse 1.7s linear infinite;
}

.vault-panel {
  right: 32px;
  bottom: 36px;
  width: 250px;
  padding: 18px;
  animation: float-card 7.2s ease-in-out infinite reverse;
}

.vault-panel strong,
.agent-panel strong {
  display: block;
  margin: 7px 0 6px;
  font-size: 18px;
}

.agent-panel {
  left: 38px;
  bottom: 42px;
  width: 258px;
  padding: 18px;
  background: rgba(85, 51, 93, 0.24);
  animation: float-card 6.8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  max-width: 650px;
}

.hero-content h1 {
  color: #fff8e8;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.hero-lead {
  color: rgba(255, 248, 232, 0.78);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button-hero {
  border-color: #f2c564;
  background: #f2c564;
  color: #17120c;
}

.button-hero-secondary {
  border-color: rgba(255, 248, 232, 0.24);
  color: #fff8e8;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
  padding-top: 8px;
}

.trust-strip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 250, 242, 0.07);
  color: rgba(255, 248, 232, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 24px;
}

.privacy-proof {
  padding-top: clamp(48px, 7vw, 82px);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.privacy-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 250, 242, 0.9)),
    var(--panel);
}

.privacy-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(232, 244, 236, 0.7), rgba(255, 250, 242, 0.88)),
    var(--panel);
}

.privacy-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(243, 232, 245, 0.62), rgba(255, 250, 242, 0.9)),
    var(--panel);
}

.mini-kicker {
  color: var(--forest);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card,
.plan-card,
.account-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}

.card {
  display: grid;
  gap: 10px;
}

.feature-band {
  padding: clamp(58px, 8vw, 96px) 0;
  background: #15120f;
  color: #fff8e8;
}

.feature-band p {
  color: rgba(255, 248, 232, 0.72);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.feature-stack {
  display: grid;
  gap: 12px;
}

.feature-stack article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 238, 191, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 250, 242, 0.07);
}

.feature-stack strong {
  color: #fff8e8;
  font-size: 18px;
}

.feature-stack span {
  color: rgba(255, 248, 232, 0.68);
  line-height: 1.5;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final-cta h2 {
  max-width: 760px;
}

.plan-card {
  display: grid;
  gap: 14px;
}

.price {
  font-size: 38px;
  font-weight: 850;
}

.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.5;
}

.download-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--panel);
}

.download-button {
  width: 100%;
}

.muted {
  color: var(--muted);
}

.account-layout {
  display: grid;
  gap: 18px;
  padding: 54px 0 72px;
}

.account-panel {
  display: grid;
  gap: 14px;
}

.meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eadbc7;
}

.meter span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gold);
}

.notice {
  display: none;
  border: 1px solid #e8c27a;
  border-radius: 8px;
  padding: 12px;
  background: #fff4d7;
  color: var(--warn);
}

.notice[data-visible="true"] {
  display: block;
}

.site-footer {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@keyframes wave-bounce {
  0%,
  100% {
    height: 14px;
  }

  50% {
    height: 32px;
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(0.92);
    box-shadow: 0 0 0 5px rgba(88, 215, 156, 0.11);
  }

  50% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(88, 215, 156, 0.03);
  }
}

@keyframes stage-sheen {
  0%,
  46% {
    transform: translateX(-120%);
  }

  70%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes typing-shine {
  0%,
  100% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 0 50%;
  }
}

@keyframes route-pulse {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(240%);
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 940px) {
  .premium-hero {
    min-height: auto;
    padding-top: 52px;
  }

  .stage-shell {
    right: 18px;
    left: 18px;
    top: 38px;
    width: auto;
    min-height: 500px;
    opacity: 0.42;
  }

  .stage-grid {
    inset: 0;
  }

  .hero-content {
    max-width: 720px;
    padding: 58px 0 24px;
  }

  .privacy-grid,
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .privacy-card {
    min-height: auto;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .nav a {
    padding-right: 9px;
    padding-left: 9px;
  }

  .stage-shell {
    top: 20px;
    min-height: 560px;
    opacity: 0.3;
  }

  .stage-canvas {
    min-height: 512px;
  }

  .draft-card,
  .agent-panel,
  .vault-panel {
    width: min(260px, calc(100% - 42px));
  }

  .draft-card {
    left: 20px;
    top: 28px;
  }

  .privacy-orbit {
    left: 20px;
    right: auto;
    top: 170px;
    grid-template-columns: auto;
    justify-items: start;
  }

  .route-line {
    width: 2px;
    height: 22px;
    margin-left: 30px;
  }

  .route-line::after {
    width: 100%;
    height: 42%;
    animation: none;
  }

  .voice-pill {
    top: 56%;
    width: calc(100% - 36px);
    min-height: 58px;
    font-size: 13px;
  }

  .agent-panel {
    left: 20px;
    bottom: 24px;
  }

  .vault-panel {
    right: 20px;
    bottom: 132px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 62px);
  }

  .lead {
    font-size: 16px;
  }

  .trust-strip span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
