/* BuildLink marketing site. Colours mirror the app's tokens (src/lib/theme.ts).
   Layout idea: a dark site-office hero with a blueprint grid, one orange survey line that
   links every section, then paper-white sections with the real product on show. */
:root {
  --ink: #141618;
  --ink-2: #1c1f23;
  --steel: #2b3340;
  --steel-2: #3d4754;
  --orange: #e85d04;
  --orange-hover: #c44e03;
  --orange-text: #b84400;
  --orange-soft: #fff0e6;
  --paper: #ffffff;
  --sand: #f5f3ef;
  --sunken: #eeeae2;
  --line: #e6e1d8;
  --muted: #5b6470;
  --muted-light: #aab2bd;
  --ok: #197a4a;
  --ok-soft: #e4f4ea;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --display: "Syne", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-ctl: 10px;
  --r-card: 18px;
  --shadow: 0 30px 80px -30px rgba(20, 22, 24, 0.45);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
.h2 { font-size: clamp(1.8rem, 3.7vw, 2.9rem); max-width: 22ch; }
.eyebrow { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 18px; }
.eyebrow-light { color: var(--orange); }
.sub { max-width: 60ch; color: var(--muted); font-size: 1.15rem; margin-top: 22px; }
.sub-light { color: var(--muted-light); }
.fine { font-size: 0.88rem; color: var(--muted); }
.center { text-align: center; margin-top: 28px; }
.section { padding-block: clamp(72px, 10vw, 140px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--r-ctl); font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn-orange { background: var(--orange); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(232, 93, 4, 0.8); }
.btn-orange:hover { background: #ff7a22; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { border-color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-ink-line { border-color: var(--ink); color: var(--ink); }
.btn-ink-line:hover { background: var(--ink); color: #fff; }
.play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.25s, box-shadow 0.25s; }
.nav.solid { background: rgba(20, 22, 24, 0.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; margin-left: 18px; }
.nav-links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.15s; }
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-cta .link { color: #fff; font-weight: 700; text-decoration: none; }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; padding-top: 148px; overflow: hidden; isolation: isolate; }
.hero-grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%); }
.hero-glow { position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -380px; background: radial-gradient(circle, rgba(232, 93, 4, 0.5), transparent 62%); filter: blur(20px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.08); } }
.hero-copy { position: relative; }
.hero h1 { font-size: clamp(2.35rem, 5.6vw, 4.9rem); max-width: 17ch; }
.mark { color: var(--orange); position: relative; white-space: nowrap; }
.mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.08em; height: 0.09em; background: var(--orange); transform-origin: left; animation: draw 1.1s 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes draw { from { transform: scaleX(0); } }
.lede { margin-top: 28px; max-width: 56ch; font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: #d4d9e0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .fine { color: var(--muted-light); margin-top: 18px; }

/* Hero stage */
.stage { position: relative; margin-top: 64px; padding-bottom: 0; }
/* The proof chain: four labelled links that light up in turn as the dot passes. It sits above the product frame so nothing is hidden behind it. */
.chain { position: relative; height: 64px; margin: 0 8px 18px; }
.chain::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: repeating-linear-gradient(90deg, rgba(232, 93, 4, 0.55) 0 8px, transparent 8px 16px); }
.cn { position: absolute; left: var(--at); top: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #8d97a4; white-space: nowrap; animation: lit-text 8s var(--dl) infinite; }
.cn-first { transform: translateX(0); justify-items: start; }
.cn-last { transform: translateX(-100%); justify-items: end; }
.cn i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 3px solid #4a525c; animation: lit-node 8s var(--dl) infinite; }
.chain-dot { position: absolute; top: 5px; left: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(232, 93, 4, 0.25), 0 0 22px 4px rgba(232, 93, 4, 0.6); animation: travel 8s linear infinite; z-index: 2; }
@keyframes travel { 0% { left: 5px; opacity: 1; } 75% { left: calc(100% - 17px); opacity: 1; } 90% { left: calc(100% - 17px); opacity: 0; } 100% { left: 5px; opacity: 0; } }
@keyframes lit-node { 0%, 100% { background: var(--ink); border-color: #4a525c; box-shadow: none; } 3%, 62% { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 6px rgba(232, 93, 4, 0.25); } 82% { background: var(--ink); border-color: #4a525c; box-shadow: none; } }
@keyframes lit-text { 0%, 100% { color: #8d97a4; } 3%, 62% { color: #fff; } 82% { color: #8d97a4; } }
.stage-inner { position: relative; transform-style: preserve-3d; transition: transform 0.25s ease-out; }
.browser { border-radius: 16px 16px 0 0; overflow: hidden; background: #fff; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #23272c; color: #98a2ad; font-size: 0.78rem; font-weight: 600; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4048; }
.browser-bar span { margin-left: 14px; padding: 4px 14px; border-radius: 99px; background: #171a1d; }
.browser img { width: 100%; }
.stage .browser { max-height: 640px; }
.stage .browser img { object-fit: cover; object-position: top; }
.phone { position: relative; border-radius: 34px; padding: 9px; background: #0b0c0e; box-shadow: var(--shadow), 0 0 0 1.5px #3a4048; }
.phone img { border-radius: 26px; width: 100%; }
.phone-hero { position: absolute; right: -2%; bottom: -48px; width: clamp(130px, 17vw, 230px); transform: rotate(4deg); animation: bob 7s ease-in-out infinite alternate; }
@keyframes bob { to { transform: rotate(4deg) translateY(-14px); } }
.float { position: absolute; display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.55); font-size: 0.86rem; line-height: 1.35; animation: bob2 6s ease-in-out infinite alternate; }
.float b { font-size: 0.95rem; }
.float span { color: var(--muted); }
.float em { font-style: normal; font-weight: 800; color: var(--ok); font-size: 0.78rem; }
.f1 { left: -2.5%; top: 44%; }
.f2 { left: 11%; bottom: 9%; animation-delay: -2.5s; }
@keyframes bob2 { to { transform: translateY(-12px); } }

/* Ticker */
.ticker { background: var(--orange); color: var(--ink); overflow: hidden; border-block: 1px solid rgba(0, 0, 0, 0.12); }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker span { padding: 16px 34px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 34px; }
.ticker span::after { content: ""; width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Gap */
.gap { background: var(--sand); }
.gap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.gap-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; display: grid; gap: 16px; align-content: start; }
.was { color: var(--muted); font-weight: 700; text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.now { font-size: 1.15rem; font-weight: 700; line-height: 1.4; }

/* Chain story */
.chain-sec { background: var(--ink); color: #fff; padding-block: clamp(72px, 10vw, 140px); position: relative; overflow: clip; }
.chain-sec .h2 { max-width: 24ch; }
.chain-head { margin-bottom: 56px; }
.story { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr); gap: 56px; align-items: start; }
.story-steps { display: grid; gap: 0; }
.step { padding: 36px 0 36px 32px; border-left: 3px solid rgba(255, 255, 255, 0.12); min-height: 46vh; opacity: 0.4; transition: opacity 0.35s, border-color 0.35s; position: relative; }
.step::before { content: ""; position: absolute; left: -9px; top: 44px; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); border: 3px solid rgba(255, 255, 255, 0.25); transition: all 0.3s; }
.step.is-on { opacity: 1; border-left-color: var(--orange); }
.step.is-on::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 7px rgba(232, 93, 4, 0.25); }
.step-no { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.step h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 8px 0 14px; }
.step p { color: #c4cad3; max-width: 46ch; }
.step ul { margin-top: 18px; display: grid; gap: 8px; }
.step li { position: relative; padding-left: 26px; color: #e6e9ee; font-weight: 600; font-size: 0.97rem; }
.step li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 7px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg) translateY(-3px); }
.step-img-m { display: none; }
.story-view { position: sticky; top: 100px; }
.browser-dark { border-radius: 16px; }
.story-stack { position: relative; aspect-ratio: 16 / 10; background: #fff; }
.story-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity 0.55s, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.story-stack img.on { opacity: 1; transform: none; }
.story-rail { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); margin-top: 22px; overflow: hidden; }
.story-rail span { display: block; height: 100%; width: 25%; background: var(--orange); transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tile { grid-column: span 2; background: var(--sand); border-radius: var(--r-card); padding: 30px; display: grid; gap: 14px; align-content: start; overflow: hidden; border: 1px solid var(--line); transition: transform 0.25s, box-shadow 0.25s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(20, 22, 24, 0.5); }
.tile h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
.tile-copy { display: grid; gap: 14px; align-content: center; }
.tile p { color: var(--muted); }
.t-wide { grid-column: span 4; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 24px; background: var(--paper); }
.t-wide-2 { grid-column: span 6; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 24px; background: var(--paper); }
.t-wide .tile-shot, .t-wide-2 .tile-shot { margin: -30px -30px -30px 0; align-self: stretch; display: grid; align-items: center; }
.tile-shot img, .shot-sm img { border-radius: 12px 0 0 12px; box-shadow: 0 20px 50px -20px rgba(20, 22, 24, 0.5); border: 1px solid var(--line); }
.shot-sm { margin: 6px -30px -30px 0; }
.t-dark { background: var(--steel); color: #fff; border-color: transparent; }
.t-dark p { color: #c0c7d1; }
.holds { display: grid; gap: 10px; margin-top: 8px; }
.holds li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.07); border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 0.92rem; }
.pill { font-style: normal; font-weight: 800; font-size: 0.74rem; padding: 4px 11px; border-radius: 99px; white-space: nowrap; }
.pill-block { background: var(--danger-soft); color: var(--danger); }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.ticks { display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 7px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg) translateY(-3px); }
.tile .ticks li { font-size: 0.95rem; }

.paper { position: relative; margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px 58px; font-size: 0.8rem; box-shadow: 0 14px 30px -18px rgba(20, 22, 24, 0.5); transform: rotate(-1.5deg); }
.paper-head { display: flex; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 8px; }
.paper-head span { color: var(--muted); }
.paper-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--line); }
.paper-pay { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; display: grid; gap: 4px; }
.paper-pay small { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; color: var(--muted); font-size: 0.68rem; }
.paper-pay div { display: grid; grid-template-columns: 110px 1fr; }
.paper-pay span { color: var(--muted); }
.stamp { position: absolute; right: 16px; bottom: 12px; border: 3px solid var(--ok); color: var(--ok); font-family: var(--display); font-weight: 800; font-size: 1.6rem; padding: 2px 12px; border-radius: 6px; transform: rotate(-14deg) scale(2); opacity: 0; letter-spacing: 0.06em; }
.in .stamp { animation: stamp 0.5s 0.9s cubic-bezier(0.3, 1.6, 0.5, 1) forwards; }
@keyframes stamp { to { transform: rotate(-14deg) scale(1); opacity: 0.9; } }

.bars { display: grid; gap: 9px; margin-top: 8px; }
.bars div { height: 14px; background: var(--sunken); border-radius: 7px; position: relative; overflow: hidden; }
.bars span { position: absolute; top: 0; bottom: 0; left: var(--s); width: 0; border-radius: 7px; background: var(--steel); transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s; }
.bars span.hot { background: var(--orange); }
.in .bars span { width: var(--w); }

/* Field */
.field { background: var(--steel); color: #fff; padding-block: clamp(72px, 10vw, 130px); overflow: clip; }
.field-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.field .h2 { max-width: 16ch; }
.field-list { display: grid; gap: 20px; margin-top: 34px; }
.field-list li { display: grid; gap: 2px; padding-left: 20px; border-left: 3px solid var(--orange); }
.field-list b { font-family: var(--display); font-size: 1.15rem; }
.field-list span { color: #c0c7d1; }
.phones { position: relative; height: 640px; }
.phones .phone { position: absolute; width: 250px; }
.ph-a { left: 4%; top: 40px; transform: rotate(-6deg); z-index: 2; }
.ph-b { left: 34%; top: 0; z-index: 3; width: 270px !important; }
.ph-c { right: 0; top: 70px; transform: rotate(6deg); z-index: 1; }
.phones .phone { transition: transform 0.4s; }
.phones:hover .ph-a { transform: rotate(-9deg) translateX(-14px); }
.phones:hover .ph-c { transform: rotate(9deg) translateX(14px); }

/* Roles */
.roles { background: var(--paper); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.tabs button { border: 2px solid var(--line); background: transparent; border-radius: 99px; padding: 10px 22px; font-weight: 800; transition: all 0.18s; }
.tabs button:hover { border-color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.panels { margin-top: 26px; }
.panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; background: var(--sand); border-radius: 24px; padding: 44px; border: 1px solid var(--line); animation: fade 0.45s both; }
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 20px; }
.panel img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(20, 22, 24, 0.55); }

/* Global */
.global { background: var(--ink); color: #fff; padding-block: clamp(72px, 10vw, 130px); position: relative; overflow: hidden; }
.global::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 70%); }
.global-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.global .h2 { max-width: 24ch; }
.currencies { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.currencies span { padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.22); font-weight: 800; font-size: 0.92rem; }
.clocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.clock { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; padding: 22px; display: grid; gap: 2px; }
.clock span { font-weight: 700; color: #d4d9e0; }
.clock b { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.1; }
.clock small { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; }

/* Trust */
.trust { background: var(--sand); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.trust-grid article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; display: grid; gap: 12px; align-content: start; border-top: 4px solid var(--orange); }
.trust-grid h3 { font-size: 1.25rem; }
.trust-grid p { color: var(--muted); font-size: 0.97rem; }

/* Pricing */
.cycle { display: inline-flex; margin-top: 34px; padding: 5px; border-radius: 99px; background: var(--sunken); }
.cycle button { border: 0; background: transparent; padding: 10px 22px; border-radius: 99px; font-weight: 800; }
.cycle button.on { background: var(--ink); color: #fff; }
.cycle em { font-style: normal; color: var(--orange); font-size: 0.78rem; margin-left: 6px; }
.cycle button:not(.on) em { color: var(--orange-text); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; display: grid; gap: 14px; align-content: start; background: var(--paper); }
.plan h3 { font-size: 1.5rem; }
.price { display: grid; gap: 0; }
.price b { font-family: var(--body); font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.1; }
.price small { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.plan-pop .price small { color: var(--muted-light); }
.price span { color: var(--muted); font-size: 0.9rem; }
.for { color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.plan .ticks { margin: 4px 0 14px; }
.plan .ticks li { font-size: 0.95rem; }
.plan .btn { align-self: end; }
.plan-pop { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 40px 80px -40px rgba(20, 22, 24, 0.7); transform: translateY(-10px); }
.plan-pop .for, .plan-pop .price span { color: var(--muted-light); }
.badge { position: absolute; top: -13px; left: 26px; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }

/* FAQ */
.faq { background: var(--paper); }
.faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.faq-list { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-weight: 800; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; color: var(--orange); transition: transform 0.25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 26px 0; color: var(--muted); max-width: 62ch; }

/* CTA */
.cta-sec { padding-bottom: clamp(60px, 8vw, 110px); }
.cta { position: relative; overflow: hidden; border-radius: 30px; background: var(--orange); padding: clamp(40px, 7vw, 90px); display: grid; gap: 18px; justify-items: start; }
.cta-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(110deg, transparent 30%, #000); }
.cta > *:not(.cta-grid) { position: relative; }
.cta h2 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); max-width: 16ch; color: var(--ink); }
.cta p { font-size: 1.2rem; max-width: 46ch; font-weight: 600; color: #2a1405; }
.cta .hero-actions { margin-top: 12px; }

/* Footer */
.foot { background: var(--ink); color: #c4cad3; padding-top: 64px; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 14px; max-width: 34ch; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col b { color: #fff; font-family: var(--display); }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: #fff; }
.foot-legal { margin-top: 48px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.88rem; }

/* Reveal. Content is visible without JavaScript; the script adds .js to enable the motion. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-pop { transform: none; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .t-wide, .t-wide-2 { grid-column: span 2; }
  .t-wide-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tile:not(.t-wide):not(.t-wide-2) { grid-column: span 1; }
  .global-in, .field-in, .faq-in { grid-template-columns: minmax(0, 1fr); }
  .phones { height: 560px; max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 820px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-view { display: none; }
  .step { opacity: 1; min-height: 0; border-left-color: var(--orange); padding-bottom: 44px; }
  .step::before { background: var(--orange); border-color: var(--orange); }
  .step-img-m { display: block; margin-top: 22px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); }
  .gap-grid { grid-template-columns: minmax(0, 1fr); }
  .panel { grid-template-columns: minmax(0, 1fr); padding: 26px; }
  .t-wide, .t-wide-2 { grid-template-columns: minmax(0, 1fr); }
  .t-wide .tile-shot, .t-wide-2 .tile-shot { margin: 0 -30px -30px; }
  .tile-shot img { border-radius: 12px 12px 0 0; }
  .float, .chain { display: none; }
  .stage { margin-top: 48px; }
  .hero { padding-top: 112px; }
  .phone-hero { right: 2%; bottom: -30px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .bento, .plans, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile:not(.t-wide):not(.t-wide-2), .t-wide, .t-wide-2 { grid-column: span 1; padding: 24px; }
  .t-wide .tile-shot, .t-wide-2 .tile-shot { margin: 0 -24px -24px; }
  .shot-sm { margin: 6px -24px -24px; }
  .nav-cta .link { display: none; }
  .hero-actions .btn { width: 100%; }
  .phones { height: 480px; }
  .phones .phone { width: 180px; }
  .ph-b { width: 200px !important; left: 28%; }
  .clocks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .clock { padding: 16px; }
  .mark { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .stamp { opacity: 0.9; transform: rotate(-14deg); }
  .bars span { width: var(--w); }
}
