/* Secretomat's presentation site. The colours are the app's (web/packages/ui/src/styles.css): a snow
   ground, midnight navy for the words, one blue accent, the same four navy surfaces in the dark,
   and the same rule for the theme — the system decides unless `data-theme` says otherwise. The
   few values the app does not have (the glow behind the hero, the grid, the deep shadow) are
   decoration; every text keeps 4.5:1 on the ground it is put on in both themes. */

@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(manrope-latin-ext.3911b66d9f.woff2) format('woff2-variations');
  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: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(manrope-latin.a30ddcd349.woff2) format('woff2-variations');
  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 {
  color-scheme: light dark;
  --bg: #F8FAFC;
  --bg-2: #F1F5F9;
  --panel: #FFFFFF;
  --panel-2: #F1F5F9;
  --raised: #FFFFFF;
  --raised-2: #F1F5F9;
  --chip: #EEF2F6;
  --fg: #0E213A;
  --fg-2: #3D5170;
  --muted: #5B6B84;
  --line: #E2E8F0;
  --line-2: #CBD5E1;
  --accent: #2563EB;
  --accent-2: #1D4ED8;
  --accent-soft: #E6EEFE;
  --accent-fg: #FFFFFF;
  --brand: #3B82F6;
  --mark-ink: #0E213A;
  --mark-cut: var(--panel);
  --warn: #8A5A00;
  --warn-soft: #FCEFD2;
  --ok: #177245;
  --ok-soft: #E3F4EB;
  --edge: transparent;
  --shadow: 0 1px 2px rgba(14, 33, 58, 0.06), 0 12px 32px -16px rgba(14, 33, 58, 0.22);
  --shadow-lg: 0 2px 6px rgba(14, 33, 58, 0.05), 0 30px 70px -28px rgba(14, 33, 58, 0.38);
  --glow: rgba(59, 130, 246, 0.17);
  --glow-2: rgba(37, 99, 235, 0.08);
  --grid: rgba(14, 33, 58, 0.055);
  --header: rgba(248, 250, 252, 0.82);
  /* the closing band is navy in both themes */
  --deep: #0E213A;
  --deep-2: #13294A;
  --radius: 12px;
  --radius-l: 20px;
  --font: 'Manrope Variable', Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --wrap: 1160px;
  --gutter: 24px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0A1524;
    --bg-2: #0C1A2D;
    --panel: #0E213A;
    --panel-2: #13294A;
    --raised: #13294A;
    --raised-2: #1A3459;
    --chip: #13294A;
    --fg: #E6EDF7;
    --fg-2: #B6C4D8;
    --muted: #8FA1BA;
    --line: #1F3556;
    --line-2: #6583AE;
    --edge: var(--line-2);
    --accent: #7AB0FF;
    --accent-2: #9CC4FF;
    --accent-soft: #16335F;
    --accent-fg: #0A1524;
    --mark-ink: #FFFFFF;
    --warn: #F2C46B;
    --warn-soft: #40300F;
    --ok: #7DD3A8;
    --ok-soft: #153B2A;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 30px 70px -28px rgba(0, 0, 0, 0.8);
    --glow: rgba(59, 130, 246, 0.22);
    --glow-2: rgba(122, 176, 255, 0.07);
    --grid: rgba(230, 237, 247, 0.045);
    --header: rgba(10, 21, 36, 0.8);
    --deep: #13294A;
    --deep-2: #1A3459;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0A1524;
  --bg-2: #0C1A2D;
  --panel: #0E213A;
  --panel-2: #13294A;
  --raised: #13294A;
  --raised-2: #1A3459;
  --chip: #13294A;
  --fg: #E6EDF7;
  --fg-2: #B6C4D8;
  --muted: #8FA1BA;
  --line: #1F3556;
  --line-2: #6583AE;
  --edge: var(--line-2);
  --accent: #7AB0FF;
  --accent-2: #9CC4FF;
  --accent-soft: #16335F;
  --accent-fg: #0A1524;
  --mark-ink: #FFFFFF;
  --warn: #F2C46B;
  --warn-soft: #40300F;
  --ok: #7DD3A8;
  --ok-soft: #153B2A;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 30px 70px -28px rgba(0, 0, 0, 0.8);
  --glow: rgba(59, 130, 246, 0.22);
  --glow-2: rgba(122, 176, 255, 0.07);
  --grid: rgba(230, 237, 247, 0.045);
  --header: rgba(10, 21, 36, 0.8);
  --deep: #13294A;
  --deep-2: #1A3459;
}
:root[data-theme='light'] { color-scheme: light; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--fg); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-2); }
b, strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
html:not(.js) .js-only { display: none !important; }
section[id] { scroll-margin-top: 84px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 20px; height: 20px; flex: none; }
.mark .mk-ink { fill: var(--mark-ink); }
.mark .mk-cut { fill: var(--mark-cut); }
.mark .mk-blue { fill: var(--brand); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--panel); color: var(--fg); padding: 10px 16px; border-radius: var(--radius);
  box-shadow: var(--shadow); font-weight: 700;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.15s; }
