/* =========================================================
   Ivanchenko Sophia — The AI Website Playbook
   One accent (cobalt → ice), one type family, technical field, physical glass
   ========================================================= */
:root {
  --bg: #05060A;
  --bg-2: #0A0C12;
  --card: #10131A;
  --elev: #181C25;
  --text: #F2F4F8;
  --text-2: #9AA3B5;
  --text-3: #5E6677;
  --accent: #6EA8FF;        /* luminous cobalt */
  --accent-deep: #2F5BFF;
  --ice: #CFE0FF;
  --line: rgba(170, 195, 255, .075);
  --line-2: rgba(170, 195, 255, .14);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans); letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
main, .foot { position: relative; z-index: 1; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
iframe { border: 0; display: block; background: #0b0b0b; }

.frame { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.frame > *, [class*="__grid"] > * { min-width: 0; }
.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.dim { color: var(--text-3); }
.small { font-size: .82rem; }
.ice { color: var(--ice); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Type: one family, contrast by weight and tone */
.h-xxl, .h-xl, .hero__title { font-weight: 700; letter-spacing: -.05em; line-height: .9; text-transform: uppercase; }
.h-xxl { font-size: clamp(2.6rem, 8.2vw, 8.6rem); }
.h-xl { font-size: clamp(2.2rem, 5.2vw, 5.2rem); }
.thin { font-weight: 300; color: var(--text-2); letter-spacing: -.045em; }
.hero__title .ice, .h-xxl .ice {
  background: linear-gradient(100deg, #F2F4F8 0%, #CFE0FF 40%, #6EA8FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.label { display: flex; align-items: center; gap: 10px; color: var(--text-2); margin-bottom: 28px; }
.label::before { content: ""; width: 18px; height: 1px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.55; color: var(--text-2); max-width: 46ch; margin-top: 24px; }
.caption { color: var(--text-3); margin-top: 14px; }
.cap { margin-bottom: 14px; color: var(--text-2); }

/* =========================================================
   Glass — layered, edge-lit, with grain
   ========================================================= */
.glass {
  position: relative; isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .015) 40%, rgba(255, 255, 255, .03)),
    rgba(255, 255, 255, .012);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    inset 0 -1px 0 rgba(255, 255, 255, .03),
    inset 1px 0 0 rgba(255, 255, 255, .04),
    0 30px 60px -30px rgba(0, 0, 0, .9),
    0 1px 2px rgba(0, 0, 0, .4);
}
.glass::before { /* rim light: bright at the top edge, fading round the sides */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(170deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .05) 28%, rgba(110, 168, 255, .07) 70%, rgba(255, 255, 255, .14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass::after { /* grain + soft internal reflection */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(110% 70% at 15% -15%, rgba(255, 255, 255, .09), transparent 55%), var(--noise);
  background-size: auto, 160px; opacity: .32; mix-blend-mode: soft-light;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass, .btn--primary, .btn--glass { background: rgba(20, 24, 33, .9); } }

/* Buttons */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 600 .98rem/1.15 var(--sans); letter-spacing: -.01em; text-decoration: none; text-align: center; cursor: pointer;
  transform: translate(var(--mx), var(--my)); transition: transform .35s var(--ease), box-shadow .3s, background .3s, color .3s;
}
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--primary { /* clear glass, brighter rim: leads by light, not by fill */
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06) 55%, rgba(207, 224, 255, .1));
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .24), 0 12px 32px -14px rgba(110, 168, 255, .55);
}
.btn--primary:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .27), rgba(255, 255, 255, .09) 55%, rgba(207, 224, 255, .14)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 0 0 1px rgba(255, 255, 255, .34), 0 16px 44px -12px rgba(110, 168, 255, .75); }
.btn--glass {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025));
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 30px -14px rgba(0, 0, 0, .9);
}
.btn--glass:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); }
.btn.is-disabled { background: transparent; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line-2); cursor: not-allowed; }

/* =========================================================
   Nav + monogram
   ========================================================= */
