/* CheckIfSiteDown — styles */
:root {
  --bg: #F4F7FD;
  --surface: #FFFFFF;
  --ink: #0B1324;
  --ink-2: #26324A;
  --muted: #5B6680;
  --line: #E2E8F3;
  --line-2: #CBD5E8;

  --brand: #1E5EFF;
  --brand-600: #164BE0;
  --brand-700: #1240C0;
  --brand-50: #EDF2FF;
  --brand-100: #DCE6FF;
  --ring: rgba(30, 94, 255, .28);

  --up: #12A150;
  --up-700: #0B7A3B;
  --up-50: #E7F7EE;
  --down: #E5383B;
  --down-700: #B71F22;
  --down-50: #FDECEC;
  --amber-50: #FFF6E6;
  --amber-700: #8A5300;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 19, 36, .06);
  --shadow: 0 1px 2px rgba(11, 19, 36, .05), 0 8px 24px rgba(11, 19, 36, .06);
  --shadow-hero: 0 2px 4px rgba(30, 94, 255, .06), 0 24px 60px -12px rgba(30, 94, 255, .28);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-600); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--brand-700); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--mono); font-size: .9em; background: var(--brand-50); color: var(--ink-2); padding: .1em .35em; border-radius: 6px; word-break: break-word; }
kbd { border: 1px solid var(--line-2); border-bottom-width: 2px; background: #fff; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.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; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip-link:focus { top: 8px; color: #fff; }

/* ---------- Header ---------- */
.site-header { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.logo-mark { width: 30px; height: 30px; }
.wordmark { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; }
.wordmark span { color: var(--brand); }
.main-nav { display: flex; gap: 4px; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 10px; }
.main-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.main-nav a.is-active { color: var(--brand-700); background: var(--brand-50); }

/* ---------- Buttons ---------- */
.btn { font: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; cursor: pointer; font-weight: 700; text-decoration: none; transition: background .15s, transform .1s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px -4px rgba(30,94,255,.55); padding: 12px 20px; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink-2); border: 1.5px solid var(--line-2); padding: 9px 14px; font-size: .9rem; border-radius: 12px; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-700); }

/* ---------- Hero / checker ---------- */
.hero {
  padding: 22px 0 28px;
  background:
    radial-gradient(900px 340px at 50% -80px, rgba(30,94,255,.13), transparent 70%),
    linear-gradient(var(--bg), var(--bg));
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 4px 11px; border-radius: 999px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(18,161,80,.5); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(18,161,80,.5); } 70% { box-shadow: 0 0 0 7px rgba(18,161,80,0); } 100% { box-shadow: 0 0 0 0 rgba(18,161,80,0); } }
.hero-title { font-size: clamp(1.15rem, 1rem + .9vw, 1.55rem); font-weight: 700; color: var(--ink-2); margin: 4px 0 14px; }

.checker {
  background: var(--surface);
  border: 2px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hero);
  padding: clamp(16px, 2.6vw, 28px);
}
.check-label { display: block; font-weight: 800; font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); margin-bottom: 12px; letter-spacing: -0.01em; }
.check-row { display: flex; gap: 12px; }
.input-shell { position: relative; flex: 1; min-width: 0; }
.input-icon { position: absolute; left: 20px; top: 50%; width: 26px; height: 26px; transform: translateY(-50%); color: var(--brand); pointer-events: none; }
.input-shell input {
  width: 100%;
  height: 76px;
  padding: 0 54px 0 60px;
  font: inherit;
  font-size: clamp(1.15rem, 1rem + .9vw, 1.6rem);
  font-weight: 600;
  color: var(--ink);
  background: #F8FAFF;
  border: 2px solid var(--line-2);
  border-radius: 16px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.input-shell input::placeholder { color: #9AA6BF; font-weight: 500; }
.input-shell input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 5px var(--ring); }
.clear-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--line); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.clear-btn[hidden] { display: none; }
.clear-btn svg { width: 16px; height: 16px; }
.clear-btn:hover { background: var(--line-2); color: var(--ink); }
.btn-check { height: 76px; padding: 0 30px; font-size: 1.2rem; font-weight: 800; border-radius: 16px; min-width: 190px; letter-spacing: -0.01em; }
.btn-arrow { width: 22px; height: 22px; transition: transform .2s; }
.btn-check:hover .btn-arrow { transform: translateX(3px); }
.btn-check[disabled] { opacity: .85; cursor: progress; }
.btn-check .spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.check-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; font-size: .875rem; color: var(--muted); }
.chip { font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1.5px solid var(--line); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-50); }