.btn:hover .icon { transform: translateX(2px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; border-radius: 14px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn-primary {
  background: var(--accent); color: var(--accent-fg);
  box-shadow: 0 1px 2px rgba(14, 33, 58, 0.12), 0 8px 20px -10px rgba(37, 99, 235, 0.65);
}
.btn-primary:hover { background: var(--accent-2); color: var(--accent-fg); }
.btn-ghost { background: var(--raised); color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--raised-2); color: var(--fg); }
.btn-quiet { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-quiet:hover { background: var(--raised-2); color: var(--fg); }
.btn-invert { background: #FFFFFF; color: #0E213A; }
.btn-invert:hover { background: #E6EEFE; color: #0E213A; }

/* the segmented switches: appearance, and monthly or yearly */
.theme, .switch {
  display: inline-flex; gap: 2px; padding: 3px;
  background: var(--chip); border: 1px solid var(--line); border-radius: 12px;
}
.seg {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 34px; min-width: 34px; padding: 0 8px;
  font: inherit; font-size: 0.9375rem; font-weight: 700; color: var(--muted);
  background: transparent; border: 1px solid transparent; border-radius: 9px; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.seg .icon { width: 18px; height: 18px; }
.seg:hover { color: var(--fg); }
.seg[aria-pressed='true'] {
  background: var(--raised); color: var(--fg); border-color: var(--edge);
  box-shadow: 0 1px 2px rgba(14, 33, 58, 0.1);
}

/* ------------------------------------------------------------------ header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; flex: none; }
.brand:hover { color: var(--fg); }
.mark-head { width: 25px; height: 30px; --mark-cut: var(--bg); }
.wordmark { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1; }
.wm-o { color: var(--brand); }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a, .menu-panel nav a {
  color: var(--fg-2); text-decoration: none; font-weight: 600; font-size: 0.96875rem;
  padding: 8px 12px; border-radius: 10px;
}
.nav a:hover { color: var(--fg); background: var(--raised-2); }
.tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang {
  color: var(--fg-2); font-weight: 700; font-size: 0.9375rem; text-decoration: none;
  padding: 8px 10px; border-radius: 10px;
}
.lang:hover { color: var(--fg); background: var(--raised-2); }
.theme-head .seg { min-width: 32px; min-height: 30px; padding: 0 6px; }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none; display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--fg); cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary .icon { width: 22px; height: 22px; }
.menu .i-close, .menu[open] .i-open { display: none; }
.menu[open] .i-close { display: block; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  width: min(320px, calc(100vw - 32px));
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 8px;
}
.menu-panel nav { display: grid; }
.menu-panel nav a { display: block; padding: 12px 14px; font-size: 1.0625rem; color: var(--fg); }
.menu-panel nav a:hover { background: var(--raised-2); }
.menu-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-top: 1px solid var(--line);
}
.menu-label { color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.menu-lang { font-weight: 700; text-decoration: none; padding: 6px 0; }

@media (max-width: 1020px) {
  .nav { display: none; }
}
@media (max-width: 720px) {
  .tools > .lang, .tools > .theme-head { display: none; }
  .menu { display: block; }
  .top-in { gap: 12px; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero::before, .hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before {
  background:
    radial-gradient(55% 60% at 78% 30%, var(--glow), transparent 70%),
    radial-gradient(45% 50% at 8% 0%, var(--glow-2), transparent 70%);
}
.hero::after {
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 35%, #000 25%, transparent 75%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-2);
  font-size: 0.875rem; font-weight: 700;
}
.pill .icon { width: 16px; height: 16px; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em;
}
.lead { margin-top: 22px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--fg-2); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--fg-2); font-size: 0.9375rem; }
.hero-note .icon { width: 18px; height: 18px; color: var(--ok); }

/* the drawing: a sign-in form on a made-up shop and Secretomat's card under its first field */
.hero-art { min-width: 0; }
.shot { position: relative; max-width: 500px; margin: 0 0 0 auto; padding: 0 0 72px; }
.win {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.win-bar {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.win-dots { display: flex; gap: 6px; flex: none; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.addr {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line);
  color: var(--muted); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; overflow: hidden;
}
.addr .icon { width: 13px; height: 13px; }
.win-body { display: flex; flex-direction: column; padding: 28px 32px 32px; }
.f-title { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 18px; }
.f-label { font-size: 0.8125rem; font-weight: 700; color: var(--fg-2); margin-bottom: 6px; }
.f-gap { margin-top: 16px; }
.f-field {
  position: relative; display: flex; align-items: center; height: 44px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel);
}
.f-focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--accent-soft); }
.caret { width: 2px; height: 20px; background: var(--fg); border-radius: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .caret { animation: blink 1.1s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }
.f-mark { position: absolute; right: 10px; top: 11px; width: 18px; height: 22px; }
.f-submit {
  margin-top: 22px; display: grid; place-items: center; height: 44px; border-radius: 10px;
  background: var(--fg); color: var(--bg); font-weight: 700; font-size: 0.9375rem;
}
.fillcard {
  position: absolute; left: -28px; top: 214px; width: min(330px, 86%);
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 8px;
}
.fc-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px 10px; font-weight: 800; font-size: 0.875rem; letter-spacing: -0.01em; }
.fc-mark { width: 15px; height: 18px; }
.fc-row {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 11px;
  background: var(--accent-soft);
}
.fc-ico {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: var(--fg); color: var(--bg); font-weight: 800;
}
.fc-text { display: grid; min-width: 0; line-height: 1.3; }
.fc-text b { font-size: 0.9375rem; color: var(--fg); }
.fc-text small { font-size: 0.8125rem; color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-btn {
  margin-left: auto; flex: none; padding: 7px 14px; border-radius: 9px;
  background: var(--accent); color: var(--accent-fg); font-weight: 700; font-size: 0.875rem;
}
.float-badge {
  position: absolute; right: 18px; bottom: 6px;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow); color: var(--fg); font-weight: 700; font-size: 0.875rem;
}
.float-badge .icon { width: 18px; height: 18px; color: var(--ok); }

/* ------------------------------------------------------------------ sections */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.eyebrow {
  color: var(--accent-2); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.sec-head h2 {
  margin-top: 12px; font-size: clamp(2rem, 3.8vw, 2.875rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.035em;
}
.sec-lead { margin-top: 16px; font-size: 1.1875rem; color: var(--fg-2); }
.tile {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-2);
}
.tile .icon { width: 22px; height: 22px; }
h3 { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; }

/* security: the way a password goes, beside what it means */
.security { background: var(--bg-2); }
.sec-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.flow {
  position: sticky; top: 100px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow); padding: 24px;
}
.flow-node { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--bg); }
.flow-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.flow-label .icon { width: 17px; height: 17px; }
.flow-item {
  display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
}
.flow-item > span:last-child { display: grid; min-width: 0; line-height: 1.35; }
.fi-ico {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: var(--fg); color: var(--bg); font-weight: 800;
}
.fi-pass { font-family: var(--mono); font-size: 0.875rem; color: var(--fg-2); }
.flow-step { display: grid; justify-items: center; padding: 4px 0; }
.flow-line { width: 2px; height: 18px; background: linear-gradient(var(--line-2), var(--brand)); }
.flow-step .flow-line:last-child { background: linear-gradient(var(--brand), var(--line-2)); }
.flow-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg); font-weight: 700; font-size: 0.875rem;
}
.flow-chip .icon { width: 16px; height: 16px; }
.noise {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  background: var(--panel); border: 1px dashed var(--line-2);
  font-family: var(--mono); font-size: 0.875rem; line-height: 1.55; color: var(--muted);
  word-break: break-all; letter-spacing: 0.02em;
}
.flow-note { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
.points { display: grid; gap: 8px; }
.point { display: flex; gap: 18px; padding: 20px 4px; }
.point + .point { border-top: 1px solid var(--line); }
.point h3 { margin-bottom: 6px; }
.point p { color: var(--fg-2); }

/* features */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 28px; box-shadow: 0 1px 2px rgba(14, 33, 58, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card h3 { margin-top: 20px; }
.card p { margin-top: 8px; color: var(--fg-2); }

/* platforms */
.platforms { background: var(--bg-2); }
.plats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.plat {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px;
}
.plat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.plat p { color: var(--fg-2); font-size: 0.9375rem; }
.status { font-size: 0.75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status-ready { background: var(--ok-soft); color: var(--ok); }
.status-testing { background: var(--warn-soft); color: var(--warn); }
.status-planned { background: var(--chip); color: var(--fg-2); }
.plat-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 700; text-decoration: none; }
.plat-link .icon { width: 16px; height: 16px; }
.plat-link:hover { text-decoration: underline; }

/* pricing */
.pricing .sec-head { margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 32px; }
.soon {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  max-width: 46rem; margin: 0 auto; padding: 14px 20px; text-align: center;
  background: var(--accent-soft); color: var(--fg); border-radius: 14px;
}
.soon-head { font-size: 1.0625rem; }
.soon-text { color: var(--fg-2); font-size: 0.9375rem; }
.switch { display: flex; width: max-content; max-width: 100%; margin: 32px auto 0; }
.switch .seg { min-height: 42px; padding: 0 18px; font-size: 1rem; }
.save {
  font-size: 0.75rem; font-weight: 800; padding: 3px 8px; border-radius: 999px;
  background: var(--ok-soft); color: var(--ok);
}
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 32px;
  box-shadow: var(--shadow);
}
.plan h3 { font-size: 1.375rem; }
.who { margin-top: 8px; color: var(--fg-2); min-height: 3.2em; }
.price { display: flex; align-items: flex-end; gap: 12px; margin-top: 26px; }
.amount { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--fg); white-space: nowrap; }
.amount .cur { font-size: 0.55em; letter-spacing: -0.01em; font-weight: 700; }
.unit { display: grid; color: var(--muted); font-size: 0.875rem; font-weight: 600; line-height: 1.3; padding-bottom: 2px; }
.tax { color: var(--muted); }
.other { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
.pricing [data-interval='year'] { display: none; }
.pricing[data-show='year'] [data-interval='month'] { display: none; }
.pricing[data-show='year'] .price[data-interval='year'] { display: flex; }
.pricing[data-show='year'] .other[data-interval='year'] { display: block; }
.ticks { display: grid; gap: 12px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 10px; color: var(--fg-2); font-size: 0.96875rem; line-height: 1.45; }
.ticks .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.price-note { margin: 28px auto 0; max-width: 48rem; text-align: center; color: var(--muted); font-size: 0.9375rem; }

/* questions */
.faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq .sec-head { position: sticky; top: 100px; }
.faq-more { margin-top: 20px; color: var(--fg-2); }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-2); }
.chev { width: 22px; height: 22px; color: var(--muted); transition: transform 0.2s; }
.qa details[open] .chev { transform: rotate(180deg); }
.answer { padding: 0 4px 24px; color: var(--fg-2); max-width: 40rem; }

