/* ═══════════════════════════════════════════════════════════════
   TillyGen — Feature pages
   Design system lifted verbatim from design-f.html (the homepage),
   so the subpages read as the same product, not a cousin of it.
   One accent — emerald. Page-specific "signature" styles live inline.
   ═══════════════════════════════════════════════════════════════ */

/* ───────────────────────── Local fonts ───────────────────────── */
@font-face{
  font-family:"Public Sans";
  src:url("/fonts/PublicSans.woff2") format("woff2");
  font-weight:400 600;
  font-display:swap;
  font-style:normal;
}
@font-face{
  font-family:"Geist Mono";
  src:url("/fonts/GeistMono.woff2") format("woff2");
  font-weight:400 600;
  font-display:swap;
  font-style:normal;
}

/* ───────────────────────── Reset / tokens ───────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  /* near-black neutrals */
  --bg:#0C0C0E;
  --bg-2:#0E0E10;
  --surface:#141416;
  --surface-2:#18181B;
  --hair:#232326;
  --hair-soft:#1C1C1F;

  /* ink */
  --ink:#F4F4F5;
  --ink-2:#AEAEB6;
  --ink-3:#8E8E97;

  /* emerald — the only accent on the site */
  --emerald:#34D399;
  --emerald-solid:#10B981;
  --emerald-hover:#6EE7B7;
  --emerald-ink:#022C22;
  --emerald-bg:rgba(52,211,153,.10);
  --emerald-edge:rgba(52,211,153,.30);
  --emerald-glow:rgba(52,211,153,.11);

  --serif:"Baskerville","Baskerville Old Face","Hoefler Text",Garamond,Georgia,"Times New Roman",serif;
  --sans:"Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  --mono:"Geist Mono","SF Mono",ui-monospace,Menlo,monospace;

  --nav-h:66px;
  --pad-section:clamp(80px,12vh,140px);
  --maxw:1180px;
  --maxw-narrow:780px;

  --radius-xl:18px;
  --radius-lg:16px;
  --radius-md:14px;
  --radius-sm:10px;

  --shadow-frame:0 24px 60px -28px rgba(0,0,0,.8), 0 2px 8px rgba(0,0,0,.4);
  --shadow-soft:0 16px 40px -24px rgba(0,0,0,.75);
  --inner-glow:inset 0 1px 0 rgba(255,255,255,.04);

  --z-nav:100;
  --z-menu:200;
}

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  font-family:var(--sans);
  color:var(--ink-2);
  background:var(--bg);
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,video{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
:focus-visible{outline:2.5px solid var(--emerald);outline-offset:3px;border-radius:4px}
::selection{background:rgba(52,211,153,.22);color:var(--ink)}

/* ───────────────────────── Helpers ───────────────────────── */
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(20px,5vw,40px)}
.section{padding-block:var(--pad-section)}
.section--tight{padding-block:clamp(56px,8vh,96px)}
.section--alt{background:var(--bg-2);border-block:1px solid var(--hair-soft)}
.center{text-align:center;margin-inline:auto}
.narrow{max-width:var(--maxw-narrow);margin-inline:auto}

h1,h2,h3{font-family:var(--serif);font-weight:450;color:var(--ink);letter-spacing:-.018em;font-optical-sizing:auto}
h1{line-height:1.05}
h2,h3{line-height:1.1}
h1 em,h2 em,h3 em{font-style:italic;font-weight:400}
.label{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--ink-3);
  font-weight:500;
}
.label--accent{color:var(--emerald)}
.h2{font-size:clamp(1.9rem,3.6vw,2.9rem);text-wrap:balance}
.lead{font-size:clamp(1rem,1.4vw,1.12rem);color:var(--ink-2);text-wrap:pretty}
.prose p{margin-bottom:16px;max-width:64ch}
.prose p:last-child{margin-bottom:0}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-family:var(--sans);font-weight:600;font-size:15px;
  min-height:48px;padding:0 22px;border-radius:999px;
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
  white-space:nowrap;
}
.btn--primary{background:var(--emerald);color:var(--emerald-ink)}
.btn--primary:hover{background:var(--emerald-hover);transform:translateY(-1px)}
.btn--ghost{background:var(--surface);color:var(--ink);border:1px solid var(--hair)}
.btn--ghost:hover{border-color:#34343A;background:var(--surface-2)}

/* Framed media — a bordered plate, not a fake browser window.
   The homepage never wore titlebar chrome; neither do these pages. */
.frame{
  position:relative;
  border:1px solid var(--hair);
  border-radius:var(--radius-lg);
  background:#08080a;
  overflow:hidden;
  box-shadow:var(--shadow-frame),var(--inner-glow);
}
.frame img,.frame video{width:100%;height:100%;object-fit:cover;display:block}
.frame__media{aspect-ratio:16/9;background:#08080a;position:relative}
.frame__media--43{aspect-ratio:4/3}

/* Reveals */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .55s cubic-bezier(.22,1,.36,1),transform .55s cubic-bezier(.22,1,.36,1)}
.reveal.in{opacity:1;transform:none}
.reveal[data-d="1"]{transition-delay:.07s}
.reveal[data-d="2"]{transition-delay:.14s}
.reveal[data-d="3"]{transition-delay:.21s}
.reveal[data-d="4"]{transition-delay:.28s}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
}

