:root {
  --ink: #0f1b33;
  --ink-2: #44506a;
  --ink-3: #6b7690;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --blue: #4565ad;
  --blue-600: #3a5491;
  --blue-700: #2f4577;
  --blue-50: #eef2fa;
  --green: #95c11f;
  --green-ink: #4f6b0c;
  --safe: #2e7d32;
  --safe-bg: #e8f5e9;
  --caution: #a65300;
  --caution-dot: #f59e0b;
  --caution-bg: #fff4e0;
  --danger: #c62828;
  --danger-bg: #fdecea;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 51, .06);
  --shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 12px 32px rgba(15, 27, 51, .10);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: Consolas, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-700); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 3.2vw + 1rem, 3.5rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.4rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--ink-3); font-size: .93rem; }
.eyebrow { color: var(--blue); font-weight: 650; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 620; line-height: 1.2; text-decoration: none;
  padding: .8em 1.3em; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-700); }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { background: var(--blue-50); color: var(--blue-700); }
.btn-sm { padding: .55em 1em; font-size: .92rem; }
.btn-lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55em; text-decoration: none; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-text { font-weight: 750; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo-text small { font-weight: 500; font-size: .78rem; color: var(--ink-3); letter-spacing: 0; margin-left: .15em; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 560; font-size: .97rem; }
.main-nav a:not(.btn):hover { color: var(--blue); }
.main-nav a.lang-switch { font-size: .88rem; font-weight: 620; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: .3em .85em; }
.main-nav a.lang-switch:hover { border-color: var(--blue); color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(69, 101, 173, .14), transparent 70%),
    radial-gradient(600px 300px at 10% 100%, rgba(149, 193, 31, .10), transparent 70%),
    linear-gradient(180deg, var(--blue-50), #fff 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 .hl { color: var(--blue); display: block; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45em; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--safe-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232e7d32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.hero-visual { position: relative; }
.window {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #0f1b33; color: #c9d2e6; font-size: .8rem; }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a4867; }
.window-bar b { margin-left: 10px; font-weight: 600; }
.window-body { display: grid; grid-template-columns: 26% 1fr 190px; height: 400px; }
.mail-list { border-right: 1px solid var(--line); background: var(--bg-soft); padding: 10px 8px; }
.mail-item { padding: 10px 8px; border-radius: 8px; margin-bottom: 4px; }
.mail-item.active { background: #dfe6f5; }
.mail-item i { display: block; width: 55%; height: 8px; border-radius: 4px; background: #b9c3d8; margin-bottom: 8px; }
.mail-item em, .mail-read em { display: block; height: 7px; border-radius: 4px; background: #d8deea; margin-bottom: 7px; }
.mail-item em.short, .mail-read em.short { width: 60%; }
.mail-read { padding: 18px 18px; overflow: hidden; }
.mail-from { font-size: .78rem; color: var(--ink-2); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-subject { font-weight: 650; font-size: .95rem; margin-bottom: 16px; }
.mail-btn { display: inline-block; background: #d64545; color: #fff; font-size: .75rem; font-weight: 600; padding: 7px 12px; border-radius: 6px; margin: 8px 0 14px; }
.mail-pane { width: 190px; height: 400px; object-fit: cover; object-position: top; border-left: 1px solid var(--line); }
.verdict-chip {
  position: absolute; left: -28px; bottom: -26px; max-width: 290px;
  background: #fff; border-radius: 12px; padding: 12px 16px 12px 46px;
  box-shadow: var(--shadow); border: 1px solid var(--line); font-size: .9rem; line-height: 1.4;
}
.verdict-chip strong { display: block; font-size: 1rem; }
.verdict-chip::before { content: "!"; position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.verdict-chip.verdict-caution { border-left: 4px solid var(--caution-dot); }
.verdict-chip.verdict-caution strong { color: var(--caution); }
.verdict-chip.verdict-caution::before { background: var(--caution-bg); color: var(--caution); }

/* Verdict pills */
.verdicts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.verdict { display: inline-flex; align-items: center; gap: .45em; font-size: .85rem; font-weight: 650; padding: .3em .75em; border-radius: 999px; line-height: 1.3; }
.verdict::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.verdict-safe { background: var(--safe-bg); color: var(--safe); }
.verdict-safe::before { background: var(--safe); }
.verdict-caution { background: var(--caution-bg); color: var(--caution); }
.verdict-caution::before { background: var(--caution-dot); }
.verdict-danger { background: var(--danger-bg); color: var(--danger); }
.verdict-danger::before { background: var(--danger); }
.verdict-chip::after { content: none; }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.trust-row p { margin: 0; color: var(--ink-2); font-size: .95rem; padding-left: 16px; border-left: 3px solid var(--green); }
.trust-row strong { color: var(--ink); }

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.page-top { padding-top: 64px; }
.section > .wrap > h2 { max-width: 22em; margin-bottom: 1.4em; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.steps p { color: var(--ink-2); margin: 0; }
.step-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-50); color: var(--blue); font-weight: 750; margin-bottom: 16px; }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.showcase-copy p { color: var(--ink-2); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 14px; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%234565ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checklist strong { color: var(--ink); }
.showcase-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.shot { margin: 0; }
.shot img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); max-height: 520px; width: 100%; object-fit: cover; object-position: top; background: #fff; }
.shot:nth-child(2) { margin-top: 48px; }
.shot figcaption { margin-top: 12px; font-size: .9rem; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; position: relative; }
.feature::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--green); margin-bottom: 18px; }
.feature p { color: var(--ink-2); margin: 0; font-size: .97rem; }

/* Pricing */
.billing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 32px; }
.billing-toggle button { font: inherit; font-size: .93rem; font-weight: 600; border: 0; background: none; color: var(--ink-2); padding: .5em 1.1em; border-radius: 999px; cursor: pointer; }
.billing-toggle button.is-active { background: var(--blue); color: #fff; }
.billing-toggle .save { font-size: .78rem; font-weight: 700; color: var(--green-ink); background: #eef6d9; padding: .1em .5em; border-radius: 999px; margin-left: .3em; }
.billing-toggle button.is-active .save { background: rgba(255, 255, 255, .2); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; position: relative; }
.plan h3 { font-size: 1.3rem; margin-bottom: .2em; }
.plan-for { color: var(--ink-3); font-size: .93rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 28px; border-top: 1px solid var(--line); position: relative; font-size: .97rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l3 3 6-6' fill='none' stroke='%2395c11f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.price { font-size: 1rem; margin: 18px 0 24px; color: var(--ink-2); }
.price .amount { font-size: 2.6rem; font-weight: 760; color: var(--ink); letter-spacing: -0.03em; }
.price small { display: block; font-size: .85rem; color: var(--ink-3); }
.price-text { font-size: 1.6rem; font-weight: 720; color: var(--ink); margin-top: 18px; }
.plan-featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; padding: .25em .8em; border-radius: 999px; margin: 0; }
.price-note { margin-top: 28px; color: var(--ink-3); font-size: .93rem; max-width: 52em; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap > div:first-child p { color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-2); padding-right: 24px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--blue-700), var(--blue)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner p { margin: 0; color: #d9e1f2; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--ink); color: #b7c1d6; font-size: .94rem; }
.site-footer a { color: #dfe6f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.logo-footer { color: #fff; }
.logo-footer .logo-text small { color: #8d99b3; }
.footer-tagline { margin-top: 14px; max-width: 18em; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #8d99b3; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.badges { list-style: none; margin: 0; padding: 0 0 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.badges li { margin: 0; background: #fff; border-radius: 10px; height: 92px; padding: 10px 18px; display: flex; align-items: center; }
.badges img { height: 72px; width: auto; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #26334f; padding-top: 22px; padding-bottom: 28px; font-size: .88rem; color: #8d99b3; }

/* Cards, forms, notices */
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-sm); }
.card h2 { font-size: 1.4rem; margin-top: 1.4em; }
.card h2:first-child, .card .notice + h2, .notice h1, .notice h2 { margin-top: 0; }
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.signup-card h2 { margin-top: 0; }
.mini-steps { padding-left: 1.2em; margin: 28px 0; color: var(--ink-2); }
.mini-steps li { margin-bottom: 12px; padding-left: 4px; }
.mini-steps strong { color: var(--ink); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 620; font-size: .95rem; margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .7em .85em; border: 1.5px solid #cfd6e3; border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(69, 101, 173, .15); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field-hint { font-size: .85rem; color: var(--ink-3); margin: 6px 0 0; }
.field-error { font-size: .88rem; color: var(--danger); margin: 6px 0 0; font-weight: 560; }
.optional { font-weight: 400; color: var(--ink-3); }
.field-check label { display: flex; gap: .6em; align-items: flex-start; font-weight: 450; font-size: .93rem; color: var(--ink-2); }
.field-check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { background: var(--blue-50); border-radius: 10px; padding: 16px 18px; margin: 0 0 20px; color: var(--ink); font-size: .97rem; }
.notice p:last-child { margin-bottom: 0; }
.notice-success { background: var(--safe-bg); border-left: 4px solid var(--safe); }
.notice-error { background: var(--danger-bg); border-left: 4px solid var(--danger); color: #7f1d1d; }
.copy-box { display: flex; align-items: center; gap: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 10px 10px 14px; margin: 12px 0 18px; }
.copy-box code { flex: 1; min-width: 0; font-family: var(--mono); font-size: .9rem; word-break: break-all; color: var(--ink); }

/* Prose pages */
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; color: var(--ink-2); }
.prose p { color: var(--ink-2); }
.prose .lead { color: var(--ink-2); }
.prose strong { color: var(--ink); }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid, .showcase, .faq-wrap, .signup-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 48px; }
  .hero-visual { max-width: 620px; }
  .verdict-chip { left: 12px; }
  .features { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 18px;
    display: none;
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .main-nav a.lang-switch { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 4px; font-size: .97rem; }
  .main-nav .btn { margin-top: 14px; }
  .steps { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; gap: 12px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero-cta .btn { width: 100%; }
  .window-body { grid-template-columns: 1fr 150px; height: 330px; }
  .mail-list { display: none; }
  .mail-pane { width: 150px; height: 330px; }
  .verdict-chip { position: relative; left: 0; bottom: 0; margin: -18px 12px 0; max-width: none; }
  .features { grid-template-columns: 1fr; }
  .showcase-shots { gap: 12px; }
  .shot:nth-child(2) { margin-top: 28px; }
  .shot img { max-height: 380px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .copy-box { flex-direction: column; align-items: stretch; }
  .badges li { height: 76px; padding: 8px 12px; }
  .badges img { height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
