/* Surelead — marketing site */
:root {
  --ink: #0E1B3D;
  --forest: #0E1B3D;
  --pine: #1449C9;
  --sage: #6F8FD9;
  --mist: #B9CCF5;
  --lime: #CFDDFB;
  --paper: #F5F7FC;
  --paper-2: #E6ECF7;
  --card: #FFFFFF;
  --line: #DCE3F1;
  --muted: #56607A;
  --signal: #FF6B35;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --arabic: "Cairo", "Segoe UI", Tahoma, sans-serif;

  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Paper grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .28; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.28 0 0 0 0 0.22 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: var(--pine); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.serif { font-family: var(--serif); font-weight: 400; }
.mono { font-family: var(--mono); }
.todo { background: #fff0b8; border-radius: 4px; padding: 0 4px; color: #6b5200; font-weight: 600; font-family: var(--sans); font-style: normal; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; transition: background .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(245, 247, 252, .86); backdrop-filter: blur(12px) saturate(140%); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand .lockup { height: 28px; width: auto; display: block; }
.site-footer .brand { color: var(--ink); }
.nav-links { display: none; gap: 30px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
@media (min-width: 880px) { .nav-links { display: flex; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 13px 22px; border-radius: 12px;
  font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--forest); }
.btn-light { background: var(--lime); color: var(--ink); }
.btn-light:hover { background: #c8de90; }
.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 10px 16px; font-size: 15px; }
.text-link { color: var(--ink); font-weight: 500; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--pine); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 88px; position: relative; }
@media (min-width: 1000px) { .hero { padding: 64px 0 120px; } }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 64px; } }
.hero-label { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.hero-label .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); position: relative; }
.hero-label .live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--signal); animation: ping 2.2s var(--ease) infinite; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7.4vw, 96px); line-height: .96; letter-spacing: -0.025em; margin: 0 0 26px; }
h1 .underline { position: relative; white-space: nowrap; font-style: italic; }
h1 .underline svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
h1 .underline path { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.1s .7s var(--ease) forwards; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 46ch; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-note { margin: 22px 0 0; font-size: 14px; color: var(--muted); }

/* Hero workspace mock (Arabic, RTL) */
.stage-wrap { position: relative; }
.workspace {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 40px 80px -40px rgba(14, 27, 61, .35), 0 12px 24px -16px rgba(14, 27, 61, .2);
  overflow: hidden; font-family: var(--arabic);
}
.ws-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #F8FAFE; }
.ws-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.ws-title svg { width: 22px; height: 22px; }
.ws-live { font-size: 12px; color: var(--pine); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.ws-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4caf6a; box-shadow: 0 0 0 3px rgba(76, 175, 106, .18); }
.ws-head { display: grid; grid-template-columns: 1.35fr .8fr 1fr .9fr; gap: 10px; padding: 10px 18px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.feed { position: relative; min-height: 296px; }
.row {
  display: grid; grid-template-columns: 1.35fr .8fr 1fr .9fr; gap: 10px; align-items: center;
  padding: 13px 18px; border-bottom: 1px solid #E8EDF7; font-size: 14px;
  animation: rowIn .7s var(--ease) both;
}
.row.leaving { animation: rowOut .5s var(--ease) both; }
.row .who b { display: block; font-weight: 700; }
.row .who span { display: block; font-size: 12px; color: var(--muted); direction: ltr; text-align: right; font-family: var(--mono); letter-spacing: -.02em; }
.row .src { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.row .src i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-left: 6px; vertical-align: middle; }
.row .ans { font-size: 12.5px; color: #3D4766; }
.status { justify-self: start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--muted); transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.status.bump { transform: scale(1.12); }
.row[data-status="contacted"] .status { background: #E4ECFB; color: var(--pine); }
.row[data-status="qualified"] .status { background: #D6E2FA; color: #0F3BA6; }
.row[data-status="won"] .status { background: var(--lime); color: var(--ink); }
@media (max-width: 519px) {
  .ws-head, .row { grid-template-columns: 1.4fr .9fr .9fr; padding-left: 14px; padding-right: 14px; }
  .ws-head span:nth-child(3), .row .ans { display: none; }
}
.ws-foot { display: flex; justify-content: space-between; padding: 12px 18px; font-size: 12px; color: var(--muted); background: #F8FAFE; }

.toast {
  position: absolute; left: -14px; bottom: -26px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper); border-radius: 14px; padding: 12px 16px 12px 12px;
  box-shadow: 0 18px 40px -18px rgba(14, 27, 61, .6);
  font-size: 14px; opacity: 0; transform: translateY(12px) scale(.98);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
@media (min-width: 1000px) { .toast { left: -38px; } }
.toast.show { opacity: 1; transform: none; }
.toast .meta-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--signal); display: grid; place-items: center; position: relative; flex: none; }
.toast .meta-mark::after { content: ""; position: absolute; inset: 0; border-radius: 10px; border: 2px solid var(--signal); opacity: 0; }
.toast.show .meta-mark::after { animation: ring 1.2s var(--ease) .1s; }
.toast .meta-mark svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.toast small { display: block; color: var(--mist); font-size: 12px; }
.toast strong { font-weight: 600; }

.annotation { display: none; position: absolute; right: -6px; top: -54px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); align-items: flex-end; gap: 6px; }
.annotation svg { width: 44px; height: 40px; stroke: var(--muted); fill: none; stroke-width: 1.4; stroke-linecap: round; }
@media (min-width: 1000px) { .annotation { display: flex; } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 84px; }
.section { padding: 96px 0; }
@media (max-width: 719px) { .section { padding: 72px 0; } }
.label { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .02em; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 22px; height: 1px; background: currentColor; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.02em; margin: 0; max-width: 18ch; }
h2 em { color: var(--pine); }
.intro { color: var(--muted); font-size: 18px; max-width: 54ch; margin: 20px 0 0; }

/* The gap: what Meta hears */
.gap-grid { display: grid; gap: 22px; margin-top: 52px; }
@media (min-width: 860px) { .gap-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.log { border-radius: 18px; padding: 24px; border: 1px solid var(--line); background: var(--card); }
.log.dim { background: transparent; }
.log h3 { font-size: 15px; font-weight: 500; margin: 0 0 18px; color: var(--muted); }
.log.bright h3 { color: var(--ink); }
.log ol { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 14px; display: grid; gap: 8px; }
.log li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; background: var(--paper); opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 200ms); }
.log.is-in li { opacity: 1; transform: none; }
.log.dim li { color: #8A94AB; }
.log li .t { color: #98A2B8; }
.log li.q { background: #E4ECFB; color: #0F3BA6; }
.log li.w { background: var(--lime); color: var(--ink); font-weight: 500; }
.gap-caption { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--muted); max-width: 40ch; }

/* How it works: pipeline */
.dark { background: var(--ink); color: var(--paper); }
.dark .label { color: var(--mist); }
.dark h2 em { color: var(--lime); }
.dark .intro { color: var(--mist); }
.pipeline { position: relative; margin-top: 64px; display: grid; gap: 34px; }
@media (min-width: 900px) { .pipeline { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.track { display: none; position: absolute; top: 19px; left: 20px; right: 20px; height: 1px; background: rgba(207, 221, 251, .25); }
@media (min-width: 900px) { .track { display: block; } }
.track .pulse { position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 6px rgba(255, 107, 53, .18); animation: travel 5.5s linear infinite; }
.track .pulse:nth-child(2) { animation-delay: -2.75s; }
.node { position: relative; }
.node .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); border: 1px solid rgba(207, 221, 251, .35); color: var(--lime); font-family: var(--mono); font-size: 13px; position: relative; z-index: 1; margin-bottom: 22px; }
.node:last-child .num { background: var(--signal); border-color: var(--signal); color: #fff; }
.node h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0 0 10px; }
.node p { margin: 0; color: var(--mist); font-size: 16px; }

/* Bento */
.bento { display: grid; gap: 14px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(6, 1fr); } .t-4 { grid-column: span 4; } .t-2 { grid-column: span 2; } .t-6 { grid-column: span 6; } }
@media (min-width: 760px) and (max-width: 1039px) { .t-6, .t-4 { grid-column: span 2; } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; position: relative; }
.tile h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tile .viz { margin-top: auto; }

.forms { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.forms li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 14.5px; transition: background .4s var(--ease); }
.forms li .pill { font-size: 12px; font-family: var(--mono); color: var(--muted); }
.forms li.active { background: #E4ECFB; }
.forms li.active .pill { color: var(--pine); }
.forms li .badge { font-size: 11px; font-weight: 600; color: var(--card); background: var(--signal); border-radius: 999px; padding: 2px 8px; opacity: 0; transform: scale(.8); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.forms li.active .badge { opacity: 1; transform: none; }

.big-one { font-family: var(--serif); font-size: 120px; line-height: .8; color: var(--pine); }
.qa { font-family: var(--arabic); direction: rtl; background: var(--paper); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; display: grid; gap: 6px; }
.qa .q { color: var(--muted); font-size: 13px; }
.qa .a { font-weight: 700; }
.qa .chat { color: var(--pine); font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.bars { display: grid; gap: 10px; font-family: var(--arabic); direction: rtl; font-size: 13px; }
.bar { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 10px; }
.bar span:last-child { height: 10px; border-radius: 999px; background: var(--paper-2); position: relative; overflow: hidden; }
.bar span:last-child::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 0; background: var(--sage); border-radius: inherit; transition: width 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 150ms + 300ms); }
.tile.is-in .bar span:last-child::after { width: var(--w); }
.bar:first-child span:last-child::after { background: var(--signal); }
.hash { font-family: var(--mono); font-size: 13px; background: var(--ink); color: var(--lime); border-radius: 12px; padding: 14px 16px; word-break: break-all; line-height: 1.5; }
.hash .plain { color: var(--mist); display: block; margin-bottom: 6px; }
.arabic-flow { font-family: var(--arabic); direction: rtl; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: clamp(22px, 3.4vw, 40px); font-weight: 700; }
.arabic-flow .sep { color: var(--sage); font-weight: 400; }
.arabic-flow .won { background: var(--lime); padding: 0 14px; border-radius: 12px; }
.t-6 { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.t-6 p { color: var(--mist); }
.t-6 .arabic-flow .sep { color: var(--mist); }
.t-6 .arabic-flow .won { color: var(--ink); }
@media (min-width: 1040px) { .t-6 { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; } .t-6 .copy { max-width: 34ch; } }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 38px); padding: 0 26px; white-space: nowrap; }
.marquee span::after { content: "✳"; font-family: var(--sans); font-size: .5em; color: var(--signal); margin-left: 52px; vertical-align: middle; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Pricing: invoice */
.price-grid { display: grid; gap: 48px; align-items: start; margin-top: 8px; }
@media (min-width: 960px) { .price-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.price-copy p { color: var(--muted); font-size: 18px; max-width: 42ch; }
.price-copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.price-copy li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 16px; }
.price-copy li b { font-family: var(--mono); font-weight: 400; color: var(--signal); font-size: 13px; padding-top: 3px; }
.invoice { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 34px 28px 30px; box-shadow: 0 30px 60px -36px rgba(14, 27, 61, .4); transform: rotate(-.6deg); }
@media (min-width: 720px) { .invoice { padding: 42px 44px 36px; } }
.invoice::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: radial-gradient(circle at 8px -2px, transparent 8px, var(--card) 8.5px) repeat-x; background-size: 16px 10px; filter: drop-shadow(0 1px 0 var(--line)); }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 22px; border-bottom: 1px dashed var(--line); }
.inv-head .brand .lockup { height: 22px; }
.inv-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; line-height: 1.7; }
.inv-lines { list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 14px; border-bottom: 1px dashed var(--line); }
.inv-lines li { display: flex; justify-content: space-between; gap: 18px; font-size: 15.5px; }
.inv-lines li small { display: block; color: var(--muted); font-size: 13px; }
.inv-lines .amt { font-family: var(--mono); font-size: 14px; white-space: nowrap; color: var(--muted); }
.inv-lines .amt.strong { color: var(--ink); }
.inv-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 22px; }
.inv-total span { color: var(--muted); font-size: 15px; }
.inv-total strong { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6vw, 58px); line-height: 1; letter-spacing: -0.02em; }
.inv-total strong small { font-family: var(--sans); font-size: 15px; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.inv-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 18px; }
.inv-pay { margin: 0; font-size: 14px; color: var(--muted); max-width: 32ch; }
.stamp { flex: none; border: 2px solid var(--signal); color: var(--signal); border-radius: 10px; padding: 6px 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-12deg) scale(1.6); opacity: 0; }
.invoice.is-in .stamp { animation: stamp .55s .6s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.custom-plan { margin-top: 30px; font-size: 16px; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 26px; height: 26px; flex: none; position: relative; margin-top: 2px; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 4px; right: 4px; top: 12px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0); }
.faq details p { margin: 14px 0 0; color: var(--muted); max-width: 60ch; }

