/* requestguard.ch */
@font-face { font-family: "Sora"; font-weight: 400; font-display: swap; src: url("sora-400.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("sora-600.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("sora-700.woff2") format("woff2"); }

:root {
  --paper: #f5f6f2;
  --paper-2: #eceee8;
  --ink: #15171b;
  --ink-2: #4a4f57;
  --line: #ccd3cd;
  --green: #2fbf71;
  --green-ink: #17844a;
  --bug: #eb6834;
  --bug-soft: #fde7dc;
  --night: #15171b;
  --night-2: #1f2228;
  --display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--display); text-decoration: none; border-radius: 999px; padding: 12px 20px; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-green { background: var(--green); color: #07130c; }
.btn-green:hover { background: #3fd182; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(245, 246, 242, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 19px/1 var(--display); letter-spacing: -.02em; }
.logo img { border-radius: 9px; }
.logo b { color: var(--green-ink); font-weight: 700; }
.logo-light { color: #fff; }
.logo-light b { color: var(--green); }
.nav nav { display: flex; gap: 22px; margin-left: 12px; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-cta .link { color: var(--ink); text-decoration: none; font-size: 15px; }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { font: 700 clamp(40px, 5.4vw, 66px)/1.04 var(--display); letter-spacing: -.035em; margin: 0 0 22px; max-width: 12ch; }
.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 30px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 22px 0 0; font-size: 15px; color: var(--ink-2); }

/* The live feed: the one loud element on the page */
.feed { margin: 0; background: var(--night); color: #e8eae6; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(21, 23, 27, .55); }
.feed-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--night-2); border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }
.feed-live { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 600; }
.feed-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47, 191, 113, .18); }
.feed-site { color: #9aa1a8; font-family: var(--mono); }
.feed-cat { margin-left: auto; border-radius: 7px; }
.feed-rows { list-style: none; margin: 0; padding: 8px 0; font: 13px/1.35 var(--mono); min-height: 344px; }
.feed-rows li { display: grid; grid-template-columns: 64px 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 18px; border-left: 3px solid transparent; }
.feed-rows time { color: #6f767d; }
.feed-rows b { color: #9aa1a8; font-weight: 600; }
.feed-rows code { color: #d6dad5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-rows .v { font: 600 12px/1 var(--body); padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.feed-rows .v.ok { color: #8fd3ad; background: rgba(47, 191, 113, .1); }
.feed-rows li.bad { background: rgba(235, 104, 52, .1); border-left-color: var(--bug); }
.feed-rows li.bad code { color: #ffb08f; }
.feed-rows li.bad .v { background: var(--bug); color: #1b0b03; }
.feed-rows li.new { animation: rowin .5s ease-out; }
@keyframes rowin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .feed-rows li.new { animation: none; } }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--paper-2); }
.h2 { font: 700 clamp(30px, 3.6vw, 44px)/1.1 var(--display); letter-spacing: -.03em; margin: 0 0 16px; max-width: 20ch; }
.sub { color: var(--ink-2); max-width: 40em; margin: 0 0 44px; font-size: 18px; }

/* Attacks: a two-column reference list, separated by lines, not cards */
.attacks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 2px solid var(--ink); }
.attack { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.attack h3 { font: 600 21px/1.25 var(--display); letter-spacing: -.015em; margin: 0 0 6px; }
.attack p { margin: 0 0 14px; color: var(--ink-2); font-size: 16px; }
.ex { display: block; font: 13px/1.5 var(--mono); color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; overflow-x: auto; white-space: nowrap; }
.ex span { color: var(--ink); font-weight: 600; margin-right: 6px; }
.ex mark { background: var(--bug-soft); color: #9a3b12; padding: 1px 3px; border-radius: 3px; }

/* How it works */
.how { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; }
.steps-list li { counter-increment: s; position: relative; padding: 0 0 26px 58px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--night); color: var(--green); font: 700 17px/38px var(--display); text-align: center; }
.steps-list li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--line); }
.steps-list h3 { font: 600 19px/1.3 var(--display); margin: 4px 0 4px; }
.steps-list p { margin: 0; color: var(--ink-2); font-size: 16px; }
.shot { margin: 0; }
.shot img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(21, 23, 27, .45); }
.shot figcaption { color: var(--ink-2); font-size: 14px; margin-top: 12px; }

/* Pricing */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: center; }
.incl { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.incl li { padding-left: 30px; position: relative; }
.incl li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 3px solid var(--green-ink); border-bottom: 3px solid var(--green-ink); transform: rotate(-45deg); }
.calc { background: var(--night); color: #fff; border-radius: 22px; padding: 34px; }
.calc label { font: 600 16px/1.3 var(--display); }
.calc-row { display: flex; align-items: center; gap: 16px; margin: 16px 0 24px; }
.calc input[type=range] { flex: 1; accent-color: var(--green); height: 28px; }
.calc output { font: 700 28px/1 var(--display); min-width: 2.2ch; text-align: right; }
.calc-total { margin: 0; font-family: var(--display); }
.calc-total strong { font-size: 56px; letter-spacing: -.03em; }
.calc-total span { color: #b9beb7; font-size: 17px; }
.calc-unit { color: #b9beb7; font-size: 14px; margin: 4px 0 24px; }
.pay { color: #b9beb7; font-size: 13.5px; margin: 14px 0 0; text-align: center; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; }
.faq-list { border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 18px/1.35 var(--display); letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 26px/1 var(--display); color: var(--green-ink); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 22px; color: var(--ink-2); max-width: 44em; }

/* Closing call */
.cta { background: var(--night); color: #fff; padding: 88px 0; }
.cta-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.cta img { border-radius: 16px; }
.cta h2 { font: 700 clamp(30px, 4vw, 48px)/1.1 var(--display); letter-spacing: -.03em; margin: 0; }

/* Footer */
.foot { background: #0e1013; color: #b9beb7; padding: 56px 0 28px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot p { margin: 12px 0 0; max-width: 28em; }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot nav a { color: #e8eae6; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font: 700 40px/1.1 var(--display); letter-spacing: -.03em; margin: 0 0 8px; }
.legal h2 { font: 600 21px/1.3 var(--display); margin: 34px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .placeholder { background: var(--bug-soft); color: #9a3b12; padding: 0 4px; border-radius: 3px; }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--night); color: #fff; padding: 12px 18px; border-radius: 10px; margin: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }

@media (max-width: 980px) {
  .nav nav { display: none; }
  .hero-in, .how, .price, .faq { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding: 44px 0 64px; }
  .attacks { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-cta .link { display: none; }
  .nav-cta .btn { padding: 10px 14px; font-size: 14px; }
  .feed-rows li { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .feed-rows time { display: none; }
  .feed-rows .v { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
  .calc { padding: 24px; }
  .calc-total strong { font-size: 44px; }
  .foot-in { grid-template-columns: 1fr; }
}