/* Skip link */
.skip{position:absolute;left:-999px;top:8px;z-index:300;background:var(--surface);color:var(--ink);
  border:1px solid var(--hair);padding:10px 16px;border-radius:8px;font-size:14px;font-weight:600}
.skip:focus{left:16px}

/* ───────────────────────── Nav ───────────────────────── */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:var(--z-nav);
  height:var(--nav-h);
  display:flex;align-items:center;
  transition:background .3s ease,border-color .3s ease,backdrop-filter .3s ease;
  border-bottom:1px solid transparent;
}
.nav.scrolled{
  background:rgba(12,12,14,.85);
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  border-bottom:1px solid var(--hair);
}
.nav__inner{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(20px,5vw,40px);
  display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;align-items:center}
.brand__logo{height:26px;width:auto;display:block}
.nav__links{display:flex;align-items:center;gap:30px}
.nav__links>a{font-size:14.5px;color:var(--ink-2);transition:color .18s ease}
.nav__links>a:hover{color:var(--ink)}
.nav__links>a[aria-current="page"]{color:var(--ink)}
.nav__right{display:flex;align-items:center;gap:18px}
.nav__signin{font-size:14.5px;color:var(--ink-2);transition:color .18s ease}
.nav__signin:hover{color:var(--ink)}
.nav .btn{min-height:42px;padding:0 18px;font-size:14px}
.burger{display:none;width:44px;height:44px;border-radius:10px;border:1px solid var(--hair);background:var(--surface);
  place-items:center;flex:none}
.burger span{display:block;width:18px;height:1.5px;background:var(--ink);position:relative;transition:transform .25s ease,opacity .2s ease}
.burger span::before,.burger span::after{content:"";position:absolute;left:0;width:18px;height:1.5px;background:var(--ink);transition:transform .25s ease}
.burger span::before{top:-6px}.burger span::after{top:6px}
.burger[aria-expanded="true"] span{background:transparent}
.burger[aria-expanded="true"] span::before{transform:translateY(6px) rotate(45deg)}
.burger[aria-expanded="true"] span::after{transform:translateY(-6px) rotate(-45deg)}

/* ── Features dropdown — a disclosure of links, not a role="menu". ── */
.navdd{position:relative}
.navdd__btn{
  display:inline-flex;align-items:center;gap:6px;
  font-family:var(--sans);font-size:14.5px;font-weight:400;
  color:var(--ink-2);transition:color .18s ease;padding:0;
}
.navdd__btn:hover,.navdd__btn[aria-expanded="true"]{color:var(--ink)}
.navdd__chev{width:12px;height:12px;flex:none;opacity:.7;transition:transform .2s ease}
.navdd__btn[aria-expanded="true"] .navdd__chev{transform:rotate(180deg)}
.navdd__menu{
  position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%);
  z-index:var(--z-menu);
  min-width:212px;list-style:none;margin:0;padding:6px;
  background:var(--surface);border:1px solid var(--hair);
  border-radius:12px;box-shadow:var(--shadow-soft),var(--inner-glow);
}
.navdd__menu[hidden]{display:none}
.navdd__menu li{list-style:none}
.navdd__menu a{
  display:flex;align-items:center;
  min-height:44px;padding:0 12px;border-radius:8px;
  font-family:var(--sans);font-size:14px;color:var(--ink-2);
  transition:background .15s ease,color .15s ease;
}
.navdd__menu a:hover{background:var(--surface-2);color:var(--ink)}
.navdd__menu a[aria-current="page"]{color:var(--ink)}

