/* =========================================================================
   FridaVPN — lightweight, system-font interface.
   ====================================================================== */

:root {
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --bg-subtle: #ececee;
  --bg-input: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --border: rgba(0, 0, 0, .09);
  --border-strong: rgba(0, 0, 0, .16);
  --accent: #007aff;
  --accent-hover: #0066d6;
  --accent-press: #0058b8;
  --accent-tint: rgba(0, 122, 255, .11);
  --accent-contrast: #fff;
  --success: #248a3d;
  --success-tint: rgba(48, 164, 67, .14);
  --danger: #d70015;
  --danger-tint: rgba(215, 0, 21, .12);
  --shadow: 0 12px 32px rgba(0, 0, 0, .06);
  --radius-card: 18px;
  --radius-md: 12px;
  --radius-btn: 10px;
  --radius-pill: 999px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #000;
  --bg-elevated: #1c1c1e;
  --bg-subtle: #0e0e10;
  --bg-input: #1c1c1e;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #77777c;
  --border: rgba(255, 255, 255, .11);
  --border-strong: rgba(255, 255, 255, .21);
  --accent: #0a84ff;
  --accent-hover: #3a9dff;
  --accent-press: #5db0ff;
  --accent-tint: rgba(10, 132, 255, .18);
  --success: #30d158;
  --success-tint: rgba(48, 209, 88, .18);
  --danger: #ff453a;
  --danger-tint: rgba(255, 69, 58, .18);
  --shadow: 0 12px 34px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  [data-theme="auto"] {
    --bg: #000;
    --bg-elevated: #1c1c1e;
    --bg-subtle: #0e0e10;
    --bg-input: #1c1c1e;
    --text: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #77777c;
    --border: rgba(255, 255, 255, .11);
    --border-strong: rgba(255, 255, 255, .21);
    --accent: #0a84ff;
    --accent-hover: #3a9dff;
    --accent-press: #5db0ff;
    --accent-tint: rgba(10, 132, 255, .18);
    --success: #30d158;
    --success-tint: rgba(48, 209, 88, .18);
    --danger: #ff453a;
    --danger-tint: rgba(255, 69, 58, .18);
    --shadow: 0 12px 34px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

*, *::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.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; color: var(--accent-contrast); background: var(--accent); border-radius: 8px; font-weight: 600; }
.skip-link:focus { transform: translateY(0); text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; scroll-margin-top: 60px; }
.section-head { max-width: 640px; margin: 0 auto 42px; text-align: center; }
.section-eyebrow { margin-bottom: 10px; color: var(--accent); font-size: 14px; font-weight: 650; letter-spacing: .01em; }
.section-title { font-size: clamp(30px, 4vw, 42px); font-weight: 730; letter-spacing: -.035em; line-height: 1.1; }
.section-sub { max-width: 580px; margin: 14px auto 0; color: var(--text-secondary); font-size: 18px; }

.note {
  padding: 14px 16px;
  margin-top: 22px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  background: var(--accent-tint);
  font-size: 14px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius-btn);
  font-size: 16px; font-weight: 650; line-height: 1.2; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: not-allowed; opacity: .5; }
