/* vespiri.com's homepage (Cole, 2026-11-16: "a combination of A and B … a little less dark"; "version 1 is better").
   B's dark look, lighter (forest-slate), with A's layout: a feature on each row beside a real screenshot of Vespiri,
   the comparison table, the two plans and the questions. Terms, Privacy and 404 keep styles.css. */
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #121d1a; --bg-2: #172420; --panel: #1c2b27; --panel-2: #213430; --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --ink: #eef4f2; --ink-2: #b2c1bc; --ink-3: #85958f; --mint: #8fd3bf; --brand: #3d6960; --gold: #f2c46d;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
figure { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.08; }
h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 780; }
.center { text-align: center; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.plus-tag { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: #3d2a05; }

/* "Coming soon" until there's an installer: not links, nothing collected */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; cursor: default;
  color: #06130f; background: linear-gradient(180deg, #a7e3d1, #79c2ad); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 10px 30px -8px rgba(121,194,173,.5); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* the screenshots: a real window, framed */
.shot { border-radius: 12px; border: 1px solid var(--line-2); box-shadow: 0 30px 70px -24px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.25); background: #1b1d20; }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; background: rgba(18,29,26,.72); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .16em; font-size: 15px; text-decoration: none; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.nav a { text-decoration: none; } .nav a:hover { color: var(--ink); }

/* hero */
.hero { position: relative; padding: 140px 0 30px; overflow: hidden; text-align: center;
  background: radial-gradient(1200px 700px at 50% 0%, #1e3a33 0%, transparent 70%), var(--bg); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.g1 { width: 1000px; height: 620px; left: 50%; top: 380px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(61,105,96,.8), transparent); }
.g2 { width: 520px; height: 380px; right: 4%; top: 40px; background: radial-gradient(closest-side, rgba(242,170,110,.14), transparent); }
.hero-in { position: relative; display: grid; justify-items: center; }
h1 { font-size: clamp(42px, 6.6vw, 86px); font-weight: 830; letter-spacing: -.045em; }
.grad { background: linear-gradient(92deg, #e3f6ef 0%, #8fd3bf 45%, #5aa996 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 36em; margin: 24px auto 32px; }
.lead.small { font-size: 18px; margin: 16px 0 0; max-width: 46em; }
.get-vespiri { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 16px; border-radius: 20px; text-align: left;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.get-vespiri .text { line-height: 1.3; margin-right: 18px; }
.get-vespiri .title { font-weight: 750; }
.get-vespiri .sub { font-size: 14px; color: var(--ink-2); }
.stage { width: min(1100px, 100%); margin-top: 60px; perspective: 1800px; }
.stage .shot { transform: rotateX(7deg); transform-origin: 50% 100%; box-shadow: 0 -1px 0 rgba(255,255,255,.14), 0 50px 120px -30px rgba(61,105,96,.75); }
.stage.flat { margin-top: 22px; perspective: none; }
.stage.flat .shot { transform: none; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.2); }

/* promises */
.facts { padding: 50px 0 40px; position: relative; z-index: 1; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; background: var(--bg-2); }
.fact { padding: 28px 16px; border-left: 1px solid var(--line); text-align: center; container-type: inline-size; }   /* Cole, 2026-11-17: "centered in their boxes" */
.fact:first-child { border-left: 0; }
/* Cole, 2026-11-18: the capitalized words on the top line, the rest under them, "with smaller font if needed". The words
   are written in sentence case and shown in capitals, so screen readers say "ad-free", not "A D free". They stay on one
   line: the size follows the box's width (cqi = 1% of it), set so the longest, "UNIVERSAL PROTECTION" (12.6 times
   the font size in Inter at this weight), fits with room to spare; all four boxes are the same width, so the same size. */
.fact b { display: block; font-size: min(22px, calc(100cqi / 13.4)); white-space: nowrap; font-weight: 820; letter-spacing: 0; line-height: 1.1;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff, #a6d6c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 15px; text-wrap: balance; }   /* two even lines, never one word left alone */

/* feature rows */
.row { padding: 90px 0; }
.row.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.row-in { display: grid; grid-template-columns: .9fr 1.25fr; gap: 60px; align-items: center; }
.row-in.flip { grid-template-columns: 1.25fr .9fr; }
.row-in.flip .copy { order: 2; }
.copy h2 { margin-bottom: 18px; }
.copy p { color: var(--ink-2); margin: 0 0 14px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%; background: rgba(143,211,191,.16); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 7px; height: 4px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }

/* the Parent Dashboard viewer */
.dash { padding: 100px 0; background: radial-gradient(900px 500px at 50% 0%, rgba(61,105,96,.35), transparent 70%), var(--bg); }
.dash-head { max-width: 860px; }
.viewer { margin-top: 36px; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.tabs button { font: inherit; font-size: 15px; font-weight: 650; border: 0; background: none; color: var(--ink-2); padding: 9px 16px; border-radius: 11px; cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--panel-2); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset; }
.tabs button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.viewer-note { color: var(--ink-3); font-size: 15px; margin: 14px 2px 0; }

/* comparison */
.compare { padding: 100px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.table-wrap { margin: 36px auto 0; max-width: 880px; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 16px 22px; text-align: left; border-top: 1px solid var(--line); }
thead th { border-top: 0; font-size: 15px; color: var(--ink-2); font-weight: 650; }
thead th.us { color: var(--ink); }
tbody th { font-weight: 520; }
td { color: var(--ink-3); width: 24%; }
td.us { background: rgba(143,211,191,.1); color: var(--mint); font-weight: 700; }
td.yes::before { content: "\2713\00a0\00a0"; }

/* plans */
.pricing { padding: 100px 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 40px auto 0; }
.plan { position: relative; padding: 32px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.plan h3 { font-size: 22px; }
.price { font-size: 46px; font-weight: 830; letter-spacing: -.035em; margin: 10px 0 0; }
.price small { font-size: 17px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.save { margin: 0; color: var(--mint); font-weight: 650; font-size: 15px; }
.plan.best { border: 1px solid rgba(143,211,191,.45); box-shadow: 0 30px 80px -34px rgba(61,105,96,.8); }
.ribbon { position: absolute; top: -13px; right: 24px; background: var(--gold); color: #3d2a05; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.tax { text-align: center; color: var(--ink-3); font-size: 14px; margin: 22px 0 0; }

/* questions */
.faq { padding: 90px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.faq h2 { margin-bottom: 26px; }
details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--mint); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); margin: 10px 0 0; }

/* closing */
.cta { padding: 110px 0 120px; text-align: center; background: radial-gradient(700px 360px at 50% 40%, rgba(61,105,96,.45), transparent 70%), var(--bg); }
.cta-in { display: grid; justify-items: center; gap: 22px; }
.cta-logo { filter: drop-shadow(0 0 36px rgba(143,211,191,.5)); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 54px 0 26px; font-size: 15px; color: var(--ink-2); background: var(--bg-2); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
/* align-content: start keeps "The Smarter Family Browser" directly under the logo (Cole, 2026-11-17, his image 2): the footer's
   row is as tall as the link columns, and without it the extra height was shared out between the logo line and the tagline. */
.foot-brand { display: grid; grid-template-columns: auto 1fr; align-items: center; align-content: start; gap: 4px 10px; font-weight: 800; letter-spacing: .14em; color: var(--ink); }
.foot-brand p { grid-column: 1 / -1; font-weight: 450; letter-spacing: 0; color: var(--ink-2); margin: 6px 0 0; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav b { color: var(--ink); }
.foot nav a { text-decoration: none; } .foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* inside Vespiri the download asks hide themselves */
html[data-vespiri-app] .get-vespiri, html.in-vespiri .get-vespiri, html[data-vespiri-app] .get-vespiri-cta, html.in-vespiri .get-vespiri-cta { display: none; }

@media (max-width: 1000px) {
  .nav { display: none; } .top-in .btn-sm { margin-left: auto; }
  .row-in, .row-in.flip { grid-template-columns: 1fr; gap: 36px; }
  .row-in.flip .copy { order: 0; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .row { padding: 64px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 104px; }
  h1 br { display: none; }
  .lead { font-size: 17px; }
  .get-vespiri { flex-wrap: wrap; justify-content: center; text-align: center; }
  /* the logo and its two lines stay centered as one group, but "Vespiri" lines up on the left with "The Smarter Family
     Browser" under it, as on a computer (Cole, 2026-11-18) */
  .get-vespiri .text { margin-right: 0; text-align: left; }
  .stage { margin-top: 36px; }
  .stage .shot { transform: none; }
  .plans { grid-template-columns: 1fr; }
  /* one box per row on phones, so the capitalized words can be big (Cole, 2026-11-18: "One box per row") */
  .facts-in { grid-template-columns: 1fr; }
  .fact { padding: 20px 16px; border-left: 0; } .fact:nth-child(n+2) { border-top: 1px solid var(--line); }
  th, td { padding: 12px; font-size: 14px; }
  .tabs { display: flex; }
  .tabs button { padding: 8px 12px; font-size: 14px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
