/* LegalSeal – site styles. No external fonts or resources. */

:root {
  --ink: #07090f;
  --ink-2: #0b0f1a;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-gold: rgba(216, 181, 106, .28);
  --text: #ece8df;
  --muted: #9ba1ae;
  --gold: #d8b56a;
  --gold-hi: #f4e2ad;
  --gold-lo: #9a6d2a;
  --navy: #1d2b4c;
  --ok: #7fd1a4;
  --warn: #e9c46a;
  --bad: #ef8a7a;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gold-grad: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-lo) 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film grain over everything, very subtle */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%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: inherit; }
p a, .sub a, .form__note a { color: var(--gold-hi); text-decoration-color: var(--line-gold); text-underline-offset: 3px; }
p a:hover { text-decoration-color: currentColor; }
::selection { background: rgba(216, 181, 106, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- type ---------- */

.eyebrow {
  margin: 0 0 18px;
  font: 600 12.5px/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-grad); }

.display, .title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
.display { font-size: clamp(44px, 6.4vw, 86px); line-height: 1.02; }
.title { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; }
.display em, .title em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.lead { font-size: clamp(18px, 1.6vw, 20px); color: #c9c7c1; max-width: 34em; margin: 26px 0 0; }
.sub { color: var(--muted); font-size: 18px; max-width: 38em; margin: 20px 0 0; }
h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -.005em; }

/* ---------- buttons ---------- */

.btn {
  --pad: 15px 26px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad);
  border-radius: 999px;
  font: 600 15.5px/1 var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s, color .25s;
  isolation: isolate;
  overflow: hidden;
}
.btn--small { --pad: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--gold {
  color: #1a1206;
  background: var(--gold-grad);
  box-shadow: 0 10px 30px -10px rgba(216, 181, 106, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(216, 181, 106, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { color: var(--text); border-color: var(--line-gold); background: rgba(216, 181, 106, .04); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(216, 181, 106, .1); transform: translateY(-2px); }

/* ---------- nav ---------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 9, 15, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 500 22px/1 var(--serif); letter-spacing: .01em; }
.brand b { font-weight: 500; color: var(--gold); }
.brand img { transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-14deg) scale(1.06); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  position: relative; text-decoration: none; font-size: 15px; color: #c6c4be;
  transition: color .25s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a.is-current { color: var(--text); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; }

/* ---------- hero ---------- */

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aurora--1 { width: 620px; height: 620px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(216, 181, 106, .42), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.aurora--2 { width: 720px; height: 720px; left: -260px; bottom: -320px; background: radial-gradient(circle, rgba(45, 72, 140, .55), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.aurora--3 { width: 800px; height: 600px; right: -200px; bottom: -200px; background: radial-gradient(circle, rgba(216, 181, 106, .22), transparent 65%); animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(-60px, 50px, 0) scale(1.08); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; color: var(--muted); font-size: 14.5px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg, .checklist li::before { flex: none; }
.hero__facts svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero__visual { position: relative; perspective: 1200px; display: grid; place-items: center end; min-height: 520px; }
.seal-wrap { position: relative; width: min(100%, 470px); aspect-ratio: 1; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.seal { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px rgba(216, 181, 106, .18)); animation: float 7s ease-in-out infinite; }
.seal-glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(216, 181, 106, .35), transparent 70%); filter: blur(30px); animation: pulse 5s ease-in-out infinite; }
.seal__ring { transform-origin: 100px 100px; animation: spin 40s linear infinite; }
.seal__ring text { font-family: var(--sans); font-weight: 600; }
.seal__beam { transform-origin: 50px 37px; animation: balance 6s ease-in-out infinite; }
.seal__shine { animation: shine 6s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes pulse { 50% { opacity: .55; transform: scale(1.08); } }
@keyframes balance { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes shine { 0%, 55% { transform: rotate(20deg) translateX(0); } 85%, 100% { transform: rotate(20deg) translateX(150px); } }

.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.report {
  position: absolute; left: -40px; bottom: -64px; width: 280px;
  border-radius: var(--radius); padding: 18px 20px;
  font-size: 14px;
  animation: float 8s ease-in-out -2s infinite;
}
.report__head { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 12px; }
.report__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(127, 209, 164, .16); }
.report__domain { margin-left: auto; font: 500 12px/1 var(--mono); color: var(--muted); }
.report__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.report__list li {
  display: flex; align-items: center; gap: 10px; color: #d6d3cc;
  opacity: .35; transition: opacity .5s var(--ease);
}
.report__list li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 1.5px solid rgba(255, 255, 255, .25);
  transition: background-color .4s, border-color .4s;
  background: center / 11px no-repeat;
}
.report__list li.is-done { opacity: 1; }
.report__list li.is-done::before {
  border-color: var(--ok); background-color: rgba(127, 209, 164, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237fd1a4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E");
}
.report__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 600 12px/1 var(--sans); }
.pill--ok { color: var(--ok); background: rgba(127, 209, 164, .12); border: 1px solid rgba(127, 209, 164, .3); }
.pill--ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--ink), var(--ink-2), var(--ink));
  overflow: hidden; padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  display: inline-flex; align-items: center; gap: 46px; padding-right: 46px;
  font: italic 400 24px/1 var(--serif); color: #b9b6ae; white-space: nowrap;
}
.marquee span::after { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-grad); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.section--alt { background: linear-gradient(180deg, var(--ink-2), #0a0d17 50%, var(--ink-2)); border-block: 1px solid var(--line); }
.section__head { margin-bottom: 60px; max-width: 760px; }
.section__head--center { margin-inline: auto; text-align: center; display: grid; justify-items: center; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* card with cursor spotlight + gradient border */
.card, .tile, .plan {
  --mx: 50%; --my: 50%;
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 34px 30px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), border-color .4s, background-color .4s;
}
.card::before, .tile::before, .plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(216, 181, 106, .13), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover::before, .tile:hover::before, .plan:hover::before { opacity: 1; }
.card:hover, .tile:hover { transform: translateY(-4px); border-color: var(--line-gold); }
.card p, .tile p, .plan__desc { color: var(--muted); margin: 0; }
.card__num { display: block; font: italic 400 46px/1 var(--serif); margin-bottom: 26px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile--wide { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; padding: 40px; }
.tile h3 { margin-top: 16px; }
.tile--wide h3 { font-size: 30px; }
.tag {
  display: inline-block; padding: 6px 11px; border-radius: 999px;
  font: 600 11.5px/1 var(--mono); letter-spacing: .04em; color: var(--gold-hi);
  border: 1px solid var(--line-gold); background: rgba(216, 181, 106, .06);
}

.requests { border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(0, 0, 0, .35); padding: 8px; font-size: 13px; }
.requests__row {
  display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 14px; align-items: center;
  padding: 11px 12px; border-radius: 9px;
}
.requests__row + .requests__row { border-top: 1px solid rgba(255, 255, 255, .04); }
.requests__row span { color: #d6d3cc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.requests__row code { font: 12px/1 var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.requests__row b { font: 600 11.5px/1 var(--sans); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.ok { color: var(--ok); background: rgba(127, 209, 164, .1); }
.warn { color: var(--warn); background: rgba(233, 196, 106, .1); }
.bad { color: var(--bad); background: rgba(239, 138, 122, .1); }
.tile.is-visible .requests__row { animation: row-in .6s var(--ease) both; }
.tile.is-visible .requests__row:nth-child(2) { animation-delay: .12s; }
.tile.is-visible .requests__row:nth-child(3) { animation-delay: .24s; }
.tile.is-visible .requests__row:nth-child(4) { animation-delay: .36s; }
.tile.is-visible .requests__row:nth-child(5) { animation-delay: .48s; }
@keyframes row-in { from { opacity: 0; transform: translateX(16px); } }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before, .steps::after {
  content: ""; position: absolute; top: 27px; left: 28px; right: calc((100% - 84px) / 4 - 28px); height: 1px;
}
.steps::before { background: var(--line); }
.steps::after { background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform .2s linear; }
.step { position: relative; z-index: 1; }
.step__num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 26px;
  font: italic 400 20px/1 var(--serif); color: var(--gold-hi);
  background: var(--ink); border: 1px solid var(--line-gold);
  box-shadow: 0 0 0 8px var(--ink);
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.step.is-lit .step__num { background: var(--gold-grad); color: #1a1206; box-shadow: 0 0 0 8px var(--ink), 0 0 30px rgba(216, 181, 106, .45); }
.step p { color: var(--muted); margin: 0; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split--top { align-items: start; }
.checklist { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: rgba(216, 181, 106, .12) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23d8b56a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E");
  border: 1px solid var(--line-gold);
}
.checklist--sm { font-size: 15px; gap: 11px; margin: 26px 0 32px; }
.checklist--sm li::before { width: 20px; height: 20px; }

/* browser mock */
.browser { border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .1); background: #f4f1ea; color: #1b2030; overflow: visible; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(216, 181, 106, .1); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #e6e1d6; border-radius: var(--radius) var(--radius) 0 0; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #cfc8b9; }
.browser__url { margin-left: 14px; flex: 1; max-width: 260px; padding: 6px 14px; border-radius: 8px; background: #f4f1ea; font: 12.5px/1 var(--mono); color: #6b6a66; }
.browser__body { position: relative; padding: 34px 34px 24px; }
.mock__line { height: 14px; border-radius: 7px; background: #e4ded2; margin-bottom: 12px; width: 70%; }
.mock__line--lg { height: 26px; width: 55%; background: #d9d1c1; margin-bottom: 18px; }
.mock__line--sm { width: 45%; }
.mock__blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 34px; }
.mock__blocks span { height: 76px; border-radius: 12px; background: #ebe5da; }
.mock__footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid #e1dacd; }
.mock__links { display: flex; gap: 10px; }
.mock__links span { width: 52px; height: 9px; border-radius: 5px; background: #e1dacd; }

.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  border-radius: 999px; border: 1px solid #d8cdb5; background: #fff;
  font: 500 13px/1.15 var(--sans); color: #1b2030; text-align: left; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(60, 40, 10, .35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.badge small { display: block; font-size: 11px; color: #7a7466; }
.badge b { color: #8f6426; }
.badge:hover, .badge:focus-visible, .badge[aria-expanded="true"] { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(60, 40, 10, .45); }
.popover {
  position: absolute; right: 22px; bottom: 82px; width: 300px; padding: 16px 18px; border-radius: 14px;
  color: var(--text); background: rgba(10, 14, 26, .9); font-size: 13.5px;
  opacity: 0; transform: translateY(10px) scale(.97); transform-origin: bottom right; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.popover.is-open { opacity: 1; transform: none; pointer-events: auto; }
.popover__head { display: flex; align-items: center; gap: 9px; font-weight: 600; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.popover dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; }
.popover dt { color: var(--muted); }
.popover dd { margin: 0; }

/* pricing */
.billing { display: inline-flex; gap: 4px; padding: 5px; margin-top: 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.billing button {
  border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer;
  font: 600 14px/1 var(--sans); color: var(--muted); background: transparent;
  transition: background-color .3s, color .3s;
}
.billing button span { margin-left: 6px; font-size: 11.5px; color: var(--gold); }
.billing button.is-active { background: rgba(216, 181, 106, .14); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-gold); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 38px 32px; }
.plan .btn { margin-top: auto; }
.plan h3 { font-size: 28px; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 26px 0 0; }
.plan__price .amount { font: 500 52px/1 var(--serif); letter-spacing: -.02em; transition: opacity .25s, transform .25s; }
.plan__price .per { color: var(--muted); font-size: 14.5px; }
.plan__price.is-swapping .amount { opacity: 0; transform: translateY(-8px); }
.plan--featured { border-color: transparent; background: linear-gradient(170deg, rgba(216, 181, 106, .12), rgba(255, 255, 255, .02) 55%); }
.plan--featured::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, var(--gold-hi), rgba(216, 181, 106, .15) 40%, rgba(216, 181, 106, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan--featured:hover { transform: translateY(-4px); }
.plan:not(.plan--featured):hover { transform: translateY(-4px); border-color: var(--line-gold); }
.plan__badge { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--gold-grad); color: #1a1206; font: 700 11.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.fineprint { text-align: center; color: var(--muted); font-size: 14px; margin: 30px 0 0; }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq .section__head { position: sticky; top: 120px; margin: 0; }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 4px; font: 500 21px/1.3 var(--serif); transition: color .25s;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-gold);
  background: center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23d8b56a' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M7 2v10M2 7h10'/%3E%3C/svg%3E");
  transition: transform .4s var(--ease), background-color .3s;
}
summary:hover { color: var(--gold-hi); }
details[open] summary::after { transform: rotate(135deg); background-color: rgba(216, 181, 106, .12); }
details p { margin: 0; padding: 0 60px 26px 4px; color: var(--muted); }
details[open] p { animation: open .45s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* contact */
.contact { overflow: hidden; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__points li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); color: #d6d3cc; }
.contact__points span { width: 90px; flex: none; color: var(--gold); font: 600 12px/2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }

.form { border-radius: 24px; padding: 36px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font-size: 14px; color: #c9c7c1; }
.field > span { font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .28);
  color: var(--text); font: 400 16px/1.4 var(--sans);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background: rgba(0, 0, 0, .28) right 16px center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23d8b56a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
}
.field select option { background: #0e1320; color: var(--text); }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #6c7180; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(255, 255, 255, .2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(216, 181, 106, .15); background-color: rgba(0, 0, 0, .4); }
.field__error { display: none; color: var(--bad); font-size: 13px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--bad); }
.field.is-invalid .field__error { display: block; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 0; color: var(--muted); font-size: 13px; }
.form__status { margin: 0; min-height: 1.4em; font-size: 14.5px; text-align: center; }
.form__status.is-error { color: var(--bad); }
.form__status.is-info { color: var(--gold-hi); }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(26, 18, 6, .3); border-top-color: #1a1206; animation: spin .8s linear infinite; }
.form.is-sending .spinner { display: block; }
.form.is-sending button[type="submit"] { pointer-events: none; opacity: .85; }

.form-success { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 12px; animation: open .6s var(--ease); }
.form-success img { width: 88px; height: 88px; animation: stamp .7s var(--ease) both; }
.form-success h3 { font-size: 30px; margin: 8px 0 0; }
.form-success p { color: var(--muted); margin: 0; max-width: 26em; }
@keyframes stamp { 0% { transform: scale(2.2) rotate(-25deg); opacity: 0; } 60% { transform: scale(.92) rotate(4deg); opacity: 1; } 100% { transform: none; } }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 70px 0 34px; background: var(--ink); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand p { max-width: 26em; margin: 18px 0 0; font-size: 15px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 30px; align-content: start; }
.footer__links a { text-decoration: none; color: #c6c4be; font-size: 15px; transition: color .25s; }
.footer__links a:hover { color: var(--gold-hi); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* legal pages */
.legal { padding: 150px 0 110px; }
.legal__inner { max-width: 780px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 60px); line-height: 1.05; margin: 0 0 30px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 48px 0 12px; }
.legal p, .legal li { color: #c9c7c1; }
.legal .note { border: 1px solid var(--line-gold); background: rgba(216, 181, 106, .06); border-radius: var(--radius-sm); padding: 16px 20px; color: var(--gold-hi); font-size: 15px; }
.legal address { font-style: normal; color: #c9c7c1; }
.back { display: inline-flex; gap: 8px; margin-bottom: 34px; color: var(--gold); text-decoration: none; font-size: 15px; }
.back:hover { color: var(--gold-hi); }

/* ---------- reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }


/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__visual { min-height: 0; padding: 20px 0 40px; place-items: center; }
  .seal-wrap { width: min(80vw, 420px); }
  .report { left: auto; right: 0; bottom: 0; }
  .tile--wide { grid-template-columns: 1fr; }
  .split, .faq { grid-template-columns: 1fr; gap: 50px; }
  .faq .section__head { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps::before, .steps::after { display: none; }
}

@media (max-width: 860px) {
  .nav__toggle {
    display: grid; gap: 6px; place-content: center; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line-gold); background: rgba(7, 9, 15, .6); cursor: pointer;
  }
  .nav__toggle i { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease); }
  .nav__toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 76px 0 0; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
    padding: 12px 24px 28px; background: var(--ink);
    border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  /* a backdrop-filter on .nav would make it the containing block of the fixed menu */
  .nav:has(.nav__links.is-open) { background: var(--ink); border-bottom-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 20px; }
  .cards-3, .bento, .plans { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; padding: 30px; }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: min(100% - 36px, var(--container)); }
  .hero { padding-top: 110px; }
  .hero__actions .btn { width: 100%; }
  .report { position: relative; width: 100%; margin-top: -30px; }
  .steps { grid-template-columns: 1fr; }
  .requests__row { grid-template-columns: 1fr auto; }
  .requests__row code { display: none; }
  .form { padding: 24px; }
  .browser__body { padding: 24px 20px 18px; }
  .mock__footer { flex-direction: column; align-items: flex-start; }
  .popover { right: 12px; left: 12px; width: auto; }
  details p { padding-right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .report__list li { opacity: 1; }
}
