:root {
  --bg: #07080c;
  --bg-soft: #0d1017;
  --bg-elevated: rgba(18, 22, 31, 0.8);
  --panel: rgba(13, 17, 25, 0.86);
  --panel-strong: #101520;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5efe7;
  --muted: #b7b5ae;
  --soft: #908d88;
  --cyan: #92f5ff;
  --teal: #53d7db;
  --warm: #ffb28a;
  --gold: #f9d7a0;
  --green: #89ffa7;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.46);
  --max-width: 1180px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 16%, rgba(146, 245, 255, 0.14), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(255, 178, 138, 0.14), transparent 24%),
    radial-gradient(circle at 52% 58%, rgba(255, 255, 255, 0.05), transparent 28%),
    linear-gradient(180deg, #07090d 0%, #090c12 32%, #06070b 100%);
  font-family: var(--font-body);
  line-height: 1.6;
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  pointer-events: none;
  opacity: 0.24;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p,
ul,
ol {
  margin: 0;
}

ul {
  padding-left: 1.1rem;
}

main,
section,
header,
footer,
nav {
  position: relative;
  z-index: 1;
}

.shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(92px);
  pointer-events: none;
  opacity: 0.24;
  z-index: 0;
}

.page-glow-left {
  top: 3rem;
  left: -8rem;
  background: rgba(146, 245, 255, 0.18);
}

