/* =========================================================================
   Palamedes Tecnologias — design system
   Brand colors (manual): #454444 Palamedes · #006be3 Akos · #ff7800 Meros
   ========================================================================= */
:root {
  --ink: #1c1b1b;
  --ink-2: #2a2929;
  --graphite: #454444;
  --muted: #6c6a68;
  --muted-2: #9b9896;
  --line: #e8e6e3;
  --line-2: #d9d6d2;
  --paper: #ffffff;
  --paper-2: #f7f6f4;
  --paper-3: #efeeeb;

  --akos: #006be3;
  --akos-deep: #0a3f86;
  --akos-tint: #eaf2fe;
  --meros: #ff7800;
  --meros-deep: #b85300;
  --meros-tint: #fff2e6;
  --alert: #e5484d;
  --ok: #1f9d55;

  --brand: var(--graphite);
  --brand-tint: var(--paper-3);

  --wrap: 1232px;
  --gutter: 40px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --shadow-ui: 0 1px 0 rgba(255,255,255,.6) inset, 0 0 0 1px rgba(28,27,27,.07), 0 24px 48px -16px rgba(28,27,27,.22), 0 8px 18px -8px rgba(28,27,27,.12);
}
.page-akos { --brand: var(--akos); --brand-deep: var(--akos-deep); --brand-tint: var(--akos-tint); }
.page-meros { --brand: var(--meros); --brand-deep: var(--meros-deep); --brand-tint: var(--meros-tint); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { font-family: var(--font); font-size: 17px; line-height: 1.55; font-weight: 400; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 200; background: #fff; padding: 10px 14px; border-radius: 6px; box-shadow: var(--shadow-ui); }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- frame / guides (vertical hairlines framing the column) ---------- */
.wrap { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.guides { position: relative; }
.guides > .wrap::before, .guides > .wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); pointer-events: none; }
.guides > .wrap::before { left: 0; }
.guides > .wrap::after { right: 0; }
.sec { padding: 0; }
.sec > .wrap { padding-top: 120px; padding-bottom: 120px; }
.sec + .sec, .rule-top { border-top: 1px solid var(--line); }
.tint { background: var(--paper-2); }

/* ---------- type ---------- */
.label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 1px; }
.label.plain::before { display: none; }
.display { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.038em; font-weight: 450; }
.h2 { font-size: clamp(32px, 3.7vw, 52px); line-height: 1.06; letter-spacing: -0.032em; font-weight: 450; }
.h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 450; }
.h4 { font-size: 19px; line-height: 1.3; letter-spacing: -0.012em; font-weight: 520; }
.dim { color: var(--muted-2); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); letter-spacing: -0.008em; }
.body-m { color: var(--muted); }
.mono { font-family: var(--mono); }
.head { max-width: 860px; }
.head .label { margin-bottom: 22px; }
.head .lede { margin-top: 20px; max-width: 680px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 8px; background: var(--bg); color: var(--fg); font-size: 15px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; transition: background-color .18s, box-shadow .18s, color .18s; border: 1px solid transparent; }
.btn .chev { width: 14px; height: 14px; transition: transform .18s; }
.btn:hover .chev { transform: translateX(3px); }
.btn:hover { --bg: var(--ink-2); }
.btn-brand { --bg: var(--brand); }
.btn-brand:hover { --bg: var(--brand-deep, var(--ink-2)); }
.btn-line { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn-line:hover { --bg: var(--paper-2); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light:hover { --bg: #f0efed; }
.btn-ghost-light { --bg: rgba(255,255,255,.08); --fg: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { --bg: rgba(255,255,255,.16); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--brand); }
.link-arrow .chev { width: 14px; height: 14px; transition: transform .18s; }
.link-arrow:hover .chev { transform: translateX(3px); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; height: 72px; gap: 40px; }
.top .logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a { padding: 8px 12px; border-radius: 6px; font-size: 15px; font-weight: 450; color: var(--ink); transition: background-color .15s; }
.nav a:hover { background: var(--paper-3); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav .prod { display: inline-flex; align-items: center; gap: 8px; }
.nav .prod i { width: 8px; height: 8px; border-radius: 2px; }
.top-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 8px; align-items: center; justify-content: center; margin-left: auto; }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- hero (home) — video em tela cheia ---------- */
.hero-v { position: relative; overflow: hidden; background: #161616; color: #fff; min-height: clamp(640px, calc(100svh - 72px), 920px); display: flex; align-items: center; }
.hv-media { position: absolute; inset: 0; }
.hv-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-media::after { content: ''; position: absolute; inset: 0; background: #0e0e0e; opacity: 0; transition: opacity .7s ease; }
.hv-media.dip::after { opacity: .85; }
.hv-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(16,16,16,.88) 0%, rgba(16,16,16,.66) 38%, rgba(16,16,16,.22) 72%, rgba(16,16,16,.1) 100%),
  linear-gradient(0deg, rgba(16,16,16,.85) 0%, rgba(16,16,16,0) 42%),
  linear-gradient(180deg, rgba(16,16,16,.45) 0%, rgba(16,16,16,0) 22%); }
.hero-v > .wrap { position: relative; z-index: 2; width: 100%; padding-top: 96px; padding-bottom: 232px; }
.hero-v > .wrap::before, .hero-v > .wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.1); }
.hero-v > .wrap::before { left: 0; } .hero-v > .wrap::after { right: 0; }
.hv-copy .label { color: #fff; margin-bottom: 30px; }
.hv-copy .display { font-size: clamp(46px, 6.6vw, 100px); line-height: .98; letter-spacing: -0.045em; max-width: 980px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hv-copy .lede { color: rgba(255,255,255,.82); margin-top: 28px; max-width: 560px; }
.hv-copy .btns { margin-top: 38px; }
.hv-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.hv-tags a { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; color: #fff; transition: background-color .2s; }
.hv-tags a:hover { background: rgba(255,255,255,.16); }
.hv-tags i { width: 8px; height: 8px; border-radius: 2px; }
.hv-tags svg { width: 12px; height: 12px; opacity: .7; }
.hv-pause { position: absolute; right: calc(var(--gutter) + 4px); bottom: 196px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; }
.hv-pause:hover { background: rgba(0,0,0,.55); }
.hv-pause svg { width: 12px; height: 12px; }
.hv-pause .i-play { display: none; }
.hv-pause[aria-pressed="true"] .i-play { display: block; }
.hv-pause[aria-pressed="true"] .i-pause { display: none; }
.hv-wrap-pos { position: relative; max-width: var(--wrap); margin: 0 auto; height: 0; }

/* preview: telas dos produtos sobrepondo a borda inferior do video */
.preview { position: relative; z-index: 3; margin-top: -176px; }
.preview .wrap { padding-bottom: 72px; }
.pv-stage { position: relative; max-width: 1000px; margin: 0 auto; padding-left: 8%; }
.pv-stage .ui-scale.dash { width: 100%; }
.pv-stage .phone-wrap { position: absolute; left: 0; bottom: -44px; width: 21%; z-index: 2; }
.preview .caption { right: var(--gutter); bottom: 32px; }
.caption { position: absolute; right: 0; bottom: -28px; font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: .04em; }

/* product strip under hero */
.strip { border-top: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.strip a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px var(--gutter); transition: background-color .2s; }
.strip a + a { border-left: 1px solid var(--line); }
.strip a:hover { background: var(--paper-2); }
.strip img { height: 34px; width: auto; }
.strip p { color: var(--muted); font-size: 15px; max-width: 300px; }
.strip .go { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .2s, border-color .2s; }
.strip a:hover .go { transform: translateX(4px); border-color: var(--ink); }
.strip .go svg { width: 14px; height: 14px; }

/* ---------- manifesto (editorial statement) ---------- */
.manifesto > .wrap { padding-top: 150px; padding-bottom: 140px; }
.manifesto p { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.14; letter-spacing: -0.032em; font-weight: 400; color: var(--muted-2); max-width: 1060px; }
.manifesto p b { font-weight: 450; color: var(--ink); }
.manifesto .sig { margin-top: 40px; display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 15px; }
.manifesto .sig img { height: 30px; }

/* ---------- tabs (platform switcher) ---------- */
.tabs { margin-top: 56px; }
.tablist { display: inline-flex; gap: 6px; padding: 5px; background: var(--paper-3); border-radius: 12px; }
.tab { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.tab i { width: 9px; height: 9px; border-radius: 2px; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(28,27,27,.06), 0 2px 6px rgba(28,27,27,.08); }
.panel { margin-top: 24px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.panel[hidden] { display: none; }
.panel-copy { padding: 52px 48px; display: flex; flex-direction: column; }
.panel-copy > img { height: 34px; width: auto; align-self: flex-start; margin-bottom: 30px; }
.panel-copy .h3 { margin-bottom: 16px; }
.panel-copy .body-m { margin-bottom: 28px; }
.feat { border-top: 1px solid var(--line); margin-bottom: 32px; }
.feat li { display: grid; grid-template-columns: 36px 1fr; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.feat li span { font-family: var(--mono); font-size: 12px; color: var(--muted-2); padding-top: 3px; }
.panel-copy .btn { margin-top: auto; align-self: flex-start; }
.panel-art { position: relative; padding: 48px 0 48px 48px; overflow: hidden; display: flex; align-items: center; }
.panel-art.akos { background: radial-gradient(120% 90% at 100% 100%, rgba(0,107,227,.30), rgba(0,107,227,0) 60%), linear-gradient(160deg, #f4f8fe 0%, #e3eefd 100%); }
.panel-art.meros { background: radial-gradient(120% 90% at 100% 100%, rgba(255,120,0,.28), rgba(255,120,0,0) 60%), linear-gradient(160deg, #fff8f1 0%, #ffecd9 100%); }
.panel-art .ui-scale { width: 118%; flex: none; }

/* ---------- index list (pillars) ---------- */
.index-list { margin-top: 64px; border-top: 1px solid var(--line); }
.index-list li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 60px; gap: 40px; align-items: baseline; padding: 34px 0 36px; border-bottom: 1px solid var(--line); }
.index-list .big { font-size: clamp(36px, 4.6vw, 66px); line-height: 1; letter-spacing: -0.04em; font-weight: 400; }
.index-list p { color: var(--muted); max-width: 460px; }
.index-list .n { font-family: var(--mono); font-size: 12px; color: var(--muted-2); text-align: right; }

/* ---------- audience grid ---------- */
.aud { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.aud > div { padding: 32px 28px 36px; }
.aud > div + div { border-left: 1px solid var(--line); }
.aud .n { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.aud .h4 { margin: 40px 0 10px; }
.aud p { color: var(--muted); font-size: 15.5px; }
.aud ul { margin-top: 16px; display: grid; gap: 8px; }
.aud ul li { font-size: 15px; padding-left: 16px; position: relative; color: var(--ink); }
.aud ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 1px; background: var(--brand); }

/* ---------- case study ---------- */
.case { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.case-copy { padding: 48px; }
.case-copy .who { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.case-copy .who img { height: 24px; width: auto; }
.case-copy .who .sep { width: 1px; height: 22px; background: var(--line-2); }
.case-copy .partner { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; font-weight: 500; color: var(--ink); }
.case-copy .h3 { margin: 32px 0 14px; }
.case-copy .body-m { font-size: 16px; }
.metrics { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.metrics div { padding: 22px 0 6px; border-bottom: 1px solid var(--line); }
.metrics div:nth-child(odd) { padding-right: 20px; }
.metrics div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.metrics strong { display: block; font-family: var(--mono); font-weight: 400; font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); }
.metrics span { display: block; font-size: 14px; color: var(--muted); margin: 6px 0 14px; }
.case-media { position: relative; min-height: 460px; background: center / cover no-repeat; }
.case-media .chip { position: absolute; left: 20px; bottom: 20px; background: rgba(28,27,27,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; padding: 8px 12px; border-radius: 6px; }
.fine { font-size: 13px; color: var(--muted-2); margin-top: 18px; }

/* ---------- dark sections ---------- */
.dark { position: relative; background: #232222; color: #fff; overflow: hidden; }
.dark .label { color: #fff; }
.dark .dim { color: rgba(255,255,255,.45); }
.dark .lede, .dark .body-m { color: rgba(255,255,255,.72); }
.dark .guides > .wrap::before, .dark .guides > .wrap::after, .dark.guides > .wrap::before, .dark.guides > .wrap::after { background: rgba(255,255,255,.09); }
.silk-bg { position: absolute; inset: 0; background: url('../img/silk-dark.webp?v=1') center / cover no-repeat; opacity: .55; }
.silk-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,34,34,.96) 0%, rgba(35,34,34,.72) 50%, rgba(35,34,34,.35) 100%); }
.origin .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; padding-top: 130px; padding-bottom: 130px; }
.origin .h2 { margin: 22px 0 26px; }
.origin p + p { margin-top: 16px; }
.origin-mark { justify-self: center; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: 24px; border: 1px solid rgba(255,255,255,.12); background: radial-gradient(62% 58% at 50% 42%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 70%), rgba(255,255,255,.02); }
.origin-mark img { width: 70%; height: auto; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--paper-2); border-top: 1px solid var(--line); }
.contact .silk { position: absolute; inset: 0; background: url('../img/silk-light.webp?v=1') right center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 85%); mask-image: linear-gradient(90deg, transparent 25%, #000 85%); opacity: .9; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: end; padding-top: 128px; padding-bottom: 128px; }
.contact .h2 { margin-top: 22px; font-size: clamp(36px, 4.4vw, 64px); }
.contact .side { position: relative; border-left: 1px solid var(--line-2); padding-left: 40px; }
.contact .side p { color: var(--muted); margin-bottom: 28px; }
.contact .note { margin-top: 18px; font-size: 13px; color: var(--muted-2); margin-bottom: 0 !important; }
.btn-akos { --bg: var(--akos); } .btn-akos:hover { --bg: var(--akos-deep); }
.btn-meros { --bg: var(--meros); } .btn-meros:hover { --bg: var(--meros-deep); }
.d-dot { width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; background: #f0eeeb; position: relative; }
.d-dot::after { content: ''; width: .8em; height: .8em; border-radius: 50%; background: #9b9896; }
.d-dot.ok::after { background: var(--ok); } .d-dot.k::after { background: var(--k); } .d-dot.warn::after { background: #d98a00; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: #fff; }
.foot .wrap { padding-top: 64px; padding-bottom: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid > div:first-child img { height: 28px; width: auto; }
.foot-grid > div:first-child p { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 320px; }
.foot h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.foot li + li { margin-top: 10px; }
.foot li a { font-size: 15px; color: var(--ink); }
.foot li a:hover { color: var(--brand); }
.foot-logos { display: flex; gap: 28px; align-items: center; margin-top: 28px; }
.foot-logos img { height: 20px; width: auto; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }

/* =========================================================================
   Product pages
   ========================================================================= */
.p-hero { position: relative; overflow: hidden; color: #fff; background: #0b1424; }
.page-meros .p-hero { background: #1c1410; }
.p-hero .bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .55; }
.p-hero .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,14,26,.97) 0%, rgba(8,14,26,.85) 40%, rgba(8,14,26,.35) 100%); }
.page-meros .p-hero .bg::after { background: linear-gradient(90deg, rgba(24,17,12,.97) 0%, rgba(24,17,12,.86) 40%, rgba(24,17,12,.35) 100%); }
.p-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.p-hero .wrap::before, .p-hero .wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.09); }
.p-hero .wrap::before { left: 0; } .p-hero .wrap::after { right: 0; }
.p-hero .brandmark { height: 40px; width: auto; margin-bottom: 40px; }
.p-hero .display { font-size: clamp(40px, 5vw, 70px); }
.p-hero .lede { color: rgba(255,255,255,.74); margin-top: 26px; max-width: 540px; }
.p-hero .btns { margin-top: 36px; }
.p-hero .art { position: relative; }
.p-hero .art .ui-scale.dash { width: 104%; margin-left: 12%; }
.p-hero .art .phone-wrap { position: absolute; width: 27%; left: -2%; bottom: -16%; }
.p-hero .caption { color: rgba(255,255,255,.4); bottom: -40px; right: 0; left: auto; }
.subnav { position: sticky; top: 72px; z-index: 90; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; gap: 4px; height: 52px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav b { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-right: 14px; white-space: nowrap; }
.subnav a { padding: 6px 10px; font-size: 14px; color: var(--muted); white-space: nowrap; border-radius: 6px; }
.subnav a:hover { color: var(--ink); background: var(--paper-3); }

/* stats rows */
.stats { margin-top: 64px; border-top: 1px solid var(--line); }
.stats li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.stats strong { font-family: var(--mono); font-weight: 400; font-size: clamp(38px, 4.4vw, 62px); letter-spacing: -0.045em; line-height: 1; color: var(--brand); }
.stats p { font-size: 18px; color: var(--ink); max-width: 520px; }
.stats p small { display: block; font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.challenges { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.challenges > div { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--line); }
.challenges > div:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.challenges .h4 { font-size: 17px; margin-bottom: 8px; }
.challenges p { color: var(--muted); font-size: 15px; }

/* bento */
.bento { margin-top: 64px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cell { position: relative; border-radius: var(--r-lg); background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; min-height: 420px; }
.cell .cap { padding: 28px 28px 0; position: relative; z-index: 2; }
.cell .cap .h4 { font-size: 20px; }
.cell .cap p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 420px; }
.cell .stage { position: relative; flex: 1; display: flex; align-items: flex-end; justify-content: center; padding: 28px 28px 0; }
.cell.w4 { grid-column: span 4; } .cell.w3 { grid-column: span 3; } .cell.w2 { grid-column: span 2; }
.cell.brandbg { background: radial-gradient(90% 80% at 100% 100%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 70%), linear-gradient(170deg, #fff 0%, var(--brand-tint) 100%); }
.cell.photo { color: #fff; border: 0; }
.cell.photo .ph { position: absolute; inset: 0; background: center / cover no-repeat; }
.cell.photo .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.68) 0%, rgba(10,10,10,.1) 46%, rgba(10,10,10,.25) 100%); }
.cell.photo .cap p { color: rgba(255,255,255,.82); }
.stage .ui-scale { width: 100%; }
.stage .ui-scale:has(> .ui.sm) { max-width: 440px; }
.stage.bleed { padding-right: 0; justify-content: flex-start; }
.stage.bleed .ui-scale { width: 112%; flex: none; }

/* photo band */
.band { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.band .ph { position: absolute; inset: 0; background: center / cover no-repeat; }
.band .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.25) 55%, rgba(10,10,10,.05) 100%); }
.band .wrap { position: relative; width: 100%; padding-top: 80px; padding-bottom: 72px; }
.band .wrap::before, .band .wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.14); }
.band .wrap::before { left: 0; } .band .wrap::after { right: 0; }
.band blockquote { font-size: clamp(32px, 4vw, 58px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 450; max-width: 900px; }
.band blockquote .dim { color: rgba(255,255,255,.55); }
.band .src { margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: rgba(255,255,255,.7); text-transform: uppercase; }

/* two editorial lists */
.cols2 { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.elist h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.elist li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.elist li span { color: var(--muted); font-size: 14.5px; text-align: right; }

/* steps timeline */
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 30px 22px 10px 0; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps li::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--brand); border-radius: 1px; }
.steps li + li::before { left: -4px; }
.steps .n { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.steps .h4 { font-size: 17px; margin: 22px 0 8px; }
.steps p { font-size: 14.5px; color: var(--muted); }

/* model diagram */
.model { margin-top: 64px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: center; }
.model-core { position: relative; padding: 44px 40px; border-radius: var(--r-lg); background: #1f1a16; color: #fff; text-align: center; width: 360px; }
.model-core img { height: 28px; width: auto; margin: 0 auto 18px; }
.model-core p { font-size: 18px; letter-spacing: -0.012em; line-height: 1.35; }
.model-core small { display: block; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.model-side { display: grid; gap: 14px; }
.model-side.l { padding-right: 0; }
.node { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.node .ico { width: 38px; height: 38px; border-radius: 9px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.node .ico svg { width: 20px; height: 20px; }
.node b { display: block; font-weight: 520; font-size: 16px; }
.node span { font-size: 14px; color: var(--muted); }
.model-side.l .node::after, .model-side.r .node::before { content: ''; position: absolute; top: 50%; width: 40px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.model-side.l .node::after { right: -41px; }
.model-side.r .node::before { left: -41px; }
.model-side.l { margin-right: 40px; } .model-side.r { margin-left: 40px; }

/* invest list */
.ilist { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--line); }
.ilist li { padding: 20px 0 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; }
.ilist li span { font-family: var(--mono); font-size: 12px; color: var(--brand); padding-top: 4px; }
.ilist li p { color: var(--ink); }
.ilist li p small { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }

/* =========================================================================
   UI mockups — all internal sizes in em; base size follows container width
   ========================================================================= */
.ui-scale { container-type: inline-size; }
.ui { font-size: calc(100cqi / 56); font-family: var(--font); color: var(--ink); line-height: 1.35; }
.ui.sm { font-size: calc(100cqi / 24); }
.ui.md { font-size: calc(100cqi / 40); }
.win { background: #fff; border-radius: 1em; box-shadow: var(--shadow-ui); overflow: hidden; display: grid; grid-template-columns: 11.5em 1fr; }
.win.no-side { grid-template-columns: 1fr; }
.win-side { background: #fbfbfa; border-right: 1px solid #eeece9; padding: 1.2em 1em; display: flex; flex-direction: column; gap: .3em; }
.win-side img { height: 1.45em; width: auto; margin: 0 0 1.4em .3em; align-self: flex-start; }
.win-side .it { display: flex; align-items: center; gap: .7em; padding: .55em .7em; border-radius: .5em; font-size: .92em; color: #6a6866; }
.win-side .it i { width: .95em; height: .95em; border-radius: .25em; border: .13em solid currentColor; opacity: .7; }
.win-side .it.on { background: color-mix(in srgb, var(--k) 10%, #fff); color: var(--k); font-weight: 560; }
.win-side .foot-it { margin-top: auto; font-size: .78em; color: #9b9896; padding: .5em .7em; display: flex; align-items: center; gap: .5em; }
.win-side .foot-it img { height: 1.2em; margin: 0; }
.win-main { padding: 1.3em 1.5em 1.5em; min-width: 0; }
.win-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; margin-bottom: 1.1em; }
.win-head h5 { font-size: 1.45em; font-weight: 560; letter-spacing: -0.02em; line-height: 1.15; }
.win-head p { font-size: .85em; color: #8a8785; margin-top: .2em; }
.chipx { display: inline-flex; align-items: center; gap: .4em; font-size: .78em; padding: .45em .7em; border: 1px solid #e8e6e3; border-radius: .5em; color: #555; white-space: nowrap; background: #fff; }
.chipx.k { background: var(--k); color: #fff; border-color: var(--k); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7em; margin-bottom: .9em; }
.kpi { border: 1px solid #eeece9; border-radius: .7em; padding: .75em .85em; }
.kpi small { display: block; font-size: .74em; color: #8a8785; }
.kpi b { display: block; font-size: 1.55em; font-weight: 560; letter-spacing: -0.03em; margin-top: .15em; }
.kpi em { font-style: normal; font-size: .72em; color: var(--ok); font-weight: 560; margin-left: .3em; }
.kpi em.bad { color: var(--alert); }
.kpi .bar { height: .3em; border-radius: 1em; background: #f0eeeb; margin-top: .5em; overflow: hidden; }
.kpi .bar i { display: block; height: 100%; background: var(--k); border-radius: 1em; }
.grid2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: .7em; }
.card { border: 1px solid #eeece9; border-radius: .7em; padding: .8em .9em; min-width: 0; }
.card h6 { font-size: .86em; font-weight: 560; margin-bottom: .6em; display: flex; justify-content: space-between; }
.card h6 span { font-weight: 400; color: #9b9896; }
.map { border-radius: .55em; overflow: hidden; background: #eef0f2; }
.map svg { width: 100%; height: auto; }
.bars { display: flex; align-items: flex-end; gap: .45em; height: 7.2em; padding-top: .4em; border-bottom: 1px solid #eeece9; }
.bars i { flex: 1; background: color-mix(in srgb, var(--k) 22%, #fff); border-radius: .25em .25em 0 0; }
.bars i.hi { background: var(--k); }
.bars-x { display: flex; justify-content: space-between; font-size: .66em; color: #a3a09d; margin-top: .35em; }
.rows { margin-top: .55em; }
.rows div { display: grid; grid-template-columns: 1fr auto; gap: .6em; align-items: center; padding: .42em 0; border-top: 1px solid #f1efec; font-size: .76em; }
.rows div span { color: #8a8785; }
.tag { font-size: .9em; padding: .18em .5em; border-radius: .35em; font-weight: 560; white-space: nowrap; }
.tag.ok { background: #e6f5ec; color: #157a43; }
.tag.warn { background: #fff4df; color: #9a5b00; }
.tag.bad { background: #fde8e8; color: #b42318; }
.tag.k { background: color-mix(in srgb, var(--k) 12%, #fff); color: var(--k); }
.hbars div { display: grid; grid-template-columns: 5.4em 1fr 2.4em; align-items: center; gap: .6em; font-size: .78em; margin-bottom: .55em; }
.hbars div span { color: #6a6866; }
.hbars div i { height: .5em; border-radius: 1em; background: #f0eeeb; position: relative; overflow: hidden; }
.hbars div i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--k); border-radius: 1em; }
.hbars div b { font-weight: 560; text-align: right; }

/* phone */
.phone-wrap { container-type: inline-size; }
.phone { font-size: calc(100cqi / 22); aspect-ratio: 9 / 19; background: #121212; border-radius: 2.7em; padding: .55em; box-shadow: 0 30px 60px -18px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06) inset; }
.phone .scr { position: relative; height: 100%; background: #fff; border-radius: 2.2em; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.phone .notch { position: absolute; top: .55em; left: 50%; transform: translateX(-50%); width: 6.2em; height: 1.65em; background: #121212; border-radius: 1em; z-index: 5; }
.phone .bar-top { display: flex; justify-content: space-between; padding: .75em 1.6em 0; font-size: .7em; font-weight: 600; }
.phone .app-h { display: flex; align-items: center; justify-content: space-between; padding: 1.5em 1.1em .6em; }
.phone .app-h img { height: 1.05em; width: auto; }
.phone .app-h i { width: 1.1em; height: .8em; border-top: .14em solid #333; border-bottom: .14em solid #333; position: relative; }
.phone .app-h i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: .14em; background: #333; transform: translateY(-50%); }
.phone h6 { font-size: 1.15em; font-weight: 600; letter-spacing: -0.02em; padding: 0 1em; }
.phone .sub { font-size: .72em; color: #8a8785; padding: .2em 1.4em .7em; }
.phone .pmap { margin: 0 .8em; border-radius: .9em; overflow: hidden; background: #eef0f2; flex: 1; min-height: 0; }
.phone .pmap svg { width: 100%; height: 100%; }
.phone .sheet { margin: .7em .8em .9em; padding: .8em .9em; border-radius: .9em; background: #fff; box-shadow: 0 .4em 1.2em rgba(0,0,0,.08), 0 0 0 1px #eeece9; }
.phone .sheet .r { display: flex; justify-content: space-between; align-items: center; font-size: .78em; }
.phone .sheet .r b { font-weight: 600; }
.phone .sheet .r span { color: #8a8785; }
.phone .sheet .cta { margin-top: .7em; height: 2.6em; border-radius: .7em; background: var(--k); color: #fff; font-size: .8em; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.phone .tabbar { display: flex; justify-content: space-around; padding: .5em 0 .9em; border-top: 1px solid #f0eeeb; font-size: .58em; color: #a3a09d; }
.phone .tabbar span.on { color: var(--k); font-weight: 600; }

/* chat */
.chat { background: #f3f1ee; border-radius: 1em; box-shadow: var(--shadow-ui); overflow: hidden; }
.chat-h { display: flex; align-items: center; gap: .8em; padding: .9em 1.1em; background: #fff; border-bottom: 1px solid #ebe9e6; }
.chat-h .av { width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--k); display: grid; place-items: center; }
.chat-h .av img { width: 1.4em; height: auto; }
.chat-h b { font-size: .95em; font-weight: 600; display: block; }
.chat-h span { font-size: .74em; color: #8a8785; }
.chat-body { padding: 1em; display: flex; flex-direction: column; gap: .55em; }
.msg { max-width: 82%; padding: .6em .8em; border-radius: .9em; font-size: .86em; line-height: 1.4; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.msg.me { align-self: flex-end; background: color-mix(in srgb, var(--k) 14%, #fff); }
.msg small { display: block; font-size: .78em; color: #9b9896; margin-top: .25em; text-align: right; }
.msg .ph { height: 6em; border-radius: .6em; margin-bottom: .45em; background: linear-gradient(135deg, #b9c7b0, #7f9671); position: relative; overflow: hidden; }
.msg .ph::after { content: ''; position: absolute; left: 14%; right: 14%; top: 40%; height: 34%; border-radius: 50% / 40%; background: radial-gradient(ellipse at center, #6f8fa5 0%, #4f6f85 60%, transparent 62%); }
.msg .opts { display: grid; gap: .3em; margin-top: .5em; }
.msg .opts span { display: block; text-align: center; padding: .4em; border-radius: .5em; border: 1px solid color-mix(in srgb, var(--k) 30%, #fff); color: var(--k); font-weight: 560; font-size: .92em; }

/* list doc (bulletins) */
.doc { background: #fff; border-radius: 1em; box-shadow: var(--shadow-ui); padding: 1.2em; }
.doc .row { display: grid; grid-template-columns: 2.6em 1fr auto; gap: .8em; align-items: center; padding: .75em 0; border-top: 1px solid #f1efec; }
.doc .row:first-of-type { border-top: 0; }
.doc .fi { width: 2.6em; height: 3.1em; border-radius: .4em; background: color-mix(in srgb, var(--k) 10%, #fff); border: 1px solid color-mix(in srgb, var(--k) 25%, #fff); position: relative; }
.doc .fi::after { content: ''; position: absolute; left: .55em; right: .55em; top: .9em; height: 1.2em; background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--k) 45%, #fff) 0 .14em, transparent .14em .38em); }
.doc b { font-size: .9em; font-weight: 560; display: block; }
.doc span { font-size: .74em; color: #8a8785; }
.doc h5 { font-size: 1em; font-weight: 600; margin-bottom: .6em; display: flex; justify-content: space-between; align-items: center; }

/* forecast chart */
.fc { background: #fff; border-radius: 1em; box-shadow: var(--shadow-ui); padding: 1.2em 1.3em 1em; }
.fc h5 { font-size: 1em; font-weight: 600; }
.fc p { font-size: .76em; color: #8a8785; margin-top: .15em; }
.fc svg { width: 100%; height: auto; margin-top: .8em; }
.fc .legend { display: flex; gap: 1.2em; font-size: .72em; color: #6a6866; margin-top: .4em; }
.fc .legend i { display: inline-block; width: 1.2em; height: .22em; border-radius: 1em; vertical-align: middle; margin-right: .4em; }
.fc .risk { display: flex; justify-content: space-between; align-items: center; margin-top: .8em; padding: .6em .8em; border-radius: .6em; background: #fdf0f0; font-size: .78em; }
.fc .risk b { color: #b42318; font-weight: 600; }

/* plate check (Meros enforcement) */
.plate { background: #fff; border-radius: 1em; box-shadow: var(--shadow-ui); padding: 1.1em 1.2em; }
.plate .pl { display: inline-flex; flex-direction: column; border: .14em solid #1c1b1b; border-radius: .4em; overflow: hidden; font-family: var(--mono); }
.plate .pl small { background: #1f4fa3; color: #fff; font-size: .55em; text-align: center; letter-spacing: .2em; padding: .15em 0; }
.plate .pl b { font-size: 1.5em; letter-spacing: .12em; padding: .1em .55em; font-weight: 500; }
.plate .st { display: flex; justify-content: space-between; align-items: center; margin-top: .9em; font-size: .82em; }
.plate .st span { color: #8a8785; }
.plate .act { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; margin-top: .9em; }
.plate .act span { text-align: center; padding: .6em; border-radius: .55em; font-size: .78em; font-weight: 560; border: 1px solid #e8e6e3; }
.plate .act span.k { background: var(--k); border-color: var(--k); color: #fff; }

/* tablet */
.tablet { background: #151515; border-radius: 1.6em; padding: .8em; box-shadow: 0 30px 60px -18px rgba(0,0,0,.4); }
.tablet .scr { background: #fff; border-radius: 1em; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; min-height: 22em; }
.tablet .lst { padding: 1.1em; border-right: 1px solid #eeece9; }
.tablet .lst h5 { font-size: 1.1em; font-weight: 600; letter-spacing: -0.02em; }
.tablet .lst p { font-size: .74em; color: #8a8785; margin: .2em 0 .8em; }
.visit { display: grid; grid-template-columns: 1.7em 1fr auto; gap: .6em; align-items: center; padding: .6em 0; border-top: 1px solid #f1efec; font-size: .78em; }
.visit .d { width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .85em; background: #f0eeeb; color: #6a6866; }
.visit .d.done { background: var(--k); color: #fff; }
.visit b { font-weight: 560; display: block; }
.visit span { color: #8a8785; font-size: .92em; }
.tablet .mp { background: #eef0f2; }
.tablet .mp svg { width: 100%; height: 100%; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  :root { --gutter: 32px; }
  .hv-shade { background: linear-gradient(90deg, rgba(16,16,16,.86) 0%, rgba(16,16,16,.55) 60%, rgba(16,16,16,.3) 100%), linear-gradient(0deg, rgba(16,16,16,.85) 0%, rgba(16,16,16,0) 45%); }
  .preview { margin-top: -150px; }
  .hero-v > .wrap { padding-bottom: 200px; }
  .hv-pause { bottom: 166px; }
  .panel { grid-template-columns: 1fr; }
  .panel-art { padding: 40px 0 40px 40px; }
  .panel-art .ui-scale { width: 112%; }
  .p-hero .wrap { grid-template-columns: 1fr; gap: 64px; }
  .p-hero .art .ui-scale.dash { width: 100%; }
  .p-hero .art .ui-scale.dash { width: 94%; margin-left: 6%; }
  .p-hero .art .phone-wrap { width: 25%; left: 0; bottom: -10%; }
  .origin .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .origin-mark { max-width: 340px; justify-self: start; }
  .contact .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-2); padding-top: 32px; }
  .contact .silk { -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 100%); mask-image: linear-gradient(180deg, transparent 30%, #000 100%); }
  .case { grid-template-columns: 1fr; }
  .case-media { min-height: 320px; order: -1; }
  .aud { grid-template-columns: 1fr 1fr; }
  .aud > div:nth-child(3) { border-left: 0; }
  .aud > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell.w4, .cell.w3, .cell.w2 { grid-column: span 1; }
  .cell.w4 { grid-column: span 2; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(4) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(4)::before { left: 0; }
  .steps li:nth-child(n+4) { border-top: 1px solid var(--line); margin-top: 8px; }
  .model { grid-template-columns: 1fr; gap: 16px; }
  .model-core { width: 100%; order: -1; }
  .model-side.l, .model-side.r { margin: 0; grid-template-columns: 1fr 1fr; }
  .model-side .node::after, .model-side .node::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .top-cta .btn-line { display: none; }
  .menu-btn { display: inline-flex; }
  .top-cta { margin-left: auto; }
  .top.open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,.06); }
  .top.open .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .strip .wrap { grid-template-columns: 1fr; }
  .strip a + a { border-left: 0; border-top: 1px solid var(--line); }
  .index-list li { grid-template-columns: 1fr; gap: 12px; }
  .index-list .n { text-align: left; order: -1; }
  .stats li { grid-template-columns: 1fr; gap: 10px; }
  .challenges { grid-template-columns: 1fr; }
  .challenges > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .cols2 { grid-template-columns: 1fr; gap: 48px; }
  .ilist { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .sec > .wrap { padding-top: 84px; padding-bottom: 84px; }
  .manifesto > .wrap { padding-top: 96px; padding-bottom: 96px; }
  .top .wrap { height: 64px; gap: 16px; }
  .top .logo img { height: 26px; }
  .top.open .nav { top: 64px; }
  .top-cta .btn { height: 38px; padding: 0 12px; font-size: 14px; }
  .subnav { top: 64px; }
  .hero-v { min-height: 0; align-items: flex-start; }
  .hero-v > .wrap { padding-top: 64px; padding-bottom: 150px; }
  .hv-copy .display { font-size: clamp(40px, 11vw, 54px); }
  .hv-tags { margin-top: 32px; }
  .hv-pause { bottom: 112px; right: var(--gutter); }
  .preview { margin-top: -96px; }
  .preview .wrap { padding-bottom: 56px; }
  .pv-stage { padding-left: 14%; }
  .pv-stage .phone-wrap { width: 30%; bottom: -30px; }
  .preview .caption { bottom: 20px; }
  .btns .btn { flex: 1 1 auto; justify-content: center; }
  .strip a { display: grid; grid-template-columns: 1fr auto; row-gap: 14px; padding-top: 24px; padding-bottom: 24px; }
  .strip p { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .tablist { display: flex; width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 0 10px; font-size: 14px; }
  .panel-copy { padding: 32px 24px; }
  .panel-art { padding: 28px 0 28px 24px; }
  .aud { grid-template-columns: 1fr; }
  .aud > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .aud .h4 { margin-top: 20px; }
  .case-copy { padding: 28px 22px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .cell.w4 { grid-column: span 1; }
  .cell { min-height: 360px; }
  .cell .cap { padding: 22px 22px 0; }
  .cell .stage { padding: 22px 22px 0; }
  .p-hero .wrap { padding-top: 64px; padding-bottom: 88px; }
  .p-hero .brandmark { height: 32px; margin-bottom: 28px; }
  .p-hero .art .phone-wrap { width: 32%; left: 0; bottom: -16%; }
  .band { min-height: 460px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(odd)::before { left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; }
  .steps li:nth-child(4) { border-left: 1px solid var(--line); padding-left: 22px; }
  .steps li:nth-child(4)::before { left: -4px; }
  .model-side.l, .model-side.r { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* =========================================================================
   Contato (/contato/ e /contato/enviado/): formulario proprio -> /enviar.php
   ========================================================================= */
.nw { white-space: nowrap; }
.contact .note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.contact .note a:hover { text-decoration-color: currentColor; }
.ct { position: relative; overflow: hidden; background: var(--paper-2); }
.ct .silk { position: absolute; inset: 0 0 auto 0; height: 760px; background: url('../img/silk-light.webp?v=1') right top / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, transparent 92%); opacity: .55; pointer-events: none; }
.ct > .wrap { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 72px; align-items: start; padding-top: 104px; padding-bottom: 128px; }
.ct-intro { position: sticky; top: 112px; }
.ct-intro .display { margin-top: 24px; font-size: clamp(40px, 4.6vw, 66px); }
.ct-intro .lede { margin-top: 24px; max-width: 520px; }
.ct-steps { margin-top: 48px; max-width: 520px; border-top: 1px solid var(--line-2); counter-reset: ct; }
.ct-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); padding: 18px 0 19px; border-bottom: 1px solid var(--line-2); counter-increment: ct; }
.ct-steps li::before { content: counter(ct, decimal-leading-zero); grid-row: span 2; padding-top: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted-2); }
.ct-steps b { font-weight: 520; letter-spacing: -0.01em; }
.ct-steps span { margin-top: 2px; font-size: 15px; color: var(--muted); }
.ct-direct { margin-top: 30px; font-size: 15px; color: var(--muted); }
.ct-direct a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.ct-direct a:hover { text-decoration-color: currentColor; }

.ct-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 40px 36px; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 28px 56px -32px rgba(28,27,27,.22); scroll-margin-top: 96px; }
.ct-req { margin-top: 6px; font-size: 14px; color: var(--muted); }
.ct-fields { position: relative; margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.ct-wide { grid-column: 1 / -1; }
.ct-field label, .ct-group legend { display: block; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.ct-opt-l { font-weight: 400; color: var(--muted-2); }
.ct-opt-l::before { content: "· "; }
.ct-field input, .ct-field textarea { display: block; width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s; }
.ct-field textarea { height: auto; min-height: 136px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: var(--muted-2); opacity: 1; }
.ct-field input:hover, .ct-field textarea:hover { border-color: var(--muted-2); }
.ct-field input:focus, .ct-field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28,27,27,.08); }
.ct-field input:focus-visible, .ct-field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-radius: 8px; }
.ct-field [aria-invalid="true"] { border-color: var(--alert); box-shadow: 0 0 0 3px rgba(229,72,77,.12); }
.ct-hint { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--muted-2); }
.ct-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.ct-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-opt { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 15px; line-height: 1.25; cursor: pointer; transition: border-color .15s, background-color .15s; }
.ct-opt:hover { border-color: var(--muted-2); }
.ct-opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.ct-opt:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.ct-opt.akos input { accent-color: var(--akos); }
.ct-opt.akos:has(input:checked) { border-color: var(--akos); background: var(--akos-tint); }
.ct-opt.meros input { accent-color: var(--meros-deep); }
.ct-opt.meros:has(input:checked) { border-color: var(--meros); background: var(--meros-tint); }
.ct-group:has([aria-invalid="true"]) .ct-opt { border-color: var(--alert); }
.ct-check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.ct-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.ct-check input[aria-invalid="true"] { outline: 2px solid var(--alert); outline-offset: 2px; }
.ct-lgpd { margin-left: 30px; }
.ct-isca { position: absolute; left: -10000px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.ct-send { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ct-btn { height: 48px; padding: 0 22px; font-size: 16px; }
.ct-form[aria-busy="true"] .ct-btn { opacity: .7; cursor: progress; }
.ct-form :is(input, textarea, button) { scroll-margin-top: 110px; }
.ct-msg, .ct-aviso { padding: 16px 18px 17px; border: 1px solid var(--line-2); border-left: 3px solid var(--ink); border-radius: 8px; background: var(--paper-2); font-size: 15px; line-height: 1.5; color: var(--ink); }
.ct-msg { margin-top: 24px; }
.ct-msg:empty { display: none; }
.ct-msg.ok { border-left-color: var(--ok); }
.ct-msg.erro, .ct-aviso { border-left-color: var(--alert); }
.ct-msg .t { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 520; letter-spacing: -0.01em; }
.ct-msg a, .ct-aviso a { text-decoration: underline; text-underline-offset: 2px; }
.ct-msg:focus, .ct-aviso:focus { outline: none; }
.ct-msg:focus-visible, .ct-aviso:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ct-aviso { display: none; margin-bottom: 26px; }
.ct-aviso:target, .ct-aviso.ver { display: block; }
.ct-aviso.fechado { display: none; }
.ct-form.enviado :is(.ct-req, .ct-fields, .ct-send) { display: none; }
.ct-form.enviado .ct-msg { margin-top: 18px; }

.ct-done > .wrap { grid-template-columns: minmax(0, 1fr); min-height: clamp(420px, 62vh, 640px); align-content: center; padding-top: 112px; padding-bottom: 136px; }
.ct-done .ct-intro { position: static; }
.ct-done .lede { max-width: 560px; }
.ct-done .btns { margin-top: 36px; }

@media (max-width: 1180px) {
  .ct > .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 88px; }
  .ct-intro { position: static; }
  .ct-steps { margin-top: 36px; }
}
@media (max-width: 640px) {
  .ct > .wrap { padding-top: 56px; padding-bottom: 72px; gap: 40px; }
  .ct-card { padding: 26px 20px 24px; border-radius: var(--r-md); }
  .ct-fields { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ct-opt { flex: 1 1 100%; }
  .ct-btn { width: 100%; justify-content: center; }
  .ct-lgpd { margin-left: 0; }
  .ct-done > .wrap { min-height: 0; padding-top: 72px; padding-bottom: 96px; }
}