/* mobile menu */
.mobile-menu{
  position:fixed;inset:var(--nav-h) 0 0 0;z-index:var(--z-menu);
  background:rgba(12,12,14,.97);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  padding:28px clamp(20px,5vw,40px);
  display:flex;flex-direction:column;gap:6px;
  overflow-y:auto;
  transform:translateY(-8px);opacity:0;pointer-events:none;
  transition:opacity .25s ease,transform .25s ease;
  border-top:1px solid var(--hair);
}
.mobile-menu.open{opacity:1;transform:none;pointer-events:auto}
.mobile-menu a{font-size:19px;color:var(--ink);padding:13px 4px;border-bottom:1px solid var(--hair-soft);font-family:var(--serif)}
.mobile-menu .mm-label{
  font-family:var(--mono);font-size:11px;letter-spacing:.24em;text-transform:uppercase;
  color:var(--ink-3);margin:6px 0 2px;
}
.mobile-menu .mm-actions{margin-top:24px;display:flex;flex-direction:column;gap:12px;padding-bottom:24px}
.mobile-menu .btn{width:100%}

@media (max-width:900px){
  .nav__links{display:none}
  .nav__signin{display:none}
  .burger{display:grid}
}

/* ───────────────────────── Hero ─────────────────────────
   Built after the homepage hero: copy on the left, an oversized panel on the
   right that flies in and bleeds past the edge. Each page sets --hero-still
   for the faint background frame. */
.hero{
  position:relative;isolation:isolate;overflow:hidden;
  padding-top:calc(var(--nav-h) + clamp(60px,10vh,124px));
  padding-bottom:clamp(76px,12vh,150px);
  border-bottom:1px solid var(--hair-soft);
  background:
    radial-gradient(120% 90% at 88% -6%, rgba(52,211,153,.10), transparent 58%),
    radial-gradient(90% 70% at 8% 12%, rgba(52,211,153,.05), transparent 60%),
    var(--bg);
}
.hero::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:var(--hero-still) center 30%/cover no-repeat;
  opacity:.13;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.55) 65%,transparent 100%);
  mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.55) 65%,transparent 100%);
}
.hero .wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:clamp(28px,5vw,64px);
  align-items:center;
}
.hero__copy{text-align:left;min-width:0}
.hero__copy .label{display:block;margin-bottom:22px}
.hero h1{font-size:clamp(2.3rem,4.4vw,4rem);max-width:15ch;margin:0 0 24px;text-wrap:balance}
.hero .lead{max-width:44ch;margin:0;font-size:clamp(1rem,1.4vw,1.14rem)}
.hero__actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:36px}
.hero__note{margin-top:20px;font-family:var(--mono);font-size:12px;letter-spacing:.05em;color:var(--ink-3)}