.btn-primary { color: var(--accent-contrast); background: var(--accent); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); text-decoration: none; }
.btn-secondary { color: var(--text); background: var(--bg-elevated); border-color: var(--border-strong); }
.btn-secondary:hover:not(:disabled) { background: var(--bg-subtle); text-decoration: none; }
.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover:not(:disabled) { background: var(--bg-subtle); text-decoration: none; }
.btn-danger { color: var(--danger); background: transparent; border-color: var(--border-strong); }
.btn-danger:hover:not(:disabled) { background: var(--danger-tint); text-decoration: none; }
.btn-link { padding-right: 4px; padding-left: 4px; color: var(--text-secondary); }
.btn-link:hover { color: var(--text); text-decoration: none; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 15px; font-size: 15px; }
.btn-lg { padding: 15px 24px; font-size: 17px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.nav { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; 
  /*width: 30px; height: 30px; color: var(--accent); background: var(--accent-tint); border-radius: 9px;*/ }
.brand-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav-link { padding: 8px 10px; border-radius: 8px; color: var(--text-secondary); font-size: 14px; font-weight: 550; }
.nav-link:hover { color: var(--text); background: var(--bg-subtle); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.theme-switch { position: relative; }
.theme-toggle, .nav-burger, .nav-account { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 9px; color: var(--text); background: var(--bg-elevated); }
.theme-toggle:hover, .nav-burger:hover, .nav-account:hover { background: var(--bg-subtle); }
.nav-account { display: none; }
.nav-account svg { width: 20px; height: 20px; }
.theme-toggle[aria-expanded="true"] { background: var(--bg-subtle); border-color: var(--border-strong); }
.theme-toggle-icon { position: relative; width: 20px; height: 20px; }
.theme-toggle-icon .ic { position: absolute; inset: 0; display: none; width: 20px; height: 20px; }
[data-theme="auto"] .theme-toggle-icon .ic-auto,
[data-theme="light"] .theme-toggle-icon .ic-light,
[data-theme="dark"] .theme-toggle-icon .ic-dark { display: block; }
.theme-menu { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; min-width: 188px; display: flex; flex-direction: column; gap: 2px; padding: 6px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.theme-menu[hidden] { display: none; }
.theme-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font-size: 14px; font-weight: 550; text-align: left; }
.theme-option:hover { background: var(--bg-subtle); }
.theme-option:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.theme-option-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--text-secondary); }
.theme-option-icon svg { width: 20px; height: 20px; }
.theme-option-text { flex: 1 1 auto; }
.theme-option-check { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; color: var(--accent); opacity: 0; }
.theme-option-check svg { width: 18px; height: 18px; }
.theme-option[aria-checked="true"] .theme-option-check { opacity: 1; }
.theme-option[aria-checked="true"] { color: var(--text); font-weight: 650; }
.nav-burger { display: none; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 60px);
  min-height: calc(100svh - 60px);
  padding: clamp(86px, 13vw, 130px) 0 clamp(76px, 10vw, 116px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  color: #fff;
  background-color: #10152b;
  background-image: 
    linear-gradient(180deg, rgba(255,255,255, 0), rgba(0,0,0, 0.4), rgba(0,0,0,0.3)), 
    url("../img/hero_day.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
[data-theme="dark"] .hero {
  background-image:
/*    linear-gradient(180deg, rgba(5, 9, 25, .31), rgba(5, 9, 25, .36)),*/
    linear-gradient(180deg, rgba(5, 9, 25, .2), rgba(5, 9, 25, .4), rgba(5, 9, 25, .2)),
    url("../img/hero_night.jpg");
}
@media (prefers-color-scheme: dark) {
  [data-theme="auto"] .hero {
    background-image:
      linear-gradient(180deg, rgba(5, 9, 25, .2), rgba(5, 9, 25, .4), rgba(5, 9, 25, .2)),
      url("../img/hero_night.jpg");
  }
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.hero-title { text-shadow: 0 2px 15px rgba(0, 0, 0, .7); }
.hero-sub { text-shadow: 0 1px 9px rgba(0, 0, 0, 1); }
.hero .btn-link { color: rgba(255, 255, 255, .9); text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-sub {
  text-shadow: none;
}
@media (prefers-color-scheme: dark) {
  [data-theme="auto"] .hero-title,
  [data-theme="auto"] .hero-sub { /*[data-theme="auto"] .hero .btn-link */
    text-shadow: none;
  }
}
.hero .btn-link:hover { color: #fff; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; color: var(--accent); background: var(--accent-tint); border-radius: var(--radius-pill); font-size: 14px; font-weight: 650; }
.hero-eyebrow svg { width: 17px; height: 17px; }

.hero-title { max-width: 810px; margin: 20px auto 0; font-size: clamp(30px, 6.1vw, 55px); font-weight: 600; letter-spacing: -.042em; line-height: 1.08; }

.hero-sub { max-width: 660px; margin: 20px auto 0; color: rgba(255, 255, 255, 1); font-size: clamp(18px, 2.3vw, 22px); line-height: 1.45; }
[data-theme="dark"] .hero-sub { color: rgba(255, 255, 255, .88); }
@media (prefers-color-scheme: dark) {
  [data-theme="auto"] .hero-sub {
    color: rgba(255, 255, 255, .88);
  }
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; padding: 0; margin: 26px 0 0; color: var(--text-tertiary); font-size: 14px; list-style: none; }
.hero-trust li { padding: 0 13px; border-right: 1px solid var(--border-strong); }
.hero-trust li:last-child { border-right: 0; }

.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-elevated); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 17px; color: var(--accent); background: var(--accent-tint); border-radius: 11px; }
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 17px; font-weight: 680; letter-spacing: -.015em; }
.feature-card p { margin-top: 8px; color: var(--text-secondary); font-size: 15px; line-height: 1.5; }

.pricing, .faq-section { background: var(--bg-subtle); }
.pricing-card { max-width: 470px; margin: 0 auto; padding: 34px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-elevated); box-shadow: var(--shadow); text-align: center; }
.price-kicker { color: var(--text-secondary); font-size: 15px; font-weight: 600; }
.price-amount { margin-top: 8px; font-size: clamp(54px, 9vw, 72px); font-weight: 760; letter-spacing: -.055em; line-height: 1; }
.price-amount .cur { margin-left: 5px; color: var(--text-secondary); font-size: .47em; font-weight: 650; vertical-align: middle; }
.price-period { margin-top: 7px; color: var(--text-secondary); font-size: 16px; }
.price-includes { display: grid; gap: 9px; padding: 22px 0; margin: 24px 0 0; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 15px; list-style: none; text-align: left; }
.price-includes li { display: flex; gap: 10px; align-items: flex-start; }
.price-includes li::before { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); content: "✓"; font-size: 11px; font-weight: 800; line-height: 16px; text-align: center; }
.price-reassurance { margin-top: 16px; color: var(--text-tertiary); font-size: 14px; }
.pay-methods { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.pay-logo { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-secondary); font-size: 13px; font-weight: 700; letter-spacing: .02em; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; counter-reset: none; }
.step { position: relative; padding: 4px 28px 4px 0; }
.step:not(:last-child)::after { position: absolute; top: 22px; right: -10px; width: 1px; height: 32px; background: var(--border-strong); content: ""; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%; color: var(--accent); background: var(--accent-tint); font-size: 15px; font-weight: 700; }
.step h3 { font-size: 18px; font-weight: 680; letter-spacing: -.015em; }
.step p { margin-top: 7px; color: var(--text-secondary); font-size: 15px; }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; color: var(--text); font-size: 17px; font-weight: 630; cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q .chev { flex: none; color: var(--text-secondary); transition: transform .2s; }
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 4px 20px; color: var(--text-secondary); font-size: 16px; line-height: 1.6; }
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: 12px; }
.faq-a-lead { color: var(--text); }
.faq-a-list { display: grid; gap: 14px; padding-left: 24px; margin: 16px 0 0; }
.faq-a-list li { padding-left: 4px; }
.faq-a-list strong { color: var(--text); font-weight: 650; }

