/* Home page */

/* hero */
.hero{
  position:relative; height:100vh; height:100svh; background:var(--bg);
  padding:calc(var(--header) + 12px) var(--pad) 56px;
  display:flex; align-items:center; justify-content:center; text-align:center;
}
/* scroll cue, centered at the bottom of the hero. Desktop: a mouse outline with a dot that slides down and fades, in a loop.
   Phones and touch: a chevron that slides down and fades. Both have a small "Scroll" label and bounce gently every few seconds.
   The hero is a light page, so the cue is a soft version of the site's ink (white would not show). It fades away once scrolling starts. */
.scroll-cue{ position:absolute; left:50%; bottom:calc(12px + env(safe-area-inset-bottom, 0px)); transform:translateX(-50%); padding:8px 16px; color:rgba(0,0,0,.62); text-decoration:none; transition:opacity .4s ease; }
.scroll-cue.is-hidden{ opacity:0; pointer-events:none; }
.cue-bob{ display:flex; flex-direction:column; align-items:center; gap:8px; }
.cue-icon{ position:relative; display:block; width:28px; height:44px; border:2px solid currentColor; border-radius:14px; }
.cue-dot{ position:absolute; left:50%; top:8px; width:4px; height:4px; margin-left:-2px; border-radius:50%; background:currentColor; animation:cueDot 1.8s cubic-bezier(.5,0,.3,1) infinite; }
.cue-label{ font-size:12px; line-height:1; letter-spacing:.1em; font-weight:500; }
@keyframes cueDot{ 0%{ opacity:0; transform:translateY(0); } 25%{ opacity:1; } 65%{ opacity:1; } 100%{ opacity:0; transform:translateY(18px); } }
@keyframes cueBob{ 0%,68%,100%{ transform:translateY(0); } 76%{ transform:translateY(-8px); } 84%{ transform:translateY(0); } 90%{ transform:translateY(-4px); } 95%{ transform:translateY(0); } }
@media (max-width:900px){
  .cue-icon{ width:28px; height:18px; border:0; border-radius:0; }
  .cue-icon::before{ content:''; position:absolute; left:50%; top:-9px; width:20px; height:20px; margin-left:-10px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); animation:cueChev 1.8s cubic-bezier(.5,0,.3,1) infinite; }
  .cue-dot{ display:none; }
}
@keyframes cueChev{ 0%{ opacity:0; transform:translateY(-6px) rotate(45deg); } 30%{ opacity:1; } 65%{ opacity:1; } 100%{ opacity:0; transform:translateY(6px) rotate(45deg); } }
@media (prefers-reduced-motion: reduce){
  .cue-dot, .cue-icon::before{ animation:none; }
  .cue-dot{ top:14px; }
}
.hero-inner{ max-width:1080px; width:100%; margin:0 auto; }
.headline{ margin:0 auto 12px; max-width:860px; }
.byline{ max-width:620px; margin:0 auto 24px; }
.hero-ctas{ display:flex; justify-content:center; }