/* Final CTA */
.final { background: var(--ink); color: var(--paper); border-radius: 28px; padding: 64px 26px; position: relative; overflow: hidden; }
@media (min-width: 720px) { .final { padding: 88px 64px; } }
.final h2 { font-size: clamp(40px, 6.2vw, 80px); max-width: 16ch; }
.final h2 em { color: var(--lime); }
.final p { color: var(--mist); max-width: 46ch; margin: 22px 0 34px; font-size: 18px; }
.final .contact-row { display: flex; flex-wrap: wrap; gap: 12px; }
.final .btn-line { border-color: rgba(245, 247, 252, .3); color: var(--paper); }
.final .btn-line:hover { border-color: var(--paper); }
.final .rings { position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; pointer-events: none; }
.final .rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(207, 221, 251, .25); animation: ripple 6s var(--ease) infinite; }
.final .rings span:nth-child(2) { animation-delay: -2s; }
.final .rings span:nth-child(3) { animation-delay: -4s; }

/* Footer */
.site-footer { padding: 56px 0 48px; color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer h4 { color: var(--ink); margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-tag { font-family: var(--serif); font-size: 26px; color: var(--ink); line-height: 1.15; margin: 14px 0 0; max-width: 18ch; }
.copyright { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }

/* Legal pages */
.legal { padding: 48px 0 80px; }
.legal article { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(44px, 6vw, 72px); margin: 0 0 10px; }
.legal .updated { font-family: var(--mono); color: var(--muted); font-size: 13px; margin: 0 0 40px; }
.legal h2 { font-family: var(--sans); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; margin: 40px 0 12px; max-width: none; }
.legal p, .legal li { color: #333D58; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 8px; }

/* ---------- Keyframes ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes rowIn { from { opacity: 0; transform: translateY(-14px); background: #F1F5FD; } to { opacity: 1; transform: none; background: transparent; } }
@keyframes rowOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes travel { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(1.6); } 100% { opacity: .92; transform: rotate(-12deg) scale(1); } }
@keyframes ripple { 0% { transform: scale(.2); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .log li { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}

/* Launch accessibility and responsive refinements. */
.feature-status { color: var(--pine); font-weight: 600; }
[data-reveal], [data-reveal-group] { opacity: 1; transform: none; }
.big-one { font-size: 3rem; }
@media (max-width: 480px) { .hero h1 { font-size: 3rem; } .inv-total { flex-wrap: wrap; gap: 1rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.ws-live::before { display: none; }
.ws-live { font-size: .875rem; }

.plan-note { color: var(--muted); font-size: .875rem; }
.inv-lines .amt small { display: block; font-weight: 400; }
