/* Self-hosted fonts (no third-party requests). Inter: SIL OFL 1.1 · Tinos: Apache 2.0 */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/inter-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/inter-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tinos"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/tinos-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Tinos"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/tinos-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tinos"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/tinos-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Tinos"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/tinos-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F6F4F1;
  --surface: #FFFFFF;
  --surface-soft: #FAFAF8;
  --sage: #EAF0ED;
  --sage-2: #D8E3DE;
  --navy: #1F2937;
  --navy-2: #2A3444;
  --bronze: #846540;
  --gold: #C9A66E;
  --cream: #EDE6DC;
  --text: #1F2937;
  /* Text greys tuned for WCAG AA (≥ 4.5:1) on every light surface */
  --muted: #5B6270;
  --muted-2: #676E7B;
  --line: #E7E4DF;

  --serif: "Tinos", "Times New Roman", Times, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --shadow: 0 30px 60px -30px rgba(31, 41, 55, .18), 0 2px 6px rgba(31, 41, 55, .04);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1228px; }

.ic {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic--bronze { color: var(--bronze); }
.ic--muted { color: var(--muted-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { height: 40px; padding: 0 22px; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: #111827; }
.btn--outline { background: rgba(255, 255, 255, .6); border-color: var(--line); color: var(--text); }
.btn--outline:hover { background: #fff; }
.btn--light { background: var(--bg); color: var(--text); }
.btn--cream { background: var(--cream); color: var(--text); }
.btn--block { display: flex; width: 100%; height: 42px; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: flex-end; gap: 9px; }
.logo img { display: block; transition: filter .4s; }
.logo__mark { width: auto; height: 34px; }
.logo__word { width: auto; height: 21px; margin-bottom: -3px; }
.nav__links { display: flex; gap: 32px; font-size: 15px; color: #4B5563; }
.nav__links a:hover, .nav__link-secondary:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__link-secondary { font-size: 15px; color: #4B5563; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 125px;
  background: var(--bg);
  overflow: hidden;
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(31, 41, 55, .07) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 95%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-size: 13px; color: #4B5563;
}
.chip .ic { width: 14px; height: 14px; }
.hero__title {
  margin-top: 28px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -.01em;
}
.hero__title em { color: var(--bronze); }
.hero__lead { margin-top: 30px; max-width: 490px; font-size: 18.5px; line-height: 1.55; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14.5px; color: var(--muted-2); }

.hero__visual { position: relative; }
.search-card {
  background: var(--surface-soft);
  border: 1px solid rgba(231, 228, 223, .7);
  border-radius: 24px;
  padding: 27px 27px 22px;
  box-shadow: var(--shadow);
}
.search-card__input {
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 17px; font-weight: 500;
}
.search-card__input .ic { color: var(--muted-2); }
.caret { width: 1px; height: 18px; margin-left: 4px; background: var(--muted-2); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.search-card__status {
  display: flex; justify-content: space-between; margin: 18px 0 8px;
  font-size: 13px; color: var(--muted-2);
}
.search-card__status strong { color: var(--bronze); font-weight: 600; }
.progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--bronze); }
.checklist { margin-top: 14px; padding-left: 10px; }
.checklist li { display: flex; align-items: center; gap: 10px; min-height: 36px; line-height: 1.3; font-size: 15px; color: #4B5563; }
.checklist .ic { width: 14px; height: 14px; color: var(--bronze); }
.risk-badge {
  position: absolute; left: -24px; bottom: -24px;
  display: flex; flex-direction: column;
  padding: 10px 18px 12px; min-width: 106px;
  background: var(--surface-soft); border-radius: 16px;
  box-shadow: 0 18px 40px -18px rgba(31, 41, 55, .25);
}
.risk-badge__label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.risk-badge__value { font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.risk-badge__value small { font-size: 12px; color: var(--muted-2); }

/* ---------- Sections ---------- */
.section { padding: 80px 0 100px; }
.section__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.eyebrow--gold { color: var(--gold); }
.section__title {
  margin-top: 10px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4vw, 44px); line-height: 1.12;
}
.section__title--narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
.section__lead { max-width: 540px; margin: 16px auto 0; font-size: 17px; line-height: 1.55; color: var(--muted); }

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

.feature {
  background: var(--surface); border: 1px solid #EFECE7; border-radius: var(--radius);
  padding: 31px 32px 34px;
}
.feature__icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; background: var(--sage); color: var(--bronze);
}
.feature__icon .ic { width: 20px; height: 20px; }
.feature h3 { margin-top: 20px; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.feature p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Browser-window mock */
.previews { margin-top: 80px; }
.why { padding-bottom: 32px; }
.window {
  background: #F8F6F3; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.window__bar {
  display: flex; align-items: center; gap: 16px; height: 39px; padding: 0 16px;
  background: #FCFBFA; border-bottom: 1px solid #EFECE7;
}
.dots { display: inline-flex; gap: 8px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #E1DEDA; }
.window__url { font-size: 13px; color: var(--muted-2); }
.window__body { padding: 20px 20px 18px; }
.window__title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.window__title .tag, .window__corner { margin-left: auto; }
.tag { padding: 1px 10px; border-radius: 999px; background: var(--sage); font-size: 12.5px; font-weight: 500; color: #4B5563; }
.risk { display: flex; align-items: center; gap: 16px; margin: 20px 0 20px; }
.risk__circle {
  display: grid; place-items: center; flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--sage); font-family: var(--serif); font-size: 20px;
}
.risk__meter { flex: 1; }
.risk__label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted-2); }
.progress--muted { height: 5px; background: #E3E1DD; }
.kv { border-top: 1px solid var(--line); padding-top: 10px; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; font-size: 13px; }
.kv dt { color: var(--muted-2); }
.kv dd { text-align: right; }
.network { display: block; width: 220px; max-width: 100%; margin: 18px auto 20px; overflow: visible; }
.window__foot { font-size: 13px; color: var(--muted-2); }

/* ---------- Platform (dark) ---------- */
.platform { background: var(--navy); color: #fff; padding-bottom: 115px; }
.platform .section__lead { color: #9CA3AF; }
.platform .section__title { max-width: 640px; margin-left: auto; margin-right: auto; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1132px; margin: 0 auto; }
.module { padding: 30px 30px 32px; border-top: 1px solid rgba(255, 255, 255, .06); }
.module:nth-child(-n+3) { border-top: 0; }
.module:not(:nth-child(3n+1)) { border-left: 1px solid rgba(255, 255, 255, .06); }
.module .ic { width: 20px; height: 20px; color: var(--gold); }
.module h3 { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: 19px; }
.module p { margin-top: 6px; max-width: 320px; font-size: 14.5px; line-height: 1.5; color: #9CA3AF; }

/* ---------- Product ---------- */
.product { padding-bottom: 120px; }
.product .section__head { margin-bottom: 58px; }
.report { max-width: 880px; margin: 0 auto; border-radius: 26px; box-shadow: 0 50px 80px -40px rgba(31, 41, 55, .3); }
.report__bar { height: 70px; padding: 0 24px 0 28px; }
.tabs { display: flex; gap: 4px; margin-left: auto; padding: 4px; background: #EFEDE9; border-radius: 999px; }
.tabs button {
  height: 30px; padding: 0 14px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font-size: 13.5px;
}
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.report__body { display: grid; grid-template-columns: 330px 1fr; gap: 24px; padding: 32px 32px 40px; }
.profile-card { padding: 24px; background: var(--sage); border-radius: 18px; }
.avatar {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: #fff; font-family: var(--serif); font-size: 20px;
}
.profile-card h3 { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.2; }
.profile-card p { font-size: 14.5px; line-height: 1.12; color: var(--muted); }
.profile-card .pill { display: inline-block; margin-top: 16px; padding: 2px 12px; border-radius: 999px; background: #fff; font-size: 12.5px; color: #4B5563; }
.kv--lg { border-top: 0; padding-top: 0; }
.kv--lg div { padding: 8px 0 10px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.kv--lg div:last-child { border-bottom: 0; }
.kv--lg dt { white-space: nowrap; }

/* ---------- Pricing ---------- */
.pricing { background: var(--sage); padding: 100px 0 96px; }
.pricing .section__head { margin-bottom: 44px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: center; }
.plan {
  position: relative; background: var(--surface); border-radius: var(--radius);
  padding: 34px 34px 34px;
}
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.plan__desc { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.plan__price { margin-top: 26px; font-family: var(--serif); font-size: 38px; line-height: 1; }
.plan__price span { font-family: var(--sans); font-size: 13.5px; color: var(--muted-2); }
.plan__meta { margin-top: 18px; font-size: 14px; color: var(--muted); }
.plan__list { margin: 16px 0 26px; }
.plan__list li { display: flex; align-items: center; gap: 10px; height: 28px; font-size: 14.5px; }
.plan__list .ic { width: 14px; height: 14px; color: var(--bronze); }
.plan--featured { background: var(--navy); color: #fff; padding-top: 36px; padding-bottom: 36px; box-shadow: 0 30px 60px -30px rgba(31, 41, 55, .5); }
.plan--featured .plan__desc, .plan--featured .plan__meta { color: #9CA3AF; }
.plan--featured .plan__list .ic { color: var(--gold); }
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 2px 14px; border-radius: 999px; background: var(--bronze); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}

/* ---------- CTA ---------- */
.cta {
  padding: 110px 0 120px; text-align: center; color: var(--cream);
  background-color: var(--navy);
  background-image: radial-gradient(circle closest-side, #2F333A 0, #272E39 45%, var(--navy) 100%);
}
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 54px); line-height: 1.1; }
.cta p { max-width: 390px; margin: 24px auto 30px; font-size: 17px; line-height: 1.2; color: #A7A9AC; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; padding: 64px 0 22px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; }
.footer__brand { max-width: 340px; }
.logo--light img { filter: brightness(0) invert(1); }
.footer__brand > p { margin-top: 18px; font-size: 14.5px; line-height: 1.55; color: #9CA3AF; }
.footer__badge { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #C7CBD1 !important; }
.footer__badge .ic { width: 14px; height: 14px; }
.footer__cols { display: flex; gap: 32px; }
.footer__cols div { display: flex; flex-direction: column; gap: 4px; }
.footer__cols h4 { margin-bottom: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8E96A3; }
.footer__cols a { font-size: 15px; color: #C7CBD1; }
.footer__cols a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 62px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px; color: #8E96A3;
}

/* ---------- Pricing page ---------- */
.page-hero { position: relative; padding: 170px 0 40px; overflow: hidden; }
.page-hero > .container { position: relative; }
.page-hero__glow {
  position: absolute; width: 820px; height: 700px; left: calc(50% - 130px); top: -160px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(210, 224, 217, .95), transparent);
  animation: driftB 22s ease-in-out infinite alternate;
}
.page-hero__head { margin-bottom: 172px; }
.page-hero__title { max-width: 720px; margin-left: auto; margin-right: auto; font-size: clamp(34px, 4.4vw, 48px); }

.plans--page { align-items: stretch; }
.plans--page .plan { display: flex; flex-direction: column; }
.plans--page .plan .btn--block { margin-top: auto; }
.plans--page .plan--featured { margin: -15px 0 15px; }

.notice {
  max-width: 760px; margin: 66px auto 0; padding: 30px 32px 32px;
  background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius);
}
.notice__title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 17px; font-weight: 500; }
.notice__title .ic { width: 18px; height: 18px; }
.notice p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.notice p + p { margin-top: 14px; }
.notice .notice__fine { font-size: 13px; color: var(--muted-2); }

.faq { padding: 100px 0 90px; interpolate-size: allow-keywords; }
.faq .section__head { margin-bottom: 64px; }
.faq__list { max-width: 640px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 17px; transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--bronze); }
.faq summary .ic { width: 16px; height: 16px; color: var(--bronze); transition: transform .45s var(--spring); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .5s var(--ease), content-visibility .5s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
.faq__answer { padding: 0 40px 22px 0; opacity: 0; transform: translateY(-6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.faq details[open] .faq__answer { opacity: 1; transform: none; }
.faq__answer p { font-size: 15.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .module:nth-child(-n+3) { border-top: 1px solid rgba(255, 255, 255, .06); }
  .module:nth-child(-n+2) { border-top: 0; }
  .module:not(:nth-child(3n+1)) { border-left: 0; }
  .module:nth-child(2n) { border-left: 1px solid rgba(255, 255, 255, .06); }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 32px; }
  .plans--page .plan--featured { margin: 0; }
  .page-hero__head { margin-bottom: 80px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__link-secondary { display: none; }
  .hero { padding: 120px 0 90px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 44px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 20px; }
  .previews { margin-top: 48px; }
  .why { padding-bottom: 72px; }
  .modules { grid-template-columns: 1fr; }
  .module, .module:nth-child(-n+3) { border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, .06); padding: 26px 4px; }
  .module:first-child { border-top: 0; }
  .report__bar { flex-wrap: wrap; height: auto; padding: 14px 16px; }
  .tabs { margin-left: 0; width: 100%; justify-content: space-between; }
  .tabs button { flex: 1; padding: 0 8px; }
  .report__body { grid-template-columns: 1fr; padding: 20px; }
  .footer__top { flex-direction: column; }
  .page-hero { padding-top: 120px; }
  .notice { margin-top: 48px; padding: 24px 22px; }
  .faq { padding: 80px 0 72px; }
  .footer__cols { flex-wrap: wrap; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero__ctas .btn { flex: 1; }
  .risk-badge { left: -8px; }
  .kv--lg div { flex-direction: column; gap: 0; }
  .kv--lg dd { text-align: left; }
}

/* =====================================================================
   Motion & interaction
   ===================================================================== */
:root {
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mx { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --my { syntax: "<percentage>"; inherits: true; initial-value: 50%; }

section[id] { scroll-margin-top: 64px; }
::selection { background: rgba(138, 106, 69, .2); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* Nav */
.nav { transition: background-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s; }
.nav__inner { transition: height .4s var(--ease); }
.nav.is-scrolled {
  background: rgba(246, 244, 241, .72);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(31, 41, 55, .06);
}
.nav.is-scrolled .nav__inner { height: 64px; }
.nav__links a, .nav__link-secondary { transition: color .4s; }
.nav .btn--dark { transition: background-color .4s, color .4s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.nav.is-dark { background: rgba(31, 41, 55, .78); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav.is-dark .logo img { filter: brightness(0) invert(1); }
.nav.is-dark .nav__links a, .nav.is-dark .nav__link-secondary { color: #C7CBD1; }
.nav.is-dark .nav__links a:hover, .nav.is-dark .nav__links a.is-active, .nav.is-dark .nav__link-secondary:hover { color: #fff; }
.nav.is-dark .btn--dark { background: var(--cream); color: var(--text); }
.nav__progress {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--bronze), var(--gold));
  transform: scaleX(0); transform-origin: 0 50%;
  opacity: 0; transition: opacity .4s;
}
.nav.is-scrolled .nav__progress { opacity: 1; }
.nav__links a, .nav__link-secondary, .footer__cols a { position: relative; transition: color .3s; }
.nav__links a::after, .nav__link-secondary::after, .footer__cols a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after,
.nav__link-secondary:hover::after, .footer__cols a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { color: var(--text); }
.footer__cols div { align-items: flex-start; }
.footer__cols a::after { bottom: -1px; }
.logo__mark { transition: transform .6s var(--spring), filter .4s; transform-origin: 50% 80%; }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.05); }

/* Buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), background-color .3s, box-shadow .35s var(--ease), border-color .3s; }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--dark::after, .btn--light::after, .btn--cream::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--light::after, .btn--cream::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); }
.btn:hover::after { transform: translateX(120%); }
.btn--dark:hover { box-shadow: 0 10px 24px -10px rgba(31, 41, 55, .55); }
.btn--outline:hover { border-color: #D6D1CA; box-shadow: 0 8px 20px -12px rgba(31, 41, 55, .25); }
.btn--cream:hover { box-shadow: 0 0 0 6px rgba(237, 230, 220, .08), 0 14px 34px -10px rgba(237, 230, 220, .35); }
.btn--light:hover { box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .5); }

/* Hero intro */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes lineUp { from { transform: translateY(105%); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.intro { animation: fadeUp 1s var(--ease) backwards; animation-delay: calc(var(--i) * 110ms + 100ms); }
.hero__visual.intro { animation-duration: 1.2s; animation-delay: 350ms; }
.hero__title .line { display: block; overflow: hidden; padding: 0 .12em .1em 0; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; animation: lineUp 1.1s var(--ease) backwards; animation-delay: calc(var(--i) * 120ms + 80ms); }
.hero__title em {
  padding-right: .06em;
  background: linear-gradient(100deg, var(--bronze) 40%, #D9B985 50%, var(--bronze) 60%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 2s 1.3s var(--ease) both;
}

/* Hero ambient glows */
.hero__blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  transition: translate 1.2s var(--ease);
}
.hero__blob--a {
  width: 900px; height: 700px; left: -380px; bottom: -380px;
  background: radial-gradient(closest-side, rgba(218, 204, 186, .9), transparent);
  animation: driftA 18s ease-in-out infinite alternate;
}
.hero__blob--b {
  width: 900px; height: 800px; right: -380px; top: -420px;
  background: radial-gradient(closest-side, rgba(210, 224, 217, .95), transparent);
  animation: driftB 22s ease-in-out infinite alternate;
}
@keyframes driftA { to { transform: translate(90px, -50px) scale(1.08); } }
@keyframes driftB { to { transform: translate(-80px, 60px) scale(1.1); } }

/* Hero report card */
.search-card { transition: transform .8s var(--ease); transform-style: preserve-3d; will-change: transform; }
.search-card__status { transition: color .4s; }
.search-card__pct { font-variant-numeric: tabular-nums; }
.search-card.is-running .search-card__bar {
  background: linear-gradient(90deg, var(--bronze), #D9B985, var(--bronze)) 0 0 / 200% 100%;
  animation: barShine 1.1s linear infinite;
}
@keyframes barShine { to { background-position: -200% 0; } }
.search-card.is-done .progress { animation: barDone 1s var(--ease); }
@keyframes barDone { 40% { box-shadow: 0 0 0 4px rgba(138, 106, 69, .15); } }
.checklist li { position: relative; transition: color .4s, opacity .4s; }
.checklist .ic { stroke-dasharray: 24; stroke-dashoffset: 0; transition: stroke-dashoffset .45s var(--ease); }
.checklist li.is-pending { opacity: .4; }
.checklist li.is-pending .ic { stroke-dashoffset: 24; }
.checklist li.is-active { opacity: 1; color: var(--text); }
.checklist li.is-active::after {
  content: ""; position: absolute; inset: 4px -8px 4px -12px; border-radius: 8px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(138, 106, 69, .1), transparent) 0 0 / 200% 100%;
  animation: barShine 1s linear infinite;
}
.checklist { position: relative; z-index: 0; }
.risk-badge {
  transition: opacity .5s var(--ease), transform .7s var(--spring);
  animation: float 6s ease-in-out infinite;
}
.risk-badge.is-hidden { opacity: 0; transform: translateY(14px) scale(.85); }
.risk-badge__value > span { font-variant-numeric: tabular-nums; }
@keyframes float { 50% { translate: 0 -6px; } }

/* Scroll reveal */
html.js [data-reveal] {
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }

/* Cursor spotlight */
[data-spotlight] > * { position: relative; isolation: isolate; }
[data-spotlight] > *::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), var(--spot), transparent 65%);
  opacity: 0; transition: opacity .5s;
}
[data-spotlight]:hover > *::before { opacity: 1; }
.grid-3 { --spot: rgba(138, 106, 69, .07); }
.modules { --spot: rgba(201, 166, 110, .13); }

/* Feature cards */
.feature { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.feature:hover { transform: translateY(-6px); border-color: rgba(138, 106, 69, .22); box-shadow: 0 24px 50px -28px rgba(31, 41, 55, .28); }
.feature__icon { transition: background-color .45s, color .45s, transform .6s var(--spring); }
.feature:hover .feature__icon { background: var(--bronze); color: #fff; transform: rotate(-8deg) scale(1.06); }

/* Browser windows */
.previews .window { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.previews .window:hover { transform: translateY(-5px); box-shadow: 0 40px 70px -36px rgba(31, 41, 55, .3), 0 2px 6px rgba(31, 41, 55, .04); }
.window__corner { transition: transform .4s var(--ease), color .3s; }
.window:hover .window__corner { transform: translate(2px, -2px); color: var(--bronze); }
.risk__circle { font-variant-numeric: tabular-nums; }
.grow { width: var(--w); }
.js .grow { width: 0; transition: width 1.4s var(--ease) .35s; }
.js .is-in .grow { width: var(--w); }

.network__lines line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .network__lines line { stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); }
.js .is-in .network__lines line { stroke-dashoffset: 0; }
.network__nodes circle, .network__core, .network__pulse { transform-box: fill-box; transform-origin: center; }
.js .network__nodes circle, .js .network__core { transform: scale(0); transition: transform .6s var(--spring), fill .3s; }
.js .is-in .network__nodes circle, .js .is-in .network__core { transform: scale(1); }
.js .is-in .network__core { transition-delay: .1s; }
.network__lines line:nth-child(1), .network__nodes circle:nth-child(1) { transition-delay: .3s; }
.network__lines line:nth-child(2), .network__nodes circle:nth-child(2) { transition-delay: .4s; }
.network__lines line:nth-child(3), .network__nodes circle:nth-child(3) { transition-delay: .5s; }
.network__lines line:nth-child(4), .network__nodes circle:nth-child(4) { transition-delay: .6s; }
.network__lines line:nth-child(5), .network__nodes circle:nth-child(5) { transition-delay: .7s; }
.js .is-in .network__nodes circle { transition-delay: calc(var(--nd, 0s) + .7s); }
.network__nodes circle:nth-child(2) { --nd: .1s; }
.network__nodes circle:nth-child(3) { --nd: .2s; }
.network__nodes circle:nth-child(4) { --nd: .3s; }
.network__nodes circle:nth-child(5) { --nd: .4s; }
.network__pulse { opacity: 0; stroke-width: 1.5; animation: pulse 2.6s ease-out 1.2s infinite; }
@keyframes pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
.window:hover .network__nodes circle { fill: #C9D8D1; }

/* Platform modules */
.module .ic { transition: transform .5s var(--spring); }
.module h3 { transition: color .4s; }
.module:hover .ic { transform: translateY(-3px) scale(1.12); }
.module:hover h3 { color: #F3E7D3; }

/* Report tabs */
.tabs { position: relative; }
.tabs button { position: relative; z-index: 1; transition: color .35s; }
.tabs button:hover { color: var(--text); }
.tabs__ind {
  position: absolute; left: 4px; top: 4px; bottom: 4px; width: 0;
  border-radius: 999px; background: var(--navy);
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.no-js .tabs__ind { display: none; }
.js .tabs button[aria-selected="true"] { background: transparent; color: #fff; }
@keyframes rowIn { from { opacity: 0; transform: translateX(10px); } }
.js .report__panel .kv div { animation: rowIn .6s var(--ease) backwards; }
.report__panel .kv div:nth-child(2) { animation-delay: .06s; }
.report__panel .kv div:nth-child(3) { animation-delay: .12s; }
.report__panel .kv div:nth-child(4) { animation-delay: .18s; }
.report__panel .kv div:nth-child(5) { animation-delay: .24s; }
.avatar { position: relative; }
.avatar::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(138, 106, 69, .35); animation: ring 3s ease-out infinite;
}
@keyframes ring { 0% { opacity: .8; transform: scale(.95); } 100% { opacity: 0; transform: scale(1.35); } }

/* Pricing */
.plan { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(31, 41, 55, .28); }
.plan--featured:hover { box-shadow: 0 40px 80px -30px rgba(31, 41, 55, .6); }
.plan--featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 62%, rgba(217, 185, 133, .9) 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 7s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }
.plan__badge { overflow: hidden; }
.plan__badge::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%) 0 0 / 250% 100%;
  animation: shimmer 3.5s ease-in-out infinite;
}
.plan__list li { transition: transform .35s var(--ease); }
.plan:hover .plan__list li { transform: translateX(3px); }
.plan:hover .plan__list li:nth-child(2) { transition-delay: .04s; }
.plan:hover .plan__list li:nth-child(3) { transition-delay: .08s; }

/* CTA */
.cta { position: relative; isolation: isolate; background-image: none; transition: --mx 1.4s var(--ease), --my 1.4s var(--ease); }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(min(420px, 70vw) circle at var(--mx) var(--my), #353A43 0, #2A313C 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .75; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
  .avatar::after, .network__pulse { display: none; }
}

/* ---------- Pro seat selector ---------- */
.plan__price .plan__amount { font: inherit; color: inherit; font-variant-numeric: tabular-nums; }
.seats { margin-top: 20px; }
.seats__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: #9CA3AF; }
.seats__label output { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.seats__range {
  --fill: 37.5%;
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 22px; margin-top: 8px;
  background: transparent; cursor: pointer;
}
.seats__range::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(to right, var(--gold) var(--fill), rgba(255, 255, 255, .18) var(--fill));
}
.seats__range::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .18); }
.seats__range::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--gold); }
.seats__range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gold); box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  transition: transform .15s var(--ease);
}
.seats__range::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gold); box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.seats__range:active::-webkit-slider-thumb { transform: scale(1.15); }
.seats__range:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

/* ---------- Language switcher ---------- */
.lang {
  display: flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .55);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; line-height: 1;
  transition: background-color .4s, border-color .4s;
}
.lang__opt {
  display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 5px;
  border-radius: 999px; color: var(--muted-2); transition: color .3s, background-color .3s, box-shadow .3s;
}
.lang__flag {
  width: 16px; height: 16px; flex: none; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(31, 41, 55, .12); opacity: .55;
  transition: opacity .3s;
}
a.lang__opt:hover { color: var(--text); }
a.lang__opt:hover .lang__flag { opacity: 1; }
.lang__opt[aria-current] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(31, 41, 55, .12); }
.lang__opt[aria-current] .lang__flag { opacity: 1; }
.nav.is-dark .lang { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.nav.is-dark .lang__opt { color: #9CA3AF; }
.nav.is-dark a.lang__opt:hover { color: #fff; }
.nav.is-dark .lang__opt[aria-current] { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
@media (max-width: 420px) {
  .lang__opt { padding: 0 5px; }
  .lang__code { display: none; }
  .nav .logo__mark { height: 30px; }
  .nav .logo__word { height: 18px; }
  .nav__actions { gap: 10px; }
  .nav__actions .btn { height: 36px; padding: 0 16px; font-size: 14px; }
}