.nav { position: fixed; top: 22px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav__capsule { pointer-events: auto; width: min(1120px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 20px; height: 60px; padding: 0 8px 0 18px; border-radius: 999px; transition: transform .5s var(--ease); }
.nav.is-hidden .nav__capsule { transform: translateY(-140%); }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.015em; text-decoration: none; white-space: nowrap; }
.nav__mark { width: 40px; height: 29px; flex: none; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--text-2); font-size: .9rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav__toggle { display: none; width: 42px; height: 42px; border: 0; background: rgba(255, 255, 255, .06); border-radius: 50%; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mnav { pointer-events: auto; width: calc(100% - 24px); margin: 10px auto 0; border-radius: 24px; padding: 10px; display: grid; }
.mnav[hidden] { display: none; }
.mnav a { padding: 15px 16px; text-decoration: none; font-size: 1.15rem; font-weight: 500; border-radius: 14px; }

/* =========================================================
   Sections shared
   ========================================================= */
.sec { padding: clamp(96px, 13vw, 190px) 0; position: relative; }
.sec__head { margin-bottom: clamp(48px, 6vw, 88px); }
.sec__head.split { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; }
.sec__head.split .label { margin-top: .9em; }
.sec__head.center { text-align: center; }
.sec__head.center .label { justify-content: center; }
.sec__head.center .lede { margin-inline: auto; }

/* =========================================================
   01 HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; padding: 120px 0 36px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 55% at 72% 45%, rgba(47, 91, 255, .16), transparent 70%), radial-gradient(30% 30% at 80% 60%, rgba(110, 168, 255, .08), transparent 70%); }
.sculpture { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .sculpture { z-index: 1; }
.hero__inner { z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 32px; pointer-events: none; }
.hero__inner a, .hero__buy { pointer-events: auto; }
.hero__meta { display: flex; align-items: center; gap: 10px; color: var(--text); margin: 0 0 auto; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero__title { font-size: clamp(3rem, min(8.6vw, 12.5vh), 10.5rem); margin: 0; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .03em; }
.hero__title .reveal { display: inline-block; }
.hero__bottom { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.hero__lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--text-2); max-width: 44ch; margin: 0; }
.hero__buy { border-radius: 26px; padding: 22px; display: grid; gap: 16px; width: min(540px, 100%); }
.hero__price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.hero__price strong { font-size: 1.7rem; font-weight: 600; letter-spacing: -.04em; }
.hero__price .sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 6px; align-self: center; }
.hero__ctas { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.scroll-cue { position: absolute; z-index: 2; right: var(--gutter); bottom: 40px; writing-mode: vertical-rl; color: var(--text-3); text-decoration: none; display: flex; align-items: center; gap: 12px; }
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--accent), transparent); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
/* Orbiting labels (positioned each frame by scene.js) */
.orbit { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.orbit__l {
  position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--text-2); opacity: 0;
  padding: 6px 10px; border-radius: 999px; background: rgba(10, 12, 18, .5); box-shadow: inset 0 0 0 1px var(--line-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .6s;
}
.orbit__l b { color: var(--text); font-weight: 500; margin-right: 6px; }
.orbit.is-on .orbit__l { opacity: var(--o, 1); }

/* =========================================================
   02 PROBLEM — real before / after
   ========================================================= */
.compare {
  position: relative; aspect-ratio: 16 / 9.4; border-radius: 22px; overflow: hidden; background: #111;
  box-shadow: 0 0 0 1px var(--line-2), 0 80px 140px -70px rgba(47, 91, 255, .5);
}
.compare__pane { position: absolute; inset: 0; overflow: hidden; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.js-frame { transform-origin: 0 0; pointer-events: none; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 20px rgba(110, 168, 255, .8); pointer-events: none; }
.compare__handle span {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%;
  background: rgba(20, 24, 33, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .15), 0 10px 30px rgba(0, 0, 0, .6);
}
.compare__handle span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; letter-spacing: 6px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__tag { position: absolute; top: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(5, 6, 10, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.compare__tag--l { left: 16px; color: var(--text-2); } .compare__tag--r { right: 16px; color: var(--ice); }
.why { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.why li { padding: 26px 24px 0 0; }
.why li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.why .mono { color: var(--accent); }
.why h3 { font-size: 1.35rem; letter-spacing: -.025em; margin: 14px 0 6px; }
.why p { color: var(--text-2); margin: 0; font-size: .96rem; }

/* =========================================================
   03 PROMPTS vs WORKFLOW — physics tray
   ========================================================= */
.learn__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.tray { position: relative; height: 420px; border-radius: 28px; overflow: hidden; touch-action: pan-y; }
.tray::before { z-index: 0; }
.chip {
  position: absolute; left: 0; top: 0; white-space: nowrap; user-select: none; -webkit-user-select: none; touch-action: none; cursor: grab;
  font: 400 .84rem var(--mono); color: var(--text-2); padding: 10px 14px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 10px 20px -10px rgba(0, 0, 0, .9);
  will-change: transform; visibility: hidden;
}
.chip.is-live { visibility: visible; }
.chip:active { cursor: grabbing; color: var(--text); }
.tray.is-static { display: flex; flex-wrap: wrap; align-content: flex-end; gap: 8px; padding: 20px; }
.tray.is-static .chip { position: static; visibility: visible; }
.tray__res { margin-top: 16px; color: var(--text-2); }
.chain { position: relative; display: grid; gap: 4px; }
.chain::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--line-2); }
.chain::after { content: ""; position: absolute; left: 7px; top: 12px; width: 1px; height: calc((100% - 24px) * var(--fill, 0)); background: linear-gradient(var(--accent), var(--ice)); box-shadow: 0 0 10px var(--accent); }
.no-motion .chain::after { --fill: 1; }
.chain li { position: relative; padding: 14px 0 14px 34px; display: grid; border-bottom: 1px solid var(--line); }
.chain li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--text-2); z-index: 1; transition: background .4s, box-shadow .4s; }
.chain li.is-lit::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(110, 168, 255, .15), 0 0 14px var(--accent); }
.chain li b { font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; }
.chain li span { color: var(--text-3); font-size: .88rem; }
.chain__end b { color: var(--ice); }

/* =========================================================
   04 METHOD
   ========================================================= */
.method__grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); }
.method__rail { position: relative; }
.rail { position: sticky; top: 120px; border-radius: 26px; padding: 30px; display: grid; gap: 10px; }
.rail__n { font-size: 6rem; font-weight: 200; letter-spacing: -.06em; line-height: .9; color: var(--ice); }
.rail__name { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; text-transform: uppercase; }
.rail__bar { height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; margin-top: 10px; }
.rail__bar i { display: block; height: 100%; width: 14%; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transition: width .5s var(--ease); }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 46px 0; border-top: 1px solid var(--line); min-height: 40vh; align-content: center; transition: opacity .5s var(--ease); }
.js-motion .step { opacity: .25; }
.js-motion .step.is-active { opacity: 1; }
.step__n { color: var(--text-3); padding-top: 14px; }
.step.is-active .step__n { color: var(--accent); }
.step h3 { font-size: clamp(2.2rem, 4.2vw, 4rem); letter-spacing: -.045em; text-transform: uppercase; font-weight: 700; line-height: .95; margin-bottom: 16px; }
.step p { color: var(--text-2); max-width: 48ch; font-size: 1.06rem; }
.deliv { display: flex; gap: 14px; align-items: baseline; color: var(--text) !important; border-top: 1px dashed var(--line-2); padding-top: 14px; margin: 16px 0 0; }
.deliv .mono { color: var(--accent); }

