/* SafeWeb website — clean, calm and very easy to read (large type, lots of space).
   No fonts, scripts or trackers from anywhere else: the system font is used, as on Apple's own site. */
:root {
  /* ClickAway colours: blue for buttons, links and bold sections; the logo's red and
     yellow are branding touches only (red is also used for real warnings, never decoration on text). */
  --brand: #2f64ad;
  --brand-strong: #234d86;
  --brand-soft: #eaf1fa;
  --clickaway-red: #e90302;
  --clickaway-yellow: #ffd400;
  --ink: #1d1d1f;
  --ink-soft: #4a5468;
  --page: #ffffff;
  --line: #d6dce8;
  --warn: #7a4300;
  --warn-soft: #fff6e3;
  --radius: 28px;
}
* { box-sizing: border-box; }
html { font-size: 125%; scroll-behavior: smooth; } /* 20px base: big, comfortable reading */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-underline-offset: 4px; }
a:focus-visible, .button:focus-visible { outline: 4px solid #f2a900; outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 20; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.center .lead, .center .fine { margin-left: auto; margin-right: auto; }

/* Header: slim, white, stays at the top */
header.site { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img.logo { height: 52px; width: auto; display: block; }
.stripe { height: 4px; background: linear-gradient(90deg, var(--clickaway-red) 0 88%, var(--clickaway-yellow) 88% 100%); }
nav.site ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
nav.site a { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink); text-decoration: none; }
nav.site a:hover { background: var(--brand-soft); }
nav.site a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-decoration-thickness: 3px; }
nav.site a.pill { background: var(--brand); color: #fff; padding: 9px 20px; margin-left: 6px; text-decoration: none; }
nav.site a.pill:hover { background: var(--brand-strong); }

/* Sections: full width, alternating white, soft blue and ClickAway blue */
section { padding: 104px 0; }
.bg-white { background: #fff; }
.bg-soft { background: var(--brand-soft); }
.bg-blue { background: var(--brand); color: #fff; }
.bg-blue a { color: #fff; }
.bg-blue .lead { color: #e6eefa; }

h1, h2, h3 { letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.2rem); line-height: 1.06; font-weight: 800; margin: 0 0 22px; }
h1 .blue { color: var(--brand); }
.display { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.1; font-weight: 800; margin: 0 0 18px; }
h2 { font-size: 1.6rem; line-height: 1.25; margin: 48px 0 14px; }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 22px 0 8px; }
p, li { max-width: 40em; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; color: var(--ink-soft); max-width: 34em; margin: 0 0 28px; }
.eyebrow { font-size: 1rem; font-weight: 700; color: var(--brand); margin: 0 0 12px; letter-spacing: 0.01em; }
.fine { color: var(--ink-soft); font-size: 0.9rem; max-width: 46em; }

/* Buttons: big, round, easy to hit */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 8px 0 24px; }
.center .actions { justify-content: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 14px 34px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 1.1rem; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--brand-strong); }
.button.white { background: #fff; color: var(--brand); }
.button.white:hover { background: var(--brand-soft); }
.button.secondary { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.more { font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }
.badge { display: inline-block; margin: 0 0 8px; padding: 8px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--clickaway-yellow); font-weight: 700; font-size: 0.95rem; }

/* Pictures */
svg.art { display: block; width: 100%; height: auto; }
.hero { padding-top: 88px; padding-bottom: 72px; }
.hero-art { max-width: 640px; margin: 36px auto 0; }

/* Three steps */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; counter-reset: none; }
.steps li { position: relative; background: var(--brand-soft); border-radius: var(--radius); padding: 40px 24px 32px; max-width: none; }
.steps .num { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; border: 4px solid #fff; }
.steps svg.art { max-width: 260px; margin: 0 auto; }
.steps h3 { font-size: 1.35rem; margin-top: 18px; }
.steps p { color: var(--ink-soft); margin: 0 auto; }

/* Words beside a picture */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split svg.art { max-width: 460px; margin: 0 auto; }
.split .text .lead { margin-bottom: 20px; }
@media (min-width: 861px) { .split.reverse .text { order: 2; } }

/* Lists with blue ticks */
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { position: relative; padding-left: 44px; margin: 0 0 16px; font-size: 1.05rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.bg-blue .checks li::before { background: #fff; color: var(--brand); }

/* Warning-sign tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; text-align: left; }
.tile { background: #fff; border-radius: var(--radius); padding: 28px 26px 30px; }
.tile svg.art { max-width: 220px; margin: 0 auto 8px; }
.tile h3 { font-size: 1.2rem; }
.tile .do { font-weight: 700; color: var(--brand-strong); margin: 0; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 24px; margin: 40px 0 32px; }
.price-card { background: var(--brand-soft); border-radius: var(--radius); padding: 30px 24px; }
.price-card h3 { margin-top: 0; }
.price { font-size: 2.6rem; font-weight: 800; color: var(--brand); margin: 4px 0; letter-spacing: -0.02em; }
.price span { font-size: 1rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.price-card p:last-child { margin: 0 auto; color: var(--ink-soft); }

/* Honest limits */
.honest { background: var(--warn-soft); border: 2px solid #e8c48a; border-radius: var(--radius); padding: 30px 34px; }
.honest h2 { margin-top: 0; color: var(--warn); }
.cta { padding: 96px 0; }

/* Ordinary pages (Get SafeWeb, Help, Privacy, Terms) */
.page { padding: 72px 0 96px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page h1::after { content: ""; display: block; width: 72px; height: 6px; margin-top: 16px; border-radius: 3px; background: var(--clickaway-red); }
.page .lead { max-width: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 20px 0; }
.card { background: var(--brand-soft); border-radius: 22px; padding: 24px 26px; }
.card h3 { margin-top: 0; }
.note { color: var(--ink-soft); font-size: 0.95rem; }
.draft { background: var(--warn-soft); border: 2px solid #e8c48a; border-radius: 18px; padding: 16px 22px; font-weight: 600; }
.page ol li, .page ul li { margin-bottom: 8px; }
table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--brand-soft); }
blockquote { margin: 16px 0; padding: 14px 20px; border-left: 5px solid var(--brand); background: var(--brand-soft); border-radius: 0 12px 12px 0; }

/* Footer */
footer.site { background: #f5f5f7; border-top: 1px solid var(--line); padding: 40px 0; color: var(--ink-soft); font-size: 0.9rem; }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
footer.site h2 { font-size: 0.95rem; color: var(--ink); margin: 0 0 6px; letter-spacing: 0; }
footer.site ul { list-style: none; padding: 0; margin: 0; }

/* Phones and small windows */
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .steps, .tiles { grid-template-columns: 1fr; gap: 40px; max-width: 460px; margin-left: auto; margin-right: auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split svg.art { max-width: 380px; }
  .prices { grid-template-columns: minmax(0, 340px); }
}
@media (max-width: 640px) {
  html { font-size: 112.5%; }
  .wrap { padding: 0 16px; }
  .brand img.logo { height: 42px; }
  nav.site li.minor { display: none; } /* Home is the logo; Privacy and Terms are in the footer */
  header.site .wrap, nav.site ul { flex-wrap: nowrap; }
  nav.site a.pill { padding: 8px 14px; margin-left: 2px; white-space: nowrap; }
  nav.site a { padding: 6px 10px; font-size: 0.85rem; }
  .hero { padding-top: 56px; }
  .honest { padding: 24px 22px; }
}

/* Get SafeWeb: "coming soon" note */
.notice { max-width: 40em; margin: 20px auto 0; background: #fff; border-radius: 20px; padding: 18px 24px; font-weight: 600; }

/* Numbered steps with words only (Help page) */
.big-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.big-steps li { display: flex; gap: 20px; align-items: flex-start; background: #fff; border-radius: 22px; padding: 22px 26px; max-width: none; }
.big-steps .num { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.big-steps h3 { margin: 4px 0 4px; }
.big-steps p { margin: 0; }
.tile p { max-width: none; }
.bg-white .tile { background: var(--brand-soft); }

/* Long addresses (e.g. about:debugging#/runtime/this-firefox) wrap instead of widening the page on phones. */
.big-steps p, .checks li { overflow-wrap: anywhere; }

