/* getdibs.live. Layout modeled on a clean app landing page (two-phone hero, feature switcher, white cards).
   Type and colors follow the app: Geist; forest, lime, cream. */
:root {
  --page: #FEFDF8;
  --mint: #F2F7F3;
  --card: #FFFFFF;
  --tile: #F4F2EB;
  --line: #E8E6DE;
  --ink: #15201B;
  --dim: #5C6159;
  --faint: #8E9188;
  --forest: #0F4536;
  --lime: #DDF28A;
  --up: #2E8B57;
  --black: #111111;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1240px;
  --shadow: 0 1px 2px rgba(21, 32, 27, .04), 0 8px 24px rgba(21, 32, 27, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  background: linear-gradient(180deg, var(--page) 0%, var(--page) 35%, var(--mint) 70%, var(--page) 100%);
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(254, 253, 248, .85); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: block; color: var(--forest); flex: none; }
.wordmark { display: block; width: 78px; height: auto; }
.wordmark .dot { fill: var(--forest); }
.tabs { display: flex; gap: 6px; margin: 0 auto; }
.tabs a { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink); padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.tabs a:hover { background: rgba(21, 32, 27, .05); }
.tabs a[aria-current="page"] { background: rgba(21, 32, 27, .07); }

/* Store-style black badge */
.badge { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 14px; border-radius: 12px; background: var(--black); color: #fff; text-decoration: none; transition: transform .15s ease; }
.badge:active { transform: scale(.97); }
.badge svg { width: 24px; height: 24px; flex: none; }
.badge span { display: grid; line-height: 1.05; text-align: left; }
.badge small { font-size: 11px; font-weight: 500; opacity: .85; }
.badge b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.badge-sm { height: 42px; padding: 0 14px 0 12px; border-radius: 10px; gap: 8px; }
.badge-sm svg { width: 20px; height: 20px; }
.badge-sm small { font-size: 9.5px; }
.badge-sm b { font-size: 15.5px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; }
.btn-dark { background: var(--black); color: #fff; }
.btn-light { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.btn-lime { background: var(--lime); color: var(--forest); }

/* ---------- Home hero: copy left, two phones right ---------- */
.home-hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 40px; align-items: center; padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); min-height: min(760px, calc(100vh - 76px)); }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; }
.chip .faces { display: flex; }
.chip .faces img { width: 30px; height: 30px; border-radius: 50%; object-fit: contain; background: var(--tile); border: 2px solid #fff; padding: 3px; }
.chip .faces img + img { margin-left: -9px; }
.home-hero h1 { margin: 22px 0 0; font-weight: 600; font-size: clamp(40px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -0.035em; }
.home-hero h1 .sub { display: block; font-weight: 500; color: var(--ink); }
.home-hero .lede { margin: 22px 0 0; max-width: 31em; font-size: 18px; color: var(--dim); }
.home-hero .actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.home-hero .fine { margin-top: 14px; font-size: 14px; color: var(--faint); }

.duo { position: relative; height: 640px; }
.duo .phone { position: absolute; }
.duo .p-scan { left: 0; top: 80px; width: 244px; transform: rotate(-5deg); z-index: 1; }
.duo .p-result { right: 14px; top: 8px; width: 262px; transform: rotate(4deg); z-index: 2; }
.duo .arrow { position: absolute; left: 40%; top: 42%; width: 104px; z-index: 3; color: var(--ink); }
.duo .label { position: absolute; z-index: 4; padding: 9px 14px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 12px 28px -12px rgba(21, 32, 27, .35); font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; }
.duo .label span { display: block; font-weight: 500; color: var(--dim); font-size: 13px; }
.duo .l1 { right: 196px; top: 46px; }
.duo .l2 { right: -12px; top: 170px; }
.duo .l3 { right: -12px; top: 318px; }

/* ---------- Phones ---------- */
.phone { position: relative; width: 300px; aspect-ratio: 393 / 852; border-radius: 50px; padding: 10px; background: #1B1C1E; box-shadow: 0 0 0 1.5px #44464a inset, 0 50px 90px -30px rgba(21, 32, 27, .45), 0 20px 40px -20px rgba(21, 32, 27, .3); flex: none; }
.phone::after { content: ""; position: absolute; top: 21px; left: 50%; width: 30%; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #0c0c0d; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 41px; overflow: hidden; background: #F5F4EB; }
/* Captured screens have no status bar: the top 34px is a strip in the screen's own top color, under the island. */
.screen > img.shot { width: 100%; height: 100%; padding-top: 34px; object-fit: cover; object-position: top; transition: opacity .25s ease; }
.screen.dim { background: #CDCEC7; }

/* The camera, drawn like the app's: a wooden table, corner brackets, the shutter */
.cam { position: absolute; inset: 0; background:
  radial-gradient(120% 80% at 50% 40%, rgba(255, 244, 225, .14), rgba(15, 8, 2, .5) 100%),
  linear-gradient(90deg, transparent 0 31.6%, rgba(45, 22, 6, .35) 31.6% 32%, transparent 32% 77.4%, rgba(45, 22, 6, .35) 77.4% 77.8%, transparent 77.8%),
  repeating-linear-gradient(91deg, rgba(70, 35, 10, .08) 0 2px, rgba(255, 255, 255, .02) 2px 6px, rgba(70, 35, 10, .05) 6px 15px),
  linear-gradient(97deg, #B48A5F, #A27650 48%, #AF865B); }
.cam .top { position: absolute; top: 46px; left: 0; right: 0; text-align: center; color: #fff; font-size: 13px; font-weight: 600; }
.cam .item { position: absolute; left: 50%; top: 42%; width: 72%; transform: translate(-50%, -50%) rotate(-6deg); filter: drop-shadow(0 14px 12px rgba(30, 14, 2, .5)); }
.cam .corners { position: absolute; left: 12%; right: 12%; top: 22%; height: 40%; }
.cam .corners i { position: absolute; width: 26px; height: 26px; border: 3px solid rgba(255, 255, 255, .95); }
.cam .corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 13px; }
.cam .corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 13px; }
.cam .corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 13px; }
.cam .corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 13px; }
.cam .hint { position: absolute; left: 0; right: 0; bottom: 21%; text-align: center; color: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 500; }
.cam .shutter { position: absolute; left: 50%; bottom: 6%; width: 62px; height: 62px; margin-left: -31px; border-radius: 50%; border: 4px solid #fff; }
.cam .shutter::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto; }
.section-head h2, .split h2, .feature-copy h2 { margin: 0; font-weight: 600; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; }
.section-head p { margin: 14px auto 0; color: var(--dim); font-size: 18px; max-width: 34em; }

/* What does dibs include: phone left, switcher cards right */
.include { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.include .phone-col { display: grid; justify-items: center; gap: 18px; }
.dots { display: flex; gap: 8px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: #D6D8D0; transition: background .2s, width .2s; }
.dots span.on { background: var(--ink); width: 22px; border-radius: 4px; }
.features { display: grid; gap: 14px; }
.feature { text-align: left; cursor: pointer; border: 0; width: 100%; background: var(--card); border-radius: 18px; padding: 20px 22px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.feature h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.feature p { margin: 6px 0 0; color: var(--dim); font-size: 15.5px; line-height: 1.5; }
.feature:hover { box-shadow: 0 0 0 1px #CFCDC4; }
.feature[aria-selected="true"] { box-shadow: 0 0 0 1.5px var(--ink), var(--shadow); background: #FAFAF7; }

/* Why choose dibs: three white cards */
.why { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why-card { background: var(--card); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.why-card .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--tile); display: grid; place-items: center; color: var(--forest); }
.why-card .ico svg { width: 22px; height: 22px; }
.why-card h3 { margin: 22px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.why-card p { margin: 8px 0 0; color: var(--dim); font-size: 15.5px; }

/* The wall of things */
.wall { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.thing { background: var(--card); border-radius: 24px; padding: 18px 18px 18px; box-shadow: var(--shadow); }
.thing .pic { position: relative; aspect-ratio: 1; background: var(--tile); border-radius: 16px; }
.thing .pic img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(21, 32, 27, .18)); }
.thing .name { margin-top: 14px; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.thing .row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; font-variant-numeric: tabular-nums; }
.thing .val { font-weight: 600; font-size: 21px; letter-spacing: -0.02em; }
.thing .chg { font-weight: 500; font-size: 14px; color: var(--up); }

/* Splits (how it works) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.split.flip .copy { order: 2; }
.split .copy p { margin: 18px 0 0; color: var(--dim); font-size: 18px; max-width: 30em; }
.split .visual { background: var(--card); box-shadow: var(--shadow); border-radius: 32px; padding: clamp(36px, 5vw, 64px) 20px; display: flex; justify-content: center; }
.steps { display: grid; gap: clamp(64px, 9vw, 112px); }
.step-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: #fff; font-weight: 600; font-size: 16px; margin-bottom: 20px; }
.cats { margin-top: 44px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cat { background: var(--card); box-shadow: var(--shadow); border-radius: 20px; padding: 18px 12px 16px; text-align: center; font-weight: 600; font-size: 15px; }
.cat img { height: 80px; width: auto; margin: 0 auto 12px; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(21, 32, 27, .16)); }

/* Page hero (inner pages) */
.hero { text-align: center; padding: clamp(56px, 8vw, 100px) 0 0; }
.hero h1 { margin: 0 auto; max-width: 16ch; font-weight: 600; font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; }
.hero .lede { margin: 18px auto 0; max-width: 34em; font-size: 19px; color: var(--dim); }
.page-hero { padding-bottom: clamp(40px, 6vw, 64px); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.plan { border-radius: 28px; padding: clamp(28px, 4vw, 40px); background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.plus { background: var(--forest); color: #fff; box-shadow: none; }
.plan h2 { margin: 0; font-size: 22px; font-weight: 600; }
.plan .amount { margin-top: 16px; font-size: 52px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan .amount span { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--dim); }
.plan.plus .amount span, .plan.plus .sub { color: rgba(255, 255, 255, .72); }
.plan .sub { margin-top: 10px; color: var(--dim); font-size: 15px; }
.plan .btn { margin-top: 30px; align-self: flex-start; }
.checks { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; flex: 1; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DDF28A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.plan.plus .checks li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F4536' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }

/* FAQ: white rounded rows */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 500; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315201B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center/15px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--dim); font-size: 15.5px; }
.faq-more { text-align: center; margin-top: 22px; }

/* Closing call to action */
.band { margin-top: clamp(88px, 12vw, 150px); border-radius: 36px; padding: clamp(56px, 8vw, 96px) var(--gutter); text-align: center; background: radial-gradient(120% 140% at 50% 0%, #FFFFFF 0%, #F4F1E8 60%, #EDEFE6 100%); box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.band h2 { margin: 0 auto; max-width: 15ch; font-weight: 600; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.035em; }
.band p { margin: 14px auto 0; color: var(--dim); font-size: 18px; }
.band .badge { margin-top: 30px; }
.band .things { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 4vw, 44px); margin-top: 48px; }
.band .things img { height: clamp(60px, 9vw, 108px); width: auto; filter: drop-shadow(0 16px 16px rgba(21, 32, 27, .2)); }

/* Legal */
.legal { max-width: 740px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 0 0; }
.legal h1 { margin: 0 0 8px; font-weight: 600; font-size: clamp(38px, 5.5vw, 58px); letter-spacing: -0.035em; line-height: 1.05; }
.legal .updated { color: var(--faint); font-size: 15px; }
.legal h2 { margin: 40px 0 10px; font-size: 21px; font-weight: 600; }
.legal ul { padding-left: 22px; }
.legal li { margin: 7px 0; }
.legal .short { margin-top: 28px; padding: 22px 24px; background: var(--card); box-shadow: var(--shadow); border-radius: 20px; }
.legal .short p { margin: 0 0 8px; }

/* Footer */
.site-foot { margin-top: clamp(80px, 11vw, 130px); border-top: 1px solid var(--line); background: var(--page); }
.foot-row { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding: 52px 0 40px; }
.site-foot .brand .wordmark { width: 84px; }
.story { margin: 14px 0 18px; max-width: 30em; color: var(--dim); font-size: 15px; }
.foot-col h4 { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.foot-col a { display: block; text-decoration: none; color: var(--dim); font-size: 15px; margin: 0 0 10px; }
.foot-col a:hover { color: var(--ink); }
.copy-line { border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: 13px; color: var(--faint); }

/* One entrance: the hero phones */
@media (prefers-reduced-motion: no-preference) {
  .duo .p-scan { animation: in-left .9s cubic-bezier(.2, .8, .2, 1) both; }
  .duo .p-result { animation: in-right .9s .12s cubic-bezier(.2, .8, .2, 1) both; }
  .duo .arrow, .duo .label { animation: fade .5s .8s both; }
}
@keyframes in-left { from { opacity: 0; translate: -30px 30px; } }
@keyframes in-right { from { opacity: 0; translate: 30px 30px; } }
@keyframes fade { from { opacity: 0; } }

/* Responsive */
@media (max-width: 1080px) {
  .home-hero { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .home-hero .lede { margin-left: auto; margin-right: auto; }
  .home-hero .actions { justify-content: center; }
  .duo { max-width: 620px; width: 100%; margin: 0 auto; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .head-row { height: 64px; }
  .tabs { display: none; }
  .head-row .badge { margin-left: auto; }
  .include { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .copy { order: 0; }
  .plans { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .thing { padding: 12px; border-radius: 20px; }
  .foot-row { grid-template-columns: 1fr 1fr; }
  .foot-row > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  /* Phones: just the result screen, centered, with its labels. */
  .duo { height: 540px; max-width: 360px; }
  .duo .p-scan, .duo .arrow { display: none; }
  .duo .p-result { width: 236px; right: auto; left: 50%; top: 10px; transform: translateX(-50%) rotate(3deg); }
  .duo .l1 { right: auto; left: 0; top: 60px; } .duo .l2 { right: 0; top: 200px; } .duo .l3 { right: auto; left: 0; top: 330px; }
  .duo .label { font-size: 13px; padding: 8px 11px; } .duo .label span { font-size: 12px; }
  .chip { font-size: 13.5px; } .chip .faces img { width: 26px; height: 26px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phone nav: the tabs move into a row under the header */
.mobile-tabs { display: none; }
@media (max-width: 860px) {
  .mobile-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .mobile-tabs::-webkit-scrollbar { display: none; }
  .mobile-tabs a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 7px 14px; border-radius: 999px; white-space: nowrap; background: rgba(21, 32, 27, .05); }
  .mobile-tabs a[aria-current="page"] { background: var(--black); color: #fff; }
}

/* ---------- Swarm hero (home) ----------
   Modeled on Agentcard: one flat saturated field, small objects tumbling in 3D on a slowly turning sphere, and a
   real extruded headline lying back in perspective. */
.vortex {
  position: relative; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw); margin-top: -76px;
  height: max(760px, 100vh);
  background: radial-gradient(ellipse 90% 80% at 50% 50%, #0E8A57 0%, #0B7A4C 55%, #086640 100%);
  color: #fff; isolation: isolate;
}
.v-items { position: absolute; inset: 0; }
.v-item { position: absolute; left: 50%; top: 50%; height: auto; will-change: transform; pointer-events: none; user-select: none; backface-visibility: visible;
  /* pull the objects into the scene: a little less candy, a green-tinted shadow */
  filter: saturate(.82) brightness(.96) drop-shadow(0 8px 10px rgba(3, 40, 24, .35)); }
.v-copy { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(1100px, 94vw); text-align: center; pointer-events: none; perspective: 900px; }
.t3d { position: relative; display: inline-block; transform-style: preserve-3d; transform: rotateX(38deg) rotateZ(-8deg); }
.t-face, .t-layer { margin: 0; font-weight: 700; font-size: clamp(42px, 6.6vw, 104px); line-height: .92; letter-spacing: -0.045em; }
.t-face { position: relative; color: #F2FFF7; }
.t-layer { position: absolute; inset: 0; }

/* Header over the tunnel on the home page: white until the page scrolls */
.page-home .site-head { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.page-home .site-head .brand { color: #fff; }
.page-home .site-head .wordmark .dot { fill: var(--lime); }
.page-home .site-head .badge { background: #fff; color: var(--black); }
.page-home .site-head.scrolled { background: rgba(254, 253, 248, .88); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom-color: var(--line); }
.page-home .site-head.scrolled .brand { color: var(--forest); }
.page-home .site-head.scrolled .wordmark .dot { fill: var(--forest); }
.page-home .site-head.scrolled .badge { background: var(--black); color: #fff; }

/* ---------- Floating pill nav (all pages) ---------- */
.pillnav { position: fixed; z-index: 40; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; padding: 6px; border-radius: 16px; background: rgba(20, 28, 24, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 16px 40px rgba(0, 0, 0, .28); }
.pill-tabs { display: flex; gap: 2px; }
.pill-tabs a { text-decoration: none; color: rgba(255, 255, 255, .86); font-size: 14.5px; font-weight: 500; padding: 9px 14px; border-radius: 11px; white-space: nowrap; }
.pill-tabs a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.pill-tabs a[aria-current="page"] { background: #fff; color: var(--forest); }
.pill-cta { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; background: var(--lime); color: var(--forest); font-size: 14.5px; font-weight: 600; padding: 9px 14px; border-radius: 11px; white-space: nowrap; }
.pill-cta svg { width: 15px; height: 15px; }
body { padding-bottom: 0; }
.site-foot { padding-bottom: 80px; }

@media (max-width: 860px) {
  .vortex { margin-top: -64px; height: max(640px, 100svh); }
  .v-copy h1 { transform: perspective(900px) rotateX(10deg) rotateZ(-5deg); }
  .v-tag { font-size: 18px; }
}
@media (max-width: 560px) {
  .pillnav { left: 12px; right: 12px; transform: none; bottom: 12px; justify-content: space-between; }
  .pill-tabs { overflow-x: auto; scrollbar-width: none; }
  .pill-tabs::-webkit-scrollbar { display: none; }
  .pill-tabs a, .pill-cta { padding: 8px 10px; font-size: 13.5px; }
  .pill-cta svg { display: none; }
}

@media (max-width: 430px) {
  .pillnav { gap: 4px; padding: 5px; }
  .pill-tabs a, .pill-cta { padding: 7px 8px; font-size: 12.5px; }
}
@media (max-width: 700px) {
  .t3d { transform: rotateX(24deg) rotateZ(-6deg); }
  .t-face, .t-layer { font-size: clamp(50px, 14vw, 64px); }
}
@media (max-width: 700px) {
  .t3d br { display: none; }
  .t-face, .t-layer { max-width: 330px; text-wrap: balance; }
}

/* Real 3D headline (assets/hero3d.js) on a canvas between the back and front objects; the HTML headline is the fallback. */
.v-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.vortex.gl-on .t3d { opacity: 0; }