/* =========================================================
   05 PRODUCT
   ========================================================= */
.product { overflow: hidden; }
.product::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 45% at 50% 55%, rgba(47, 91, 255, .13), transparent 70%); pointer-events: none; }
.stage { perspective: 1800px; height: clamp(420px, 50vw, 660px); display: grid; place-items: center; margin-bottom: 40px; }
.stage__inner { --rx: 14deg; --ry: -18deg; position: relative; width: min(980px, 100%); height: 100%; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .9s var(--ease); }
.doc { position: absolute; top: 50%; left: 50%; margin: 0; width: clamp(150px, 19vw, 250px); aspect-ratio: 1 / 1.414; border-radius: 4px; overflow: hidden; box-shadow: 0 60px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06); }
.doc img { width: 100%; height: 100%; object-fit: cover; }
.doc--a { transform: translate3d(-128%, -56%, -40px) rotateZ(-4deg); }
.doc--b { transform: translate3d(-52%, -50%, 0) rotateZ(2deg); }
.doc--c { transform: translate3d(24%, -44%, 40px) rotateZ(-2deg); }
.doc--d { transform: translate3d(98%, -38%, 80px) rotateZ(4deg); aspect-ratio: 1 / 1.25; background: #111; }
.doc--d img { height: 80%; }
.doc--d figcaption { padding: 10px; color: var(--text-2); font-size: .58rem; }
.legend { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.legend li { padding: 22px 20px 0 0; color: var(--text-2); font-size: .94rem; display: grid; gap: 4px; }
.legend .mono { color: var(--accent); }
.legend b { color: var(--text); font-weight: 600; font-size: 1.1rem; letter-spacing: -.02em; }

/* =========================================================
   06 GUIDE — page marquee
   ========================================================= */
.bigstats { display: flex; gap: 40px; margin-top: 32px; }
.bigstats strong { display: block; font-size: clamp(2.8rem, 4.6vw, 4.4rem); font-weight: 200; letter-spacing: -.06em; line-height: 1; }
.bigstats .mono { color: var(--text-2); }
.marquee { overflow: hidden; padding: 30px 0 60px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; animation: slide 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { width: clamp(180px, 18vw, 260px); height: auto; border-radius: 4px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .5s var(--ease); }
.marquee img:hover { transform: translateY(-10px) scale(1.03); }
@keyframes slide { to { transform: translateX(-50%); } }
.toc { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.toc li { display: grid; gap: 10px; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.toc li:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.toc .mono { color: var(--accent); }
.toc h3 { font-size: 1.4rem; letter-spacing: -.03em; margin-bottom: 6px; }
.toc p { color: var(--text-2); margin: 0; font-size: .94rem; }

/* =========================================================
   07 PROMPT ENGINE — pipe + lens tags
   ========================================================= */
.pipe { position: relative; margin-bottom: clamp(56px, 7vw, 100px); }
.pipe__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.pipe__line i { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: linear-gradient(90deg, transparent, var(--accent)); box-shadow: 0 0 16px var(--accent); }
.no-motion .pipe__line i { width: 100%; }
.pipe__nodes { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pipe__nodes li { border-radius: 18px; padding: 20px 18px; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; display: grid; gap: 22px; min-height: 118px; align-content: space-between; }
.pipe__nodes .mono { color: var(--text-3); }
.pipe__key { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1px rgba(110, 168, 255, .45), 0 20px 50px -20px rgba(47, 91, 255, .6) !important; }
.pipe__key .mono { color: var(--accent); }
.pipe__out { background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(207, 224, 255, .35), 0 20px 50px -24px rgba(110, 168, 255, .6); color: #fff; }
.pipe__out .mono { color: var(--ice) !important; }
.engine__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.lens { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0; }
.tag {
  --s: 1; --g: 0;
  display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 15px; border-radius: 14px; font-size: .95rem; color: var(--text-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, calc(.05 + var(--g) * .12)), rgba(255, 255, 255, calc(.012 + var(--g) * .03)));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, calc(.06 + var(--g) * .25)), inset 0 0 0 1px rgba(170, 195, 255, calc(.08 + var(--g) * .3)), 0 calc(var(--g) * 18px) calc(var(--g) * 30px) -12px rgba(47, 91, 255, .6);
  transform: scale(var(--s)); transition: transform .25s var(--ease), color .25s;
  filter: brightness(calc(1 + var(--g) * .35));
}
.tag i { font: normal .68rem var(--mono); color: var(--text-3); }
.tag.is-near { color: var(--text); z-index: 2; position: relative; }
.tag--key { color: var(--ice); box-shadow: inset 0 0 0 1px rgba(110, 168, 255, .5); }
.engine__side { display: grid; gap: 32px; }
.pages-pair { position: relative; height: 340px; }
.pp { position: absolute; width: 52%; border-radius: 4px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06); }
.pp--1 { left: 0; top: 20px; transform: rotate(-5deg); }
.pp--2 { right: 0; top: 0; transform: rotate(4deg); }
.ticks { display: grid; gap: 12px; }
.ticks li { padding-left: 24px; position: relative; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 1px; background: var(--accent); }
.ticks b { color: var(--text); font-weight: 600; }

/* =========================================================
   08 KIT
   ========================================================= */
.kit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.kit__visual { position: relative; height: clamp(440px, 44vw, 620px); perspective: 1400px; }
.kit__p { position: absolute; width: 56%; border-radius: 4px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06); }
.kit__p--1 { left: 0; top: 0; transform: rotateY(14deg) rotateZ(-4deg); }
.kit__p--2 { left: 22%; top: 8%; transform: rotateY(4deg) rotateZ(1deg); z-index: 2; }
.kit__p--3 { right: 0; top: 18%; transform: rotateY(-12deg) rotateZ(4deg); }
.kit__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 26px; }
.num { margin: 0 0 10px; display: grid; }
.num strong { font-size: clamp(2.6rem, 3.8vw, 3.8rem); font-weight: 200; letter-spacing: -.06em; line-height: 1; }
.num .mono { color: var(--accent); }
.kit__cols h3 { font-size: 1.25rem; margin-bottom: 6px; }
.kit__cols p { color: var(--text-2); }

/* =========================================================
   09 CODE
   ========================================================= */
.flow { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 16px; align-items: stretch; }
.win { border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(0, 0, 0, .9); display: flex; flex-direction: column; }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2b303b; }
.win__bar .mono { margin-left: 10px; color: var(--text-3); font-size: .62rem; }
.tree { padding: 18px; display: grid; gap: 8px; font-size: .74rem; text-transform: none; letter-spacing: 0; color: var(--text-2); }
.tree .in { padding-left: 14px; }
.term { padding: 18px; display: grid; gap: 8px; font-size: .76rem; text-transform: none; letter-spacing: 0; align-content: start; }
.term p { margin: 0; }
.caret { display: inline-block; width: 8px; height: 14px; background: var(--accent); animation: blink 1s steps(1) infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }
.win__frame { position: relative; flex: 1; min-height: 240px; overflow: hidden; }
.win__frame iframe { position: absolute; left: 0; top: 0; }

/* =========================================================
   10 QUALITY
   ========================================================= */
.quality__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.quality__pages { position: relative; height: clamp(420px, 42vw, 600px); }
.quality__pages img { position: absolute; width: 60%; border-radius: 4px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06); }
.quality__pages img:first-child { left: 0; top: 0; transform: rotate(-4deg); }
.quality__pages img:last-child { right: 0; bottom: 0; transform: rotate(3deg); }
.fixlist { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 20px; }
.fixlist li { padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); font-size: .9rem; }

