/* VihangaOne — site stylesheet (design "J4").
   One file, no framework. Light, restrained, one accent colour.
   Sections: tokens · base · header/nav · buttons · hero · page header ·
   shared blocks · about · products · vision · home sections · app pages ·
   prose/legal · 404 · footer · responsive · motion/print. */

:root {
  --ink: #111214;
  --text: #2E3138;
  --mut: #636877;           /* 5.6:1 on white: AA for body text */
  --line: #E7E8EC;
  --soft: #F6F7F9;
  --acc: #4A58DB;           /* 5.9:1 on white */
  --acc-soft: #AAB4FF;
  --dark: #2A2B2E;
  --ok: #16A34A;
  --warn: #D97706;
  --idle: #9CA3AF;
  --font: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--acc-soft); color: var(--ink); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; font-size: 14px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .93); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s; }
html.scrolled .site-header { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 21px; color: var(--ink); letter-spacing: -.01em; position: relative; z-index: 51; }
.wordmark .mark { width: 28px; height: 28px; display: block; }
.wordmark .mark svg { width: 100%; height: 100%; display: block; }
.nav-links { display: flex; gap: 38px; font-size: 15px; }
.nav-links a { color: var(--ink); padding: 6px 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acc); transform: scaleX(0); transition: transform .25s; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; z-index: 51; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
html.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
html.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- buttons & links ---------- */
.btn { display: inline-block; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; padding: 14px 26px; border: 0; cursor: pointer; transition: background .2s, color .2s; text-align: center; }
.btn:hover { background: var(--acc); }
.btn.inv { background: #fff; color: var(--ink); }
.btn.inv:hover { background: var(--acc-soft); }
.more { font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; display: inline-block; }
.more:hover { color: var(--acc); border-color: var(--acc); }
.soon { font-size: 15px; color: var(--mut); }
.acts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: flex; align-items: center; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(#ECEDF2 1px, transparent 1px), linear-gradient(90deg, #ECEDF2 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(700px 420px at 28% 55%, #000 20%, transparent 75%); mask-image: radial-gradient(700px 420px at 28% 55%, #000 20%, transparent 75%); }
.hero .wrap { position: relative; width: 100%; padding-top: 24px; padding-bottom: 56px; }
.kick { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); margin-bottom: 22px; }
.hero h1 { font-weight: 300; font-size: clamp(36px, 6.6vw, 92px); line-height: 1.16; letter-spacing: -.025em; color: var(--ink); }
.hero h1 span { display: block; text-wrap: balance; }
.hlede { font-size: 19px; color: var(--mut); max-width: 620px; margin-top: 26px; }
.hcta { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.note { display: flex; gap: 16px; align-items: center; margin: 56px 0 0 auto; width: fit-content; max-width: 360px; }
.note .nm { width: 66px; height: 66px; background: var(--ink); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.note .nm svg { width: 38px; height: 38px; }
.note p { font-size: 15px; color: var(--ink); line-height: 1.45; }
.note a { display: inline-block; margin-top: 8px; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.down { position: absolute; left: 40px; bottom: 36px; width: 36px; height: 36px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--ink); }
@media (min-width: 1260px) { .down { left: calc(50% - 550px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero .kick, .hero h1 span, .hlede, .hcta, .note { animation: rise .9s var(--ease) both; }
  .hero h1 span + span { animation-delay: .12s; }
  .hlede { animation-delay: .25s; } .hcta { animation-delay: .35s; } .note { animation-delay: .45s; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } }
}

/* ---------- inner-page header ---------- */
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head .wrap { position: relative; padding-top: 70px; padding-bottom: 64px; }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#F0F1F5 1px, transparent 1px), linear-gradient(90deg, #F0F1F5 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(520px 260px at 20% 40%, #000 15%, transparent 75%); mask-image: radial-gradient(520px 260px at 20% 40%, #000 15%, transparent 75%); }
.page-head h1 { font-weight: 300; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); max-width: 880px; }
.page-head .sub { font-size: 18px; color: var(--mut); max-width: 700px; margin-top: 18px; }
.crumbs { font-size: 14px; color: var(--mut); margin-bottom: 22px; }
.crumbs a { border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- shared blocks ---------- */
section { padding: 110px 0; }
.tight { padding: 70px 0; }
.rule { border: 0; border-top: 1px solid var(--line); }
.h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 500; color: var(--ink); letter-spacing: -.015em; line-height: 1.15; padding-bottom: 16px; position: relative; margin-bottom: 22px; }
.h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 58px; height: 3px; background: var(--acc); border-radius: 2px; }
.lede { font-size: 18px; color: var(--mut); max-width: 760px; }
.vbig { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; color: var(--ink); line-height: 1.3; margin-bottom: 14px; letter-spacing: -.01em; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; }
.arrows { display: flex; gap: 12px; flex-shrink: 0; }
.arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; cursor: pointer; font-size: 16px; color: var(--ink); transition: background .2s, color .2s; }
.arrows button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.arrows button:disabled { opacity: .3; cursor: default; }
.st { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); }
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: var(--idle); }
.dot.live { background: var(--ok); } .dot.beta { background: var(--warn); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: start; }
.about.solo { grid-template-columns: 1fr; max-width: 820px; }
.body-p { font-size: 15.5px; color: var(--mut); margin-bottom: 16px; max-width: 560px; }
.body-p b { color: var(--ink); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin-top: 34px; }
.facts div { padding: 20px 20px 0 0; }
.facts b { display: block; font-size: 34px; font-weight: 300; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.facts span { font-size: 13.5px; color: var(--mut); }
.team-k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); margin: 8px 0 18px; }
.team { border-top: 1px solid var(--ink); margin-bottom: 22px; }
.pp { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ph { width: 72px; height: 72px; background: #EDEEF2; display: grid; place-items: center; font-size: 26px; font-weight: 300; color: var(--mut); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.pn { display: flex; align-items: center; gap: 10px; }
.pn b { font-size: 17px; font-weight: 600; color: var(--ink); }
.pp small { display: block; font-size: 13px; color: var(--acc); font-weight: 500; margin: 2px 0 4px; }
.pp p { font-size: 14px; color: var(--mut); }
.li { width: 22px; height: 22px; display: grid; place-items: center; color: #0A66C2; border-radius: 4px; transition: transform .2s; }
.li svg { width: 18px; height: 18px; }
.li:hover { transform: translateY(-1px); }

/* ---------- product tiles / rails / tabs ---------- */
.ptabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin: 0 0 34px; overflow-x: auto; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs button { background: none; border: 0; font-size: 15px; color: var(--mut); padding: 12px 0; cursor: pointer; white-space: nowrap; position: relative; flex-shrink: 0; }
.ptabs button span { font-size: 12px; margin-left: 4px; opacity: .8; }
.ptabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--acc); transform: scaleX(0); transition: transform .25s; }
.ptabs button:hover, .ptabs button[aria-selected="true"] { color: var(--ink); }
.ptabs button[aria-selected="true"]::after { transform: scaleX(1); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 3); gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.rail::-webkit-scrollbar { display: none; }
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; }
.biz { scroll-snap-align: start; display: flex; flex-direction: column; transition: opacity .3s; }
.biz.fade { opacity: 0; }
.biz-art { aspect-ratio: 4 / 3; background: var(--dark); display: grid; place-items: center; margin-bottom: 22px; overflow: hidden; position: relative; }
.biz-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 220px at 50% 120%, rgba(255, 255, 255, .08), transparent 70%); }
.biz-mark { display: grid; justify-items: center; gap: 12px; color: #fff; transition: transform .5s var(--ease); text-align: center; }
.biz:hover .biz-mark { transform: scale(1.05); }
.biz-mark img, .biz-mark .lt { border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.biz-mark b { font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.biz-mark small { font-size: 11px; font-weight: 600; letter-spacing: .16em; opacity: .85; }
.lt { display: grid; place-items: center; color: #fff; font-weight: 700; border-radius: 22%; }
.biz-cat { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); margin-bottom: 8px; }
.biz h3 { font-size: 22px; font-weight: 500; color: var(--ink); line-height: 1.3; margin-bottom: 10px; }
.biz p { font-size: 15.5px; color: var(--mut); margin-bottom: 14px; }
.biz .st { margin-bottom: 14px; }
.biz .acts { margin-top: auto; }

/* ---------- vision ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.vm p.t { font-size: 17px; color: var(--mut); margin-bottom: 22px; max-width: 470px; }
.tna { border-top: 1px solid var(--line); margin-top: 6px; }
.tna div { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tna small { grid-row: span 2; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--acc); padding-top: 3px; }
.tna b { font-size: 16px; font-weight: 500; color: var(--ink); }
.tna span { font-size: 14.5px; color: var(--mut); }
.art { aspect-ratio: 4 / 3; background: #151618; position: relative; overflow: hidden; display: grid; place-items: center; }
.art .g { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 40px 40px; }
.art .sun { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%); top: 12%; right: 14%; }
.art .mk { width: 42%; color: #fff; position: relative; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.art .mk svg { width: 100%; height: auto; display: block; }
.art .fl { position: absolute; color: rgba(255, 255, 255, .55); }
.art .fl svg { width: 26px; }
@media (prefers-reduced-motion: no-preference) { .art .fl { animation: fly 18s linear infinite; } @keyframes fly { from { transform: translateX(-120px); } to { transform: translateX(720px); } } }

/* ---------- promises / goals / story / proof / roadmap ---------- */
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: 50px; }
.cols4 > div { padding: 28px 28px 0; border-right: 1px solid var(--line); }
.cols4 > div:first-child { padding-left: 0; } .cols4 > div:last-child { border-right: 0; padding-right: 0; }
.cols4 small, .hz small, .goal small { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--acc); }
.cols4 h3 { font-size: 20px; font-weight: 500; color: var(--ink); margin: 10px 0; }
.cols4 p { font-size: 15px; color: var(--mut); }
.goals { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin-top: 50px; }
.goal { padding: 30px 32px 6px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.goal:first-child { padding-left: 0; } .goal:last-child { border-right: 0; padding-right: 0; }
.gt { font-size: clamp(40px, 4.4vw, 58px); font-weight: 300; color: var(--ink); letter-spacing: -.03em; line-height: 1.05; margin: 16px 0 14px; }
.goal h3 { font-size: 20px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.goal p { font-size: 15px; color: var(--mut); margin-bottom: 22px; }
.today { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink); font-weight: 500; }
.today span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: 2px; }
.belief { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.quoteblk { background: var(--soft); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 48px; position: relative; overflow: hidden; }
.quoteblk .w { font-size: clamp(54px, 9vw, 120px); font-weight: 300; color: var(--ink); letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.quoteblk .w i { font-style: normal; color: var(--acc); }
.quoteblk small { position: absolute; left: 32px; bottom: 26px; font-size: 13px; color: var(--mut); }
.big { font-size: 20px; color: var(--ink); margin-bottom: 20px; max-width: 480px; }
.big b { font-weight: 600; }
.lff { display: grid; gap: 14px; margin-top: 26px; }
.lff div { display: grid; grid-template-columns: 80px 1fr; gap: 16px; font-size: 15.5px; color: var(--mut); }
.lff b { color: var(--ink); font-weight: 600; }
.proof { display: grid; grid-template-columns: 330px 1fr; gap: 56px; align-items: start; }
.proof .lede { font-size: 16px; margin-bottom: 26px; }
.asof { font-size: 12.5px; color: var(--mut); margin-top: 18px; }
.prail { grid-auto-columns: 220px; gap: 24px; }
.pc { scroll-snap-align: start; }
.pc-cover { aspect-ratio: 3 / 4; background: #F1F1F3; border: 1px solid var(--line); padding: 18px 18px 16px; display: flex; flex-direction: column; filter: grayscale(1); transition: filter .4s; }
.pc:hover .pc-cover { filter: none; }
.pc-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--mut); }
.pc-brand { font-weight: 700; color: var(--ink); font-size: 14px; }
.pc-big { font-size: 46px; font-weight: 300; color: var(--ink); letter-spacing: -.03em; margin-top: auto; line-height: 1; }
.pc-sub { font-size: 13px; color: var(--mut); margin: 6px 0 16px; }
.pc-ic img { border-radius: 12px; }
.pc-cap { margin-top: 14px; font-size: 16px; color: var(--ink); font-weight: 500; display: flex; flex-direction: column; }
.pc-cap span { font-size: 13.5px; color: var(--mut); font-weight: 400; }
.hz { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: 50px; }
.hz > div { padding: 28px 28px 0; border-right: 1px solid var(--line); }
.hz > div:first-child { padding-left: 0; } .hz > div:last-child { border-right: 0; padding-right: 0; }
.hz h3 { font-size: 21px; font-weight: 500; color: var(--ink); margin: 10px 0; line-height: 1.25; }
.hz p { font-size: 15px; color: var(--mut); }
.hz-note { margin-top: 34px; font-size: 13.5px; color: var(--mut); }
.chap { background: var(--ink); color: #fff; padding: 100px 0; }
.chap small { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--acc-soft); }
.chap h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; margin: 18px 0 0; max-width: 900px; }
.chap h2 em { font-style: normal; color: var(--acc-soft); }
.cs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid #34363C; }
.cs div { padding: 24px 0; }
.cs b { display: block; font-size: 44px; font-weight: 300; letter-spacing: -.03em; line-height: 1.2; }
.cs span { font-size: 14px; color: #A3A6B1; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.door { border: 1px solid var(--line); padding: 44px 42px 38px; display: flex; flex-direction: column; background: #fff; }
.door small { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--acc); }
.door h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; color: var(--ink); line-height: 1.2; letter-spacing: -.01em; margin: 14px 0 22px; max-width: 420px; }
.door ul { display: grid; gap: 12px; margin-bottom: 34px; }
.door li { font-size: 15.5px; color: var(--text); padding-left: 26px; position: relative; }
.door li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }
.door-act { margin-top: auto; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.door-act span { font-size: 13.5px; color: var(--mut); }
.door-act span a { color: var(--ink); border-bottom: 1px solid var(--line); }
.door.dark { background: var(--ink); border-color: var(--ink); }
.door.dark small { color: var(--acc-soft); } .door.dark h3 { color: #fff; } .door.dark li { color: #D3D5DC; } .door.dark li::before { border-color: var(--acc-soft); }
.door.dark .door-act span { color: #A3A6B1; } .door.dark .door-act span a { color: #fff; border-color: #4A4D55; }

/* ---------- app pages ---------- */
.app-hero { display: flex; gap: 28px; align-items: center; }
.app-hero .app-ic { border-radius: 22%; flex-shrink: 0; box-shadow: 0 18px 40px -22px rgba(17, 18, 20, .5); }
.app-hero .lt { flex-shrink: 0; }
.app-cat { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); }
.app-hero h1 { font-weight: 300; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -.025em; color: var(--ink); margin: 6px 0 10px; }
.app-hero .sub { font-size: 18px; color: var(--mut); max-width: 640px; margin: 0; }
.app-cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 34px; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: 230px; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.shots::-webkit-scrollbar { display: none; }
.shots img { width: 230px; border: 1px solid var(--line); background: var(--soft); scroll-snap-align: start; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--ink); margin-top: 38px; }
.feat li { padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); position: relative; }
.feat li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 11px; height: 6px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }
.note-box { border: 1px solid var(--line); background: var(--soft); padding: 26px 30px; font-size: 16px; color: var(--text); max-width: 760px; }
.note-box a { color: var(--ink); border-bottom: 1px solid var(--ink); }
.note-box a:hover { color: var(--acc); border-color: var(--acc); }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.mini a { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); padding: 18px; transition: border-color .2s, transform .2s; }
.mini a:hover { border-color: var(--ink); transform: translateY(-2px); }
.mini img, .mini .lt { border-radius: 22%; flex-shrink: 0; }
.mini b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
.mini span { font-size: 13.5px; color: var(--mut); }

