/* =========================================================
   Mailbaton — site styles
   ========================================================= */

:root {
  --ink: #0b1220;
  --ink-2: #33415a;
  --muted: #6b7a90;
  --line: #e3e8f0;
  --line-2: #eef2f8;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-deep: #0a1224;
  --brand: #2b59ff;
  --brand-dark: #1b3acc;
  --brand-soft: #eaf0ff;
  --accent: #ff8a1f;
  --accent-soft: #fff3e6;
  --ok: #12a150;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06);
  --shadow: 0 10px 30px -12px rgba(11, 18, 32, 0.16);
  --shadow-lg: 0 24px 60px -20px rgba(11, 18, 32, 0.28);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue",
    Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}
h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1.02rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img,
svg {
  max-width: 100%;
  display: block;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

code,
.mono {
  font-family: var(--mono);
  font-size: 0.92em;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ------------------------------------------------------ announcement bar */

.topbar {
  background: var(--bg-deep);
  color: #c9d4ea;
  font-size: 13px;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}
.topbar b {
  color: #fff;
  font-weight: 600;
}
.topbar a {
  color: #9db6ff;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
}
.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--ink-2);
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 500;
}
.nav a:hover {
  background: var(--bg-soft);
  color: var(--ink);
  text-decoration: none;
}
.nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: #fff;
}
.lang-switch a {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}
.lang-switch a:hover {
  text-decoration: none;
  color: var(--ink);
}
.lang-switch a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease, color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-sm {
  padding: 8px 15px;
  font-size: 0.87rem;
}
.btn-lg {
  padding: 14px 26px;
  font-size: 1.02rem;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(43, 89, 255, 0.7);
}
.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #1a2438;
  color: #fff;
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: #c5cfdf;
  background: var(--bg-soft);
  color: var(--ink);
}
.btn-on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}
.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.btn-block {
  width: 100%;
}

/* ------------------------------------------------------------ section base */

.section {
  padding: 84px 0;
}
.section-sm {
  padding: 56px 0;
}
.section-soft {
  background: var(--bg-soft);
}
.section-dark {
  background: var(--bg-deep);
  color: #c9d4ea;
}
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left {
  margin-left: 0;
  text-align: left;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-dark .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #a9c0ff;
}
.lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0;
}
.section-dark .lead {
  color: #a9b6cd;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 15% -10%, #1c3aa8 0%, transparent 55%),
    radial-gradient(900px 500px at 95% 0%, #0f2f6b 0%, transparent 50%), var(--bg-deep);
  color: #d6def0;
  padding: 84px 0 76px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: #fff;
}
.hero .lead {
  color: #b3c0d8;
  font-size: 1.12rem;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-chips li {
  font-size: 0.85rem;
  color: #c4d0e6;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 5px 12px;
}

/* domain preview */
.suffix-preview {
  margin: 26px 0 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 14px;
  max-width: 520px;
}
.suffix-preview label {
  display: block;
  font-size: 0.8rem;
  color: #9fb0cc;
  margin-bottom: 8px;
}
.suffix-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.suffix-row .addr {
  font-family: var(--mono);
  font-size: 1.02rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 240px;
  min-width: 0;
  overflow: hidden;
}
.suffix-row .addr span {
  white-space: nowrap;
}
.suffix-row input {
  font: inherit;
  font-family: var(--mono);
  font-size: 1.02rem;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  padding: 0 2px;
  width: 8.5ch;
  min-width: 6ch;
  outline: none;
}
.suffix-row input::placeholder {
  color: #8ea0bf;
}
.suffix-row input:focus {
  border-bottom-color: #7ea0ff;
}
.suffix-row .role {
  font-size: 0.78rem;
  color: #9fb0cc;
}

/* mock mail client */
.mailcard {
  background: #fff;
  color: var(--ink-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.mailcard-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-2);
  background: #fbfcfe;
}
.mailcard-top .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dfe5ee;
}
.mailcard-top .host {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.mailcard-body {
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 300px;
}
.mailcard-side {
  border-right: 1px solid var(--line-2);
  padding: 16px 14px;
  background: #fbfcfe;
}
.mailcard-side .who {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
}
.mailcard-side .dom {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.mailcard-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
}
.mailcard-side li {
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink-2);
}
.mailcard-side li.active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}
.mailcard-main {
  padding: 16px 18px;
}
.mailrow {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-2);
}
.mailrow:last-child {
  border-bottom: 0;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: var(--brand);
}
.avatar.a2 {
  background: #12a150;
}
.avatar.a3 {
  background: #ff8a1f;
}
.avatar.a4 {
  background: #7c4dff;
}
.mailrow .meta {
  min-width: 0;
  flex: 1;
}
.mailrow .from {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.mailrow .from span:last-child {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.78rem;
}
.mailrow .subj {
  font-size: 0.88rem;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mailcard-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 18px;
  border-top: 1px solid var(--line-2);
  background: #fbfcfe;
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.76rem;
  color: var(--ink-2);
  background: #fff;
}
.pill.ok {
  border-color: #bfe8cf;
  background: #effaf3;
  color: #0d7a3c;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #b06a12;
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0;
  text-transform: none;
}

/* -------------------------------------------------------------------- stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat .num {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat .lbl {
  font-size: 0.85rem;
  color: #a9b6cd;
}

/* -------------------------------------------------------------------- cards */

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card h3 {
  margin-bottom: 8px;
}
.card p:last-child {
  margin-bottom: 0;
}
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.card-icon svg {
  width: 22px;
  height: 22px;
}
.card.accent .card-icon {
  background: var(--accent-soft);
  color: #c4610a;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse > :first-child {
  order: 2;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-2);
}
.checklist svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--ok);
  margin-top: 3px;
}
.section-dark .checklist li {
  color: #c9d4ea;
}