/* =========================================================
   11 SHOWCASE — live demo
   ========================================================= */
.show__main { position: relative; padding-right: 10%; margin-bottom: 40px; }
.browser { border-radius: 18px; overflow: hidden; padding: 0; }
.browser .win__bar { background: rgba(24, 28, 37, .6); }
.browser__frame { position: relative; aspect-ratio: 16 / 9.6; overflow: hidden; }
.browser__frame iframe, .phone__frame iframe, .thumb iframe { position: absolute; left: 0; top: 0; }
.js-live { pointer-events: auto; }
.phone { position: absolute; right: 0; bottom: -50px; width: 21%; padding: 8px; border-radius: 36px; background: #0d0f14; box-shadow: 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .15), 0 50px 90px -30px rgba(0, 0, 0, .95); }
.phone__frame { position: relative; aspect-ratio: 9 / 19.5; border-radius: 28px; overflow: hidden; }
.show__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 100px 0 32px; }
.thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2); }
.show__strip p { margin: 12px 0 0; color: var(--text-2); }
.show__strip .mono { color: var(--accent); margin-right: 8px; }

/* =========================================================
   12–13
   ========================================================= */
.outcome__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px clamp(40px, 6vw, 96px); }
.skills { grid-row: span 2; border-top: 1px solid var(--line); }
.skills li { display: grid; grid-template-columns: 52px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.25rem, 2.2vw, 2rem); letter-spacing: -.035em; line-height: 1.15; font-weight: 500; }
.skills .mono { color: var(--accent); padding-top: .55em; }
.freelance { border-radius: 24px; padding: 28px; align-self: end; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.people li { padding: 30px 28px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.people li:hover { background: radial-gradient(80% 80% at 0% 0%, rgba(47, 91, 255, .08), transparent 70%); }
.people .mono { color: var(--text-3); }
.people h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.035em; margin: 30px 0 8px; }
.people p { color: var(--text-2); margin: 0; }
.who__not { margin-top: 28px; color: var(--text-2); }
.who__not .mono { color: var(--text); margin-right: 10px; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 999px; padding: 4px 10px; }

/* =========================================================
   14 RECEIVE
   ========================================================= */
.manifest { border-radius: 24px; padding: 6px 28px; margin-bottom: 18px; }
.mf__row { display: grid; grid-template-columns: 1.4fr .7fr 2.4fr .7fr .7fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.mf__row:last-child { border-bottom: 0; }
.mf__head { color: var(--text-3); font: .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.mf__row b { font-weight: 600; }
.mf__row > span:nth-child(3) { color: var(--text-2); }
.mf__row .mono { color: var(--text-2); }
.c { text-align: center; }
.yes { color: var(--accent); font-weight: 600; }
.no { color: var(--text-3); }

/* =========================================================
   15 PRICING
   ========================================================= */
.pricing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 45% at 50% 50%, rgba(47, 91, 255, .12), transparent 70%); pointer-events: none; }
.plans { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; max-width: 1060px; margin: 0 auto 56px; align-items: stretch; }
.plan { border-radius: 30px; padding: clamp(26px, 3.2vw, 40px); display: flex; flex-direction: column; }
.plan__img { margin: calc(-1 * clamp(26px, 3.2vw, 40px)) calc(-1 * clamp(26px, 3.2vw, 40px)) 24px; border-radius: 30px 30px 0 0; overflow: hidden; }
.plan__img img { width: 100%; height: auto; aspect-ratio: 16 / 7.4; object-fit: cover; object-position: 78% 40%; }
.plan__badge { position: absolute; top: 16px; right: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(5, 6, 10, .7); color: var(--ice); box-shadow: inset 0 0 0 1px rgba(110, 168, 255, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.plan__tag { color: var(--text-2); margin-bottom: 10px; }
.plan h3 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); letter-spacing: -.03em; line-height: 1.1; }
.plan__price { font-size: clamp(3.2rem, 5.6vw, 5rem); font-weight: 200; letter-spacing: -.06em; line-height: 1; margin: 20px 0 12px; }
.plan__desc { color: var(--text-2); }
.plan__list { margin: 6px 0 24px; flex: 1; }
.plan__list li { padding: 11px 0 11px 22px; border-top: 1px solid var(--line); position: relative; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 10px; height: 1px; background: var(--accent); }
.plan--main { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1px rgba(110, 168, 255, .3), 0 40px 100px -40px rgba(47, 91, 255, .45), 0 24px 60px -24px rgba(0, 0, 0, .85); }
.howbuy { max-width: 1060px; margin: 0 auto; border-top: 1px solid var(--line); padding-top: 32px; }
.howbuy__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 16px; }
.howbuy__steps li { color: var(--text-2); }
.howbuy__steps .mono { display: block; color: var(--accent); margin-bottom: 8px; }
.howbuy__steps b { color: var(--text); font-weight: 600; }

