.sub-nav { display:flex; justify-content:space-between; align-items:center; gap:14px; min-height:76px; }
.sub-nav > a:last-child { font-weight:800; font-size:.86rem; white-space:nowrap; }
.grown-hero { padding-block:clamp(48px,8vw,130px); background:radial-gradient(ellipse at 72% 52%,#b7b5ff,transparent 56%),radial-gradient(ellipse at 30% 99%,#e1c2ff,transparent 54%),#f1edff; overflow:clip; position:relative; isolation:isolate; }
.grown-hero::after { content:''; position:absolute; z-index:-1; inset:0 -38% -20% 21%; background:url('/assets/ribbon-fallback.webp') center /contain no-repeat; opacity:.35; animation:fallback-flow 16s ease-in-out infinite alternate; }
.sub-kicker { font-weight:800; margin:0 0 18px; color:#5036a4; }
.grown-hero h1,.chat-main h1 { font-size:clamp(2.6rem,7.75vw,7rem); letter-spacing:-.086em; line-height:.95; margin:0; font-weight:800; max-width:850px; }
.grown-hero h1 { font-size:clamp(2.35rem,7.3vw,6.6rem); letter-spacing:-.038em; word-spacing:.04em; line-height:1.02; }
.grown-hero h1 em,.chat-main h1 em,.sub-section h2 em { color:#5433ce; font-family:Georgia,serif; font-weight:400; }
.grown-hero h1 em,.sub-section h2 em { letter-spacing:-.02em; }
.grown-hero p:not(.sub-kicker) { max-width:580px; margin:22px 0; line-height:1.6; font-weight:600; }
.sub-section { padding-block:clamp(46px,8vw,94px); }
.sub-section h2 { margin:0 0 22px; font-size:clamp(2rem,5.25vw,5.15rem); letter-spacing:-.037em; word-spacing:.035em; line-height:1.06; }
.sub-section h3 { margin:0 0 9px; font-size:1.35rem; letter-spacing:-.016em; line-height:1.16; }
.sub-section p,.grown-panel p { color:#52496b; line-height:1.6; margin:0 0 16px; }
.grown-split,.grown-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.grown-grid { grid-template-columns:repeat(3,1fr); }
.grown-panel { padding:clamp(23px,4vw,43px); border-radius:26px; border:1px solid #ded4fa; background:#ffffffcd; }
.grown-panel p:last-child { margin-bottom:0; }
.grown-study { background:#e9e0ff; }
.grown-featured { background:#6139d8; color:#fff; }
.grown-featured p { color:#fff; }
.grown-price { display:block; font-size:clamp(2.8rem,6vw,5.1rem); font-weight:800; letter-spacing:-.039em; word-spacing:.02em; }
.grown-split + p { margin-top:15px; }
.teen-invitation { background:#eae2ff; }
.teen-invitation h2 { font-size:clamp(1.4rem,3.2vw,2.5rem); letter-spacing:-.023em; word-spacing:.02em; line-height:1.17; margin:0 0 16px; }
.teen-invitation a { white-space:normal; }
.grown-panel:has(a, button) {
  --grown-engaged-border: #ad96ea;
  --grown-engaged-shadow: 0 9px 25px #42317620;
  --grown-engaged-lift: -3px;
  transition: border-color .22s ease, box-shadow .22s ease, translate .22s ease;
}
.motion-armed .grown-panel:has(a, button).motion-in.is-visible {
  transition: opacity .55s ease, transform .7s cubic-bezier(.18,.66,.31,1), border-color .22s ease, box-shadow .22s ease, translate .22s ease;
}
.grown-panel:focus-within {
  border-color: var(--grown-engaged-border, #ad96ea);
  box-shadow: var(--grown-engaged-shadow, 0 9px 25px #42317620);
}
@media (hover: hover) and (pointer: fine) {
  .grown-panel:has(a, button):hover {
    border-color: var(--grown-engaged-border);
    box-shadow: var(--grown-engaged-shadow);
  }
  html:not(.motion-off) .grown-panel:has(a, button):hover {
    translate: 0 var(--grown-engaged-lift);
  }
  .adult-faq summary:hover {
    color: #4d2db5;
  }
}
@media (prefers-reduced-motion: reduce) {
  .grown-panel:has(a, button) { --grown-engaged-lift: 0px; }
}
.adult-faq { border-top:1px solid #d8d1ec; }
.adult-faq details { padding:12px 0; border-bottom:1px solid #d8d1ec; }
.adult-faq summary { cursor:pointer; font-weight:800; padding:8px 0; transition:color .2s ease; }
.adult-faq summary:focus-visible,.adult-faq details[open] > summary { color:#4d2db5; }
.adult-faq p { max-width:63ch; margin:9px 0; }
.chat-page { background:radial-gradient(ellipse at 50% 0,#ded0ff,transparent 70%),#f8f7ff; min-height:100svh; }
.chat-main { padding:30px 0 62px; width:min(calc(100% - 34px),780px); margin:auto; }
.chat-main h1 { font-size:clamp(2.7rem,7vw,5.6rem); }
.chat-intro { color:#534966; line-height:1.5; }
.chat-plan { padding:12px 15px; background:#eae1ff; border-radius:14px; font-size:.87rem; font-weight:700; }
.chat-shell { background:#fff; border:1px solid #e3ddf8; border-radius:24px; box-shadow:0 16px 35px #4e349a18; padding:18px; }
.chat-controls { display:flex; gap:8px; flex-wrap:wrap; }
.chat-controls button { border:1px solid #e1d8ff; border-radius:999px; background:#f5f1ff; color:#482ba6; padding:10px 13px; cursor:pointer; font-weight:800; }
.chat-controls button[aria-pressed=true] { background:#e5dbff; color:#32177e; }
.dialog { display:flex; flex-direction:column; align-items:flex-start; gap:12px; margin:17px 0; max-height:46vh; min-height:65px; overflow:auto; }
.dialog-message { margin:0; max-width:min(90%,570px); padding:13px 16px; border-radius:4px 17px 17px 17px; background:#f1ecff; line-height:1.5; overflow-wrap:anywhere; }
.dialog-user { background:#5b39d5; color:#fff; align-self:flex-end; border-radius:17px 4px 17px 17px; }
.chat-form label { display:block; font-weight:800; margin-bottom:5px; }
.chat-input { display:flex; gap:8px; align-items:end; }
.chat-input textarea { min-width:0; width:100%; padding:10px; resize:vertical; border:1px solid #d6cbed; border-radius:10px; font:inherit; }
.chat-input .button:disabled { opacity:.46; }
#chat-note,#chat-error,.chat-policy { font-size:.78rem; line-height:1.45; }
#chat-note { color:#5e5572; margin-bottom:4px; }
#chat-error { color:#6e3476; }
.chat-policy { display:inline-block; margin-top:14px; }
@media(max-width:700px){.grown-split,.grown-grid{grid-template-columns:1fr}.sub-nav{min-height:59px}.grown-hero::after{inset:-5% -57% -33% -12%}.chat-shell{padding:11px}.chat-input{align-items:stretch;flex-direction:column}.chat-input .button{align-self:start;min-height:43px}}

.grown-split > .grown-panel,
.grown-grid > .grown-panel {
  --card-x: 14px;
  --card-y: 35px;
  --card-scale: .98;
  --card-duration: .72s;
}

.grown-grid > .grown-panel:first-child,
.grown-split > .grown-panel:first-child {
  --card-x: -14px;
}

.grown-grid > .grown-panel:nth-child(2) {
  --card-x: 0px;
}

.grown-split > .grown-featured {
  --card-y: 44px;
  --card-scale: .97;
  --card-duration: .8s;
}

.adult-faq > details {
  --card-x: 0px;
  --card-y: 13px;
  --card-duration: .65s;
}

@media (max-width: 700px) {
  .grown-split > .grown-panel,
  .grown-split > .grown-panel:first-child,
  .grown-grid > .grown-panel,
  .grown-grid > .grown-panel:first-child,
  .grown-grid > .grown-panel:nth-child(2) {
    --card-x: 0px;
    --card-y: 24px;
  }
}

.grown-accent {
  position: absolute;
  top: 11%;
  right: -5%;
  z-index: -1;
  width: min(41vw, 510px);
  aspect-ratio: 1.65;
}
.grown-accent[data-ready="true"] { opacity: .83; }
@media (max-width: 1000px) {
  .grown-accent { top: auto; bottom: 3%; right: -11%; width: min(52vw, 470px); }
  .grown-accent[data-ready="true"] { opacity: .58; }
}
@media (max-width: 700px) {
  .grown-hero { padding-bottom: 31vw; }
  .grown-accent { bottom: 0; right: 0; width: min(56vw, 290px); }
  .grown-accent[data-ready="true"] { opacity: .87; }
}
