/*
Theme Name: LoveGPT
Theme URI: https://love-gpt.net/
Author: LoveGPT
Description: Premium AI girlfriend chat theme for LoveGPT.
Version: 1.0.4
License: GNU General Public License v2 or later
Text Domain: lovegpt
*/

:root {
  --bg: #07050d;
  --bg-2: #0d0917;
  --panel: rgba(255, 255, 255, .045);
  --line: rgba(255, 255, 255, .1);
  --text: #f4eefb;
  --muted: #a99fc0;
  --pink: #ff3d8b;
  --violet: #a03bff;
  --cyan: #34d7ff;
  --grad: linear-gradient(115deg, #ff3d8b 0%, #a03bff 55%, #34d7ff 110%);
  --grad-soft: linear-gradient(115deg, rgba(255, 61, 139, .18), rgba(160, 59, 255, .16));
  --r: 22px;
  --shell: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2 {
  font-family: 'Sora', system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
  font-weight: 800;
}

h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); }
p { margin: 0 0 1.1em; }

.shell { width: min(var(--shell), 92%); margin-inline: auto; }
.narrow { width: min(860px, 92%); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto;
  clip: auto; background: #fff; color: #000; padding: 10px 16px; z-index: 999;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .72rem;
  color: var(--muted); font-weight: 500; margin-bottom: 1rem;
}
.eyebrow a:hover { color: var(--pink); }
.lede { font-size: clamp(1rem, 1.4vw, 1.18rem); color: #d5cbe8; max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.85rem; border-radius: 999px; font-weight: 600; font-size: .97rem;
  cursor: pointer; border: 1px solid transparent; position: relative;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
  letter-spacing: .01em; white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 40px -12px rgba(255, 61, 139, .75);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 55px -14px rgba(160, 59, 255, .9); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.03); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255,61,139,.55); transform: translateY(-3px); }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.03rem; }
.btn-sm { padding: .68rem 1.25rem; font-size: .87rem; }

.pulse::after {
  content: ''; position: absolute; inset: -2px; border-radius: inherit;
  background: var(--grad); filter: blur(16px); opacity: .5; z-index: -1;
  animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(.98); } 50% { opacity: .7; transform: scale(1.04); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; padding: 1rem 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.site-header.is-stuck {
  background: rgba(7, 5, 13, .82); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 var(--line); padding: .55rem 0;
}
.nav-shell { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.22rem; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; font-size: .9rem; color: #fff;
  box-shadow: 0 8px 24px -8px rgba(255,61,139,.9);
}
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-navigation { margin-left: auto; }
.main-navigation .menu { display: flex; gap: 1.9rem; font-size: .95rem; }
.main-navigation a { color: #cfc5e3; position: relative; padding: .3rem 0; }
.main-navigation a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); transition: width .3s;
}
.main-navigation a:hover { color: #fff; }
.main-navigation a:hover::after { width: 100%; }
.burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); display: block; transition: .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- orbs ---------- */
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.orb-a { width: 520px; height: 520px; background: rgba(255,61,139,.34); top: -140px; left: -120px; animation: float1 16s ease-in-out infinite; }
.orb-b { width: 460px; height: 460px; background: rgba(160,59,255,.34); bottom: -160px; right: -100px; animation: float2 19s ease-in-out infinite; }
.orb-c { width: 380px; height: 380px; background: rgba(52,215,255,.2); top: 40%; right: 18%; animation: float1 22s ease-in-out infinite; }
.orb-d { width: 620px; height: 620px; background: rgba(255,61,139,.24); top: -180px; left: 50%; transform: translateX(-50%); }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px,50px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-70px,-40px); } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(5rem, 12vw, 9.5rem) 0 clamp(4rem, 8vw, 7rem); isolation: isolate; }
.hero-bg {
  position: absolute; inset: -10%; background-size: cover; background-position: center;
  opacity: .3; z-index: -2; will-change: transform; transform: scale(1.08);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 50% 0%, rgba(7,5,13,.35) 0%, rgba(7,5,13,.9) 55%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 { background: linear-gradient(180deg, #fff 25%, #d9b6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.2rem 0 3rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: 760px; }
.hero-stats li { border-left: 2px solid rgba(255,61,139,.5); padding-left: .9rem; }
.hero-stats strong {
  display: block; font-family: 'Sora', sans-serif; font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats span { font-size: .82rem; color: var(--muted); line-height: 1.35; display: block; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid var(--line); border-radius: 14px; z-index: 3; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: var(--pink); animation: scroller 1.8s infinite; }
@keyframes scroller { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee-wrap { border-block: 1px solid var(--line); background: var(--grad-soft); padding: .95rem 0; overflow: hidden; }
.marquee-track {
  display: flex; gap: 2rem; align-items: center; width: max-content;
  animation: slide 38s linear infinite; font-family: 'Sora', sans-serif;
  text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 600;
}
.marquee-track i { color: var(--pink); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 30%, var(--bg-2) 70%, var(--bg) 100%); }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.page-hero { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero .shell { position: relative; z-index: 2; max-width: 900px; }
.small-hero { padding-bottom: 2rem; }
.single-hero { position: relative; overflow: hidden; padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.single-hero .shell { position: relative; z-index: 2; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee-track, .pulse::after, .orb { animation: none; }
}

/* ---------- model cards ---------- */
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 1.7rem; }
.model-card {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--panel); backdrop-filter: blur(12px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
  will-change: transform;
}
.model-card:hover { box-shadow: 0 30px 70px -30px rgba(160,59,255,.8); border-color: rgba(255,61,139,.4); }
.model-media { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.model-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.model-card:hover .model-media img { transform: scale(1.07); }
.model-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,5,13,.85) 100%); }
.model-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; padding: .4rem .8rem; border-radius: 999px;
  background: rgba(7,5,13,.6); border: 1px solid var(--line); backdrop-filter: blur(8px);
}
.model-body { padding: 1.3rem 1.4rem 1.5rem; }
.model-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.22rem; margin: 0 0 .35rem; }
.model-sub { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; }
.chips li {
  font-size: .74rem; padding: .32rem .72rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #cbbfe2;
}
.chips.big li { font-size: .84rem; padding: .48rem 1rem; }
.model-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- features / steps ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.4rem; }
.feature, .step {
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.9rem 1.6rem;
  background: var(--panel); transition: transform .35s, border-color .35s, background .35s;
}
.feature:hover, .step:hover { transform: translateY(-6px); border-color: rgba(255,61,139,.4); background: rgba(255,255,255,.07); }
.f-ic {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad); font-size: 1.2rem; margin-bottom: 1.1rem; color: #fff;
}
.f-t { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; margin: 0 0 .5rem; }
.feature p:last-child, .step p:last-child { color: var(--muted); margin: 0; font-size: .95rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; margin-bottom: 3rem; }
.step-n {
  font-family: 'Sora', sans-serif; font-size: 2.6rem; font-weight: 800; display: block; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .8rem;
}