/* =========================================================
   16–17
   ========================================================= */
.costs__grid, .faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 96px); }
.costlist { margin: 0; border-top: 1px solid var(--line); }
.costlist > div { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.costlist dt { font-weight: 600; font-size: 1.12rem; letter-spacing: -.02em; }
.costlist dd { margin: 0; color: var(--text-2); }
.pill { display: inline-block; font: .66rem var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); margin: 0 10px 8px 0; }
.pill--key { box-shadow: inset 0 0 0 1px rgba(110, 168, 255, .55); color: var(--ice); }
.costlist a, .acc a { color: var(--text); }
.faq__grid header { position: sticky; top: 120px; align-self: start; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 0; position: relative; font-size: clamp(1.08rem, 1.5vw, 1.3rem); font-weight: 500; letter-spacing: -.02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2);
  background: linear-gradient(var(--text), var(--text)) center / 12px 1px no-repeat, linear-gradient(var(--text), var(--text)) center / 1px 12px no-repeat;
  transition: transform .4s var(--ease), box-shadow .3s;
}
.acc details[open] summary::after { transform: rotate(45deg); box-shadow: inset 0 0 0 1px var(--accent); }
.acc details > div { color: var(--text-2); padding: 0 56px 22px 0; max-width: 62ch; }
.acc details[open] > div { animation: drop .45s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* =========================================================
   18 FINAL
   ========================================================= */
.final { position: relative; min-height: 105svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 150px; border-top: 1px solid var(--line); }
.final .sculpture { z-index: 0; }
.final__inner { z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; pointer-events: none; }
.final__inner > * { pointer-events: auto; }
.final__card { border-radius: 30px; padding: 30px; }
.final__card p { color: var(--text-2); }
.final__price { font-size: 3.2rem; font-weight: 200; letter-spacing: -.06em; color: var(--text) !important; line-height: 1; margin: 16px 0 20px; display: flex; align-items: baseline; gap: 12px; }
.final__price .mono { letter-spacing: .06em; }
.final__alt { display: block; text-align: center; margin-top: 14px; color: var(--text-2); font-size: .92rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.final__alt:hover { color: var(--text); }
.wordmark { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: .18em; margin: clamp(80px, 11vw, 160px) 0 -.1em; white-space: nowrap; font-size: 8.4vw; font-weight: 700; letter-spacing: -.06em; line-height: .8; text-transform: uppercase; }
.wordmark span { background: linear-gradient(180deg, rgba(242, 244, 248, .85), rgba(242, 244, 248, .04) 88%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark svg { width: 1.1em; height: .8em; flex: none; opacity: .85; }
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; background: var(--bg); }
.foot__inner { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: var(--text-2); }
.foot p { margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__capsule .btn { margin-left: auto; }
  .hero__bottom { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .win--browser { grid-column: 1 / -1; }
  .pipe__nodes { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .pipe__nodes::-webkit-scrollbar { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .sec__head.split, .learn__grid, .method__grid, .engine__grid, .kit__grid, .quality__grid, .outcome__grid, .costs__grid, .faq__grid, .final__inner, .plans { grid-template-columns: 1fr; }
  .sec__head.split .label { margin-top: 0; }
  .method__rail { display: none; }
  .js-motion .step { opacity: 1; }
  .step { min-height: 0; grid-template-columns: 1fr; gap: 6px; padding: 30px 0; }
  .step__n { color: var(--accent); padding: 0; }
  .why { grid-template-columns: 1fr 1fr; }
  .why li:nth-child(3) { padding-left: 0; border-left: 0; }
  .why li { padding-bottom: 24px; }
  .legend { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .toc { grid-template-columns: 1fr; }
  .toc li, .toc li:not(:nth-child(3n + 1)) { padding: 20px 0; border-left: 0; }
  .people { grid-template-columns: 1fr 1fr; }
  .skills { grid-row: auto; }
  .faq__grid header { position: static; }
  .show__main { padding-right: 0; }
  .phone { position: relative; width: 44%; margin: -30% 0 0 auto; bottom: auto; }
  .show__strip { grid-template-columns: 1fr; margin-top: 40px; }
  .mf__head { display: none; }
  .mf__row { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .mf__row > span:nth-child(2) { text-align: right; }
  .mf__row > span:nth-child(3) { grid-column: 1 / -1; }
  .mf__row > .c { text-align: left; font-size: .9rem; }
  .mf__row > .c::before { content: attr(data-k); font: .66rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-right: 10px; }
  .costlist > div { grid-template-columns: 1fr; gap: 6px; }
  .quality__pages { order: 2; height: 70vw; max-width: 560px; }
  .kit__visual { height: 66vw; max-width: 560px; }
  .kit__p { width: 46%; }
  .pages-pair { max-width: 520px; }
}
@media (max-width: 600px) {
  .nav { top: 12px; }
  .nav__capsule { height: 56px; padding: 0 6px 0 12px; width: calc(100% - 24px); gap: 8px; }
  .nav__logo span { font-size: .92rem; }
  .nav__capsule .btn--sm { padding: 0 14px; min-height: 40px; font-size: .84rem; }

  .hero { padding: 88px 0 24px; }
  .hero__title { font-size: 11.6vw; margin-top: 38vh; }
  .hero__inner { gap: 22px; }
  .hero__buy { padding: 16px; border-radius: 22px; }
  .hero__price strong { font-size: 1.35rem; }
  .hero__ctas { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .orbit__l:nth-child(n + 3) { display: none; }

  .h-xxl { font-size: 12vw; }
  .h-xl { font-size: 10vw; }
  .sec { padding: 84px 0; }
  .compare { aspect-ratio: 3 / 4; border-radius: 18px; }
  .compare__tag { top: 10px; font-size: .6rem; }
  .compare__tag--l { left: 10px; } .compare__tag--r { right: 10px; }
  .why { grid-template-columns: 1fr; }
  .why li, .why li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .tray { height: 360px; }
  .stage { height: 120vw; perspective: 1200px; }
  .stage__inner { --rx: 8deg; --ry: -10deg; }
  .doc { width: 40vw; }
  .doc--a { transform: translate3d(-100%, -98%, -20px) rotateZ(-4deg); }
  .doc--b { transform: translate3d(2%, -90%, 0) rotateZ(3deg); }
  .doc--c { transform: translate3d(-98%, -4%, 30px) rotateZ(-2deg); }
  .doc--d { transform: translate3d(4%, 4%, 50px) rotateZ(4deg); }
  .bigstats { gap: 24px; }
  .pipe__line { display: none; }
  .pipe__nodes { grid-template-columns: 1fr; overflow: visible; gap: 8px; }
  .pipe__nodes li { min-height: 0; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; padding: 16px; }
  .pages-pair { height: 260px; }
  .flow { grid-template-columns: 1fr; }
  .kit__visual { height: 84vw; }
  .kit__p { width: 52%; }
  .kit__cols { grid-template-columns: 1fr; }
  .quality__pages { height: 92vw; }
  .people { grid-template-columns: 1fr; }
  .people h3 { margin-top: 16px; }
  .manifest { padding: 4px 18px; }
  .howbuy__steps { grid-template-columns: 1fr; }
  .plan, .plan__img { border-radius: 24px 24px 0 0; }
  .plan { border-radius: 24px; }
  .btn { white-space: normal; }
  .final { min-height: 0; padding-top: 110px; }
  .wordmark { font-size: 8.6vw; }
  .acc summary { padding-right: 48px; }
  .acc details > div { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .caret, .scroll-cue::after { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* =========================================================
   Soft 3D glass — no sharp corners anywhere
   Plates: clear glass, top bevel, depth on the lower edge, light that follows the pointer
   ========================================================= */
:where(.glass, .plate) {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .32),
    inset 0 -1px 1px rgba(255, 255, 255, .05),
    inset 0 16px 26px -18px rgba(255, 255, 255, .16),
    inset 0 -20px 32px -22px rgba(0, 0, 0, .65),
    0 26px 50px -26px rgba(0, 0, 0, .9),
    0 2px 6px rgba(0, 0, 0, .35);
}
.plate {
  position: relative; isolation: isolate; border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .018) 45%, rgba(255, 255, 255, .035));
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  transition: transform .5s var(--ease), box-shadow .4s;
  transform-style: preserve-3d;
}
.plate::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(170deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .05) 30%, rgba(110, 168, 255, .07) 70%, rgba(255, 255, 255, .14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.plate::after, .glass::after {
  background: radial-gradient(60% 60% at var(--hx, 25%) var(--hy, -10%), rgba(255, 255, 255, .11), transparent 60%), var(--noise);
  background-size: auto, 160px;
}
.plate::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: .3; mix-blend-mode: soft-light; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .plate { background: rgba(20, 24, 33, .9); } }

/* Lists become separate soft plates instead of ruled tables */
.why, .toc, .people, .legend, .costlist, .skills, .acc { border: 0 !important; gap: 14px; }
.costlist, .skills, .acc, .steps { display: grid; }
.costlist, .skills, .acc { gap: 12px; }
.steps { gap: 16px; }
.why li, .toc li, .people li, .legend li, .costlist > div, .skills li, .howbuy__steps li, .acc details, .step {
  border: 0 !important; border-radius: 26px; position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015) 45%, rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .28),
    inset 0 14px 24px -18px rgba(255, 255, 255, .14),
    inset 0 -18px 30px -22px rgba(0, 0, 0, .6),
    0 22px 44px -26px rgba(0, 0, 0, .9);
  transition: transform .5s var(--ease);
}
.why li, .toc li, .legend li, .howbuy__steps li { padding: 26px !important; }
.people li { padding: 30px 28px 32px !important; }
.costlist > div { padding: 22px 26px !important; }
.skills li { padding: 18px 26px !important; }
.acc details { padding: 0 26px; }
.acc details > div { padding-right: 0; }
.acc summary::after { right: 0; }
.step { padding: 40px 36px !important; }
.deliv { border-top-color: rgba(255, 255, 255, .1); }
.toc { grid-template-columns: repeat(3, 1fr); }

/* Rounder everything */
.doc { border-radius: 16px; }
.marquee img { border-radius: 16px; }
.pp, .kit__p, .quality__pages img { border-radius: 18px; }
.compare { border-radius: 30px; }
.browser { border-radius: 28px; }
.thumb { border-radius: 22px; }
.win { border-radius: 24px; }
.tag { border-radius: 16px; }
.chip { border-radius: 14px; }
.tray { border-radius: 32px; }
.pipe__nodes li { border-radius: 24px; }
.manifest { border-radius: 30px; }
.plan { border-radius: 34px; }
.plan__img { border-radius: 34px 34px 0 0; }
.hero__buy, .rail { border-radius: 30px; }
.final__card { border-radius: 34px; }
.mnav { border-radius: 28px; }

/* =========================================================
   Portfolio
   ========================================================= */
.work__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 18px; }
.card { margin: 0; padding: 12px; border-radius: 28px; }
.card--big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.card__img { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.card--big .card__img { flex: 1; aspect-ratio: auto; min-height: 320px; }
.card__img img { width: 102.4%; max-width: none; height: 100%; object-fit: cover; object-position: left top; /* crops the captured scrollbar */ transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 8px 4px; }
.card figcaption b { font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; }
.card figcaption .mono { color: var(--text-3); font-size: .64rem; text-align: right; }
.card--big figcaption b { font-size: 1.4rem; }

/* =========================================================
   Reviews (hidden until config.reviews has entries)
   ========================================================= */
.reviews__grid { columns: 3 320px; column-gap: 18px; }
.review { break-inside: avoid; margin: 0 0 18px; padding: 28px; border-radius: 28px; display: inline-block; width: 100%; }
.review blockquote { margin: 0 0 24px; font-size: 1.08rem; line-height: 1.6; color: var(--text-2); }
.review mark { background: none; color: var(--accent); }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review__face { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; font-style: normal; font-weight: 600; color: var(--ice); background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .3); }
.review__face img { width: 100%; height: 100%; object-fit: cover; }
.review figcaption b { display: block; font-weight: 600; font-size: 1.05rem; }
.review figcaption small { color: var(--text-3); font-size: .85rem; }

@media (max-width: 860px) {
  .toc { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr 1fr; }
  .card--big { grid-row: auto; }
  .card--big .card__img { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 600px) {
  .why li, .toc li, .legend li, .howbuy__steps li { padding: 22px !important; }
  .step { padding: 28px 24px !important; }
  .work__grid { grid-template-columns: 1fr; }
  .card--big { grid-column: auto; }
  .card figcaption { flex-direction: column; gap: 4px; }
  .card figcaption .mono { text-align: left; }
}

.plan, .hero__buy, .final__card { transition: transform .5s var(--ease); }

/* =========================================================
   01 — one prompt vs. the system, side by side
   ========================================================= */
.duel { display: grid; grid-template-columns: 1fr 1.55fr; gap: 20px; align-items: start; }
.duel figure { margin: 0; }
.duel .browser { border-radius: 26px; }
.duel__a .browser__frame { aspect-ratio: 4 / 3.6; }
.duel__b .browser__frame { aspect-ratio: 16 / 10.4; }
.duel__a { margin-top: 48px; opacity: .92; }
.duel figcaption { margin-top: 16px; color: var(--text-2); font-size: .95rem; display: grid; gap: 6px; max-width: 46ch; }

/* 08 — two windows */
.flow { grid-template-columns: 1fr 1fr; }

/* 09 — refined site */
.quality__site .browser { border-radius: 26px; }
.quality__site .browser__frame { aspect-ratio: 16 / 11; }

/* =========================================================
   3D product mockups from the real covers
   ========================================================= */
.mock { position: relative; height: 300px; perspective: 1400px; display: grid; place-items: center; }
.mock::after { /* soft floor shadow */
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 6%; height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); filter: blur(6px); z-index: 0;
}
.book {
  position: absolute; margin: 0; width: 150px; aspect-ratio: 1 / 1.414; z-index: 1;
  border-radius: 6px 14px 14px 6px; overflow: hidden;
  transform: translateX(var(--x, 0)) translateZ(var(--z, 0)) rotateY(var(--r, -24deg)) rotateX(6deg);
  box-shadow: 26px 34px 60px -18px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .07);
  transition: transform .9s var(--ease);
}
.book img { width: 100%; height: 100%; object-fit: cover; }
.book::before { /* spine */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 9%; z-index: 2;
  background: linear-gradient(90deg, rgba(255, 255, 255, .28), rgba(0, 0, 0, .45) 45%, rgba(255, 255, 255, .06));
}
.book::after { /* gloss */
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(118deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, .07) 100%);
}
.mock:hover .book { transform: translateX(var(--x, 0)) translateZ(calc(var(--z, 0px) + 20px)) rotateY(calc(var(--r, -24deg) + 10deg)) rotateX(4deg); }
.mock--one .book { width: 170px; }
.mock--kit { height: clamp(380px, 38vw, 520px); }
.mock--kit .book { width: clamp(180px, 18vw, 250px); }
.engine__side .mock { height: 320px; }
.plan__mock { height: 250px; margin: -6px -6px 18px; border-radius: 26px; background: radial-gradient(70% 70% at 50% 40%, rgba(47, 91, 255, .16), transparent 70%); }
.plan__mock .book { width: 118px; }
.mock--three .book { width: 112px; }

/* =========================================================
   Portfolio — two featured sites large, earlier work in a carousel
   ========================================================= */
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 56px; }
.featured[hidden] { display: none; }
.feat { margin: 0; }
.feat .browser { border-radius: 28px; }
.feat .browser__frame { aspect-ratio: 16 / 11; }
.carousel { position: relative; }
.carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel .card { flex: 0 0 clamp(220px, 24vw, 300px); scroll-snap-align: start; padding: 10px; border-radius: 24px; }
.carousel .card__img { border-radius: 16px; aspect-ratio: 16 / 10; }
.carousel .card figcaption { padding: 12px 6px 2px; }
.carousel .card figcaption b { font-size: .98rem; }
.carousel__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.carousel__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 10px 24px -12px rgba(0, 0, 0, .9);
  transition: transform .3s var(--ease), background .3s;
}
.carousel__btn:hover { transform: translateY(-2px); background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05)); }