/* address showcase */
.addr-stack {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 12px;
}
.addr-line {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--ink);
}
.addr-line .role {
  margin-left: auto;
  font-family: var(--font);
  font-size: 0.78rem;
  color: var(--muted);
}
.addr-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 4px 0 0;
}

/* --------------------------------------------------------------------- tabs */

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 26px;
}
.tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tabpanel[hidden] {
  display: none;
}
.demo-stage {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-2);
  background: #fbfcfe;
  font-size: 0.85rem;
  color: var(--muted);
}
.demo-bar .host {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.demo-body {
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
.demo-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
}
.compose {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.compose .field {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-2);
  font-size: 0.88rem;
}
.compose .field span:first-child {
  color: var(--muted);
  min-width: 62px;
}
.compose .body {
  padding: 16px 14px;
  font-size: 0.9rem;
  min-height: 130px;
}
.compose .actions {
  padding: 12px 14px;
  border-top: 1px solid var(--line-2);
  background: #fbfcfe;
}

/* -------------------------------------------------------------------- steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.step .n {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* ------------------------------------------------------------------ pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.plan.featured {
  border-color: var(--brand);
  box-shadow: 0 24px 60px -28px rgba(43, 89, 255, 0.55);
}
.plan .badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--brand);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.plan .tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan h3 {
  font-size: 1.35rem;
  margin: 6px 0 6px;
}
.plan .for {
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 3em;
  margin-bottom: 18px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.price .amt {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price .per {
  color: var(--muted);
  font-size: 0.95rem;
}
.price-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  flex: 1;
}
.plan ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.plan ul svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--ok);
  margin-top: 3px;
}
.plan .foot {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 14px 0 0;
}

.addon {
  margin-top: 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.addon .txt {
  flex: 1 1 420px;
}
.addon h3 {
  margin-bottom: 6px;
}
.addon p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.addon .price {
  margin: 0;
}

/* comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.93rem;
}
table.compare th,
table.compare td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
table.compare thead th {
  background: #fbfcfe;
  color: var(--ink);
  font-size: 0.95rem;
  position: sticky;
  top: 0;
}
table.compare tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 26%;
}
table.compare td {
  color: var(--ink-2);
}
table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td {
  border-bottom: 0;
}
table.compare .col-featured {
  background: #f7f9ff;
}
table.compare .dash {
  color: #a8b3c4;
}

/* ------------------------------------------------------------- fee explain */

.fee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.fee {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}
.fee .no {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

/* ---------------------------------------------------------------------- faq */

.faq-search {
  max-width: 520px;
  margin: 0 auto 28px;
  position: relative;
}
.faq-search input {
  width: 100%;
  font: inherit;
  padding: 13px 16px 13px 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}
.faq-search svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  gap: 14px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .q {
  flex: 1;
}
.faq-item summary .chev {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.2s ease;
  flex: none;
  display: block;
}
.faq-item summary .chev svg {
  width: 100%;
  height: 100%;
  display: block;
}
.faq-item[open] summary .chev {
  transform: rotate(180deg);
}
.faq-item .a {
  padding: 0 22px 20px;
  color: var(--ink-2);
  font-size: 0.96rem;
}
.faq-item .a p:last-child {
  margin-bottom: 0;
}
.faq-empty {
  text-align: center;
  color: var(--muted);
  padding: 24px;
}

/* -------------------------------------------------------------------- legal */

.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-2);
  padding: 60px 0 48px;
}
.page-hero .lead {
  max-width: 720px;
}
.page-hero .meta {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--brand);
}