/* ---------- prose ---------- */
.prose p { color: #ccc2e0; }
.prose h2 { margin-bottom: 1.2rem; }
.pull {
  margin: 2rem 0 0; padding: 1.4rem 1.8rem; border-left: 3px solid var(--pink);
  background: var(--grad-soft); border-radius: 0 var(--r) var(--r) 0;
}
.pull p { font-family: 'Sora', sans-serif; font-size: 1.15rem; font-style: italic; margin-bottom: .5rem; color: #fff; }
.pull cite { color: var(--muted); font-size: .85rem; font-style: normal; }

/* ---------- split / chat ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tick { margin: 0 0 1.8rem; display: grid; gap: .7rem; }
.tick li { position: relative; padding-left: 1.9rem; color: #ccc2e0; font-size: .97rem; }
.tick li::before {
  content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: .7rem; display: grid; place-items: center;
}
.chat-window {
  border: 1px solid var(--line); border-radius: 28px; background: rgba(13,9,23,.85);
  backdrop-filter: blur(16px); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(160,59,255,.85);
}
.chat-top { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--grad-soft); }
.chat-top img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.c-name { font-family: 'Sora', sans-serif; font-weight: 700; margin: 0; font-size: 1rem; }
.c-status { margin: 0; font-size: .76rem; color: #55e6a5; }
.c-status::before { content: '●'; margin-right: .35rem; font-size: .6rem; }
.chat-body { padding: 1.3rem; display: grid; gap: .7rem; }
.bub { margin: 0; padding: .75rem 1.1rem; border-radius: 18px; max-width: 82%; font-size: .95rem; line-height: 1.5; }
.bub.in { background: rgba(255,255,255,.07); border: 1px solid var(--line); border-bottom-left-radius: 6px; justify-self: start; }
.bub.out { background: var(--grad); color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.bub.typing { display: flex; gap: 5px; background: rgba(255,255,255,.07); border: 1px solid var(--line); justify-self: start; padding: .95rem 1.1rem; }
.bub.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1.3s infinite; }
.bub.typing span:nth-child(2) { animation-delay: .18s; }
.bub.typing span:nth-child(3) { animation-delay: .36s; }
@keyframes dot { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: 1.05rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cmp thead th { font-family: 'Sora', sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .yes { color: #67f0b0; font-weight: 600; }
.cmp .no { color: #ff86a6; }
.cmp tbody tr:hover { background: rgba(255,255,255,.035); }

/* ---------- quotes ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.4rem; }
.quote-grid blockquote {
  margin: 0; padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); transition: transform .35s, border-color .35s;
}
.quote-grid blockquote:hover { transform: translateY(-6px); border-color: rgba(160,59,255,.5); }
.quote-grid p { font-size: .98rem; color: #ded4f0; }
.quote-grid cite { font-style: normal; font-size: .84rem; color: var(--muted); }
.quote-grid blockquote::before { content: '“'; font-family: 'Sora', serif; font-size: 3rem; line-height: .6; color: var(--pink); display: block; margin-bottom: .6rem; }

/* ---------- accordion ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-q {
  width: 100%; background: none; border: 0; color: var(--text); text-align: left; cursor: pointer;
  padding: 1.25rem 1.5rem; font-size: 1rem; font-family: 'Sora', sans-serif; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color .25s;
}
.acc-q:hover { color: var(--pink); }
.acc-ic { position: relative; width: 16px; height: 16px; flex: 0 0 16px; }
.acc-ic::before, .acc-ic::after { content: ''; position: absolute; background: var(--pink); transition: transform .3s; }
.acc-ic::before { top: 7px; left: 0; width: 16px; height: 2px; }
.acc-ic::after { left: 7px; top: 0; width: 2px; height: 16px; }
.acc-item.is-open .acc-ic::after { transform: rotate(90deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.acc-item.is-open .acc-a { max-height: 420px; }
.acc-a p { padding: 0 1.5rem 1.35rem; margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- cta final ---------- */
.cta-final { position: relative; overflow: hidden; padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.cta-final .shell { position: relative; z-index: 2; }
.cta-final .lede { margin-inline: auto; margin-bottom: 2rem; }
.cta-final .small { margin-top: 1.4rem; }

/* ---------- single model ---------- */
.single-media { margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); position: relative; box-shadow: 0 40px 100px -40px rgba(255,61,139,.7); }
.single-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.single-media figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.6rem 1.4rem 1.1rem; font-size: .85rem;
  color: #e6dcf5; background: linear-gradient(180deg, transparent, rgba(7,5,13,.9));
  text-transform: uppercase; letter-spacing: .14em;
}
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.spec { border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.4rem; background: var(--panel); }
.spec span { display: block; font-size: .73rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: .4rem; }
.spec strong { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.02rem; }
.pager { display: flex; gap: .8rem; justify-content: center; margin-top: 2.5rem; }

/* ---------- legal ---------- */
.toc { border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.8rem; background: var(--panel); margin-bottom: 2.5rem; }
.toc ul { columns: 2; column-gap: 2rem; font-size: .88rem; color: var(--muted); }
.toc li { break-inside: avoid; padding: .18rem 0; }
.legal { display: grid; gap: 1rem; }
.legal-item { border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.6rem; background: var(--panel); transition: border-color .3s, transform .3s; }
.legal-item:hover { border-color: rgba(255,61,139,.35); transform: translateX(4px); }
.li-h { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.04rem; margin: 0 0 .5rem; display: flex; gap: .8rem; align-items: baseline; }
.li-h span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: .95rem; }
.legal-item p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.legal + .center { margin-top: 3rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #050409; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer-col .brand { margin-bottom: 1.1rem; }
.footer-col .muted { font-size: .93rem; margin-bottom: 1.4rem; max-width: 42ch; }
.foot-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); font-weight: 600; margin-bottom: 1.1rem; }
.foot-list { display: grid; gap: .6rem; font-size: .93rem; }
.foot-list a { color: #cabfdf; transition: color .25s, padding-left .25s; }
.foot-list a:hover { color: var(--pink); padding-left: 5px; }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.foot-bottom p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .main-navigation {
    position: fixed; inset: 64px 0 auto; background: rgba(7,5,13,.97); backdrop-filter: blur(20px);
    padding: 1.5rem 6%; border-bottom: 1px solid var(--line); display: none;
  }
  .main-navigation.is-open { display: block; }
  .main-navigation .menu { flex-direction: column; gap: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .toc ul { columns: 1; }
  .hero-cta .btn { width: 100%; }
}
