/* One Step Ahead Security — site styles. Look modeled on the Webstudio "Increasy" template: near-black, faint grid, lime accent. */
:root {
  --bg: #0a0a0a;
  --surface: #131313;
  --surface-2: #1a1a1a;
  --line: rgba(255, 255, 255, .09);
  --ink: #f4f4f2;
  --muted: #9a9a96;
  --dim: #6f6f6b;
  --lime: #d4ff3a;
  --lime-ink: #0d1100;
  --high: #ff6b5a;
  --mid: #ffb547;
  --low: #7cc4ff;
  --r: 14px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
  overflow-x: hidden;
}
body::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 900px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(600px 400px at 18% 0, rgba(255,255,255,.07), transparent 70%),
    radial-gradient(600px 400px at 82% 0, rgba(255,255,255,.07), transparent 70%),
    linear-gradient(to bottom, transparent 60%, var(--bg));
}
a { color: inherit; }
ul, ol { list-style: none; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--lime-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Nav */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav {
  max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(16,16,16,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.logo svg { color: var(--lime); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--lime); color: var(--lime-ink); font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 10px; text-decoration: none; border: 1px solid var(--lime);
  box-shadow: 0 0 0 4px rgba(212,255,58,.12), 0 8px 30px rgba(212,255,58,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 5px rgba(212,255,58,.16), 0 10px 36px rgba(212,255,58,.26); }
.btn-sm { padding: 8px 14px; font-size: 14px; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--lime); box-shadow: none; }

/* Type */
.badge {
  display: inline-block; font-size: 13px; font-weight: 500; color: var(--lime);
  background: rgba(212,255,58,.08); border: 1px solid rgba(212,255,58,.22);
  padding: 5px 12px; border-radius: 999px;
}
h1, h2 { font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
h1 { font-size: clamp(38px, 6.4vw, 68px); max-width: 15ch; margin: 22px auto 0; }
h2 { font-size: clamp(30px, 4.4vw, 46px); max-width: 24ch; margin-top: 16px; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.dim { color: var(--dim); }
.lead { font-size: 18px; color: var(--muted); max-width: 52ch; margin: 22px auto 0; }
.micro { font-size: 13px; color: var(--dim); }
.sub { color: var(--muted); max-width: 60ch; margin: 18px auto 0; font-size: 17px; }
.sub a { color: var(--lime); }
.faq-side .sub { margin-left: 0; font-size: 15px; }
.why .card h3 { font-size: 20px; }
.lang { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; }
.lang:hover { color: var(--ink); border-color: var(--lime); }

/* Hero */
.hero { position: relative; text-align: center; padding: 150px 16px 40px; max-width: 1160px; margin: 0 auto; }
.hero-cta { margin-top: 32px; display: grid; justify-items: center; gap: 12px; }

.float {
  position: absolute; width: 230px; text-align: left; padding: 16px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.float p { font-size: 14px; font-weight: 600; margin: 10px 0 4px; line-height: 1.35; }
.float small { font-size: 12px; color: var(--dim); }
.float-l { left: 0; top: 270px; transform: rotate(-9deg); }
.float-r { right: 0; top: 230px; transform: rotate(8deg); }

.sev { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.sev-high { color: var(--high); background: rgba(255,107,90,.12); }
.sev-mid { color: var(--mid); background: rgba(255,181,71,.12); }
.sev-low { color: var(--low); background: rgba(124,196,255,.12); }

/* Report mock (the glowing card) */
.report {
  margin: 72px auto 0; max-width: 900px; text-align: left; border-radius: 18px;
  border: 2px solid var(--lime);
  box-shadow: 0 0 0 6px rgba(212,255,58,.06), 0 0 60px rgba(212,255,58,.28), 0 30px 80px rgba(0,0,0,.6);
  background: linear-gradient(180deg, #232b06 0%, #121405 45%, #0b0b0b 100%);
  overflow: hidden;
}
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.report-head small { display: block; color: var(--muted); font-size: 13px; }
.report-head strong { font-size: 16px; }
.tag { font-size: 11px; color: var(--muted); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.report-body { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 28px 24px 30px; }
.score { position: relative; display: grid; justify-items: center; align-content: start; }
.score svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: rgba(255,255,255,.08); }
.ring { stroke: var(--lime); stroke-linecap: round; }
.score-num { position: absolute; top: 48px; display: flex; align-items: baseline; gap: 2px; }
.score-num b { font-size: 42px; letter-spacing: -.03em; }
.score-num span { color: var(--dim); font-size: 14px; }
.delta { margin-top: 12px; font-size: 13px; color: var(--lime); }
.findings { display: grid; gap: 10px; }
.findings li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.findings .sev { justify-self: start; margin-top: 2px; }
.findings b { display: block; font-size: 15px; }
.findings small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* Check strip (in place of the logo row) */
.checks { max-width: 1160px; margin: 40px auto 0; padding: 0 16px; }
.checks ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.checks li { font-size: 13px; color: var(--muted); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); }

/* Sections */
section[id] { scroll-margin-top: 40px; }
.section { max-width: 1160px; margin: 0 auto; padding: 120px 16px 0; text-align: center; }
.section h2 { margin-left: auto; margin-right: auto; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; text-align: left; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; text-align: left; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.card-accent { border-color: rgba(212,255,58,.35); background: linear-gradient(180deg, rgba(212,255,58,.07), var(--surface) 60%); }
.icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(212,255,58,.1); margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; text-align: left; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.step h3 { margin-top: 14px; }
.step-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--lime-ink); background: var(--lime); padding: 3px 10px; border-radius: 6px; }

.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 500; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230d1100' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.honest { height: 100%; }
.honest p { font-size: 16px; line-height: 1.65; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; text-align: left; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; }
.plan-hl { border: 2px solid var(--lime); box-shadow: 0 0 50px rgba(212,255,58,.16); background: linear-gradient(180deg, #1d2306, var(--surface) 55%); }
.freq { color: var(--muted); font-size: 15px; margin-top: 4px; }
.price { margin-top: 28px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 46px; letter-spacing: -.03em; }
.price span { color: var(--muted); }
.yearly { color: var(--dim); font-size: 14px; margin: 6px 0 28px; }
.plan .btn { margin-top: auto; }
.fine { margin-top: 20px; font-size: 14px; color: var(--dim); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; text-align: left; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side h2 { margin-left: 0; }
.faq-list { display: grid; gap: 10px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--lime); font-size: 22px; font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 20px 18px; color: var(--muted); }

/* Closing */
.closing {
  max-width: 1128px; margin: 120px auto 0; padding: 80px 24px; text-align: center; border-radius: 22px;
  border: 1px solid rgba(212,255,58,.3);
  background: radial-gradient(500px 260px at 50% 0, rgba(212,255,58,.16), transparent 70%), var(--surface);
  display: grid; justify-items: center; gap: 22px;
}
@media (max-width: 1160px) { .closing { margin-left: 16px; margin-right: 16px; } }
.closing h2 { margin: 0; }

/* Footer */
.footer { max-width: 1160px; margin: 0 auto; padding: 56px 16px 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer ul { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 1100px) {
  .float { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-3, .plans { grid-template-columns: 1fr 1fr; }
  .plans .plan-hl { order: -1; grid-column: 1 / -1; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .faq-side { position: static; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav { gap: 8px; }
  .lang { margin-left: auto; }
  .hero { padding-top: 120px; }
  .lead { font-size: 16px; }
  .report-body { grid-template-columns: 1fr; gap: 20px; padding: 22px 16px; }
  .report-head { padding: 16px; flex-direction: column; }
  .findings li { grid-template-columns: 1fr; gap: 6px; }
  .grid-3, .grid-2, .plans, .steps { grid-template-columns: 1fr; }
  .plans .plan-hl { grid-column: auto; }
  .section { padding-top: 88px; }
  .closing { padding: 56px 20px; margin-top: 88px; }
  body { background-size: 64px 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  body { background: #fff; color: #000; }
  .nav-wrap, .float, .skip { display: none; }
}

/* FAQ: extra questions folded behind one toggle */
details.more { background: none; border: 0; }
details.more > summary { display: inline-flex; padding: 12px 18px; margin-top: 4px; border: 1px solid var(--line); border-radius: 10px; color: var(--lime); font-size: 15px; }
details.more > summary:hover { border-color: var(--lime); }
details.more > summary::after { content: none; }
details.more > .faq-list { margin-top: 10px; }
.more-close, details.more[open] .more-open { display: none; }
details.more[open] .more-close { display: inline; }