.legal {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  font-size: 0.9rem;
}
.toc .t {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 10px;
}
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.toc a {
  color: var(--ink-2);
  display: block;
  padding: 5px 8px;
  border-radius: 8px;
}
.toc a:hover {
  background: var(--bg-soft);
  text-decoration: none;
}
.doc {
  max-width: 760px;
}
.doc section {
  scroll-margin-top: 96px;
  padding-bottom: 8px;
}
.doc h2 {
  font-size: 1.4rem;
  margin-top: 2.2em;
}
.doc h2:first-child {
  margin-top: 0;
}
.doc h3 {
  margin-top: 1.6em;
}
.doc .note {
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  font-size: 0.94rem;
}
.related {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
}

/* ------------------------------------------------------------------ contact */

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-card .mail {
  font-family: var(--mono);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--ink);
  margin: 10px 0 22px;
  word-break: break-all;
}
.contact-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.tips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.tips li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink-2);
}
.tips svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: none;
}

/* ------------------------------------------------------------------ dialog */

.help-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}
.help-fab:hover {
  background: #1a2438;
}
.help-fab svg {
  width: 18px;
  height: 18px;
}
dialog.help {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  width: min(560px, calc(100vw - 32px));
  box-shadow: var(--shadow-lg);
  color: var(--ink-2);
}
dialog.help::backdrop {
  background: rgba(11, 18, 32, 0.5);
}
dialog.help .dlg-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-2);
}
dialog.help .dlg-head h3 {
  margin: 0;
  flex: 1;
}
dialog.help .dlg-body {
  padding: 22px 24px 26px;
}
dialog.help .close {
  border: 0;
  background: var(--bg-soft);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  color: var(--ink-2);
  font-size: 1.1rem;
  line-height: 1;
}
.field-row {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.field-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.field-row input,
.field-row select,
.field-row textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  width: 100%;
}
.field-row textarea {
  min-height: 92px;
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

/* ------------------------------------------------------------------- footer */

.site-footer {
  background: var(--bg-deep);
  color: #9eacc6;
  padding: 64px 0 36px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.site-footer a {
  color: #9eacc6;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: none;
}
.footer-brand p {
  max-width: 320px;
  margin: 14px 0 0;
}
.footer-brand .brand {
  color: #fff;
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* ------------------------------------------------------------------ utility */

.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mt-2 {
  margin-top: 8px;
}
.mt-4 {
  margin-top: 24px;
}
.mt-5 {
  margin-top: 40px;
}
.mb-0 {
  margin-bottom: 0;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.86rem;
}
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-band {
  background: linear-gradient(120deg, #17338f 0%, #0a1224 60%);
  color: #d6def0;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  max-width: 620px;
  margin: 0 auto 26px;
  color: #b3c0d8;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(10px);
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 90;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (max-width: 1024px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split.reverse > :first-child {
    order: 0;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .legal {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    border-radius: 10px;
    padding: 11px 12px;
  }
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-actions .btn {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3,
  .steps,
  .fee-grid,
  .demo-body,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .mailcard-body {
    grid-template-columns: 1fr;
  }
  .mailcard-side {
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }
  .section {
    padding: 60px 0;
  }
  .cta-band {
    padding: 40px 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 56px 0 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
