/* Is It Frum — landing page */
:root {
  --ink: #0d1526;
  --ink-2: #33405a;
  --muted: #6a778f;
  --line: #e6e9f0;
  --bg: #ffffff;
  --sand: #f7f8fb;
  --navy: #0b1220;
  --navy-2: #131f38;
  --blue: #1a73e8;
  --blue-dk: #0d5bc4;
  --gold: #d9a227;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(13, 21, 38, .05), 0 8px 24px rgba(13, 21, 38, .07);
  --shadow-xl: 0 30px 70px -20px rgba(11, 18, 32, .45);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
        Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { letter-spacing: -.022em; line-height: 1.1; margin: 0; }
p { margin: 0; }
a { color: inherit; }

/* ------------------------------------------------------------------- shared */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--blue); color: #fff;
  border-radius: 999px;
  font-weight: 640; text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(13,21,38,.16), 0 8px 20px -6px rgba(26,115,232,.5);
  transition: transform .16s cubic-bezier(.2,.7,.3,1), background .16s, box-shadow .16s;
}
.btn:hover { background: var(--blue-dk); transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(13,21,38,.18), 0 14px 30px -8px rgba(26,115,232,.55); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { padding: 9px 17px; font-size: 14.5px; }
.btn-lg { padding: 15px 27px; font-size: 17px; }

.kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.kicker.light { color: #8fc0ff; }

.stardot {
  display: inline-grid; place-items: center;
  width: 25px; height: 25px; border-radius: 7px;
  background: linear-gradient(145deg, var(--blue), #56a2ff);
  color: #fff; font-size: 14px; line-height: 1;
  box-shadow: 0 2px 8px rgba(26,115,232,.4);
}

/* --------------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  max-width: var(--wrap); margin: 0 auto;
  padding: 16px 24px;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 720; font-size: 17px; letter-spacing: -.02em;
  text-decoration: none;
}
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav nav a { font-size: 15px; font-weight: 560; color: var(--ink-2); text-decoration: none; }
.nav nav a:hover { color: var(--blue); }

/* -------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 74px 24px 0; }
.glow {
  position: absolute; left: 50%; top: -320px; transform: translateX(-50%);
  width: 1200px; height: 720px; pointer-events: none;
  background:
    radial-gradient(46% 42% at 50% 50%, rgba(26,115,232,.16), transparent 70%),
    radial-gradient(30% 30% at 22% 62%, rgba(217,162,39,.13), transparent 70%);
  filter: blur(6px);
}
.hero-inner { position: relative; max-width: var(--wrap); margin: 0 auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 620; letter-spacing: .02em;
  color: var(--blue);
  background: #eef4fe; border: 1px solid #dbe8fd;
  padding: 6px 15px; border-radius: 999px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.15rem);
  font-weight: 760;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #1a73e8 0%, #3d8bf5 55%, #5aa4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  max-width: 660px; margin: 24px auto 0;
  font-size: clamp(1.03rem, 1.7vw, 1.2rem);
  color: var(--ink-2);
}

.cta-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 16px 20px;
  margin: 34px 0 52px;
}
.cta-note { font-size: 14px; color: var(--muted); }

/* browser-framed screenshot */
.shot {
  max-width: 1000px; margin: 0 auto;
  border-radius: 15px 15px 0 0;
  background: #fff;
  border: 1px solid var(--line); border-bottom: 0;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.shot-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px;
  background: #f6f7f9; border-bottom: 1px solid var(--line);
}
.shot-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.shot-bar .r { background: #ff5f57; } .shot-bar .y { background: #febc2e; }
.shot-bar .g { background: #28c840; }
.shot-url {
  margin-left: 12px; padding: 3px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  font-size: 11.5px; color: var(--muted);
}
.shot img {
  width: 100%;
  /* Fade the bottom so the screenshot melts into the page rather than
     ending on a hard horizontal line. */
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
}

/* ------------------------------------------------------------------- stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: var(--wrap); margin: 0 auto;
  padding: 40px 24px 64px;
  text-align: center;
}
.stats div { display: flex; flex-direction: column; gap: 3px; }
.stats strong {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 740;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stats span { font-size: 13.5px; color: var(--muted); }

/* --------------------------------------------------------------------- how */
.how { max-width: var(--wrap); margin: 0 auto; padding: 20px 24px 90px; text-align: center; }
.how h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 740; }
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 46px; text-align: left;
}
.cards article {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, border-color .18s;
}
.cards article:hover {
  transform: translateY(-3px); background: #fff;
  border-color: #d7e3f7; box-shadow: var(--shadow);
}
.cards .ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 21px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(13,21,38,.06);
  margin-bottom: 18px;
}
.cards h3 { font-size: 19px; font-weight: 680; margin-bottom: 9px; }
.cards p { font-size: 15.5px; color: var(--ink-2); }

/* -------------------------------------------------------------------- data */
.data {
  background:
    radial-gradient(70% 120% at 12% 0%, #1b2c4d 0%, transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #e8edf7;
  padding: 88px 24px;
}
.data-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr .95fr; gap: 54px; align-items: start;
}
.data h2 { font-size: clamp(1.7rem, 3.3vw, 2.4rem); font-weight: 730; margin-bottom: 18px; }
.data p { color: #b9c4d8; font-size: 16.5px; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 31px; font-size: 15.5px; color: #d3dcec; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 21px; height: 21px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(86,162,255,.16); color: #7fb4ff;
  font-size: 11px; font-weight: 800;
}
.honest {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  padding: 26px 26px 28px;
}
.honest h3 { font-size: 17px; font-weight: 690; margin-bottom: 12px; color: #f4d894; }
.honest p { font-size: 15px; }
.honest p + p { margin-top: 13px; }
.honest strong { color: #fff; }

/* ------------------------------------------------------------------- towns */
.towns-sec { max-width: var(--wrap); margin: 0 auto; padding: 88px 24px 20px; text-align: center; }
.towns-sec h2 { font-size: clamp(1.65rem, 3.3vw, 2.35rem); font-weight: 740; }
.towns-lede { max-width: 560px; margin: 16px auto 0; color: var(--ink-2); font-size: 16.5px; }
.town-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px; margin-top: 36px; text-align: left;
}
.town-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 20px;
  background: var(--sand); border: 1px solid var(--line);
  border-radius: 13px;
  font-size: 15.5px; font-weight: 600; text-decoration: none;
  transition: transform .16s cubic-bezier(.2,.7,.3,1), border-color .16s, background .16s;
}
.town-links a::after { content: "→"; color: var(--blue); font-weight: 700; }
.town-links a:hover {
  background: #fff; border-color: #cfe0f8; color: var(--blue);
  transform: translateY(-2px); box-shadow: var(--shadow);
}

/* --------------------------------------------------------------- town page */
.article { max-width: 760px; margin: 0 auto; padding: 46px 24px 84px; }
.crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumb a { color: var(--blue); text-decoration: none; }
.crumb span { margin: 0 2px; }
.article h1 { font-size: clamp(1.95rem, 4.6vw, 3rem); font-weight: 760; }
.lede-sm { margin-top: 20px; font-size: 18px; color: var(--ink-2); }
.cta-inline { margin: 30px 0 8px; }
.article section { margin-top: 44px; }
.article h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 700; margin-bottom: 14px; }
.article p { color: var(--ink-2); font-size: 16.5px; }
.article .note { margin-top: 14px; font-size: 15.5px; }
.facts { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 10px; }
.facts li {
  position: relative; padding-left: 30px; font-size: 16px; color: var(--ink-2);
}
.facts li::before {
  content: "•"; position: absolute; left: 8px; color: var(--blue);
  font-size: 20px; line-height: 1.1;
}
.facts strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.links a { color: var(--blue); text-decoration: none; font-size: 16px; font-weight: 560; }
.links a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ closer */
.closer { text-align: center; padding: 92px 24px 100px; }
.closer h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 740; }
.closer p { margin: 16px auto 32px; max-width: 520px; color: var(--ink-2); }

/* ------------------------------------------------------------------ footer */
footer { border-top: 1px solid var(--line); background: var(--sand); }
.foot-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 40px 24px 48px;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.logo.small { font-size: 15px; }
.logo.small .stardot { width: 21px; height: 21px; font-size: 12px; border-radius: 6px; }
footer p { font-size: 13.5px; color: var(--muted); }
.fine { font-size: 12.5px; color: #8b97ad; max-width: 780px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .data-grid { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav { padding: 13px 17px; }
  .nav nav { gap: 15px; }
  .nav nav a:not(.btn) { display: none; }
  .hero { padding-top: 52px; }
  .shot { border-radius: 12px 12px 0 0; }
  .shot-url { display: none; }
  .how, .closer { padding-bottom: 66px; }
  .data { padding: 62px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .cards article { transition: none; }
}
