@charset "utf-8";
/* ReplyFive — public site. One stylesheet, no build step, no external assets. */

/* ---------- tokens ---------- */
:root {
  --paper: #f6f3ea;
  --paper-2: #fffdf7;
  --paper-3: #efe9db;
  --ink: #16150f;
  --ink-2: #55503f;
  --ink-3: #6b6552; /* 5.2:1 on --paper */
  --rule: rgba(22, 21, 15, 0.14);
  --rule-2: rgba(22, 21, 15, 0.07);
  --signal: #c53a1c;
  --signal-ink: #fffaf6;
  --pine: #1c574c;
  --shadow: 0 1px 1px rgba(22, 21, 15, .04), 0 10px 24px -12px rgba(22, 21, 15, .18);
  --shadow-lift: 0 2px 4px rgba(22, 21, 15, .05), 0 26px 50px -20px rgba(22, 21, 15, .30);
  --grain-a: .035;

  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, "Hoefler Text", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1140px;
  --gut: clamp(20px, 5vw, 56px);
  --r: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f100e;
    --paper-2: #171916;
    --paper-3: #1e211d;
    --ink: #efece2;
    --ink-2: #a8a496;
    --ink-3: #9a968a; /* 5.4:1 on --paper-3, higher on --paper */
    --rule: rgba(239, 236, 226, 0.16);
    --rule-2: rgba(239, 236, 226, 0.08);
    --signal: #ff6b45;
    --signal-ink: #1a0d07;
    --pine: #6fc3ae;
    --shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 12px 28px -14px rgba(0, 0, 0, .7);
    --shadow-lift: 0 2px 6px rgba(0, 0, 0, .35), 0 30px 60px -24px rgba(0, 0, 0, .85);
    --grain-a: .05;
  }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

/* film grain — keeps flat colour from reading as a template */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: var(--grain-a);
  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'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- layout ---------- */
[id] { scroll-margin-top: 80px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
section { position: relative; }
.rule-top { border-top: 1px solid var(--rule); }

/* section label: 01 / HOW IT WORKS */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: attr(data-n);
  color: var(--signal); font-variant-numeric: tabular-nums;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

.h-display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.04;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
}
.h-sec {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.1;
  font-size: clamp(1.95rem, 3.9vw, 2.9rem);
  max-width: 19ch;
}
:lang(ja) .h-display { letter-spacing: -0.01em; line-height: 1.26; font-size: clamp(1.8rem, 4vw, 3rem); }
/* keep Japanese phrases from breaking mid-word, but only where the line is wide enough */
@media (min-width: 701px) { .nb { white-space: nowrap; } }
:lang(ja) .h-sec { letter-spacing: -0.008em; line-height: 1.34; font-size: clamp(1.6rem, 3.2vw, 2.3rem); max-width: 24ch; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-2); max-width: 54ch; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--rule-2);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; }
.brand svg { width: 24px; height: 24px; }
.brand b { font-weight: 600; font-size: 1.02rem; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; }
.nav a:hover { color: var(--ink); }
.head-cta { display: flex; align-items: center; gap: 14px; }
.lang {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-3); border: 1px solid var(--rule); border-radius: 999px; padding: 4px 10px;
}
.lang:hover { color: var(--ink); border-color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 550; text-decoration: none; cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--signal); color: var(--signal-ink); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--paper-2); transform: translateY(-1px); }
.btn-sm { padding: 8px 15px; font-size: 14px; border-radius: 8px; }
.btn-link { text-decoration: none; color: var(--ink-2); font-size: 14.5px; }
.btn-link:hover { color: var(--ink); }

kbd {
  font-family: var(--mono); font-size: .82em; line-height: 1;
  padding: 3px 6px; border-radius: 5px;
  border: 1px solid var(--rule); border-bottom-width: 2px;
  background: var(--paper-2); color: var(--ink);
  white-space: nowrap;
}