.hero__visual{
  position:relative;justify-self:end;
  width:clamp(520px,50vw,760px);
  margin-right:clamp(-230px,-13vw,-90px);
  animation:panelFlyIn 1.05s cubic-bezier(.16,.7,.2,1) both;
  animation-delay:.15s;
  will-change:transform,opacity;
}
/* the same faint dot grid the homepage puts behind its tablet */
.hero__visual::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  top:-120px;left:-170px;right:-40px;bottom:-70px;
  background-image:radial-gradient(rgba(244,244,245,.28) 1px,transparent 1.6px);
  background-size:24px 24px;
  -webkit-mask-image:radial-gradient(ellipse 38% 38% at 38% 38%,#000 0%,transparent 100%);
  mask-image:radial-gradient(ellipse 38% 38% at 38% 38%,#000 0%,transparent 100%);
}
.panel{
  position:relative;
  border-radius:24px;background:#08080a;
  border:1px solid var(--hair);padding:10px;
  box-shadow:0 54px 110px -28px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.05);
  transform:rotate(-8deg);
}
.panel__media{
  position:relative;border-radius:15px;overflow:hidden;
  aspect-ratio:16/10;background:#08080a;
}
.panel__media video,.panel__media img{width:100%;height:100%;object-fit:cover;display:block}
@keyframes panelFlyIn{
  from{opacity:0;transform:translate(120px,60px)}
  to{opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){
  .hero__visual{animation:none}
}
@media (max-width:920px){
  .hero .wrap{grid-template-columns:1fr;gap:44px}
  .hero__copy{text-align:center}
  .hero h1,.hero .lead{margin-inline:auto}
  .hero__actions{justify-content:center}
  .hero__visual{justify-self:center;order:2;width:min(94vw,620px);margin-right:0}
  .panel{transform:none}
  .hero__visual::before{display:none}
}

.hero__caption{
  margin:18px auto 0;max-width:680px;text-align:center;
  font-family:var(--mono);font-size:12px;letter-spacing:.03em;color:var(--ink-3);line-height:1.7;
}

/* ───────────────────────── Section heads ───────────────────────── */
.sechead{text-align:center;max-width:640px;margin:0 auto clamp(40px,6vh,68px)}
.sechead .label{display:block;margin-bottom:16px}
.sechead .lead{margin-top:18px}

/* ───────────────────────── Alternating feature rows ───────────────────────── */
.feature{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:clamp(32px,5vw,72px);align-items:center;
}
.feature+.feature{margin-top:clamp(64px,10vh,120px)}
.feature--rev .feature__copy{order:2}
.feature--rev .feature__media{order:1}
.feature__copy .label{display:block;margin-bottom:14px}
.feature__copy h2,.feature__copy h3{font-size:clamp(1.6rem,3vw,2.3rem);margin-bottom:20px;text-wrap:balance}
.feature__copy p{margin-bottom:16px;max-width:52ch}
.feature__copy p:last-child{margin-bottom:0}
.feature__copy .claim{
  font-family:var(--serif);font-style:italic;font-size:1.12rem;color:var(--ink);
  border-left:2px solid var(--emerald-solid);padding-left:16px;margin-top:22px;
}
.feature__media .frame__media{aspect-ratio:4/3}
.feature__media figcaption{
  margin-top:12px;font-family:var(--mono);font-size:11.5px;letter-spacing:.04em;color:var(--ink-3);
}
@media (max-width:900px){
  .feature{grid-template-columns:1fr;gap:32px}
  .feature--rev .feature__copy{order:1}
  .feature--rev .feature__media{order:2}
}

/* ───────────────────────── Placeholder media ─────────────────────────
   Stand-ins for the real screenshots and detail graphics. Swap the whole
   .ph block for an <img>/<video> when the asset exists — the surrounding
   .frame/.card markup stays as it is. */
.ph{
  position:absolute;inset:0;display:grid;place-items:center;
  background:
    radial-gradient(rgba(244,244,245,.05) 1px,transparent 1.6px) 0 0/22px 22px,
    linear-gradient(160deg,rgba(52,211,153,.05),transparent 55%),
    #0E0E11;
}
.ph::before{
  content:"";position:absolute;inset:12px;pointer-events:none;
  border:1.5px dashed #2E2E33;border-radius:10px;
}
.ph__inner{display:flex;flex-direction:column;align-items:center;gap:12px;padding:26px;text-align:center}
.ph__ic{width:34px;height:34px;color:var(--ink-3);opacity:.8}
.ph__ic svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.ph__tag{
  font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-3);max-width:30ch;line-height:1.6;
}

/* ═══════════════════════════════════════════════════════════════
   Frame.io-style modules — shared by the four feature pages.
   Same section grammar as frame.io/features/*, spoken in TillyGen
   tokens: emerald instead of indigo, Baskerville instead of grotesk.
   ═══════════════════════════════════════════════════════════════ */

/* ── Left-aligned section head, two-tone headline ── */
.shead{margin-bottom:clamp(36px,5vh,60px)}
.shead .label{display:block;margin-bottom:18px}
.shead h2{font-size:clamp(1.9rem,3.8vw,3rem);line-height:1.08;text-wrap:balance;max-width:24ch}
.shead h2 .dim{color:var(--ink-3)}
.shead .lead{margin-top:16px;max-width:56ch}
.shead .btn{margin-top:26px}
.shead--center{text-align:center}
.shead--center h2,.shead--center .lead{margin-inline:auto}