.site-footer { border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-top: 42px; padding-bottom: 42px; }
.footer-tagline { max-width: 360px; margin-top: 10px; color: var(--text-secondary); font-size: 14px; }
.footer-support { display: grid; grid-template-columns: auto auto; gap: 6px 32px; margin: 0; font-style: normal; }
.footer-label { grid-column: 1 / -1; color: var(--text-tertiary); font-size: 13px; font-weight: 600; }
.footer-contact { display: flex; flex-direction: column; gap: 1px; color: var(--text); font-size: 15px; font-weight: 600; }
.footer-contact:hover { color: var(--accent); text-decoration: none; }
.footer-contact-label { color: var(--text-tertiary); font-size: 12px; font-weight: 500; }

.account-wrap { display: flex; align-items: flex-start; justify-content: center; min-height: calc(100vh - 60px); padding: 56px 20px; }
.auth-card { width: 100%; max-width: 420px; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-elevated); box-shadow: var(--shadow); }
.auth-mark { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; color: var(--accent); background: var(--accent-tint); }
.auth-mark svg { width: 34px; height: 34px; }
.auth-card h1 { font-size: 27px; font-weight: 720; letter-spacing: -.03em; }
.auth-sub { margin-top: 8px; color: var(--text-secondary); font-size: 15px; word-break: break-word; }
.field { display: block; margin-top: 20px; }
.field-label { display: block; margin-bottom: 6px; color: var(--text-secondary); font-size: 13px; font-weight: 650; }
.input { width: 100%; padding: 13px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-btn); color: var(--text); background: var(--bg-input); font-size: 17px; }
.input::placeholder { color: var(--text-tertiary); }
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-tint); }
.code-input { font-variant-numeric: tabular-nums; letter-spacing: .4em; text-align: center; }
.code-note {
margin-top: 12px;
color: var(--text-secondary);
font-size: 14px;
}
.form-row { margin-top: 20px; }
.auth-card form .btn { margin-top: 20px; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 16px; font-size: 14px; }
.auth-links a, .auth-links button { padding: 0; border: 0; color: var(--accent); background: none; font: inherit; cursor: pointer; }
.auth-links a:hover, .auth-links button:hover { text-decoration: underline; }
.form-msg { display: none; padding: 10px 12px; margin-top: 14px; border-radius: 9px; font-size: 14px; }
.form-msg.show { display: block; }
.form-msg.error { color: var(--danger); background: var(--danger-tint); }
.form-msg.info { color: var(--accent); background: var(--accent-tint); }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.account-card { max-width: 560px; }
.account-card .auth-mark { color: var(--success); background: var(--success-tint); }
.account-email { margin-top: 4px; color: var(--text-secondary); font-size: 15px; }
.status-row { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 650; }
.badge-active { color: var(--success); background: var(--success-tint); }
.badge-inactive { color: var(--danger); background: var(--danger-tint); }
.kv-list { display: grid; gap: 1px; overflow: hidden; margin-top: 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--border); }
.kv { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--bg-elevated); }
.kv-label { color: var(--text-secondary); font-size: 15px; }
.kv-value { font-weight: 650; font-variant-numeric: tabular-nums; }
.traffic-bar { height: 8px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: var(--bg-subtle); }
.traffic-bar > span { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--accent); }
.traffic-meta { margin-top: 8px; color: var(--text-tertiary); font-size: 13px; }
.prolong { padding-top: 22px; margin-top: 24px; border-top: 1px solid var(--border); }
.prolong-title { font-size: 16px; font-weight: 650; }
.month-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.month-chip { min-width: 52px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-btn); color: var(--text); background: var(--bg-elevated); font-size: 15px; font-weight: 650; }
.month-chip:hover { background: var(--bg-subtle); }
.month-chip.is-active { border-color: var(--accent); color: var(--accent-contrast); background: var(--accent); }
.prolong-total { margin-top: 14px; color: var(--text-secondary); font-size: 15px; }
.prolong-total b { color: var(--text); font-size: 18px; }
.prolong-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.payment-note { margin-top: 12px; color: var(--text-secondary); font-size: 14px;  }
.get-app { padding-top: 22px; margin-top: 26px; border-top: 1px solid var(--border); }
.get-app h3 { font-size: 16px; font-weight: 650; }
.get-app p { margin-top: 6px; color: var(--text-secondary); font-size: 14px; }
.email-notice .btn, .get-app .btn { margin-top: 16px; }
.app-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--border-strong); border-radius: 11px; color: var(--text); background: var(--bg-elevated); }
.app-badge:hover { background: var(--bg-subtle); text-decoration: none; }
.app-badge .ab-mark { width: 26px; height: 26px; }
.app-badge .ab-text { display: flex; flex-direction: column; line-height: 1.1; }
.app-badge .ab-small { color: var(--text-secondary); font-size: 11px; }
.app-badge .ab-big { font-size: 16px; font-weight: 600; }
.logout-row { display: flex; justify-content: flex-end; margin-top: 24px; }
.back-link { display: inline-block; margin-bottom: 22px; font-size: 14px; }
.antispam-card { max-width: 680px; }
.antispam-card h1 { max-width: 520px; }
.install-card { max-width: 680px; }
.install-loading { color: var(--text-secondary); font-size: 15px; }
.install-platforms { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; margin-top: 26px; border-top: 1px solid var(--border); }
.install-instructions { padding-top: 24px; margin-top: 26px; border-top: 1px solid var(--border); }
.install-instructions h2 { font-size: 18px; font-weight: 680; }
.install-instructions ol { padding-left: 22px; margin: 14px 0 0; }
.install-instructions li { padding-left: 4px; margin-top: 10px; color: var(--text-secondary); font-size: 15px; line-height: 1.5; }
.install-instructions li:first-child { margin-top: 0; }
.install-instructions li strong { color: var(--text); font-weight: 650; }
.install-action { margin-top: 18px; }
.install-note { margin-top: 18px; color: var(--text-secondary); font-size: 15px; line-height: 1.5; }
.install-terminal { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--border); }
.install-terminal .install-note { margin-top: 0; }
.install-command { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-top: 14px; border-radius: 9px; background: var(--bg-subtle); }
.install-command code { flex: 1 1 auto; min-width: 0; overflow-x: auto; color: var(--text); font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: nowrap; }
.copy-command-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--border-strong); border-radius: 8px; color: var(--text-secondary); background: var(--bg-elevated); }
.copy-command-button:hover { color: var(--text); background: var(--bg); }
.copy-command-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.copy-command-button svg { width: 18px; height: 18px; }
.copy-command-button.is-copied { color: var(--success); border-color: var(--success); }
.install-copy-status { min-height: 21px; margin-top: 8px; color: var(--text-secondary); font-size: 13px; }
@media (max-width: 420px) { .install-command { align-items: stretch; flex-direction: column; } .copy-command-button { align-self: flex-end; } }
.antispam-intro { padding: 14px 16px; margin-top: 22px; border-radius: var(--radius-md); color: var(--text-secondary); background: var(--accent-tint); font-size: 14px; }
.antispam-senders { margin-top: 10px; color: var(--text); }
.email-address { white-space: nowrap; font-weight: 650; }
.provider-section { padding-top: 24px; padding-bottom: 0px; margin-top: 26px; border-top: 1px solid var(--border); }
.provider-section h2, .provider-instructions h2 { font-size: 18px; font-weight: 680; }
.provider-section .muted { margin-top: 5px; font-size: 14px; }
.provider-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.provider-button { padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-btn); color: var(--text); background: var(--bg-elevated); font-size: 14px; }
.provider-button:hover { background: var(--bg-subtle); }
.provider-button.is-active { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }
.provider-instructions { padding-top: 24px; margin-top: 26px; border-top: 1px solid var(--border); }
.provider-instructions ol { padding-left: 22px; margin: 14px 0 0; }
.provider-instructions li { padding-left: 4px; margin-top: 10px; color: var(--text-secondary); font-size: 15px; }
.provider-instructions li:first-child { margin-top: 0; }
.provider-instructions .email-address { color: var(--text); }
.antispam-good-practices { padding: 12px 14px; margin-top: 20px; border-radius: 9px; color: var(--text-secondary); background: var(--bg-subtle); font-size: 14px; }
.antispam-good-practices strong { color: var(--text); }
.antispam-source { margin-top: 16px; font-size: 14px; }