@media (max-width: 860px) {
  .duel, .featured { grid-template-columns: 1fr; }
  .duel__a { margin-top: 0; }
  .duel__b { order: -1; }
  .flow { grid-template-columns: 1fr; }
  .mock--kit { height: 70vw; max-height: 440px; }
}
@media (max-width: 600px) {
  .mock { height: 240px; }
  .mock--one .book { width: 140px; }
  .mock--kit .book { width: 40vw; }
  .plan__mock { height: 210px; }
  .plan__mock .book, .mock--three .book { width: 96px; }
  .carousel .card { flex-basis: 76vw; }
}

/* Hero — centred composition, object behind the headline */
.hero__inner { align-items: center; text-align: center; }
.hero__meta { justify-content: center; }
.hero__title { text-align: center; }
.hero__bottom { grid-template-columns: 1fr; justify-items: center; gap: 30px; }
.hero__lead { margin: 0 auto; max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 600px) {
  .hero__ctas { width: 100%; flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
}

.carousel .card { transition: box-shadow .4s; }

/* Preview render shown until the live site link is set in config.mySites */
.frame-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.frame-poster--phone { object-position: 50% 50%; }
.doc--zip { display: flex; align-items: flex-end; padding: 18px; aspect-ratio: 1 / 1.414 !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)), rgba(20, 24, 33, .6) !important;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), 0 60px 90px -30px rgba(0, 0, 0, .95) !important; }
.doc--zip::before { content: ""; position: absolute; top: 0; bottom: 45%; left: 50%; width: 10px; transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .4) 0 4px, transparent 4px 8px); }
.doc--zip figcaption { display: grid; gap: 6px; padding: 0 !important; }
.doc--zip b { font-size: clamp(1.1rem, 2vw, 1.8rem); font-weight: 700; text-transform: uppercase; letter-spacing: -.04em; line-height: .9; }
.doc--zip .mono { font-size: .56rem; color: var(--text-2); }