/* ---------- hero ---------- */
.hero { padding: clamp(44px, 6vw, 80px) 0 clamp(48px, 6.5vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -20% auto -20%; height: 130%;
  background:
    radial-gradient(52% 42% at 76% 12%, color-mix(in srgb, var(--signal) 14%, transparent), transparent 70%),
    radial-gradient(44% 40% at 8% 4%, color-mix(in srgb, var(--pine) 13%, transparent), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 66px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid var(--rule); background: var(--paper-2);
  border-radius: 999px; padding: 5px 12px 5px 8px; margin-bottom: 22px;
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); display: block; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .lede { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.cta-note { margin-top: 12px; font-size: 13.8px; color: var(--ink-2); max-width: 52ch; overflow-wrap: anywhere; }
.final .cta-note { margin-inline: auto; }

/* ---------- product screenshot ---------- */
.shot { position: relative; margin: 0; }
.shot::before {
  content: ""; position: absolute; inset: -14% -8%;
  background-image: radial-gradient(var(--rule) 1px, transparent 1px);
  background-size: 17px 17px;
  -webkit-mask-image: radial-gradient(70% 62% at 52% 48%, #000 35%, transparent 78%);
  mask-image: radial-gradient(70% 62% at 52% 48%, #000 35%, transparent 78%);
  opacity: .75;
  pointer-events: none;
}
.shot img {
  position: relative; width: 100%; height: auto;
  border-radius: 14px; border: 1px solid var(--rule);
  box-shadow: var(--shadow-lift);
  background: #1c1d1c;
  transform: rotate(-1.05deg);
}
.shot-tag {
  position: absolute; right: -6px; bottom: -18px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 6px 11px; border-radius: 999px;
  transform: rotate(-1deg); animation: rise .55s ease .9s both;
}
:lang(ja) .shot-tag { letter-spacing: .06em; text-transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.reveal { animation: fade .7s cubic-bezier(.2,.7,.3,1) both; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .13s; } .d3 { animation-delay: .21s; }
.d4 { animation-delay: .29s; } .d5 { animation-delay: .37s; }

/* ---------- logo chips ---------- */
.chips-band { padding: 26px 0 30px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: color-mix(in srgb, var(--paper-3) 42%, transparent); }
.chips-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 10px; }
.chips-lead { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-right: 8px; }
.chip {
  border: 1px solid var(--rule); border-radius: 999px; padding: 5px 13px;
  font-size: 13.5px; color: var(--ink-2); background: var(--paper-2);
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.chip:hover { color: var(--ink); border-color: var(--ink-3); transform: translateY(-1px); }
.chip-more { border-style: dashed; color: var(--ink-3); }

/* ---------- generic section ---------- */
.band { padding: clamp(60px, 8vw, 100px) 0; }
.band-alt { background: color-mix(in srgb, var(--paper-3) 45%, transparent); }
.sec-head { max-width: 62ch; margin-bottom: clamp(34px, 5vw, 52px); }
.sec-head p { margin-top: 16px; color: var(--ink-2); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); counter-reset: s; }
.step { position: relative; padding-top: 24px; border-top: 2px solid var(--ink); }
.step:nth-child(2) { border-top-color: var(--signal); }
.step:nth-child(3) { border-top-color: var(--pine); }
.step-n { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--ink-3); display: block; margin-bottom: 10px; }
.step h3 { font-family: var(--serif); font-size: 1.32rem; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 9px; }
.step p { color: var(--ink-2); font-size: 15.3px; }
.step p + p { margin-top: 9px; }

/* setup steps (get started) */
.setup { list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 30px); }
.setup li { counter-increment: st; position: relative; padding-top: 18px; border-top: 1px solid var(--rule); }
.setup li::before {
  content: counter(st, decimal-leading-zero);
  display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--signal);
  margin-bottom: 10px; font-variant-numeric: tabular-nums;
}
.setup b { display: block; font-weight: 600; font-size: 1.02rem; letter-spacing: -0.012em; margin-bottom: 8px; }
.setup p { color: var(--ink-2); font-size: 14.8px; overflow-wrap: anywhere; }
.setup a { color: var(--ink); }
.setup code { font-family: var(--mono); font-size: .88em; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 5px; padding: 1px 5px; }

/* feature grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.card { background: var(--paper-2); padding: 26px 24px 28px; transition: background .18s ease; }
.card:hover { background: var(--paper); }
.card svg { width: 20px; height: 20px; color: var(--signal); margin-bottom: 14px; }
.card h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 14.8px; }

/* privacy list */
.privacy-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.ledger { border-top: 1px solid var(--rule); }
.ledger li { list-style: none; display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 15px 2px; border-bottom: 1px solid var(--rule-2); align-items: start; }
.ledger svg { width: 18px; height: 18px; margin-top: 3px; }
.ledger .yes svg { color: var(--pine); }
.ledger .no svg { color: var(--signal); }
.ledger b { display: block; font-weight: 600; font-size: 15.4px; letter-spacing: -0.01em; }
.ledger span { color: var(--ink-2); font-size: 14.6px; }
.where { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--paper-2); }
.where h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.where p { color: var(--ink-2); font-size: 14.8px; }
.where p + p { margin-top: 8px; }
.where strong { color: var(--ink); font-weight: 600; }

/* ---------- pricing ---------- */
.price-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.toggle { display: inline-flex; padding: 3px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-2); }
.toggle button {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  padding: 7px 16px; font-size: 13.6px; color: var(--ink-2); transition: color .15s ease, background .15s ease;
}
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.toggle .save { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; opacity: .75; margin-left: 6px; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 20px); align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 24px 22px 26px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.plan-pick { border-color: color-mix(in srgb, var(--signal) 55%, var(--rule)); }
.plan-tag {
  position: absolute; top: -11px; left: 22px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--signal); color: var(--signal-ink); padding: 4px 10px; border-radius: 999px;
}
.plan { position: relative; }
.plan h3 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 14px; }
.amt { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; letter-spacing: -0.025em; line-height: 1; }
.per { font-size: 13.4px; color: var(--ink-3); margin-top: 7px; min-height: 2.6em; }
.plan-desc { font-size: 14.4px; color: var(--ink-2); margin: 14px 0 16px; padding-top: 14px; border-top: 1px solid var(--rule-2); }
.plan ul { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; }
.plan li { position: relative; padding-left: 18px; font-size: 14.2px; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 1.5px; background: var(--signal); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan-note {
  margin-top: auto; text-align: center; padding: 11px 14px;
  border: 1px dashed var(--rule); border-radius: 10px;
  font-size: 13.4px; font-weight: 550; letter-spacing: -0.005em;
  color: var(--ink-2); overflow-wrap: anywhere;
}
.plan-note a { text-decoration: none; }
.plan-note a:hover { color: var(--signal); }
.price-foot { margin-top: 24px; font-size: 13.8px; color: var(--ink-3); display: grid; gap: 6px; overflow-wrap: anywhere; }
.price-foot a { color: var(--ink-2); }

[data-cycle="year"] .m-only, [data-cycle="month"] .y-only { display: none; }

/* self-host tier table */
.tiers {
  list-style: none; display: grid; gap: 5px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  margin: 14px 0 16px; padding-top: 14px; border-top: 1px solid var(--rule-2);
}
.plan .tiers li {
  display: flex; justify-content: space-between; gap: 10px;
  border-bottom: 1px dotted var(--rule); padding: 0 0 4px; font-size: 12px;
  white-space: nowrap;
}
.plan .tiers li::before { content: none; }

/* ---------- faq ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-size: 1.04rem; font-weight: 550; letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px;
  border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--signal); }
.faq-a { padding: 0 48px 22px 0; color: var(--ink-2); font-size: 15.4px; overflow-wrap: anywhere; }
.faq-a p + p { margin-top: 10px; }
.faq-a a { color: var(--ink); }

/* ---------- final cta ---------- */
.final { text-align: center; padding: clamp(66px, 9vw, 112px) 0; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 50% 100%, color-mix(in srgb, var(--signal) 13%, transparent), transparent 72%);
  pointer-events: none;
}
.final .wrap { position: relative; }
.final h2 { margin-inline: auto; }
.final .lede { margin: 18px auto 30px; }
.final .hero-actions { justify-content: center; }
.final .hero-note { justify-content: center; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--rule); padding: 52px 0 40px; background: color-mix(in srgb, var(--paper-3) 45%, transparent); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.foot-grid h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 13px; }
.foot-grid ul { list-style: none; display: grid; gap: 9px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); font-size: 14.3px; }
.foot-grid a:hover { color: var(--signal); }
.foot-about p { color: var(--ink-2); font-size: 14.3px; max-width: 34ch; margin-top: 12px; }
.foot-bar { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding-top: 22px; border-top: 1px solid var(--rule-2); font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.foot-bar a { text-decoration: none; color: var(--ink-2); }
.foot-bar a:hover { color: var(--signal); }
.foot-bar .sp { margin-left: auto; }
.foot-bar .lang, .foot-bar .lang:hover { color: var(--ink-3); }
.foot-bar .lang:hover { color: var(--ink); }

/* ---------- legal / prose ---------- */
.doc { padding: clamp(46px, 6vw, 76px) 0 clamp(60px, 8vw, 96px); }
.doc-wrap { max-width: 780px; margin-inline: auto; }
.doc h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.14; }
.doc .meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.doc .updated { margin-top: 14px; color: var(--ink-3); font-size: 14px; }
.doc-nav { display: flex; gap: 10px; margin: 26px 0 0; flex-wrap: wrap; }
.doc-nav a { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 999px; padding: 5px 12px; }
.doc-nav a:hover { border-color: var(--ink-3); color: var(--ink); }
.prose { margin-top: 44px; }
.prose h2 {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 500; letter-spacing: -0.016em;
  margin: 48px 0 14px; padding-top: 22px; border-top: 1px solid var(--rule);
}
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { font-size: 1.02rem; font-weight: 600; margin: 26px 0 8px; letter-spacing: -0.01em; }
.prose p { color: var(--ink-2); margin: 10px 0; font-size: 15.8px; }
.prose ul, .prose ol { margin: 12px 0 12px 0; padding-left: 20px; color: var(--ink-2); }
.prose li { margin: 6px 0; font-size: 15.6px; }
.prose a { color: var(--signal); overflow-wrap: anywhere; }
.prose strong { color: var(--ink); font-weight: 600; }
.lang-split { border-top: 3px double var(--rule); margin-top: 60px; padding-top: 34px; }
.dl { border-top: 1px solid var(--rule); margin-top: 20px; }
.dl > div { display: grid; grid-template-columns: 230px 1fr; gap: 18px; padding: 14px 2px; border-bottom: 1px solid var(--rule-2); }
.dl dt { font-weight: 600; font-size: 15px; }
.dl dd { margin: 0; color: var(--ink-2); font-size: 15.2px; overflow-wrap: anywhere; }
.dl dd a { color: var(--signal); }
.dl dd p { margin: 0; }
.dl dd p + p { margin-top: 8px; }