/* Legal (privacy policy) */
.legal-wrap { display: flex; justify-content: center; padding: 56px 20px 88px; }
.legal-card { width: 100%; max-width: 780px; }
.legal-eyebrow { color: var(--accent); font-size: 14px; font-weight: 650; letter-spacing: .01em; }
.legal-card h1 { margin-top: 10px; font-size: clamp(30px, 4.5vw, 40px); font-weight: 730; letter-spacing: -.035em; line-height: 1.1; }
.legal-updated { margin-top: 8px; color: var(--text-tertiary); font-size: 14px; }
.legal-lead { margin-top: 26px; color: var(--text-secondary); font-size: 17px; line-height: 1.6; }
.legal-card h2 { margin-top: 34px; font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.legal-card p { margin-top: 12px; color: var(--text-secondary); font-size: 16px; line-height: 1.65; }
.legal-card ul { padding-left: 22px; margin-top: 12px; }
.legal-card li { margin-top: 8px; color: var(--text-secondary); font-size: 16px; line-height: 1.6; }
.legal-card li:first-child { margin-top: 0; }
.legal-card li strong { color: var(--text); font-weight: 650; }
.legal-contact { margin-top: 16px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); font-style: normal; }
.legal-contact p { margin-top: 4px; color: var(--text); }
.legal-contact p:first-child { margin-top: 0; font-weight: 650; }
.legal-contact a { font-weight: 600; }

