/* Intl Call Blocker — Nimbic Labs */
:root {
  --bg: #fafaf7;
  --bg-2: #f1f0ea;
  --card: #ffffff;
  --ink: #14161a;
  --muted: #5d636e;
  --line: #e4e2d9;
  --accent: #0b7a5b;
  --accent-ink: #ffffff;
  --accent-soft: #d8f0e6;
  --danger: #c8334a;
  --warn: #9a6a00;
  --shadow: 0 1px 2px rgba(20,22,26,.06), 0 12px 32px -12px rgba(20,22,26,.18);
  --radius: 18px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--font);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b0d10;
  --bg-2: #11141a;
  --card: #151921;
  --ink: #eef1f5;
  --muted: #9aa3b2;
  --line: #232a36;
  --accent: #3ddc97;
  --accent-ink: #04130c;
  --accent-soft: rgba(61,220,151,.12);
  --danger: #ff6b81;
  --warn: #f2c14e;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 40px -16px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
code { font: .85em ui-monospace, Consolas, monospace; background: var(--bg-2); padding: .1em .4em; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.05rem var(--display); }
.brand svg { width: 28px; height: 28px; color: var(--accent); }
.brand small { display: block; font: 500 .7rem var(--font); color: var(--muted); letter-spacing: .02em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: .92rem; }
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn svg { width: 18px; height: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font: 600 .95rem var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-sm { padding: 8px 16px; font-size: .88rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; background: radial-gradient(closest-side, var(--accent-soft), transparent); z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--accent-soft); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); margin: 18px 0 20px; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; margin: 0 0 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts b { display: block; font: 700 1.5rem var(--display); }
.facts span { color: var(--muted); font-size: .85rem; }

/* Phone / simulator */
.phone { width: min(320px, 100%); margin-inline: auto; padding: 12px; border-radius: 44px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.screen { border-radius: 34px; background: var(--bg-2); padding: 40px 22px 24px; text-align: center; min-height: 460px; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.screen::before { content: ""; position: absolute; top: 12px; width: 84px; height: 22px; border-radius: 99px; background: var(--ink); opacity: .9; }
.tag { font: 600 .68rem var(--font); letter-spacing: .09em; padding: 5px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); margin-top: 8px; }
.flag { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-top: 20px; background: var(--card); border: 1px solid var(--line); font: 700 1.3rem var(--display); letter-spacing: .04em; }
.num { font: 700 1.5rem var(--display); }
.where { color: var(--muted); font-size: .9rem; }
.verdict { margin-top: 16px; padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: .92rem; border: 1px solid currentColor; display: flex; gap: 8px; align-items: center; transition: color .25s; }
.verdict[data-tone="block"] { color: var(--danger); }
.verdict[data-tone="allow"] { color: var(--accent); }
.verdict[data-tone="ai"] { color: var(--warn); }
.screen .btn { margin-top: auto; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 640px; margin-bottom: 48px; }
.head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: 12px 0 14px; }
.head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 16px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { counter-increment: s; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.step::before { content: "0" counter(s); font: 700 .85rem var(--display); color: var(--accent); }
.step h3 { margin: 10px 0 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Pricing */
.billing { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 28px; }
.billing button { border: 0; background: transparent; color: var(--muted); font: 600 .88rem var(--font); padding: 8px 18px; border-radius: 9px; cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.plan.pop { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan h3 { font-size: 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.plan .badge { font: 600 .68rem var(--font); letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 4px 9px; border-radius: 99px; }
.plan .sub { color: var(--muted); font-size: .9rem; margin: 6px 0 20px; }
.price { font: 700 2.75rem/1 var(--display); letter-spacing: -.03em; }
.price small { font: 500 .9rem var(--font); color: var(--muted); letter-spacing: 0; }
.bill-note { color: var(--muted); font-size: .82rem; min-height: 1.3em; margin: 6px 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: .93rem; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: var(--accent); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat; }
.plan li.off { color: var(--muted); opacity: .6; }
.plan li.off::before { background: var(--muted); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; }

/* Legal */
.legal-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.legal-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; font-size: .92rem; }
.legal-list a:hover { border-color: var(--accent); }
.legal-list svg { width: 16px; height: 16px; color: var(--muted); }

/* Policy pages */
.doc { padding: 48px 0 96px; }
.doc .wrap { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.side { position: sticky; top: 88px; display: grid; gap: 4px; }
.side h2 { font: 600 .75rem var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 12px; }
.side a { padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .93rem; }
.side a:hover { background: var(--bg-2); color: var(--ink); }
.side a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; min-width: 0; }
.panel h1 { font-size: 2.25rem; margin: 0 0 24px; }
@media (max-width: 900px) {
  .doc .wrap { grid-template-columns: 1fr; }
  .side { position: static; display: flex; overflow-x: auto; gap: 6px; }
  .side h2 { display: none; }
  .side a { flex: none; border: 1px solid var(--line); }
}

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: .9rem; }
.foot { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.foot ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.foot h4 { margin: 0; color: var(--ink); font: 600 .85rem var(--font); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; }

/* Motion */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .hero .wrap, .grid, .steps, .plans { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav .icon-btn { margin-left: auto; }
  .hero { padding-top: 48px; }
  section { padding: 64px 0; }
}