/* Product images — always the full frame, never cropped or stretched */
.product-shot { margin: 0; padding: 10px; border-radius: 26px; }
.product-shot img, .plan__shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 18px; display: block; background: #0b0b0b; }
.engine__side { align-self: center; }
.plan__shot { margin: calc(-1 * clamp(26px, 3.2vw, 40px)) calc(-1 * clamp(26px, 3.2vw, 40px)) 24px; border-radius: 34px 34px 0 0; overflow: hidden; }
.plan__shot img { border-radius: 0; }

/* 09 — FORMA on laptop and phone */
.gadgets { position: relative; padding-right: 14%; padding-bottom: 40px; }
.gadgets .phone { position: absolute; right: 0; bottom: 0; width: 26%; }
@media (max-width: 860px) {
  .gadgets { padding-right: 0; }
  .gadgets .phone { position: relative; width: 42%; margin: -26% 0 0 auto; }
}
@media (max-width: 600px) { .plan__shot { border-radius: 24px 24px 0 0; } }

.browser__frame .frame-poster { object-position: left top; }

/* Hero text block centred both ways on every screen size */
.hero__inner { justify-content: center; gap: 28px; }
.hero__meta { margin: 0; }
.hero__title { margin: 0; }
@media (max-width: 600px) {
  .hero__inner { justify-content: flex-end; }
}
.hero { padding: 96px 0 72px; }
.hero__title { font-size: clamp(3rem, min(8.2vw, 11.5vh), 10rem); }
@media (max-width: 600px) { .hero { padding: 88px 0 24px; } .hero__title { font-size: 11.6vw; } }