/* Footer legal column */
.footer-legal { display: flex; flex-direction: column; gap: 8px; }

.center { text-align: center; }
.muted { color: var(--text-secondary); }
.hide { display: none !important; }
.mt-18 { margin-top: 18px; }
.mt-32 { margin-top: 32px; }
.kv-stacked { flex-direction: column; align-items: stretch; gap: 8px; }
.kv-split { display: flex; justify-content: space-between; gap: 12px; }

@media (max-width: 860px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 60px 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--border); background: var(--bg); box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-link { padding: 14px 8px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-burger { display: inline-flex; }
  .nav-account { display: inline-flex; }
  .nav-cta { display: none; }
  section { padding: 64px 0; }
  .hero {
    padding-top: max(82px, env(safe-area-inset-top));
    padding-bottom: max(70px, env(safe-area-inset-bottom));
  }
  .hero-title br { display: none; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { padding-right: 0; }
  .step:not(:last-child)::after { top: auto; right: auto; bottom: -18px; left: 18px; width: 1px; height: 10px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 28px; margin-top: 21px; margin-bottom: 21px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .section-sub { font-size: 17px; }
  .hero-trust { display: grid; gap: 7px; }
  .hero-trust li { padding: 0; border: 0; }
  .pricing-card { padding: 28px 22px; }
  .auth-card { padding: 26px 22px; }
  .legal-wrap { padding: 40px 20px 72px; }
  .footer-support { grid-template-columns: 1fr; gap: 12px; }
  .footer-label { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