/* ---------- prose (legal + about) ---------- */
.prose { max-width: 780px; padding: 70px 0 110px; }
.prose h2 { font-size: 26px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; margin: 46px 0 14px; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 16.5px; color: var(--text); margin-bottom: 16px; }
.prose ul { margin: 0 0 18px 4px; display: grid; gap: 9px; }
.prose li { font-size: 16.5px; color: var(--text); padding-left: 22px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 8px; height: 1.5px; background: var(--acc); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--acc-soft); }
.prose a:hover { color: var(--acc); border-color: var(--acc); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose { overflow-wrap: anywhere; }
.prose code { overflow-wrap: anywhere; word-break: break-word; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; background: var(--soft); padding: 2px 6px; border-radius: 4px; }
.summary-box { background: var(--soft); border: 1px solid var(--line); border-left: 3px solid var(--acc); padding: 24px 28px; margin-bottom: 36px; }
.summary-box ul { margin: 0; }
.prose .btn-solid { display: inline-block; background: var(--ink); color: #fff; border: 0; padding: 12px 22px; font-size: 15px; }
.prose .btn-solid:hover { background: var(--acc); color: #fff; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: flex; align-items: center; }
.nf h1 { font-weight: 300; font-size: clamp(38px, 7vw, 84px); line-height: 1.08; letter-spacing: -.025em; color: var(--ink); }
.nf h1 span { color: var(--acc); }
.nf p { font-size: 19px; color: var(--mut); margin: 18px 0 32px; }

/* ---------- footer ---------- */
.site-footer { background: var(--soft); padding: 64px 0 28px; }
.fg { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .wordmark { font-size: 22px; }
.fp { font-size: 14px; color: var(--mut); margin-top: 16px; max-width: 270px; }
.fh { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.site-footer li { margin: 8px 0; font-size: 14px; color: var(--mut); }
.site-footer li a:hover { color: var(--ink); }
.fb { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mut); flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .wrap { padding: 0 22px; }
  .burger { display: block; }
  .nav-links { display: flex; position: fixed; inset: 0; z-index: 50; background: #fff; flex-direction: column; justify-content: center; gap: 6px; padding: 0 28px; font-size: 28px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav-links a { display: inline-block; padding: 10px 0; }
  html.menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  html.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  html.menu-open body { overflow: hidden; }
  html.menu-instant .nav-links { transition: none; }
  section { padding: 80px 0; }
  .about, .vm, .belief, .proof, .story { grid-template-columns: 1fr; gap: 40px; }
  .rail { grid-auto-columns: 82%; gap: 22px; }
  .biz-grid { grid-template-columns: 1fr 1fr; }
  .prail { grid-auto-columns: 200px; }
  .cols4, .hz { grid-template-columns: 1fr 1fr; }
  .cols4 > div, .hz > div { padding: 24px 24px 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .goals { grid-template-columns: 1fr; }
  .goal { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .doors { grid-template-columns: 1fr; }
  .door { padding: 32px 26px 28px; }
  .cs { grid-template-columns: 1fr; }
  .mini { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .fg { grid-template-columns: 1fr 1fr; }
  .down { left: 22px; }
  .note { margin-left: 0; }
}
@media (max-width: 600px) {
  .hero { min-height: auto; }
  .hero .wrap { padding-top: 40px; padding-bottom: 96px; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); line-height: 1.15; }
  .hlede { font-size: 17px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
  .ptabs { gap: 22px; }
  .biz-grid, .cols4, .hz { grid-template-columns: 1fr; }
  .facts b { font-size: 26px; }
  .app-hero { flex-direction: column; align-items: flex-start; gap: 20px; }
  .shots { grid-auto-columns: 180px; } .shots img { width: 180px; }
  .page-head .wrap { padding-top: 44px; padding-bottom: 44px; }
  .prose { padding: 44px 0 80px; }
  .fg { grid-template-columns: 1fr; }
}
/* ---------- phone refinements (tighter rhythm, no desktop-only decoration) ---------- */
@media (max-width: 960px) {
  .sec-head .arrows, .proof .arrows { display: none; }               /* swipe on touch, no arrow buttons */
  .ptabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .tight { padding: 44px 0; }
  .h2 { font-size: 28px; margin-bottom: 16px; padding-bottom: 12px; }
  .lede { font-size: 16.5px; }
  .vbig { font-size: 21px; }
  .body-p { font-size: 15px; }
  /* hero */
  .hero .wrap { padding-top: 32px; padding-bottom: 40px; }
  .kick { margin-bottom: 16px; font-size: 11.5px; }
  .hlede { margin-top: 18px; }
  .hcta { margin-top: 26px; gap: 20px; }
  .down { display: none; }
  .note { margin-top: 36px; }
  .note .nm { width: 52px; height: 52px; } .note .nm svg { width: 30px; height: 30px; }
  .note p, .note a { font-size: 14px; }
  /* about */
  .facts { margin-top: 26px; }
  .facts div { padding: 16px 12px 0 0; }
  .facts b { font-size: 24px; }
  .facts span { display: block; font-size: 12.5px; line-height: 1.35; margin-top: 4px; }
  .pp { grid-template-columns: 56px 1fr; gap: 14px; padding: 16px 0; }
  .ph { width: 56px; height: 56px; font-size: 20px; }
  /* products */
  .sec-head { margin-bottom: 22px; }
  .ptabs { margin-bottom: 22px; gap: 20px; }
  .biz-art { aspect-ratio: 16 / 10; margin-bottom: 16px; }
  .biz-mark { gap: 8px; } .biz-mark img, .biz-mark .lt { width: 52px; height: 52px; } .biz-mark b { font-size: 26px; }
  .biz h3 { font-size: 19px; margin-bottom: 6px; }
  .biz p { font-size: 14.5px; margin-bottom: 10px; }
  .biz .st { align-items: flex-start; margin-bottom: 12px; } .st .dot { margin-top: 6px; }
  .biz .acts { margin-top: 0; }
  .biz-grid { gap: 40px; }
  /* vision */
  .vm .art { display: none; }
  .tna div { grid-template-columns: 64px 1fr; padding: 12px 0; }
  /* promises / goals / roadmap */
  .cols4, .goals, .hz { margin-top: 28px; }
  .cols4 > div, .hz > div { padding: 18px 0; }
  .cols4 h3, .hz h3 { font-size: 18px; margin: 4px 0 6px; }
  .cols4 p, .hz p, .goal p { font-size: 14.5px; }
  .goal { padding: 20px 0; }
  .gt { font-size: 36px; margin: 8px 0 8px; }
  .goal h3 { font-size: 18px; margin-bottom: 6px; }
  .goal p { margin-bottom: 14px; }
  .today { padding-top: 12px; font-size: 13.5px; }
  /* story */
  .quoteblk { aspect-ratio: auto; padding: 44px 20px 54px; }
  .quoteblk .w { font-size: 56px; }
  .quoteblk small { left: 20px; bottom: 18px; font-size: 12px; }
  .big { font-size: 18px; }
  .lff { margin-top: 18px; gap: 10px; }
  .lff div { grid-template-columns: 56px 1fr; font-size: 14.5px; }
  /* proof */
  .proof { gap: 24px; }
  .prail { grid-auto-columns: 170px; gap: 16px; }
  .pc-big { font-size: 38px; }
  /* chapter band */
  .chap { padding: 64px 0; }
  .chap h2 { font-size: 27px; }
  .cs { grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
  .cs div { padding: 18px 8px 0 0; }
  .cs b { font-size: 32px; }
  .cs span { font-size: 12.5px; line-height: 1.35; display: block; }
  /* who we build for */
  .doors { margin-top: 28px; gap: 16px; }
  .door { padding: 26px 20px 24px; }
  .door h3 { font-size: 22px; margin: 10px 0 16px; }
  .door ul { margin-bottom: 24px; gap: 10px; }
  .door li { font-size: 14.5px; }
  .door-act .btn { width: 100%; }
  /* app pages */
  .page-head .wrap { padding-top: 28px; padding-bottom: 32px; }
  .crumbs { margin-bottom: 18px; }
  .app-hero { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; row-gap: 0; align-items: center; }
  .app-hero > div { display: contents; }
  .app-hero .app-ic, .app-hero .lt { width: 64px !important; height: 64px !important; font-size: 27px !important; grid-row: 1 / span 2; }
  .app-cat { grid-column: 2; align-self: end; font-size: 11px; }
  .app-hero h1 { grid-column: 2; align-self: start; font-size: 34px; margin: 2px 0 0; }
  .app-hero .sub { grid-column: 1 / -1; font-size: 16px; margin-top: 18px; }
  .app-cta { margin-top: 22px; }
  .app-cta { flex-direction: column; align-items: stretch; gap: 14px; }
  .app-cta .btn { width: 100%; }
  .feat { margin-top: 22px; } .feat li { padding: 12px 0 12px 26px; font-size: 15px; } .feat li::before { top: 20px; }
  .note-box { padding: 18px 18px; font-size: 15px; }
  .mini { margin-top: 22px; gap: 12px; } .mini a { padding: 14px; }
  /* inner page headers */
  .page-head h1 { font-size: 32px; }
  .page-head .sub { font-size: 16.5px; margin-top: 12px; }
  /* footer */
  .site-footer { padding: 44px 0 24px; }
  .fg { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .fg > div:first-child { grid-column: 1 / -1; }
  .fg > div:nth-child(3) .fh { visibility: hidden; }
  .fb { margin-top: 32px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
@media print { .site-header, .site-footer, .skip-link, .arrows, .burger { display: none !important; } .prose { padding: 0; } section { padding: 24px 0; } }