/* ---------- Result ---------- */
.result { margin-top: 20px; border-top: 1.5px dashed var(--line-2); padding-top: 20px; }
.result-loading { display: flex; align-items: center; gap: 16px; }
.pulse-ring { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-50); position: relative; flex-shrink: 0; display: grid; place-items: center; }
.pulse-ring::before, .pulse-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: ring 1.6s ease-out infinite; }
.pulse-ring::after { animation-delay: .8s; }
.pulse-ring svg { width: 34px; height: 34px; }
@keyframes ring { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.loading-title { font-weight: 800; font-size: 1.2rem; margin: 0; overflow-wrap: anywhere; }
.loading-sub { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.progress { height: 6px; background: var(--brand-50); border-radius: 99px; overflow: hidden; margin-top: 10px; max-width: 360px; }
.progress span { display: block; height: 100%; width: 40%; background: var(--brand); border-radius: 99px; animation: slide 1.2s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

.verdict { display: flex; align-items: center; gap: 18px; animation: pop .35s cubic-bezier(.2,.9,.3,1.3); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.verdict-badge { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; flex-shrink: 0; }
.verdict-badge svg { width: 42px; height: 42px; }
.verdict.is-up .verdict-badge { background: var(--up-50); color: var(--up); box-shadow: inset 0 0 0 2px rgba(18,161,80,.25); }
.verdict.is-down .verdict-badge { background: var(--down-50); color: var(--down); box-shadow: inset 0 0 0 2px rgba(229,56,59,.25); }
.verdict-text { min-width: 0; }
.verdict-title { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.2rem); font-weight: 800; margin: 0; line-height: 1.15; overflow-wrap: anywhere; letter-spacing: -0.025em; }
.verdict-title .word { padding: 0 .18em; border-radius: 8px; }
.verdict.is-up .verdict-title .word { color: var(--up-700); background: var(--up-50); }
.verdict.is-down .verdict-title .word { color: var(--down-700); background: var(--down-50); }
.verdict-headline { margin: 4px 0 0; font-weight: 700; color: var(--ink-2); }

.result-detail { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #F6F8FC; color: var(--ink-2); font-size: .95rem; border-left: 4px solid var(--line-2); }
.result-detail.is-note { background: var(--amber-50); border-left-color: #F0B44C; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.metric { background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.metric dt { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.metric dd { margin: 2px 0 0; font-weight: 800; font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.result-actions .btn svg { width: 16px; height: 16px; }
.result-error { display: flex; gap: 12px; align-items: flex-start; color: var(--down-700); font-weight: 600; }
.result-error svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Recent ---------- */
.recent { padding: 8px 0 36px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2 { font-size: 1.25rem; margin: 0; }
.recent-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.recent-empty { grid-column: 1 / -1; background: var(--surface); border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 18px; color: var(--muted); text-align: center; }
.recent-item { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s, box-shadow .15s; }
.recent-item:hover { border-color: var(--brand); color: var(--ink); box-shadow: var(--shadow); transform: translateY(-1px); }
.recent-item.is-new { animation: flash 1.6s ease-out; }
@keyframes flash { 0% { background: var(--brand-50); border-color: var(--brand); } 100% { background: var(--surface); } }
.status-icon { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; }
.status-icon::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--icon) center/contain no-repeat; mask: var(--icon) center/contain no-repeat; }
.status-icon.is-up { background: var(--up-50); color: var(--up); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5 14 9H10v5.5H6V9H2z'/%3E%3C/svg%3E"); }
.status-icon.is-down { background: var(--down-50); color: var(--down); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 14.5 2 7h4V1.5h4V7h4z'/%3E%3C/svg%3E"); }
.recent-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.recent-domain { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-state { font-size: .8rem; font-weight: 700; }
.recent-state.is-up { color: var(--up-700); }
.recent-state.is-down { color: var(--down-700); }
.recent-time { font-size: .82rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Home sections ---------- */
.section-title { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); }
.how { padding: 36px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.how-card { background: var(--bg); border-radius: var(--radius); padding: 20px; }
.how-card h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.how-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.how-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; }
.faq-teaser { padding: 40px 0 20px; }
.guides-teaser { padding: 20px 0 48px; }
.more-link { margin-top: 14px; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; }
.faq-item[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer { padding: 0 18px 4px; color: var(--ink-2); }

/* ---------- Guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.guide-card:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-card h3 { font-size: 1.08rem; margin: 10px 0 8px; }
.guide-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.guide-card { overflow: hidden; }
.guide-thumb { display: block; width: calc(100% + 40px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -20px -20px 16px; border-bottom: 1px solid var(--line); background: #F4F7FD; }
.guide-figure { margin: 0 0 1.6em; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #F4F7FD; }
.guide-figure img { display: block; width: 100%; height: auto; }
.guide-figure a { display: block; cursor: zoom-in; }
.tap-hint { display: none; font-size: .8rem; color: var(--muted); text-align: center; padding: 6px 10px 8px; border-top: 1px solid var(--line); background: #fff; }
@media (max-width: 720px) { .tap-hint { display: block; } }
.guide-tag { align-self: flex-start; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-700); background: var(--brand-50); padding: 3px 9px; border-radius: 6px; }
.guide-meta { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* ---------- Content pages ---------- */
.page-hero { padding: 32px 0 8px; }
.page-hero h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; }
.page-hero .lead { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.page-body { padding: 8px 0 48px; }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 44px); color: var(--ink-2); font-size: 1.04rem; line-height: 1.75; }
.prose h2 { font-size: 1.4rem; color: var(--ink); margin: 1.8em 0 .5em; }
.prose h3 { font-size: 1.12rem; color: var(--ink); margin: 1.5em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose .lede { font-size: 1.15rem; color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .9rem; margin: 0 0 6px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: #F6F8FC; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.prose tr:last-child td { border-bottom: 0; }
.tag-up, .tag-down { display: inline-block; font-size: .78rem; font-weight: 800; padding: 1px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; vertical-align: 1px; }
.tag-up { background: var(--up-50); color: var(--up-700); }
.tag-down { background: var(--down-50); color: var(--down-700); }
.related { margin-top: 28px; }
.related h2 { font-size: 1.2rem; }

.mini-check { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 28px; background: linear-gradient(135deg, var(--brand) 0%, #3D74FF 100%); color: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-hero); }
.mini-check h2 { font-size: 1.2rem; margin: 0 0 4px; color: #fff; }
.mini-check p { margin: 0; color: rgba(255,255,255,.85); }
.mini-form { display: flex; gap: 8px; flex: 1; min-width: 260px; max-width: 440px; }
.mini-form input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; font: inherit; font-weight: 600; font-size: 1.05rem; border: 0; border-radius: 12px; outline: none; }
.mini-form input:focus { box-shadow: 0 0 0 4px rgba(255,255,255,.5); }
.mini-form .btn { height: 52px; background: var(--ink); box-shadow: none; padding: 0 22px; }
.mini-form .btn:hover { background: #000; }

/* ---------- Affiliate / VPN ---------- */
.disclosure { font-size: .85rem; line-height: 1.55; color: var(--muted); background: #F6F8FC; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.vpn-picks { margin: 2em 0; padding: clamp(16px, 3vw, 24px); background: linear-gradient(180deg, var(--brand-50), #fff); border: 1.5px solid var(--brand-100); border-radius: var(--radius-lg); }
.prose .vpn-picks-title { margin: 0 0 14px; font-size: 1.2rem; }
.vpn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vpn-card { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: .94rem; line-height: 1.55; }
.vpn-card h4 { margin: 8px 0 6px; font-size: 1.15rem; color: var(--ink); }
.vpn-card p { color: var(--muted); margin-bottom: .6em; }
.prose .vpn-card ul { padding-left: 1.1em; margin: 0 0 14px; flex: 1; }
.prose .vpn-card li { margin: .2em 0; }
.vpn-badge { align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--up-700); background: var(--up-50); padding: 3px 9px; border-radius: 6px; }
.prose .vpn-cta { color: #fff; text-decoration: none; width: 100%; padding: 12px 8px; font-size: .92rem; white-space: nowrap; }
.vpn-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.still-blocked { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; background: var(--brand-50); border: 1.5px solid var(--brand-100); border-radius: 14px; font-size: .95rem; color: var(--ink-2); }
.still-blocked div { flex: 1; min-width: 220px; }
.still-blocked .btn { padding: 10px 16px; font-size: .92rem; white-space: nowrap; }

/* ---------- Forms (contact) ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #FAFBFF; color: var(--ink); outline: none; width: 100%; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--ring); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-weight: 600; }
.alert-ok { background: var(--up-50); color: var(--up-700); }
.alert-err { background: var(--down-50); color: var(--down-700); }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.side-card h2 { font-size: 1.05rem; }
.side-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0B1324; color: #C7D0E4; padding: 40px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: #fff; }
.footer-brand .wordmark span { color: #7EA2FF; }
.footer-brand p { margin-top: 10px; font-size: .92rem; color: #9AA7C2; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-cols h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #7E8BA8; margin: 0 0 10px; }
.footer-cols a { display: block; color: #DCE3F2; text-decoration: none; font-size: .94rem; padding: 3px 0; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid #1F2A40; }
.footer-legal p { font-size: .82rem; color: #7E8BA8; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .how-grid, .guide-grid, .vpn-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .check-row { flex-direction: column; gap: 10px; }
  .input-shell input { height: 64px; padding-left: 52px; }
  .input-icon { left: 17px; width: 24px; height: 24px; }
  .btn-check { height: 60px; width: 100%; min-width: 0; }
  .recent-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { padding: 16px 0 22px; }
  .header-inner { height: 56px; gap: 6px; }
  .brand { gap: 7px; }
  .wordmark { font-size: 1.02rem; }
  .logo-mark { width: 26px; height: 26px; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 7px 7px; font-size: .86rem; }
  #recent-updated { display: none; }
  .metric dd { white-space: normal; overflow-wrap: anywhere; font-size: 1rem; }
  .verdict { gap: 14px; }
  .verdict-badge { width: 60px; height: 60px; border-radius: 18px; }
  .verdict-badge svg { width: 32px; height: 32px; }
  .footer-cols { gap: 28px; }
}
@media (max-width: 400px) {
  .main-nav .nav-contact { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