/* ── Giant rounded band: a slightly lighter panel-in-page ── */
.band{
  background:linear-gradient(175deg,#131317,#0B0B0E);
  border:1px solid var(--hair-soft);
  border-radius:clamp(24px,3.5vw,44px);
  margin-inline:clamp(8px,1.4vw,22px);
  padding-block:clamp(64px,9vh,110px);
  overflow:hidden;
}
.band+.band{margin-top:clamp(16px,2vh,26px)}

/* ── Bento grid + cards (media top, centred caption below) ── */
.bento{display:grid;gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}
.bento .sp2{grid-column:span 2}
.bento .tall{grid-row:span 2}
.row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.row3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bcard{
  position:relative;display:flex;flex-direction:column;
  border:1px solid var(--hair);border-radius:var(--radius-xl);
  background:var(--surface);overflow:hidden;
  transition:border-color .2s ease,transform .2s ease;
}
.bcard:hover{border-color:#34343A;transform:translateY(-2px)}
.bcard__media{position:relative;flex:1;min-height:230px}
.bcard__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bcard__body{padding:22px 26px 26px;text-align:center}
.bcard__body h3{font-size:1.16rem;margin-bottom:8px;text-wrap:balance}
.bcard__body p{font-size:.9rem;color:var(--ink-2);line-height:1.55;max-width:44ch;margin-inline:auto}
/* caption laid over the media — for tall photo cards */
.bcard__over{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  padding:clamp(20px,3vw,30px);text-align:center;
  background:linear-gradient(180deg,transparent,rgba(8,8,10,.85) 78%);
}
.bcard__over h3{font-size:1.16rem;margin-bottom:6px}
.bcard__over p{font-size:.9rem;color:var(--ink-2);max-width:44ch;margin-inline:auto}

/* ── Full-width media card with caption inside ── */
.bigcard{position:relative;border:1px solid var(--hair);border-radius:var(--radius-xl);overflow:hidden;background:#0E0E11}
.bigcard__media{position:relative;aspect-ratio:21/10}
.bigcard__cap{
  position:absolute;left:clamp(18px,3vw,34px);bottom:clamp(16px,2.6vw,28px);z-index:2;
  max-width:40ch;text-align:left;
}
.bigcard__cap h3{font-size:1.15rem;margin-bottom:4px}
.bigcard__cap p{font-size:.9rem;color:var(--ink-2)}

/* ── Plain text columns, no card chrome ── */
.cols{display:grid;gap:clamp(22px,3.5vw,44px);margin-top:clamp(36px,5vh,56px)}
.cols--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cols--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.cols h3{font-size:1.1rem;margin-bottom:8px}
.cols p{font-size:.9rem;color:var(--ink-2);line-height:1.6}

/* ── Text left / mockup bleeding off the right edge + floating panel ── */
.bleed{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(28px,4.5vw,64px);align-items:center}
.bleed__copy .label{display:block;margin-bottom:14px}
.bleed__copy h2{font-size:clamp(1.8rem,3.4vw,2.7rem);margin-bottom:16px;text-wrap:balance}
.bleed__copy>p{max-width:46ch}
.bleed__sub{margin-top:28px}
.bleed__sub h3{font-size:1.08rem;margin-bottom:6px}
.bleed__sub p{max-width:44ch;font-size:.93rem}
.bleed__media{position:relative;margin-right:clamp(-240px,-14vw,-80px)}
.bleed__frame{
  position:relative;border:1px solid var(--hair);
  border-radius:var(--radius-xl);overflow:hidden;
  background:#0E0E11;box-shadow:var(--shadow-frame),var(--inner-glow);
}
.floatpanel{
  position:absolute;left:clamp(-70px,-4vw,-30px);top:50%;transform:translateY(-50%);z-index:3;
  width:min(290px,86%);
  background:var(--surface);border:1px solid var(--hair);border-radius:16px;
  box-shadow:0 30px 70px -20px rgba(0,0,0,.85),var(--inner-glow);
  padding:16px;
}
.floatpanel__title{font-size:.95rem;color:var(--ink);font-weight:600;margin-bottom:12px}
.floatpanel__search{
  display:flex;align-items:center;gap:8px;
  background:var(--bg-2);border:1px solid var(--hair);border-radius:10px;
  padding:9px 12px;font-size:.85rem;color:var(--ink-3);margin-bottom:6px;
}
.fp__rows{display:flex;flex-direction:column}
.fp__row{display:flex;align-items:center;gap:10px;min-height:40px;font-size:.88rem;color:var(--ink-2)}
.fp__grip{color:var(--ink-3);font-family:var(--mono);font-size:11px;letter-spacing:-1.5px;flex:none}
.fp__row .tgl,.fp__row .fp__state{margin-left:auto}
.fp__state{font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.fp__state--ok{color:var(--emerald)}
.tgl{width:34px;height:20px;border-radius:999px;background:#2B2B31;position:relative;flex:none}
.tgl::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#8E8E97}
.tgl--on{background:var(--emerald-solid)}
.tgl--on::after{left:auto;right:2px;background:#022C22}
.floatpanel__actions{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.floatpanel__btn{min-height:40px;border-radius:10px;display:grid;place-items:center;font-size:.88rem;font-weight:600}
.floatpanel__btn--ghost{background:var(--surface-2);border:1px solid var(--hair);color:var(--ink)}
.floatpanel__btn--primary{background:var(--emerald-solid);color:var(--emerald-ink)}

/* ── Scattered pill cloud (formats / gear) ── */
.pillcloud{position:absolute;inset:0;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:10px;padding:clamp(20px,3vw,34px)}
.pillcloud span{
  font-family:var(--mono);font-size:12px;letter-spacing:.02em;
  padding:8px 13px;border-radius:9px;
  background:#1A1A1E;border:1px solid var(--hair);color:var(--ink-2);
}
.pillcloud span:nth-child(3n){transform:rotate(-2deg)}
.pillcloud span:nth-child(4n){transform:rotate(2deg) translateY(3px)}
.pillcloud .hot{background:var(--emerald-bg);border-color:var(--emerald-edge);color:var(--emerald)}

/* ── Big statement (karaoke text, static) ── */
.statement{
  font-family:var(--serif);font-weight:450;letter-spacing:-.01em;
  font-size:clamp(1.7rem,3.6vw,2.8rem);line-height:1.3;
  color:var(--ink-3);max-width:26ch;
}
.statement b{color:var(--ink);font-weight:450}

/* ── Use-case word list ── */
.uselist{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(28px,5vw,72px);align-items:center}
.uselist__copy h2{font-size:clamp(1.4rem,2.4vw,1.9rem);margin-bottom:12px;text-wrap:balance}
.uselist__copy p{max-width:36ch;font-size:.95rem}
.uselist__words{list-style:none;margin:0;padding:0;font-family:var(--serif);font-size:clamp(2.3rem,5.4vw,4rem);line-height:1.16;letter-spacing:-.02em}
.uselist__words li{color:#3F3F46;transition:color .25s ease}
.uselist__words li:hover{color:var(--ink)}
.uselist__words .hot{color:var(--emerald)}

/* ── Explore grid: icon cards with circle-arrow, Frame.io style ── */
/* Spaltenzahl = Kartenzahl. Seit /pre-production entfernt ist, sind es drei;
   bei vier blieb sonst eine Spalte leer. Kommt eine Karte dazu: hier mit. */
.explore{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.explore__card{
  position:relative;display:flex;flex-direction:column;min-height:250px;
  background:var(--surface);border:1px solid var(--hair);border-radius:var(--radius-xl);
  padding:22px;
  transition:border-color .2s ease,transform .2s ease,background .2s ease;
}
.explore__card:hover{border-color:#34343A;background:var(--surface-2);transform:translateY(-2px)}
.explore__card[aria-current="page"]{border-color:var(--emerald-edge)}
.explore__icon{flex:1;display:grid;place-items:center;padding:16px 0 24px}
.explore__icon svg{width:56px;height:56px;fill:none;stroke:var(--ink-3);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;transition:stroke .2s ease}
.explore__card:hover .explore__icon svg{stroke:var(--emerald)}
.explore__row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.explore__name{font-family:var(--serif);font-size:1.12rem;color:var(--ink);line-height:1.25}
.explore__go{width:34px;height:34px;flex:none;border-radius:50%;background:var(--ink);display:grid;place-items:center}
.explore__go svg{width:15px;height:15px;fill:none;stroke:#0C0C0E;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ── Final CTA with rising emerald glow ── */
.final--glow{position:relative;isolation:isolate;overflow:hidden;padding-bottom:clamp(120px,17vh,190px)}
.final--glow::after{
  content:"";position:absolute;left:50%;bottom:-46%;z-index:-1;
  width:130%;height:90%;transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(50% 55% at 50% 100%,rgba(52,211,153,.20),rgba(52,211,153,.05) 55%,transparent 75%);
}

/* ── Hero variants ── */
/* straight app-panel bleeding right (workflow-management style) */
.hero--app .panel{transform:none;padding:0;border-radius:var(--radius-xl)}
.hero--app .panel__media{border-radius:calc(var(--radius-xl) - 1px)}
.hero--app .hero__visual::before{display:none}
/* centred hero with a huge mockup below (file-management / review style) */
.hero--center{padding-bottom:clamp(56px,8vh,90px)}
.hero--center .wrap{display:block}
.hero--center .hero__copy{text-align:center}
.hero--center h1{margin-inline:auto;max-width:18ch}
.hero--center .lead{margin-inline:auto}
.hero--center .hero__actions{justify-content:center}
.hero--center .hero__note{text-align:center}
.heromock{margin:clamp(44px,7vh,72px) auto 0}
.heromock .frame__media{aspect-ratio:16/9}

/* ── Module responsive behaviour ── */
@media (max-width:980px){
  .bento{grid-template-columns:1fr 1fr}
  .bento .sp2{grid-column:span 2}
  .bento .tall{grid-row:auto}
  .row3{grid-template-columns:1fr}
  .cols--3{grid-template-columns:1fr}
  .cols--4{grid-template-columns:1fr 1fr}
  .explore{grid-template-columns:1fr 1fr}
  .bleed{grid-template-columns:1fr;gap:40px}
  .bleed__media{margin-right:0}
  .floatpanel{position:static;transform:none;width:100%;margin-top:14px;box-shadow:var(--shadow-soft)}
  .uselist{grid-template-columns:1fr;gap:36px}
}
@media (max-width:640px){
  .bento{grid-template-columns:1fr}
  .bento .sp2{grid-column:auto}
  .row2{grid-template-columns:1fr}
  .cols--4{grid-template-columns:1fr}
  .explore{grid-template-columns:1fr}
  .bigcard__media{aspect-ratio:4/3}
  .bigcard__cap{position:static;padding:18px 20px 22px;max-width:none}
}

/* ───────────────────────── Tiles ───────────────────────── */
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.tiles--3{grid-template-columns:repeat(3,1fr)}
.tile{
  position:relative;border-radius:var(--radius-xl);padding:clamp(22px,2.6vw,30px);
  border:1px solid var(--hair);min-height:210px;
  display:flex;flex-direction:column;justify-content:flex-end;
  overflow:hidden;transition:border-color .2s ease;
  background:linear-gradient(160deg,rgba(52,211,153,.09),rgba(52,211,153,.015) 55%,var(--surface));
}
.tile:hover{border-color:#34343A}
.tile__num{
  position:absolute;top:18px;right:20px;
  font-family:var(--mono);font-size:12px;letter-spacing:.08em;color:var(--ink-3);
}
.tile .label{display:block;margin-bottom:10px;color:var(--emerald)}
.tile h3{font-size:clamp(1.15rem,1.8vw,1.4rem);text-wrap:balance;margin-bottom:8px}
.tile p{font-size:.9rem;color:var(--ink-2);line-height:1.55}
@media (max-width:980px){.tiles,.tiles--3{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.tiles,.tiles--3{grid-template-columns:1fr}.tile{min-height:160px}}

/* ───────────────────────── Pills
   One accent. Where a pill has to carry state, the state is carried by
   fill and border style — not by hue. ───────────────────────── */
.pills{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:30px}
.pills--left{justify-content:flex-start}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;font-weight:500;color:var(--ink);
  padding:8px 15px;border-radius:100px;
  border:1px solid var(--hair);background:var(--surface);
  min-height:36px;
}
.pill .pdot{width:7px;height:7px;border-radius:50%;flex:none;background:var(--emerald)}
.pill--accent{background:var(--emerald-bg);border-color:var(--emerald-edge)}
.pill--quiet{color:var(--ink-2)}
.pill--quiet .pdot{background:var(--ink-3)}
.pill--dashed{border-style:dashed;color:var(--ink-2)}
.pill--dashed .pdot{background:transparent;box-shadow:inset 0 0 0 1px var(--ink-3)}
.pill--sm{font-size:11.5px;min-height:28px;padding:5px 11px;gap:6px}

/* ───────────────────────── Command / prompt card ───────────────────────── */
.cmd{
  display:flex;align-items:center;gap:12px;
  background:var(--surface);
  border:1px solid var(--hair);
  border-radius:var(--radius-md);
  padding:10px 10px 10px 20px;
  box-shadow:var(--shadow-soft),inset 0 1px 0 rgba(255,255,255,.04),inset 0 0 28px rgba(0,0,0,.35);
  text-align:left;
}
.cmd__ph{font-family:var(--sans);font-size:clamp(.86rem,1.4vw,.98rem);color:var(--ink-3)}
.caret{display:inline-block;width:1.5px;height:1.05em;background:var(--emerald);
  margin-left:2px;vertical-align:-2px;animation:blink 1.1s step-end infinite}
@keyframes blink{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){.caret{animation:none}}

/* ───────────────────────── Check list ───────────────────────── */
.checks{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.checks li{display:flex;align-items:flex-start;gap:12px;color:var(--ink-2)}
.checks strong{color:var(--ink);font-weight:600}
.checks .ck{
  width:22px;height:22px;border-radius:50%;flex:none;margin-top:3px;
  background:var(--emerald-bg);border:1px solid var(--emerald-edge);
  display:grid;place-items:center;
}
.checks .ck svg{width:11px;height:11px;fill:none;stroke:var(--emerald);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

/* ───────────────────────── Workflow prev/next ───────────────────────── */
.wfnav{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.wfnav__card{
  display:flex;flex-direction:column;gap:6px;
  padding:clamp(20px,2.4vw,28px);
  border:1px solid var(--hair);border-radius:var(--radius-lg);
  background:var(--surface);
  transition:border-color .2s ease,transform .2s ease,background .2s ease;
}
.wfnav__card:hover{border-color:#34343A;background:var(--surface-2);transform:translateY(-2px)}
.wfnav__card--next{text-align:right;align-items:flex-end}
.wfnav__dir{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3)}
.wfnav__name{font-family:var(--serif);font-size:clamp(1.25rem,2.2vw,1.65rem);color:var(--ink);line-height:1.2}
.wfnav__desc{font-size:.88rem;color:var(--ink-3);max-width:34ch}
.wfnav__card--next .wfnav__desc{margin-left:auto}
@media (max-width:640px){
  .wfnav{grid-template-columns:1fr}
  .wfnav__card--next{text-align:left;align-items:flex-start}
  .wfnav__card--next .wfnav__desc{margin-left:0}
}

/* ───────────────────────── Tilly band ───────────────────────── */
.tillycta{
  display:flex;align-items:center;justify-content:space-between;gap:clamp(20px,4vw,48px);
  flex-wrap:wrap;
  border:1px solid var(--hair);border-radius:var(--radius-xl);
  background:linear-gradient(140deg,rgba(52,211,153,.10),rgba(52,211,153,.02) 52%,var(--surface));
  padding:clamp(26px,3.4vw,40px);
}
.tillycta__copy{max-width:56ch}
.tillycta .label{display:block;margin-bottom:12px;color:var(--emerald)}
.tillycta h2{font-size:clamp(1.4rem,2.4vw,1.9rem);margin-bottom:10px;text-wrap:balance}
.tillycta p{color:var(--ink-2);font-size:.95rem}

/* ───────────────────────── FAQ ───────────────────────── */
.faq{max-width:var(--maxw-narrow);margin-inline:auto}
.faq__item{border-bottom:1px solid var(--hair-soft)}
.faq__item:first-child{border-top:1px solid var(--hair-soft)}
.faq__q{
  position:relative;list-style:none;cursor:pointer;
  font-family:var(--serif);font-weight:450;font-size:clamp(1.05rem,1.9vw,1.25rem);color:var(--ink);
  padding:22px 44px 22px 2px;transition:color .18s ease;
}
.faq__q::-webkit-details-marker{display:none}
.faq__q:hover{color:var(--emerald-hover)}
.faq__q .ic{position:absolute;right:6px;top:50%;width:14px;height:14px;transform:translateY(-50%)}
.faq__q .ic::before,.faq__q .ic::after{content:"";position:absolute;background:var(--ink-3);transition:transform .25s ease}
.faq__q .ic::before{left:0;top:6px;width:14px;height:2px}
.faq__q .ic::after{left:6px;top:0;width:2px;height:14px}
details[open] .faq__q .ic::after{transform:rotate(90deg)}
.faq__a{padding:0 44px 22px 2px}
.faq__a p{max-width:60ch;color:var(--ink-2)}
.faq__a p+p{margin-top:12px}

/* ───────────────────────── Final CTA ───────────────────────── */
.final{text-align:center}
.final h2{font-size:clamp(2.1rem,4.6vw,3.6rem);max-width:16ch;margin:0 auto 22px;text-wrap:balance}
.final .lead{max-width:50ch;margin:0 auto 36px}
.final__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.final .fnote{margin-top:22px;font-family:var(--mono);font-size:12px;letter-spacing:.05em;color:var(--ink-3)}

/* ───────────────────────── Footer ───────────────────────── */
.footer{border-top:1px solid var(--hair);padding:clamp(44px,7vh,72px) 0 36px;background:var(--bg-2)}
.footer__top{
  display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;
  padding-bottom:36px;border-bottom:1px solid var(--hair-soft);margin-bottom:26px;
}
.footer__brand{max-width:340px}
.footer__brand .brand{display:inline-flex;margin-bottom:16px}
.footer__brand p{font-size:.95rem;color:var(--ink-3);max-width:34ch}
.footer__links{display:flex;flex-wrap:wrap;gap:10px 26px;align-items:flex-start;max-width:520px}
.footer__links a{font-size:.92rem;color:var(--ink-3);transition:color .18s ease;min-height:44px;display:inline-flex;align-items:center}
.footer__links a:hover{color:var(--ink)}
.footer__bottom{
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  font-family:var(--mono);font-size:12px;letter-spacing:.04em;color:var(--ink-3);
}
.footer__bottom a{color:inherit;text-decoration:none}
.footer__bottom a:hover{text-decoration:underline}