/* 3D showpiece: a still image first, the live scene replaces it on capable desktops */
.showpiece{ --sh:clamp(170px, 38vh, 400px); position:relative; width:min(100%, calc(var(--sh) * 2.6)); aspect-ratio:13 / 5; margin:0 auto 8px; }
.showpiece-still, .showpiece-canvas{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.showpiece-canvas{ opacity:0; transition:opacity .5s ease; }
.showpiece.is-live .showpiece-canvas{ opacity:1; }
/* the canvas opens on exactly the pose of the still, so the still can simply be dropped once the canvas is fully in: no double image */
.showpiece.is-live .showpiece-still{ opacity:0; transition:opacity .01s linear .6s; }
/* phones: the very same device image as on desktop, scaled down as a group so the laptop and phone span the page width with even margins */
@media (max-width:700px){
  .hero{ overflow:hidden; }
  .showpiece{ width:165%; margin:0 0 4px -30.9%; }
  .showpiece-canvas{ display:none; }
}
@media (max-width:700px) and (max-height:720px){ .showpiece{ width:150%; margin-left:-24.6%; } }
@media (prefers-reduced-motion: reduce){ .showpiece-canvas{ display:none; } }
@media (max-height:640px){ .showpiece{ --sh:120px; } }
/* how it works: three steps in a row */
.how-steps{ max-width:1100px; margin:72px auto 0; padding:0 var(--pad); display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.how-step{ padding:32px 24px; }
.how-num{ display:block; font-size:14px; color:var(--label); margin-bottom:14px; }
.how-step h3{ font-size:24px; margin-bottom:12px; }
.how-step p{ max-width:260px; margin:0 auto; }
@media (max-width:760px){ .how-steps{ grid-template-columns:1fr; gap:16px; margin-top:48px; } }

/* plans: two centered columns */
.package-grid{
  max-width:1100px; margin:72px auto 0; padding:0 var(--pad);
  display:grid; grid-template-columns:1fr 1fr;
}
.package-card{ position:relative; padding:72px 40px 56px; display:flex; flex-direction:column; align-items:center; }
.package-card + .package-card{ border-left:1px solid var(--line); }
.popular-tag{
  position:absolute; top:28px; left:50%; transform:translateX(-50%);
  background:#000; color:#fff; font-size:14px; font-weight:500; padding:5px 14px; border-radius:999px; white-space:nowrap;
}
.package-name{ font-size:24px; margin-bottom:16px; }
.package-price{ display:flex; flex-direction:column; gap:4px; margin-bottom:16px; }
.price-line{ font-size:17px; color:var(--text); }
.price-line b{ font-size:40px; line-height:1.2; font-weight:500; color:var(--ink); }
.package-desc{ max-width:300px; margin-bottom:28px; }
.package-list{ width:100%; max-width:380px; border-top:1px solid var(--line); }
.package-list li{ padding:14px 0; border-bottom:1px solid var(--line); }
.package-ctas{ margin-top:56px; text-align:center; }
/* a slim glass strip under the plans that points up the ladder to Growth Engine: dark frosted glass with a white edge glow, the same look as the section it links to */
.engine-teaser{ max-width:1100px; margin:56px auto 0; padding:0 var(--pad); }
.engine-teaser-inner{ position:relative; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px 30px; border-radius:14px; overflow:hidden; text-align:left; color:#d9d9de;
  background:linear-gradient(135deg, rgba(38,38,44,.94), rgba(10,10,13,.97)); border:1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter:blur(18px) saturate(140%); backdrop-filter:blur(18px) saturate(140%);
  box-shadow:0 18px 40px -20px rgba(0,0,0,.55), 0 0 44px -14px rgba(255,255,255,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.engine-teaser-inner::before{ content:''; position:absolute; left:8%; right:8%; top:0; height:1px; background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.9), rgba(255,255,255,0)); pointer-events:none; }
.engine-teaser-text{ font-size:18px; line-height:1.4; }
.engine-teaser-text b{ color:#fff; font-weight:600; }
.engine-teaser-link{ flex:none; display:inline-flex; align-items:center; gap:10px; color:#fff; font-weight:500; font-size:16px; text-decoration:none; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.45); transition:border-color .25s ease, text-shadow .25s ease; }
.engine-teaser-link .arrow{ transition:transform .5s var(--spring); }
.engine-teaser-link:active{ opacity:.6; }
.engine-teaser-link:hover{ border-color:#fff; text-shadow:0 0 14px rgba(255,255,255,.7); }
.engine-teaser-link:hover .arrow, .engine-teaser-link:focus-visible .arrow{ transform:translateX(5px); }
.engine-teaser-link:focus-visible{ outline:2px solid #fff; outline-offset:4px; }
@media (max-width:760px){
  .engine-teaser{ padding:0; margin-top:40px; }   /* full width on phones */
  .engine-teaser-inner{ flex-direction:column; justify-content:center; gap:6px; padding:22px var(--pad) 20px; border-radius:0; border-left:0; border-right:0; text-align:center; }
}
@media (prefers-reduced-motion: reduce){ .engine-teaser-link, .engine-teaser-link .arrow{ transition:none; } .engine-teaser-link:hover .arrow, .engine-teaser-link:focus-visible .arrow{ transform:none; } }
@media (max-width:760px){
  .package-grid{ grid-template-columns:1fr; margin-top:48px; }
  .package-card{ padding:64px 0 48px; }
  .package-card + .package-card{ border-left:0; border-top:1px solid var(--line); }
}

/* add-ons */
.addons{ max-width:720px; margin:120px auto 0; padding:0 var(--pad); }
.addons h2{ margin-bottom:32px; }
.addon-list{ border-top:1px solid var(--line); }
.addon{ padding:26px 12px; border-bottom:1px solid var(--line); }
.addon-name{ margin-bottom:4px; }
.addon p{ max-width:480px; margin:0 auto; font-size:15px; color:var(--text); }
.addon-price{ margin-top:8px; font-weight:500; color:var(--ink); }
.coming-soon{ max-width:720px; margin:48px auto 0; padding:0 var(--pad); }
.coming-soon-box{ border:1px solid var(--line); padding:36px 24px; }
.coming-tag{ display:inline-block; font-size:14px; color:var(--label); border:1px solid var(--line); padding:3px 12px; border-radius:2px; margin-bottom:16px; }
.coming-soon .addon-name{ margin-bottom:20px; }
.notify-form{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.notify-form input[type="email"]{
  font:400 16px 'Inter', sans-serif; color:var(--ink); background:#fff; border:1px solid #8a8a8a; border-radius:2px;
  padding:11px 14px; width:min(280px, 100%); appearance:none; -webkit-appearance:none;
}
.notify-form input[type="email"]:focus{ outline:0; border-color:var(--ink); box-shadow:inset 0 0 0 1px var(--ink); }
.notify-status{ margin-top:12px; min-height:22px; font-size:15px; }
.notify-status[data-state="error"]{ color:#B3261E; }
.fine-print{ max-width:560px; margin:40px auto 0; padding:0 var(--pad); font-size:14px; color:var(--text); }

/* faq */
.faq-list{ max-width:720px; margin:56px auto 0; padding:0 var(--pad); text-align:left; }
.faq-item{ border-top:1px solid var(--line); }
.faq-item:last-child{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:0; padding:22px 0; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:24px;
  font:500 18px/1.35 'Inter', sans-serif; color:var(--ink);
}
.faq-q .plus{ width:14px; height:14px; position:relative; flex-shrink:0; }
.faq-q .plus::before, .faq-q .plus::after{ content:''; position:absolute; background:var(--ink); }
.faq-q .plus::before{ top:50%; left:0; width:100%; height:1px; transform:translateY(-50%); }
.faq-q .plus::after{ left:50%; top:0; height:100%; width:1px; transform:translateX(-50%); transition:transform .45s var(--spring), opacity .25s ease; }
.faq-item.open .plus::after{ transform:translateX(-50%) rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .5s var(--spring); }
.faq-a p{ padding:0 0 24px; }

/* closing */
.closing h2{ margin-bottom:36px; }

/* showcase. Three layouts:
   1. desktop with motion: a pinned, full-screen 3D scene (title top left, steps bottom left, button bottom right)
   2. phones and touch: a swipeable row of phones
   3. no JavaScript, reduced motion, or no WebGL: the three sample images, stacked */
.showcase{ --gx:max(var(--pad), calc((100vw - 1400px) / 2)); border-top:1px solid var(--line); background:var(--bg-alt); padding:var(--section) var(--pad); text-align:center; }
.showcase-head h2{ margin-bottom:8px; }
.showcase-head p{ max-width:380px; margin:0 auto; }
.showcase-canvas, .mshow, .showcase-steps, .view-full-main, .showcase-blocks{ display:none; }
.showcase-actions{ display:contents; }
.showcase-foot{ margin-top:20px; }
.showcase-label{ display:block; font-size:14px; color:var(--text); }
.showcase-stage{ width:min(100%, 1000px); margin:32px auto 0; }
.showcase-stills{ display:grid; gap:44px; }
.showcase-stills figure{ position:relative; }
.showcase-stills img{ display:block; width:100%; height:auto; }
.showcase-stills figcaption{ margin-top:14px; display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:10px 20px; font-size:15px; color:var(--text); }
.showcase-steps li{ display:grid; grid-template-columns:34px 1fr; column-gap:8px; row-gap:7px; font-size:15px; color:#666; text-align:left; }
.showcase-steps li.on{ color:#000; font-weight:500; }
.showcase-steps .bar{ grid-column:1 / -1; height:2px; background:rgba(0,0,0,.14); position:relative; overflow:hidden; }
.showcase-steps .bar span{ position:absolute; inset:0; background:#000; transform:scaleX(var(--f, 0)); transform-origin:left center; }

/* 1. desktop: nothing pinned. Three blocks scroll with the page; the 3D canvas is sticky on the right, the sample text scrolls on the left */
@media (min-width:901px) and (prefers-reduced-motion:no-preference){
  html.js .showcase:not(.no-3d){ display:grid; grid-template-columns:100%; padding:var(--section) 0; text-align:left; }   /* same space above and below as the other sections */
  html.js .showcase:not(.no-3d) > *{ grid-area:1 / 1; }
  html.js .showcase:not(.no-3d) .showcase-canvas{ display:block; position:sticky; top:0; align-self:start; justify-self:end; margin-right:var(--gx); width:calc(70% - var(--gx)); height:100vh; height:100svh; z-index:1; opacity:0; transition:opacity .6s ease; }
  html.js .showcase.is-live .showcase-canvas{ opacity:1; }
  html.js .showcase:not(.no-3d) .showcase-stage{ display:none; }
  html.js .showcase:not(.no-3d) .showcase-head{ position:sticky; z-index:3; top:calc(var(--header) + clamp(20px, 4vh, 40px)); align-self:start; justify-self:start; margin-left:var(--gx); }
  html.js .showcase:not(.no-3d) .showcase-head p{ margin:0; max-width:none; }
  html.js .showcase:not(.no-3d) .showcase-head h2{ margin-bottom:6px; }
  html.js .showcase:not(.no-3d) .showcase-foot{ position:sticky; z-index:3; bottom:clamp(20px, 4vh, 36px); align-self:end; margin:0 var(--gx); display:flex; align-items:flex-end; justify-content:space-between; gap:32px; }
  html.js .showcase:not(.no-3d) .showcase-label{ margin-bottom:12px; }
  html.js .showcase:not(.no-3d) .showcase-steps{ display:grid; grid-template-columns:repeat(3, minmax(150px, 190px)); gap:24px; }
  html.js .showcase:not(.no-3d) .view-full-main{ display:inline-flex; }
  html.js .showcase:not(.no-3d) .showcase-actions{ display:flex; align-items:center; gap:12px; }
  html.js .showcase:not(.no-3d) .showcase-stills .view-full{ display:none; }
  html.js .showcase:not(.no-3d) .showcase-blocks{ display:block; z-index:2; pointer-events:none; padding-bottom:25vh; padding-bottom:25svh; }   /* a little room after the last block, just enough for sample 3 to finish opening before the devices release */
  /* every block is exactly one screen tall; the 44px of top padding puts the text on the same centre line as the devices (they sit about 22px below the middle of the screen) */
  html.js .showcase-block{ height:100vh; height:100svh; display:flex; align-items:center; padding:44px var(--gx) 0; }
  html.js .sb-text{ max-width:300px; }   /* moved by the scroll (eased in and out of the middle), see home.js */
  html.js .showcase.in-view .sb-text{ will-change:transform, opacity; }
  /* the step labels are real buttons on desktop */
  html.js .showcase:not(.no-3d) .showcase-steps li{ display:block; }
  html.js .showcase:not(.no-3d) .step-btn{ display:grid; grid-template-columns:34px 1fr; column-gap:8px; row-gap:7px; width:100%; padding:0; border:0; background:none; font:inherit; color:inherit; text-align:left; cursor:pointer; pointer-events:auto; transition:color .2s ease, opacity .15s ease-out; }
  html.js .showcase:not(.no-3d) .step-btn:hover{ color:#000; }
  html.js .showcase:not(.no-3d) .step-btn:active{ opacity:.6; transition-duration:.06s; }
  html.js .sb-n{ display:block; font-size:14px; color:var(--label); margin-bottom:14px; }
  html.js .sb-text h3{ font-size:clamp(30px, 3vw, 44px); line-height:1.1; margin-bottom:14px; }
  html.js .sb-text p{ color:var(--ink); font-weight:500; margin-bottom:2px; }
  html.js .sb-note{ font-size:14px; color:var(--text); }
}

/* 2. phones and touch: swipeable phones, light 3D only */
@media (max-width:900px){
  .showcase{ padding:72px 0 64px; }
  .showcase-head{ padding:0 var(--pad); }
  .showcase-stage{ display:none; }
  .mshow{ display:block; margin-top:24px; }
  .mshow-track{ display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none;
    padding:18px calc(50% - min(39vw, 160px)) 28px; -webkit-overflow-scrolling:touch; }
  .mshow-track::-webkit-scrollbar{ display:none; }
  .mslide{ flex:0 0 min(78vw, 320px); scroll-snap-align:center; scroll-snap-stop:always; perspective:900px; }
  .mphone{ position:relative; padding:7px; border-radius:38px; background:#16161a; box-shadow:inset 0 0 0 1.5px #2d2d33, 0 26px 36px -20px rgba(0,0,0,.4);
    transform:rotateY(calc(var(--o, 0) * -24deg)) scale(calc(1 - var(--a, 0) * .07)); opacity:calc(1 - var(--a, 0) * .5); transform-origin:50% 50%; }
  .mphone img{ display:block; width:100%; height:auto; border-radius:31px; }
  .mphone::after{ content:''; position:absolute; inset:7px; border-radius:31px; pointer-events:none; background:linear-gradient(112deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 38%); }
  .mshow-title{ margin-top:2px; font-size:16px; color:var(--ink); font-weight:500; }
  .mshow-title .n{ color:var(--label); font-weight:400; margin-right:6px; }
  .showcase-foot{ margin-top:18px; padding:0 var(--pad); }
  .showcase-label{ text-align:center; margin-bottom:12px; }
  .showcase-steps{ display:flex; gap:8px; max-width:280px; margin:0 auto 24px; }
  .showcase-steps li{ flex:1; display:block; }
  .showcase-steps .n, .showcase-steps .t{ display:none; }
  .showcase-steps .bar{ display:block; height:3px; }
  .view-full-main{ display:inline-flex; width:100%; max-width:420px; min-height:52px; }
  .showcase-stills{ display:none; }
}
@media (prefers-reduced-motion:reduce){ .mphone{ transform:none !important; } }

/* "View full design" lightbox */
.btn-outline{ background:transparent; color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }
body.lightbox-open{ overflow:hidden; }
.lightbox{ position:fixed; inset:0; z-index:400; background:rgba(14,14,14,.86); display:flex; align-items:stretch; justify-content:center; opacity:0; transition:opacity .25s ease; }
.lightbox[hidden]{ display:none; }
.lightbox.is-open{ opacity:1; }
.lightbox-panel{ width:min(1200px, 100%); display:flex; flex-direction:column; min-height:0; }
.lightbox-bar{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px var(--pad); color:#fff; }
.lightbox-name{ display:flex; flex-direction:column; font-size:17px; font-weight:500; line-height:1.3; }
.lightbox-note{ font-size:14px; font-weight:400; color:#bdbdbd; }
.lightbox-close{ font:500 16px 'Inter', sans-serif; color:#fff; background:transparent; border:1px solid rgba(255,255,255,.7); border-radius:2px; padding:12px 22px; min-height:48px; cursor:pointer; }
.lightbox-close:hover{ background:#fff; color:#000; }
.lightbox-close:focus-visible, .lightbox-scroll:focus-visible{ outline:2px solid #fff; outline-offset:3px; }
.lightbox-scroll{ flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 var(--pad) 40px; }
.lightbox-img{ display:block; width:100%; height:auto; margin:0 auto; background:#fff; }
@media (max-width:900px){ .lightbox-img{ max-width:430px; } }

@media (min-width:901px) and (max-height:819px){ html.js .showcase:not(.no-3d) .showcase-head p{ display:none; } }

/* built for you: a pinned 3D moment on desktop, three screens that build one after another on phones and touch.
   Without JavaScript or with reduced motion, the three finished designs are simply shown side by side. */
.custom{ --gx:max(var(--pad), calc((100vw - 1400px) / 2)); border-top:1px solid var(--line); background:var(--bg-alt); padding:var(--section) var(--pad); text-align:center; }
.custom-head h2{ margin-bottom:14px; }
.custom-head p{ max-width:560px; margin:0 auto; }
.custom-canvas{ display:none; }
.custom-stage{ max-width:1200px; margin:64px auto 0; display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.cs{ position:relative; }
.cs img{ display:block; width:100%; height:auto; }
.cs img.cs-wire{ display:none; }
.custom-points{ max-width:1000px; margin:64px auto 0; display:grid; grid-template-columns:repeat(3, 1fr); gap:32px; text-align:center; }
.custom-points strong{ display:block; font-size:18px; margin-bottom:6px; }
.custom-points span{ display:block; max-width:260px; margin:0 auto; font-size:16px; line-height:1.5; color:var(--text); }
.custom-cta{ margin-top:48px; }

@media (min-width:901px) and (prefers-reduced-motion:no-preference){
  html.js .custom:not(.no-3d){ position:relative; height:100vh; height:100svh; padding:0; overflow:hidden; }
  html.js .custom:not(.no-3d) .custom-canvas{ display:block; position:absolute; inset:0; width:100%; height:100%; opacity:0; transition:opacity .6s ease; }
  html.js .custom.is-live .custom-canvas{ opacity:1; }
  html.js .custom:not(.no-3d) .custom-stage{ display:none; }
  html.js .custom:not(.no-3d) .custom-head{ position:absolute; z-index:2; left:0; right:0; top:calc(var(--header) + clamp(18px, 3.4vh, 36px)); padding:0 var(--pad); }
  html.js .custom:not(.no-3d) .custom-foot{ position:absolute; z-index:2; left:0; right:0; bottom:clamp(18px, 3.4vh, 34px); padding:0 var(--pad); }
  html.js .custom:not(.no-3d) .custom-points{ margin-top:0; opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease; }
  html.js .custom:not(.no-3d) .custom-cta{ margin-top:clamp(18px, 3vh, 32px); opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease; pointer-events:none; }
  html.js .custom.is-built .custom-points{ opacity:1; transform:none; }
  html.js .custom.is-done .custom-cta{ opacity:1; transform:none; pointer-events:auto; }
}
@media (min-width:901px) and (prefers-reduced-motion:no-preference) and (max-height:819px){
  html.js .custom:not(.no-3d) .custom-points span{ font-size:15px; line-height:1.4; }
}

/* phones and touch: the three screens appear one after another, each starting as a wireframe and filling in */
@media (max-width:900px){
  .custom{ padding:var(--section) var(--pad); }
  .custom-stage{ grid-template-columns:1fr; gap:28px; margin-top:44px; max-width:560px; }
  .custom-points{ grid-template-columns:1fr; gap:26px; margin-top:48px; }
  .custom-points span{ max-width:320px; }
  .custom-cta .btn{ width:100%; }
  html.js .cs-wire{ display:block; }
  html.js .cs-done{ position:absolute; inset:0; opacity:0; transition:opacity .9s ease .6s; }
  html.js .cs{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
  html.js .cs.in{ opacity:1; transform:none; }
  html.js .cs.in .cs-done{ opacity:1; }
}
@media (prefers-reduced-motion:reduce){
  html.js .cs{ opacity:1; transform:none; transition:none; }
  html.js .cs-done{ opacity:1; transition:none; }
}

/* Growth Engine: the top tier. A deep near-black section with one frosted glass card, white light only. */
.engine-wrap{ background:#07070a; }
.engine-fade{ height:150px; background:linear-gradient(to bottom, #FDFBF7 0%, rgba(253,251,247,.86) 14%, rgba(253,251,247,.56) 32%, rgba(253,251,247,.28) 52%, rgba(253,251,247,.1) 74%, rgba(253,251,247,0) 100%), #07070a; }
.engine-fade-out{ height:130px; background:linear-gradient(to bottom, rgba(245,243,238,0) 0%, rgba(245,243,238,.35) 40%, #F5F3EE 100%), #07070a; }
.engine{ position:relative; overflow:hidden; overflow:clip; background:#07070a; color:#d6d6d9; padding:calc(var(--section) + 40px) var(--pad) calc(var(--section) + 20px); text-align:center; }
.engine-glow{ position:absolute; left:50%; top:56%; width:min(2000px, 210vw); height:min(1500px, 170vw); transform:translate(-50%, -50%);
  background:radial-gradient(closest-side, rgba(255,247,235,.2), rgba(255,247,235,.1) 38%, rgba(255,247,235,.035) 68%, rgba(255,247,235,0)); pointer-events:none; z-index:0; }
@keyframes engineGlow{ 0%,100%{ transform:translate(-52%, -50%) scale(1); opacity:.72; } 50%{ transform:translate(-48%, -51%) scale(1.1); opacity:1; } }
/* large soft white light shapes behind the card, drifting slowly, so the blur of the glass is plainly visible through it */
.engine-blob{ position:absolute; z-index:0; border-radius:50%; pointer-events:none; filter:blur(26px);
  background:radial-gradient(closest-side, rgba(255,255,255,.62), rgba(255,255,255,.22) 55%, rgba(255,255,255,0) 74%); }
.engine-blob.b1{ width:480px; height:480px; left:calc(50% - 520px); top:6%; opacity:.45; }
.engine-blob.b2{ width:440px; height:440px; right:calc(50% - 500px); top:34%; opacity:.4; }
.engine-blob.b3{ width:420px; height:420px; left:calc(50% - 150px); bottom:-6%; opacity:.34; }
@keyframes blobA{ 0%,100%{ transform:translate3d(-30px, 10px, 0) scale(1); } 50%{ transform:translate3d(70px, 60px, 0) scale(1.1); } }
@keyframes blobB{ 0%,100%{ transform:translate3d(30px, -10px, 0) scale(1.05); } 50%{ transform:translate3d(-70px, 50px, 0) scale(.95); } }
@keyframes blobC{ 0%,100%{ transform:translate3d(-60px, 0, 0) scale(1); } 50%{ transform:translate3d(70px, -40px, 0) scale(1.12); } }
/* blurred glass panes drifting at different depths behind the card */
.engine-pane{ position:absolute; z-index:0; border-radius:22px; border:1px solid rgba(255,255,255,.3); pointer-events:none;
  background:linear-gradient(145deg, rgba(255,255,255,.3), rgba(255,255,255,.09)); box-shadow:inset 0 1px 0 rgba(255,255,255,.4); }
.engine-pane.p1{ width:300px; height:390px; left:calc(50% - 570px); top:12%; rotate:-8deg; filter:blur(1px); }
.engine-pane.p2{ width:250px; height:320px; right:calc(50% - 570px); top:30%; rotate:6deg; filter:blur(2.5px); opacity:.85; }
.engine-pane.p3{ width:360px; height:230px; left:calc(50% + 120px); bottom:3%; rotate:-4deg; filter:blur(3px); opacity:.7; }
.engine-head, .engine-stage{ position:relative; z-index:1; }
.engine-label{ font-size:15px; color:#c9c9d0; letter-spacing:.01em; margin-bottom:20px; }
.engine h2{ color:#fff; font-size:clamp(54px, 6vw + 14px, 112px); font-weight:650; line-height:1.02; margin-bottom:26px; }
.engine-sub{ max-width:560px; margin:0 auto; font-size:20px; color:#d0d0d6; text-wrap:balance; }
.engine-stage{ max-width:760px; margin:88px auto 0; }
.engine-card{ position:relative; overflow:hidden; text-align:left; padding:52px 56px; border-radius:24px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter:blur(28px) saturate(140%); backdrop-filter:blur(28px) saturate(140%);
  box-shadow:0 50px 100px -40px rgba(0,0,0,.95), 0 0 120px -26px rgba(255,255,255,.24), inset 0 1px 0 rgba(255,255,255,.6); }
.engine.in-view .engine-blob, .engine.in-view .engine-pane{ will-change:transform; }
/* the border: a thin white ring (a still mask). The gradient inside it turns by transform alone, so it costs the browser nothing to repaint while it moves. */
.engine-ring{ position:absolute; inset:0; padding:1px; border-radius:inherit; pointer-events:none; overflow:hidden;
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.engine-ring i{ position:absolute; left:50%; top:50%; width:960px; height:960px; transform:translate(-50%, -50%); animation:ringTurn 10s linear infinite;
  background:conic-gradient(rgba(255,255,255,.12), rgba(255,255,255,.85) 10%, rgba(255,255,255,.16) 28%, rgba(255,255,255,.1) 58%, rgba(255,255,255,.55) 80%, rgba(255,255,255,.12)); }
@keyframes ringTurn{ to{ transform:translate(-50%, -50%) rotate(360deg); } }
/* light on the glass: a soft reflection along the top edge, a spot that follows the cursor (or the scroll turn), and a slow white sweep */
.engine-edge{ position:absolute; left:0; right:0; top:0; height:120px; pointer-events:none; border-radius:22px 22px 0 0;
  background:radial-gradient(ellipse 75% 100% at 50% 0, rgba(255,255,255,.32), rgba(255,255,255,0) 75%); }
.engine-edge::after{ content:''; position:absolute; left:10%; right:10%; top:0; height:1px; background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.98), rgba(255,255,255,0)); }
.engine-spot{ position:absolute; left:50%; top:14%; width:640px; height:640px; margin:-320px 0 0 -320px; border-radius:50%; pointer-events:none; background:radial-gradient(closest-side, rgba(255,255,255,.13), rgba(255,255,255,0)); }   /* moved by transform from script */
.engine-sheen{ position:absolute; top:-10%; bottom:-10%; left:0; width:45%; pointer-events:none; opacity:0; transform:translateX(-260%) skewX(-14deg);
  background:linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.13) 50%, rgba(255,255,255,0)); animation:engineSweep 10s ease-in-out infinite; }
@keyframes engineSweep{ 0%, 10%{ transform:translateX(-260%) skewX(-14deg); opacity:0; } 14%{ opacity:1; } 52%{ opacity:1; } 58%, 100%{ transform:translateX(340%) skewX(-14deg); opacity:0; } }
.engine-card-top{ display:flex; align-items:center; gap:16px; margin-bottom:34px; }
.engine-badge{ display:inline-block; font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:#fff; padding:7px 16px; border:1px solid rgba(255,255,255,.6); border-radius:999px; background:rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); box-shadow:0 0 14px rgba(255,255,255,.3), 0 0 30px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.55); position:relative; }
.engine-badge::after{ content:''; position:absolute; inset:-1px; border-radius:inherit; pointer-events:none; box-shadow:0 0 22px rgba(255,255,255,.5), 0 0 46px rgba(255,255,255,.24); opacity:.5; }
@keyframes badgeGlow{ 0%,100%{ opacity:0; } 50%{ opacity:1; } }
.engine-card-title{ font-size:24px; font-weight:600; color:#fff; }
.ck{ flex:none; color:#ececf0; }
.engine-base{ display:flex; align-items:center; gap:12px; padding:18px 20px; margin-bottom:34px; border-radius:12px; background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.22); color:#fff; font-weight:500; font-size:17px; }
.engine-grid{ display:grid; grid-template-columns:1fr 1fr; gap:30px 48px; }
.engine-grid li{ display:flex; align-items:flex-start; gap:14px; color:#ececf0; font-size:17px; line-height:1.5; }
.engine-grid .ck{ margin-top:2px; }
.engine-foot{ margin-top:36px; padding-top:34px; border-top:1px solid rgba(255,255,255,.12); text-align:center; }
.engine-price{ font-size:16px; color:#d3d3d9; margin-bottom:22px; }
.engine-btn{ display:inline-flex; align-items:center; gap:10px; width:auto; padding:20px 36px; border-radius:12px; background:#fff; color:#08080b; font:600 18px 'Inter', sans-serif; text-decoration:none; transition:background-color .25s ease, box-shadow .25s ease, transform .5s var(--spring), scale .5s var(--spring); }
.engine-btn:active{ scale:.97; transition:background-color .25s ease, box-shadow .25s ease, transform .5s var(--spring), scale .1s ease-out; }
.engine-btn .arrow{ transition:transform .5s var(--spring); }
.engine-btn:hover{ background:#f4f4f4; box-shadow:0 0 0 5px rgba(255,255,255,.16), 0 0 38px rgba(255,255,255,.5), 0 14px 30px -10px rgba(255,255,255,.4); }
.engine-btn:hover .arrow, .engine-btn:focus-visible .arrow{ transform:translateX(4px); }
.engine-btn[data-cta]{ position:relative; overflow:hidden; isolation:isolate; --sheen:rgba(0,0,0,.09); }
.engine-btn:focus-visible{ outline:2px solid #fff; outline-offset:3px; }

/* desktop with motion: the section is pinned, one full screen. Everything is sized from the screen height so the whole card, button included, always fits */
@media (min-width:901px) and (prefers-reduced-motion:no-preference){
  html.js .engine{ min-height:100vh; min-height:100svh; padding:clamp(22px, 3.4vh, 40px) var(--pad); display:flex; flex-direction:column; justify-content:center; }
  html.js .engine h2{ font-size:clamp(44px, min(6vw + 14px, 9.4vh), 108px); margin-bottom:clamp(8px, 1.5vh, 16px); }
  html.js .engine-label{ margin-bottom:clamp(6px, 1.2vh, 12px); }
  html.js .engine-sub{ font-size:clamp(17px, 2.2vh, 20px); }
  html.js .engine-stage{ max-width:820px; margin-top:clamp(18px, 3.6vh, 48px); }
  html.js .engine-card{ padding:clamp(22px, 4vh, 52px) 56px; }
  html.js .engine-card-top{ margin-bottom:clamp(14px, 2.6vh, 34px); }
  html.js .engine-base{ padding:clamp(10px, 1.6vh, 18px) 20px; margin-bottom:clamp(14px, 2.8vh, 34px); }
  html.js .engine-grid{ gap:clamp(12px, 2.6vh, 30px) 48px; }
  html.js .engine-grid li{ font-size:clamp(15px, 1.9vh, 17px); }
  html.js .engine-foot{ margin-top:clamp(14px, 2.8vh, 36px); padding-top:clamp(14px, 2.8vh, 34px); }
  html.js .engine-price{ margin-bottom:clamp(10px, 1.8vh, 22px); }
  html.js .engine-btn{ padding:clamp(14px, 2.1vh, 20px) 36px; }
}
@media (max-width:900px){
  .engine-pane.p1{ width:180px; height:240px; left:-34px; top:8%; left:calc(-34px); }
  .engine-pane.p2{ width:160px; height:210px; right:-34px; top:46%; }
  .engine-pane.p3{ display:none; }
  .engine-blob.b1{ width:300px; height:300px; left:-90px; top:4%; }
  .engine-blob.b2{ width:280px; height:280px; right:-90px; top:40%; }
  .engine-blob.b3{ width:260px; height:260px; left:calc(50% - 130px); bottom:-3%; }
}
@media (max-width:700px){
  .engine{ padding:calc(var(--section) + 30px) var(--pad) calc(var(--section) + 10px); }
  .engine h2{ font-size:56px; }
  .engine-sub{ font-size:18px; }
  .engine-stage{ margin-top:60px; }
  .engine-card{ padding:36px 22px 32px; border-radius:20px; -webkit-backdrop-filter:blur(22px) saturate(140%); backdrop-filter:blur(22px) saturate(140%); }
  .engine-card-top{ margin-bottom:26px; }
  .engine-base{ margin-bottom:26px; }
  .engine-grid{ grid-template-columns:1fr; gap:22px; }
  .engine-grid li{ font-size:16px; }
  .engine-foot{ margin-top:28px; padding-top:28px; }
  .engine-btn{ width:100%; justify-content:center; min-height:56px; padding:17px 12px; gap:8px; font-size:15px; font-weight:600; white-space:nowrap; }
  .engine-fade{ height:100px; }
}
@media (prefers-reduced-motion: reduce){
  .engine-glow, .engine-ring i, .engine-blob, .engine-badge::after{ animation:none; }
  .engine-sheen{ display:none; }
  .engine-btn .arrow, .engine-btn{ transition:none; }
  .engine-btn:active{ scale:none; }
  .faq-a, .faq-q .plus::after{ transition:none; }
}

/* hero line under the headline, and the fine print under the Growth Engine button */
.hero-loc{ margin:0 auto 10px; font-size:15px; color:var(--label); }
.engine-fine{ margin:20px auto 0; max-width:520px; font-size:13.5px; line-height:1.5; color:#a9a9b1; }
@media (min-width:901px) and (prefers-reduced-motion:no-preference){
  html.js .engine-fine{ margin-top:clamp(10px, 1.8vh, 20px); }
}
/* short desktop screens: the extra hero line needs room, so the device picture is a little smaller and the scroll cue keeps clear of the button */
@media (min-width:701px) and (max-height:820px){
  .hero{ padding-bottom:92px; }
  .showpiece{ --sh:clamp(130px, 28vh, 400px); }
}

/* the last sections of the page (after every pinned and measured part) are not laid out or painted until they get near. Their last size is remembered, and the first guess below is
   their real size, so the page height does not jump. (The plans, which sit before the pinned sections, are left alone: their size changes would move every animation after them.) */
.cv{ content-visibility:auto; contain:layout paint; contain-intrinsic-size:auto 450px; }
#contact.cv{ contain-intrinsic-size:auto 135px; }
.site-footer.cv{ contain-intrinsic-size:auto 135px; }
@media (max-width:700px){
  #faq.cv{ contain-intrinsic-size:auto 460px; }
  #contact.cv{ contain-intrinsic-size:auto 125px; }
  .site-footer.cv{ contain-intrinsic-size:auto 160px; }
}

/* ===== the low quality tier (set by quality.js on html) ===== */
/* the showcase on a low device: a still picture of the same scene, crossfaded as you go from one sample to the next, in the place the 3D canvas has */
.showcase-still{ display:none; }
@media (min-width:901px) and (prefers-reduced-motion:no-preference){
  html.js .showcase:not(.no-3d).show-still .showcase-still{ display:block; position:sticky; top:0; align-self:start; justify-self:end; margin-right:var(--gx); width:calc(70% - var(--gx)); height:100vh; height:100svh; z-index:1; }
  html.js .showcase.q-still .showcase-canvas{ display:none; }
  .showcase-still picture{ position:absolute; inset:0; display:block; }
  .showcase-still img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; }
}
/* solid, slightly see-through panels instead of frosted glass; nothing endless is moving */
html.q-low .engine-card, html.q-low .engine-badge, html.q-low .engine-teaser-inner, html.q-low .nav-engine, html.q-low .ge-badge, html.q-low .ge-glass, html.q-low .ge-who, html.q-low .ge-panel, html.q-low .ty-card{ -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
html.q-low .engine-card{ background:rgba(46,46,52,.92); }
html.q-low .engine-badge, html.q-low .ge-badge{ background:rgba(86,86,92,.92); }
html.q-low .engine-teaser-inner{ background:linear-gradient(135deg, rgb(40,40,46), rgb(12,12,15)); }
html.q-low .ge-glass{ display:none; }
html.q-low .ge-card{ background:linear-gradient(150deg, rgba(60,60,66,.92), rgba(30,30,34,.92)); }
html.q-low .ge-who, html.q-low .ge-panel, html.q-low .ty-card{ background:rgba(36,36,42,.93); }
html.q-low .engine-ring i, html.q-low .ge-ring i, html.q-low .nav-engine::after{ animation:none; }
html.q-low .engine-sheen, html.q-low .engine-blob, html.q-low .ge-blob{ display:none; }
html.q-low .engine-pane, html.q-low .ge-pane{ filter:none; }

/* without JavaScript: every FAQ answer is open and the 3D canvas is not used (these were an inline <noscript> style) */
html:not(.js) .faq-a{ max-height:none !important; }
html:not(.js) .showpiece-canvas{ display:none; }
/* the hidden spam-trap field of the waitlist form (was an inline style attribute) */
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
