/* ==========================================================================
   studiolead.ai — shared site styles
   One stylesheet for every vertical page (studios today; gastro, agency …
   later). Vertical pages only swap copy + demo scenes, never styles.
   ========================================================================== */

:root {
  /* light stage */
  --bg:        #F6F3EE;          /* warm paper */
  --bg-2:      #EDE8E0;
  --card:      #FFFEFC;
  --card-2:    #F3EFE9;
  --line:      #E4DDD2;
  --line-2:    #EEE9E1;

  /* text */
  --text:      #1B1713;
  --text-2:    #574F46;
  --text-3:    #8B8278;
  --text-mute: #7D7368;          /* second tone of two-tone headlines */

  /* night (hero, CTA band) */
  --night:     #12100D;          /* warm dark, matches the photography */
  --night-2:   #1A1713;
  --night-3:   #231F1A;
  --night-line: rgba(255,255,255,.10);
  --night-text: #F1ECE5;
  --night-text-2: #ABA196;
  --steel:     #D9C2A3;          /* second tone on dark: warm sand */

  /* one spark */
  --brand:     #2563EB;
  --brand-ink: #1D3A8A;

  /* status — pastel surface, saturated dot */
  --ok:   #2E7A55;  --ok-bg:   #E6F3EC;
  --warn: #9A6A12;  --warn-bg: #FBF0D9;
  --info: #2C5A86;  --info-bg: #E5EDF6;

  /* type */
  --sans:  "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;

  /* shape + motion */
  --r-1: 8px;  --r-2: 12px;  --r-3: 16px;  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(16,24,40,.04), 0 1px 1px rgba(16,24,40,.03);
  --shadow-2: 0 12px 32px -12px rgba(16,24,40,.14), 0 2px 6px rgba(16,24,40,.04);
  --shadow-night: 0 40px 80px -24px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: 220ms;

  --wrap: 1248px;
  --gutter: clamp(20px, 5vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.h1, .h2 { margin: 0; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.h1 { font-size: clamp(42px, 4.8vw, 66px); line-height: 1.03; }
.h2 { font-size: clamp(34px, 3.9vw, 54px); line-height: 1.04; }
.h1 .tone, .h2 .tone { color: var(--text-mute); }
.h3 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 34em; }
.kicker { margin: 0 0 22px; font-size: 14px; color: var(--text-2); letter-spacing: -.005em; }
.kicker b { font-weight: 500; color: var(--text); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: var(--r-pill); font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .ar { transition: transform var(--dur) var(--ease); }
.btn:hover .ar { transform: translateX(3px); }
.btn--light { background: #fff; color: var(--night); }
.btn--light:hover { background: #EFE7DC; }
.btn--ghost-d { border: 1px solid rgba(255,255,255,.32); color: #fff; }
.btn--ghost-d:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: #2A241D; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 500; white-space: nowrap;
  background: var(--card-2); color: var(--text-2);
}
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill--ok   { background: var(--ok-bg);   color: var(--ok); }
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.pill--info { background: var(--info-bg); color: var(--info); }
.pill--plain::before { display: none; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); color: #fff; }
.nav__in { display: flex; align-items: center; gap: 32px; height: 76px; border-bottom: 1px solid rgba(255,255,255,.12); transition: border-color var(--dur) var(--ease), height var(--dur) var(--ease); }
.nav.is-solid { background: rgba(246,243,238,.86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); color: var(--text); border-bottom: 1px solid var(--line); }
.nav.is-solid .nav__in { border-color: transparent; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand svg { width: 26px; height: 26px; }
.brand .tld { opacity: .5; font-weight: 500; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.nav__links a { opacity: .82; transition: opacity var(--dur) var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__cta { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.lang { font-size: 13px; font-weight: 500; opacity: .82; }
.lang:hover { opacity: 1; }
.nav .btn { height: 36px; padding: 0 14px; font-size: 14px; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.nav .btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
.nav.is-solid .btn { background: var(--night); border-color: var(--night); color: #fff; }
.nav.is-solid .btn:hover { background: #2A241D; }

/* ==========================================================================
   HERO (night)
   ========================================================================== */
.hero { position: relative; background: var(--night); color: var(--night-text); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: #120E0B; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; display: block; }
.hero__bg::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,9,7,.9) 0%, rgba(12,9,7,.7) 30%, rgba(12,9,7,.2) 52%, rgba(12,9,7,0) 70%),
    linear-gradient(0deg, rgba(12,9,7,.7) 0%, transparent 34%),
    linear-gradient(180deg, rgba(12,9,7,.55) 0%, transparent 18%); }
.hero__in { display: flex; align-items: center; padding-top: 140px; padding-bottom: 120px; min-height: min(100svh, 900px); }
.hero__copy { max-width: 600px; }

.badge { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px 0 4px; border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-pill); font-size: 14px; color: #fff; margin-bottom: 28px; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.badge:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); }
.badge__new { background: #fff; color: var(--night); font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: var(--r-pill); }
.hero .h1 { color: #fff; }
.hero .h1 .tone { color: var(--steel); }
.hero .lead { color: #D8CFC4; margin-top: 26px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 500; font-size: 16px; color: #fff; }
.checks li { display: inline-flex; align-items: center; gap: 10px; }
.checks .ic { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.checks .ic svg { width: 13px; height: 13px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero__micro { margin: 22px 0 0; font-size: 14px; color: var(--night-text-2); }

/* ---------- demo: the inbox it lives in + WhatsApp next ---------- */
.demo { position: relative; padding-left: 64px; }
.demo__tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--night-text-2); }
.demo__tabs .lab { margin-right: 4px; }
.demo__tab { height: 30px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 13px; font-weight: 500; position: relative; overflow: hidden; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.demo__tab:hover { border-color: rgba(255,255,255,.5); }
.demo__tab[aria-selected="true"] { background: #fff; color: var(--night); border-color: #fff; }
.demo__tab .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: #C99A5B; }
.demo__tab[aria-selected="true"] .prog { animation: prog var(--scene-ms, 9000ms) linear forwards; }
.demo.is-paused .demo__tab .prog, .demo.is-manual .demo__tab .prog { animation: none; width: 0; }
@keyframes prog { to { width: 100%; } }
.fade { transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.fade.is-out { opacity: 0; transform: translateY(6px); }

/* avatars */
.av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; background: #7E705F; flex: none; }
.av--lena { background: linear-gradient(140deg, #C98B6B, #A4644A); }

/* mail window */
.win { background: rgba(24,21,17,.9); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; box-shadow: var(--shadow-night); -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2); overflow: hidden; }
.win__bar { position: relative; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.win__bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.win__bar i:nth-child(2) { background: #FEBC2E; } .win__bar i:nth-child(3) { background: #28C840; }
.win__url { position: absolute; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--night-text-2); white-space: nowrap; }
.mail { display: grid; grid-template-columns: 200px minmax(0,1fr); min-height: 488px; }
.mlist { border-right: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; min-width: 0; }
.mlist__h { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 14px 10px; font-size: 14px; font-weight: 600; color: #fff; }
.mlist__h span { font-size: 11.5px; font-weight: 400; color: var(--night-text-2); }
.mi { display: block; width: 100%; text-align: left; padding: 10px 14px 11px 22px; border-top: 1px solid rgba(255,255,255,.05); position: relative; color: #C9D2DC; transition: background var(--dur) var(--ease); }
.mi:hover { background: rgba(255,255,255,.035); }
.mi.is-on { background: rgba(255,255,255,.075); }
.mi.is-unread::before { content: ""; position: absolute; left: 9px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: #E2B57A; }
.mi__top { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.mi__from { font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi__t { font-size: 11px; color: var(--night-text-2); flex: none; }
.mi__top { display: flex; }
.mi__s, .mi__p { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi__s { color: #E3E9EF; margin-top: 2px; }
.mi__p { color: var(--night-text-2); margin-top: 1px; }
.mi--sys .mi__from { font-weight: 500; color: #C9D2DC; }

.mread { padding: 16px 22px 18px; min-width: 0; display: flex; flex-direction: column; }
.mread__sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 16px; font-weight: 600; color: #fff; letter-spacing: -.01em; margin-bottom: 14px; }
.mread__sub .lbl { font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 5px; background: rgba(217,194,163,.16); color: #E6D3B8; }
.msg { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 10px; }
.msg + .msg { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); }
.msg .av { width: 28px; height: 28px; font-size: 12px; }
.av--sl { background: #fff; color: var(--night); }
.av--sl svg { width: 20px; height: 20px; }
.msg__h { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; min-width: 0; font-size: 12.5px; color: var(--night-text-2); }
.msg__h b { color: #fff; font-weight: 600; font-size: 13px; }
.msg__h .tm { margin-left: auto; font-size: 11.5px; white-space: nowrap; }
.msg__b { margin-top: 4px; font-size: 13px; line-height: 1.58; color: #D8E0E8; }
.msg--prev .msg__b { color: #AEB9C5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg__b b { color: #fff; font-weight: 600; }
.att { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 9px; border-radius: 6px; border: 1px solid rgba(255,255,255,.12); font-size: 11.5px; color: #D8E0E8; }
.att svg { width: 12px; height: 12px; opacity: .7; }
.atts { display: flex; flex-wrap: wrap; gap: 6px; }
.worked { font-size: 11.5px; color: var(--night-text-2); margin-top: 1px; }
.note { margin: 8px 0 0; font-size: 12.5px; color: var(--night-text-2); }

/* approval, inline in the mail */
.apc { margin-top: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.035); padding: 12px 14px; color: #fff; }
.apc__top { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; }
.apc__top .sh { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.apc__top .sh svg { width: 12px; height: 12px; }
.apc__top .wait { margin-left: auto; font-size: 11px; font-weight: 400; color: var(--night-text-2); }
.apc__what { margin: 9px 0 8px; font-size: 13.5px; font-weight: 600; }
.apc__msg { background: rgba(0,0,0,.22); border-radius: 8px; padding: 9px 11px; font-size: 12px; line-height: 1.55; color: #CDD6E0; }
.apc__to { display: flex; gap: 8px; margin-bottom: 4px; color: #fff; }
.apc__to span { color: var(--night-text-2); }
.apc__rule { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0; font-size: 12px; color: #CDD6E0; cursor: pointer; }
.apc__rule input { appearance: none; -webkit-appearance: none; width: 14px; height: 14px; margin: 1px 0 0; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; flex: none; display: grid; place-items: center; cursor: pointer; }
.apc__rule input:checked { background: #fff; border-color: #fff; }
.apc__rule input:checked::after { content: ""; width: 7px; height: 4px; border: 2px solid var(--night); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-1px); }
.apc__btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.apc__btns .btn { height: 30px; padding: 0 12px; font-size: 12.5px; }
.apc__btns .btn--ghost-d { border-color: rgba(255,255,255,.25); }
.apc__btns .hint { margin-left: auto; font-size: 11.5px; color: var(--night-text-2); }
.apc.is-sent .apc__btns .btn--light { background: var(--ok-bg); color: var(--ok); }

/* WhatsApp phone — overlaps the mail list, bottom-left */
.phone { position: absolute; left: 0; bottom: -96px; width: 226px; z-index: 2; }
.phone__tag { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: #1A1713; border: 1px solid rgba(255,255,255,.18); font-size: 12px; color: #fff; box-shadow: 0 8px 20px -6px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.phone__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #25D366; }
.phone__dev { height: 430px; border-radius: 36px; padding: 6px; background: #17191C; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 70px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.04); }
.wa { height: 100%; border-radius: 30px; overflow: hidden; background: #0B141A; display: flex; flex-direction: column; font-size: 11.5px; color: #E9EDEF; position: relative; }
.wa__status { display: flex; justify-content: space-between; padding: 9px 20px 3px; font-size: 10.5px; font-weight: 600; }
.wa__island { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 64px; height: 18px; border-radius: 12px; background: #000; }
.wa__head { display: flex; align-items: center; gap: 8px; padding: 6px 10px 8px; background: #1F2C34; }
.wa__head .bk { font-size: 16px; color: #8696A0; line-height: 1; }
.wa__av { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--night); display: grid; place-items: center; flex: none; }
.wa__av svg { width: 18px; height: 18px; }
.wa__nm { font-weight: 600; font-size: 12px; line-height: 1.2; }
.wa__nm span { display: block; font-weight: 400; font-size: 10px; color: #8696A0; }
.wa__chat { flex: 1; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; overflow: hidden;
  background-color: #0B141A; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 14px 14px; }
.wa__day { align-self: center; font-size: 9.5px; padding: 3px 8px; border-radius: 6px; background: #182229; color: #8696A0; margin-bottom: 2px; }
.wb { max-width: 86%; padding: 6px 8px 5px; border-radius: 8px; line-height: 1.42; position: relative; }
.wb b { font-weight: 600; }
.wb .tm { display: block; text-align: right; font-size: 9px; color: rgba(233,237,239,.55); margin-top: 2px; }
.wb--out { align-self: flex-end; background: #005C4B; border-top-right-radius: 2px; }
.wb--in { align-self: flex-start; background: #1F2C34; border-top-left-radius: 2px; }
.wq { align-self: flex-start; width: 86%; display: grid; gap: 3px; }
.wq span { display: block; text-align: center; padding: 6px; border-radius: 8px; background: #1F2C34; color: #53BDEB; font-weight: 500; }
.wa__in { display: flex; align-items: center; gap: 6px; padding: 7px 8px 12px; }
.wa__in .f { flex: 1; height: 28px; border-radius: 14px; background: #1F2C34; color: #8696A0; display: flex; align-items: center; padding: 0 11px; font-size: 11px; }
.wa__in .mic { width: 28px; height: 28px; border-radius: 50%; background: #00A884; display: grid; place-items: center; }
.wa__in .mic svg { width: 12px; height: 12px; }

/* ==========================================================================
   LIGHT SECTIONS
   ========================================================================== */
.sec { padding: clamp(88px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.sec--tight { padding: clamp(64px, 7vw, 96px) 0; }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; margin-bottom: clamp(44px, 5vw, 64px); }
.sec__head .lead { margin-top: 44px; }
.sec__head--solo { grid-template-columns: 1fr; }

/* trust strip */
.trust { text-align: center; }
.trust__t { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.025em; }
.trust__t .serif { font-size: 1.08em; }
.trust__s { margin: 10px 0 0; color: var(--text-2); }
.trust__pills { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.tpill { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px 0 6px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); font-size: 14px; font-weight: 500; }
.tpill .eu { width: 22px; height: 22px; border-radius: 50%; background: #1F3E95; display: grid; place-items: center; }
.tpill .eu svg { width: 16px; height: 16px; }

/* cards w/ mini UI */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.mcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-2); padding: 18px 18px 26px; display: flex; flex-direction: column; transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.mcard:hover { box-shadow: var(--shadow-2); border-color: #D5DBE1; transform: translateY(-2px); }
.mcard__ui { background: var(--card-2); border-radius: 10px; padding: 14px; min-height: 154px; margin-bottom: 24px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.mcard .h3 { margin-bottom: 10px; }
.mcard p { margin: 0; color: var(--text-2); line-height: 1.6; }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--card); border-radius: 8px; padding: 9px 11px; font-size: 13.5px; box-shadow: var(--shadow-1); }
.mrow .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mrow .who .av { width: 20px; height: 20px; font-size: 9.5px; }
.tl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tl div { border-top: 2px solid #D3D9DF; padding-top: 10px; font-size: 13px; }
.tl div.on { border-color: var(--text); }
.tl b { display: block; font-weight: 600; }
.tl span { color: var(--text-3); }
.tl-foot { margin-top: 12px; font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 7px; }
.tl-foot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.mq { font-size: 13.5px; font-weight: 600; }
.mbtns { display: flex; gap: 6px; }
.mbtns span { height: 28px; padding: 0 11px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; border: 1px solid #CFD6DD; background: var(--card); }
.mbtns span:first-child { background: var(--night); border-color: var(--night); color: #fff; }
.mmem { font-size: 12.5px; color: var(--text-2); display: flex; align-items: center; gap: 7px; }
.mmem::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #B07A3A; flex: none; }

/* before → after */
.plate { border-top: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.plate li { display: grid; grid-template-columns: minmax(0,1fr) 40px minmax(0,1fr); align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.plate .was { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(123,133,145,.7); font-size: 16px; }
.plate .ar { color: #8FA3B8; display: grid; place-items: center; }
.plate .ar svg { width: 16px; height: 16px; }
.plate .now { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.plate li:hover .now { color: #8A5A22; }

/* briefing */
.brief { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.brief__copy .lead { margin-top: 24px; }
.asks { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.asks li { display: inline-flex; align-self: start; width: fit-content; max-width: 100%; padding: 9px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; font-size: 14.5px; color: var(--text-2); }
.letter { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow-2); overflow: hidden; }
.letter__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--text-3); }
.letter__head .from { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 500; }
.letter__head .from svg { width: 20px; height: 20px; color: var(--text); }
.letter__body { padding: 26px 26px 22px; }
.letter__hi { margin: 0; font-size: 28px; letter-spacing: -.02em; }
.letter__p { margin: 8px 0 22px; color: var(--text-2); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.kpi { background: var(--card-2); border-radius: 12px; padding: 14px 16px; }
.kpi .l { font-size: 12.5px; color: var(--text-3); }
.kpi .n { font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .d { font-size: 12.5px; font-weight: 500; color: var(--ok); }
.kpi--ink { background: var(--night); color: #fff; }
.kpi--ink .l { color: var(--night-text-2); }
.kpi--ink .d { color: #8FD3AE; }
.todo__t { margin: 24px 0 8px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.todo { margin: 0; padding: 0; list-style: none; }
.todo li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.todo li span { flex: 1; min-width: 0; color: var(--text-2); }
.todo li span b { color: var(--text); font-weight: 600; }
.todo .btn--sm { height: 30px; padding: 0 12px; font-size: 13px; border: 1px solid var(--line); background: var(--card); color: var(--text); flex: none; }
.todo .btn--sm:hover { border-color: var(--text); }
.todo li:first-child .btn--sm { background: var(--night); border-color: var(--night); color: #fff; }

/* integrations */
.ints { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.int { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-2); font-size: 15px; transition: border-color var(--dur) var(--ease); }
.int.is-live { border-color: #CDBFAC; }
.int__lg { width: 30px; height: 30px; border-radius: 8px; background: var(--card-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--text-2); letter-spacing: -.02em; flex: none; }
.int__n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.int .pill { background: none; padding: 0; }
.int:not(.is-live) .int__n { color: var(--text-2); }
.req { display: flex; gap: 10px; margin-top: 18px; align-items: center; flex-wrap: wrap; }
.req input { width: 280px; max-width: 100%; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: inherit; font-size: 14px; color: var(--text); }
.req input:focus { outline: none; border-color: var(--text-3); }
.req button { font-size: 14px; font-weight: 500; padding: 0 8px; height: 40px; }
.req button:hover { text-decoration: underline; text-underline-offset: 4px; }

/* control */
.matrix__h, .matrix__r { display: grid; grid-template-columns: minmax(0,1fr) 92px; align-items: center; gap: 10px; }
.matrix__h { font-size: 11.5px; color: var(--text-3); padding: 0 12px 4px; }
.matrix__h span:last-child { display: flex; justify-content: space-between; }
.matrix__r { background: var(--card); border-radius: 8px; padding: 10px 12px; font-size: 13.5px; box-shadow: var(--shadow-1); }
.matrix__r .lv { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
.matrix__r .lv i { height: 6px; border-radius: 4px; background: #DDE2E7; }
.matrix__r .lv i.on { background: #4A3D30; }
.matrix__r .tag { font-size: 10.5px; font-weight: 600; background: var(--warn-bg); color: var(--warn); padding: 2px 7px; border-radius: 6px; margin-left: 6px; }
.tone-ui { display: grid; gap: 8px; }
.bub { max-width: 92%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.bub--bot { background: var(--card); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: line-through; text-decoration-color: rgba(123,133,145,.6); box-shadow: var(--shadow-1); }
.bub--you { background: var(--night); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bub__l { font-size: 11px; color: var(--text-3); }
.bub__l--r { text-align: right; }
.eu-ui__top { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.eu-ui__top b { display: block; font-weight: 600; }
.eu-ui__top span { color: var(--text-3); font-size: 12.5px; }
.eu-flag { width: 38px; height: 38px; border-radius: 50%; background: #1F3E95; display: grid; place-items: center; flex: none; }
.eu-flag svg { width: 28px; height: 28px; }
.log { margin-top: 12px; background: var(--card); border-radius: 8px; box-shadow: var(--shadow-1); font-size: 12px; }
.log div { display: grid; grid-template-columns: 52px 1fr 80px; gap: 8px; padding: 7px 12px; border-top: 1px solid var(--line-2); }
.log div:first-child { border-top: 0; color: var(--text-3); }
.log .m { font-family: var(--mono); font-size: 11.5px; }
.log .g { color: var(--ok); }

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.quote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.14; letter-spacing: -.015em; color: var(--text); text-wrap: balance; }
.founder__p { margin: 28px 0 0; color: var(--text-2); font-size: 17px; line-height: 1.65; max-width: 34em; }
.sig { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14.5px; }
.sig .av { width: 40px; height: 40px; font-size: 14px; background: linear-gradient(140deg, #6B5643, #2A2119); }
.sig b { display: block; font-weight: 600; }
.sig span { color: var(--text-3); }
.day { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-3); padding: 8px 22px; }
.day__r { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.day__r:first-child { border-top: 0; }
.day__r .t { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }
.day__r .w { color: var(--text-2); }
.day__r .w b { color: var(--text); font-weight: 500; }
.day__r.you { background: linear-gradient(90deg, transparent, rgba(201,154,91,.10), transparent); }
.day__r.you .w b { color: #8A5A22; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 20px; color: var(--text-3); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--text-2); line-height: 1.65; max-width: 40em; }

/* close band */
.close { background: var(--night); color: #fff; padding: clamp(96px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.close::before { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(201,154,91,.16), transparent); pointer-events: none; }
.close__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; }
.close .h1 { color: #fff; }
.close .h1 .tone { color: var(--steel); }
.close p { margin: 20px 0 0; color: #C3CDD8; font-size: 18px; max-width: 32em; line-height: 1.55; }

/* footer */
.foot { padding: 40px 0 56px; font-size: 14px; color: var(--text-2); }
.foot__in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .brand { color: var(--text); margin-right: 8px; }
.foot a:hover { color: var(--text); }
.foot .copy { margin-left: auto; color: var(--text-3); }

/* fine film grain over photography */
.grain { position: relative; }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__bg.grain { position: absolute; }
.hero__bg.grain::after { z-index: 2; }

/* night section: where it lives */
.sec--night { background: var(--night); color: var(--night-text); border-top: 0; position: relative; overflow: hidden; }
.sec--night::before { content: ""; position: absolute; inset: -20% -10% auto 30%; height: 90%; background: radial-gradient(closest-side, rgba(201,154,91,.13), transparent); pointer-events: none; }
.sec--night .kicker { color: var(--night-text-2); }
.sec--night .h2 { color: #fff; }
.sec--night .h2 .tone { color: var(--steel); }
.sec--night .lead { color: #CFC5B9; }
.inbox { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 4vw, 64px); align-items: center; position: relative; padding-bottom: 96px; }
.inbox__copy .lead { margin-top: 24px; }
.chan { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--night-line); max-width: 420px; }
.chan li { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--night-line); font-size: 15px; }
.chan__n { color: #fff; font-weight: 500; }
.sec--night .pill { background: rgba(255,255,255,.08); color: #CFC5B9; }
.sec--night .pill--ok { background: rgba(46,122,85,.22); color: #8FD3AE; }
.pill--wa { background: #E3F6EA; color: #128C4B; }
.sec--night .pill--wa { background: rgba(37,211,102,.14); color: #6EE7A0; }

/* formats triptych */
.formats3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 48px; text-align: left; }
.fmt { margin: 0; }
.fmt__img { border-radius: var(--r-3); overflow: hidden; aspect-ratio: 4 / 5; background: var(--night-2); }
.fmt__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fmt:hover .fmt__img img { transform: scale(1.035); }
.fmt figcaption { margin-top: 12px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; }

/* photo band */
.band { position: relative; min-height: clamp(380px, 46vw, 640px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--night); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(14,11,8,.72) 0%, rgba(14,11,8,.1) 55%, rgba(14,11,8,0) 100%); }
.band.grain::after { z-index: 2; }
.band__in { position: relative; z-index: 3; padding-bottom: clamp(36px, 5vw, 72px); }
.band__t { margin: 0; font-size: clamp(40px, 5.4vw, 80px); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.band__t .serif { color: #F0DDC2; font-size: 1.05em; }

/* founder visual: photo with the day card laid over it */
.founder__vis { position: relative; padding-bottom: 120px; }
.founder__img { border-radius: var(--r-3); overflow: hidden; aspect-ratio: 16 / 10; }
.founder__img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.founder__vis .day { position: absolute; left: -32px; right: 48px; bottom: 0; box-shadow: var(--shadow-2); }

/* reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .mail { grid-template-columns: 172px minmax(0,1fr); }
}
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .hero__in { padding-top: 128px; padding-bottom: 88px; }
  .demo { max-width: 760px; padding-left: 0; padding-bottom: 0; }
  .phone { position: relative; left: auto; bottom: auto; margin: 28px auto 0; }
  .brief, .founder, .faq, .inbox { grid-template-columns: 1fr; }
  .founder__vis .day { left: 16px; right: 16px; }
  .ints { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .sec__head { grid-template-columns: 1fr; }
  .sec__head .lead { margin-top: 0; }
  .cards3 { grid-template-columns: 1fr; }
  .formats3 { grid-template-columns: 1fr 1fr; }
  .formats3 .fmt:last-child { display: none; }
  .ints { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .plate li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .plate .ar { display: none; }
  .plate .now::before { content: "→ "; color: #8FA3B8; }
}
@media (max-width: 640px) {
  .nav__cta .btn { display: none; }
  .demo { padding-left: 0; }
  .phone { position: relative; left: auto; bottom: auto; margin: 28px auto 0; }
  .mail { grid-template-columns: 1fr; min-height: 0; }
  .mlist { display: none; }
  .mread { padding: 14px 16px; }
  .apc__btns .hint { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .founder__vis { padding-bottom: 0; }
  .founder__vis .day { position: relative; left: auto; right: auto; margin-top: -40px; margin-inline: 12px; }
  .inbox { padding-bottom: 0; }
  .hero__bg img { object-position: 80% 50%; }
  .hero__bg::before { background: linear-gradient(180deg, rgba(12,9,7,.55) 0%, rgba(12,9,7,.72) 40%, rgba(12,9,7,.9) 100%); }
  .kpis .kpi:first-child { grid-column: span 2; }
  .ints { grid-template-columns: 1fr; }
  .trust__pills { flex-wrap: wrap; }
  .foot .copy { margin-left: 0; width: 100%; }
  .todo li { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .demo__tab .prog { display: none; }
}