.page-glow-right {
  top: 8rem;
  right: -8rem;
  background: rgba(255, 178, 138, 0.18);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: var(--text);
  color: #0a0a0a;
  border-radius: 999px;
  padding: 0.75rem 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 12, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(146, 245, 255, 0.2), rgba(255, 178, 138, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-text {
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.main-nav a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.8rem);
  display: grid;
  gap: 0.65rem;
  width: min(18rem, calc(100vw - 1.2rem));
  padding: 1rem;
  border-radius: 1.15rem;
  background: rgba(10, 14, 21, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.mobile-nav-panel a:not(.button) {
  padding: 0.65rem 0.8rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.policy-links a:hover,
.policy-links a:focus-visible,
.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #081015;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  box-shadow: 0 18px 50px rgba(124, 232, 241, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.button-small {
  min-height: 2.8rem;
  padding-inline: 1rem;
  font-size: 0.92rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 2.5rem;
  align-items: start;
  min-height: 42rem;
  padding: 3.75rem 0 2.5rem;
}

.eyebrow {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.doc-hero h1,
.error-card h1 {
  margin: 1rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.35rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 9ch;
}

.hero-text,
.section-heading p,
.final-copy p,
.doc-hero p,
.doc-card p,
.doc-card li,
.faq-item p,
.feature-card p,
.step-card p,
.persona-copy p,
.theme-copy p,
.price-card p,
.signal-card p,
.trust-card p {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.pill-row,
.cta-row,
.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.pill-row {
  margin-top: 1.6rem;
}

.cta-row {
  margin-top: 1.8rem;
}

.hero-proof-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.7rem;
  max-width: 32rem;
}

.hero-proof-line p {
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-mini-avatars {
  display: inline-flex;
  align-items: center;
  min-width: 9rem;
}

.hero-mini-avatars img {
  width: 2.6rem;
  height: 2.6rem;
  margin-left: -0.65rem;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 2px solid rgba(7, 8, 12, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.hero-mini-avatars img:first-child {
  margin-left: 0;
}

.pill,
.signal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.9rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.trust-card,
.feature-card,
.step-card,
.price-card,
.faq-item,
.signal-card,
.doc-card,
.error-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.trust-card {
  padding: 1.2rem;
}

.trust-kicker,
.plan-kicker,
.signal-label,
.theme-label {
  display: inline-flex;
  margin-bottom: 0.4rem;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust-card strong,
.signal-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.03rem;
}

.hero-visual {
  position: relative;
  min-height: 39rem;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.hero-grid {
  position: absolute;
  inset: 8% 4% 8%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 5.2rem 5.2rem;
  mask-image: radial-gradient(circle at center, black 44%, transparent 84%);
  opacity: 0.24;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.85;
}

.hero-orb-a {
  top: 2%;
  right: 8%;
  width: 11rem;
  height: 11rem;
  background: rgba(146, 245, 255, 0.16);
}

.hero-orb-b {
  left: 6%;
  bottom: 10%;
  width: 12rem;
  height: 12rem;
  background: rgba(255, 178, 138, 0.14);
}

.hero-stage {
  position: relative;
  width: min(100%, 38rem);
  min-height: 38rem;
  padding: 1.5rem;
  overflow: hidden;
  border-radius: 2.3rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.09), transparent 20%),
    linear-gradient(180deg, rgba(12, 16, 24, 0.96), rgba(8, 10, 15, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  pointer-events: none;
}

.hero-stage::before {
  top: -1rem;
  left: -2rem;
  width: 12rem;
  height: 12rem;
  background: rgba(146, 245, 255, 0.16);
}

.hero-stage::after {
  right: -1rem;
  bottom: -2rem;
  width: 13rem;
  height: 13rem;
  background: rgba(255, 178, 138, 0.12);
}

.hero-stage-copy {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  max-width: 10.5rem;
}

.stage-kicker {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stage-copy strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.45rem;
  line-height: 1.15;
}

.hero-stage-copy p {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-companion-rail {
  position: absolute;
  z-index: 2;
  top: 1.45rem;
  right: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  max-width: 9.5rem;
}

.companion-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: rgba(10, 14, 21, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  font-size: 0.78rem;
}

.companion-chip img {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.hero-portrait {
  position: absolute;
  right: 1rem;
  bottom: 0.6rem;
  z-index: 1;
  width: min(12rem, 26%);
  height: calc(100% - 1.4rem);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: auto 12% 16% auto;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: rgba(83, 215, 219, 0.24);
  filter: blur(40px);
  z-index: -1;
}

.hero-portrait img {
  height: min(21rem, 78%);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.42));
}

.phone-card {
  position: relative;
  z-index: 4;
  width: min(18.75rem, 47%);
  min-height: 31rem;
  margin: 6rem 0 0 8rem;
  padding: 1rem;
  border-radius: 2.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 12%),
    linear-gradient(180deg, rgba(14, 18, 26, 0.96), rgba(10, 13, 20, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.phone-chrome {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.phone-notch {
  display: block;
  width: 8rem;
  height: 0.45rem;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.phone-status,
.phone-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.phone-status span:last-child {
  color: var(--cyan);
}

.phone-body {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.chat-day {
  justify-self: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  font-size: 0.82rem;
}

.chat-bubble {
  max-width: 84%;
  padding: 0.9rem 1rem;
  border-radius: 1.25rem;
  font-size: 0.96rem;
  line-height: 1.55;
}

.chat-bubble-user {
  justify-self: end;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 178, 138, 0.12));
  border-top-right-radius: 0.55rem;
}

.chat-bubble-ai {
  justify-self: start;
  background: linear-gradient(135deg, rgba(146, 245, 255, 0.16), rgba(255, 255, 255, 0.04));
  border-top-left-radius: 0.55rem;
}

.chat-typing {
  display: inline-flex;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  width: fit-content;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.05);
}

.chat-typing span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--soft);
  animation: blink 1.15s infinite ease-in-out;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.16s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.trust-strip p {
  color: var(--muted);
  text-align: center;
  font-size: 0.96rem;
}

.section {
  padding: 6rem 0 0;
}

.section-heading {
  max-width: 42rem;
}

.section-heading h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
}

.section-heading p {
  max-width: 40rem;
}

.feature-grid,
.steps-grid,
.persona-grid,
.theme-grid,
.pricing-grid,
.faq-grid,
.doc-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.step-card {
  padding: 1.4rem;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.feature-card h3,
.step-card h3,
.persona-copy h3,
.theme-card h3,
.price-card h3,
.doc-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.3rem;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-index {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--warm);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.persona-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.persona-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  min-height: 22.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 18%),
    linear-gradient(180deg, rgba(13, 17, 25, 0.98), rgba(8, 10, 16, 0.98));
  transform-style: preserve-3d;
}

.persona-card::before,
.theme-card::before,
.price-card-featured::before,
.final-cta::before,
.doc-hero::before,
.error-card::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 50%;
  width: 70%;
  height: 16rem;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.28;
}

.persona-kayal::before {
  background: rgba(83, 215, 219, 0.4);
}

.persona-ava::before {
  background: rgba(128, 116, 255, 0.22);
}

.persona-jax::before {
  background: rgba(111, 255, 198, 0.3);
}

.persona-kai::before {
  background: rgba(255, 178, 138, 0.3);
}

.persona-card img {
  position: relative;
  inset: auto;
  width: min(72%, 9.5rem);
  height: auto;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.45));
}

.persona-copy {
  position: relative;
  inset: auto;
  z-index: 1;
  width: 100%;
}

.tag-list,
.plan-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin-top: 0.85rem;
}

.tag-list li,
.plan-list li {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.88rem;
}

.theme-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.theme-card {
  position: relative;
  padding: 1.5rem;
  min-height: 21rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.theme-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.theme-cyber {
  background:
    linear-gradient(135deg, rgba(15, 17, 23, 0.96), rgba(11, 23, 29, 0.98)),
    #0d1218;
}

.theme-cyber::before {
  background: rgba(99, 255, 220, 0.32);
}

.theme-cyber .theme-label,
.theme-cyber .theme-line {
  color: var(--green);
  font-family: var(--font-mono);
}

.theme-avatar {
  width: 4.9rem;
  height: 4.9rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-avatar img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.theme-preview {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
  padding: 0.95rem;
  border-radius: 1.1rem;
}

.theme-preview-cyber {
  border: 1px solid rgba(111, 255, 198, 0.16);
  background: rgba(4, 10, 12, 0.55);
}

.theme-line {
  font-size: 0.86rem;
}

.theme-classic {
  color: #191511;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), rgba(242, 231, 214, 0.96)),
    #f2e7d6;
}

.theme-classic p,
.theme-classic h3 {
  color: #2c241d;
}

.theme-classic .theme-label {
  color: #7d5d3c;
}

.theme-preview-classic {
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(25, 21, 17, 0.08);
}

.classic-user,
.classic-ai {
  display: inline-flex;
  width: fit-content;
  padding: 0.7rem 0.95rem;
  border-radius: 1rem;
  font-size: 0.92rem;
}

.classic-user {
  background: rgba(25, 21, 17, 0.08);
}

.classic-ai {
  background: rgba(255, 255, 255, 0.72);
}

.theme-aurora {
  background:
    radial-gradient(circle at top left, rgba(255, 176, 138, 0.26), transparent 34%),
    radial-gradient(circle at 70% 18%, rgba(146, 245, 255, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(25, 18, 35, 0.94), rgba(14, 16, 28, 0.96));
}

.theme-aurora::before {
  background: rgba(255, 178, 138, 0.26);
}

.theme-preview-aurora {
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-card {
  position: relative;
  padding: 1.6rem;
}

.price-card-featured {
  overflow: hidden;
  border-color: rgba(146, 245, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(17, 24, 33, 0.94), rgba(11, 14, 20, 0.96));
}

.price-card-featured::before,
.final-cta::before,
.doc-hero::before,
.error-card::before {
  background: rgba(146, 245, 255, 0.28);
}

.plan-badge {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(146, 245, 255, 0.12);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
}

.price {
  margin: 0.8rem 0 1rem;
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
}

.price span {
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1rem;
}

.price-alt {
  margin: -0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.plan-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.4rem;
}

.plan-list li {
  width: fit-content;
}

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.2rem;
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)),
    rgba(10, 13, 19, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.privacy-copy {
  padding: 1rem;
}

.privacy-copy h2,
.final-copy h2 {
  margin: 1rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.privacy-signals {
  display: grid;
  gap: 1rem;
}

.signal-card {
  padding: 1.2rem;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  padding: 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.75rem;
}

.final-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.4rem;
  padding: 2rem;
  border-radius: calc(var(--radius-lg) + 0.2rem);
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 178, 138, 0.22), transparent 25%),
    radial-gradient(circle at 82% 18%, rgba(146, 245, 255, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(10, 13, 20, 0.98), rgba(12, 16, 24, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.final-copy {
  position: relative;
  z-index: 1;
}

.final-cast {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  align-self: end;
  align-content: end;
}

.final-cast-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  min-height: 11rem;
  padding: 0.6rem 0.55rem 0.75rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.final-cast-card img {
  width: auto;
  max-width: 100%;
  height: 7.1rem;
  object-fit: contain;
  object-position: center bottom;
}

.final-cast-card span {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.site-footer {
  padding: 4.5rem 0 2.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 1.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-footer {
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--muted);
  max-width: 18rem;
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-list li {
  color: var(--muted);
}

.footer-download {
  margin-top: 0.35rem;
}

.footer-note {
  margin-top: 0.85rem;
  color: var(--muted);
  max-width: 16rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--soft);
  font-size: 0.9rem;
}

.doc-page .site-header,
.error-page .site-header {
  position: relative;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
}

.doc-layout,
.error-layout {
  padding: 2rem 0 4.5rem;
}

.doc-hero,
.error-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: calc(var(--radius-lg) + 0.2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 20%),
    linear-gradient(180deg, rgba(12, 16, 24, 0.98), rgba(9, 11, 17, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.doc-hero h1,
.error-card h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}

.doc-meta {
  margin-top: 1rem;
  color: var(--soft);
  font-size: 0.95rem;
}

.doc-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doc-card {
  padding: 1.4rem;
}

.doc-card ul {
  margin-top: 0.8rem;
}

.doc-card li + li {
  margin-top: 0.45rem;
}

.doc-callout {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.error-layout {
  min-height: calc(100vh - 10rem);
  display: grid;
  place-items: center;
}

.error-card {
  max-width: 42rem;
  text-align: center;
}

.error-card p {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tilt-card:hover,
.tilt-card:focus-within {
  border-color: rgba(146, 245, 255, 0.24);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.56);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.2rem;
  }

  .hero-copy {
    max-width: 44rem;
  }

  .hero-visual {
    min-height: 40rem;
  }

  .feature-grid,
  .persona-grid,
  .theme-grid,
  .faq-grid,
  .footer-grid,
  .doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid,
  .steps-grid,
  .pricing-grid,
  .privacy-panel,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    width: min(100%, 40rem);
  }

  .phone-card {
    width: min(21rem, 54%);
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: var(--radius-md);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 0.85rem 0;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .shell {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .hero {
    padding-top: 2rem;
    gap: 1.4rem;
  }

  .hero h1,
  .section-heading h2,
  .doc-hero h1,
  .error-card h1,
  .privacy-copy h2,
  .final-copy h2 {
    max-width: 100%;
  }

  .hero-proof-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .trust-grid,
  .feature-grid,
  .steps-grid,
  .persona-grid,
  .theme-grid,
  .pricing-grid,
  .faq-grid,
  .footer-grid,
  .doc-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 32rem;
  }

  .hero-stage {
    min-height: 33rem;
    padding: 1rem;
  }

  .phone-card {
    width: min(18.4rem, 100%);
    min-height: 28rem;
    margin: 6.25rem 0 0 4.2rem;
  }

  .hero-stage-copy {
    top: 1rem;
    left: 1rem;
    max-width: 9.8rem;
  }

  .hero-stage-copy strong {
    font-size: 1.15rem;
  }

  .hero-companion-rail {
    top: auto;
    right: auto;
    left: 1rem;
    bottom: 0.95rem;
    max-width: calc(100% - 2rem);
    justify-content: flex-start;
  }

  .companion-chip {
    font-size: 0.72rem;
  }

  .hero-portrait {
    width: 28%;
    right: 0.4rem;
  }

  .hero-portrait img {
    height: min(15rem, 74%);
  }

  .persona-card {
    min-height: 19.5rem;
  }

  .persona-card img {
    width: min(62%, 8.5rem);
    margin-bottom: 0.8rem;
  }

  .theme-card {
    min-height: 22rem;
  }

  .theme-card img {
    width: min(12rem, 42%);
  }

  .final-cta,
  .doc-hero,
  .error-card {
    padding: 1.35rem;
  }

  .final-cast {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  .reveal,
  .tilt-card,
  .button,
  .chat-typing span {
    transition: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  [data-parallax] {
    transform: translate3d(0, 0, 0) !important;
  }
}