/* closing */
.closing { padding: 0 0 clamp(72px, 9vw, 112px); }
.closing-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; text-align: center; gap: 18px;
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 64px);
  border-radius: 28px; color: #E6EDF7;
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(59, 130, 246, 0.45), transparent 70%),
    radial-gradient(50% 80% at 0% 100%, rgba(59, 130, 246, 0.18), transparent 70%),
    linear-gradient(160deg, var(--deep-2), var(--deep));
  box-shadow: var(--shadow-lg);
}
.closing-card h2 { color: #FFFFFF; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.closing-card p { max-width: 36rem; font-size: 1.125rem; color: #C8D4E6; }
.closing-card .btn { margin-top: 10px; }
.closing-mark {
  position: absolute; z-index: -1; right: -36px; bottom: -64px; width: 290px; height: 350px; opacity: 0.14;
  transform: rotate(-8deg);
}
.closing-mark .mk-ink { fill: #FFFFFF; }
.closing-mark .mk-cut { fill: transparent; }
.closing-mark .mk-blue { fill: #7AB0FF; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 0.9375rem; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: start; }
.foot-brand p { margin-top: 10px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a { color: var(--fg-2); font-weight: 600; text-decoration: none; }
.foot-nav a:hover { color: var(--fg); text-decoration: underline; }
.foot-meta { grid-column: 1 / -1; display: grid; gap: 4px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------------ narrower screens */
@media (max-width: 1080px) {
  .plats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .shot { margin: 0 auto; }
  .sec-grid, .faq-in { grid-template-columns: minmax(0, 1fr); }
  .flow, .faq .sec-head { position: static; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-left: auto; margin-right: auto; }
  .who { min-height: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .cards, .plats { grid-template-columns: minmax(0, 1fr); }
  .card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .card .tile { grid-row: span 2; }
  .card h3 { margin-top: 2px; }
  .card p { margin-top: 4px; }
  .plat { padding: 20px; }
  .plat-top { margin-bottom: 4px; }
  .plan { padding: 24px; }
  .actions .btn { width: 100%; }
  .win-body { padding: 22px 20px 24px; }
  .fillcard { left: 12px; top: 204px; width: calc(100% - 24px); }
  .float-badge { right: 12px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .switch .seg { padding: 0 12px; }
}
@media (max-width: 380px) {
  .wordmark { font-size: 1.15rem; }
  .sign-in { padding: 0 12px; }
  .amount { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