/* ---------- 404 ---------- */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 70px 0; }
.nf .code { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; color: var(--signal); margin-bottom: 18px; }
.nf .hero-actions { justify-content: center; margin-top: 28px; }
.nf .alt { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--rule-2); color: var(--ink-2); font-size: 15.5px; max-width: 46ch; margin-inline: auto; }
.nf .alt p + p { margin-top: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .shot { max-width: 640px; }
  .setup { grid-template-columns: repeat(2, 1fr); }
  /* nav stays visible: it wraps onto a second row under the brand and CTAs */
  .site-head .wrap { flex-wrap: wrap; height: auto; padding-block: 10px 8px; gap: 8px 20px; }
  .head-cta { margin-left: auto; }
  .nav { order: 3; flex-basis: 100%; margin-left: 0; gap: 6px 18px; flex-wrap: wrap; }
  .nav a { font-size: 13.8px; padding: 2px 0; }
  [id] { scroll-margin-top: 110px; }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .cards { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .dl > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 620px) {
  body { font-size: 16.4px; }
  .site-head .wrap { gap: 8px 12px; }
  .brand b { font-size: .98rem; }
  .head-cta { gap: 10px; }
  .head-cta .btn-link { font-size: 13.5px; }
  .head-cta .btn-sm { padding: 7px 11px; font-size: 13px; }
  .nav { gap: 4px 14px; }
  .plans { grid-template-columns: 1fr; }
  .setup { grid-template-columns: 1fr; }
  .shot img { transform: none; }
  .shot-tag { right: 0; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .price-head { align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bar .sp { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
}

@media print {
  .site-head, .site-foot, .doc-nav, body::after { display: none; }
  body { background: #fff; color: #000; }
}