.compare .frame-poster { object-position: left top; }

/* 08 — the live result on laptop + phone */
.code__result { margin-top: 28px; }
.code__result .browser__frame { aspect-ratio: 16 / 10; }

/* Horizontal rows scroll sideways only — never up and down on their own */
.pipe__nodes, .carousel__track { overflow-y: hidden; overscroll-behavior-y: auto; touch-action: pan-x pan-y; }
@media (max-width: 600px) { .pipe__nodes { overflow: visible; } }

/* Live sites: inert until clicked, so the page scroll never gets trapped */
.js-live { pointer-events: none; }
.is-active > .js-live { pointer-events: auto; }
.frame-cta {
  position: absolute; inset: 0; z-index: 3; border: 0; padding: 0 0 18px; cursor: pointer; background: transparent;
  display: flex; align-items: flex-end; justify-content: center;
}
.frame-cta span {
  font: 600 .86rem/1 var(--sans); color: #fff; padding: 11px 18px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)), rgba(10, 12, 18, .45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 26px -10px rgba(0, 0, 0, .8);
  opacity: .85; transform: translateY(0); transition: opacity .3s, transform .3s var(--ease);
}
.frame-cta:hover span { opacity: 1; transform: translateY(-3px); }
.phone__frame .frame-cta span { font-size: .72rem; padding: 9px 13px; }
.is-active > .frame-cta { display: none; }

/* 09 — text only */
.quality__grid--solo { grid-template-columns: 1fr; max-width: 820px; }

/* Linked previews */
a.feat, a.browser { display: block; text-decoration: none; color: inherit; }
.featured--one { grid-template-columns: 1fr; }
.featured--one .browser__frame { aspect-ratio: 16 / 9; }
a.feat .browser, a.browser { transition: transform .5s var(--ease); }
a.feat:hover .browser, a.browser:hover { transform: translateY(-4px); }

.browser__frame .frame-cta { justify-content: flex-start; padding-left: 18px; }
