/* ──────────────────────────────────────────────────────────────
   Cleanr marketing site — shared styles
   Built on the Cleanr design system (navy #1F2D54 + teal #50CDBB,
   Calgary display / Inter body). See designs/cleanr.
   ────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Calgary';
  src: url('fonts/Calgary-BoldMedium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Calgary';
  src: url('fonts/Calgary-BoldCondensed.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Calgary';
  src: url('fonts/Calgary-BoldExtraCondensed.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --navy:        #1F2D54;
  --navy-strong: #16203D;
  --navy-mid:    #2E4374;
  --teal:        #50CDBB;
  --teal-strong: #2FA99A;
  --teal-soft:   #D7F3EE;
  --teal-subtle: #EEFBF8;
  --dark-bg:     #1A2746;

  --bg:        #FAFBFD;
  --bg-wash:   #EEF2F8;
  --surface:   #FFFFFF;
  --sunken:    #E9EEF5;

  --fg1: #16213D;
  --fg2: #54627E;
  --fg3: #8E9BB3;

  --line:   #E3E9F1;
  --border: #DBE2EC;

  --shadow-tint: 31 45 84;
  --shadow-card:     0 2px 8px rgba(var(--shadow-tint) / .05), 0 1px 2px rgba(var(--shadow-tint) / .06);
  --shadow-soft:     0 10px 40px -10px rgba(var(--shadow-tint) / .10);
  --shadow-elevated: 0 4px 14px rgba(var(--shadow-tint) / .10);
  --hero-wash: radial-gradient(120% 120% at 80% -10%, #243763 0%, #1A2746 55%, #16203D 100%);

  --r-sm: 4px; --r-md: 8px; --r-lg: 10px; --r-xl: 14px; --r-2xl: 18px; --r-full: 9999px;

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Calgary', 'Oswald', 'Inter', sans-serif;

  --dur: 220ms; --ease: ease-out;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg1);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Type ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: 0.10em; text-transform: uppercase; color: var(--teal-strong);
}
.display {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: 0.95; letter-spacing: -0.005em; color: var(--navy);
  font-size: clamp(40px, 7vw, 72px);
}
h2.section-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  line-height: 1.05; color: var(--navy); font-size: clamp(28px, 4vw, 44px);
}
h3 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  color: var(--navy); font-size: 20px; line-height: 1.1;
}
.lede { font-size: 19px; color: var(--fg2); line-height: 1.55; }
.number {
  font-family: var(--font-display); font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--navy);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 13px 24px; border-radius: var(--r-md); border: 1px solid transparent;
  cursor: pointer; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-strong); }
.btn-accent { background: var(--teal); color: var(--navy-strong); box-shadow: 0 6px 20px -6px rgba(80,205,187,.45); }
.btn-accent:hover { background: var(--teal-strong); color:#fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-wash); }
.btn-lg { padding: 16px 30px; font-size: 17px; }

/* ── Header ───────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 251, 253, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav .wordmark { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--fg2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--navy); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-login { color: var(--fg2); font-weight: 600; font-size: 15px; }
.nav-login:hover { color: var(--navy); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background: var(--hero-wash); color: #fff;
  padding: 96px 0 110px; position: relative; overflow: hidden;
}
.hero .sparkle-bg {
  position: absolute; right: -60px; top: -40px; width: 460px; opacity: 0.10;
  pointer-events: none; user-select: none;
}
.hero .wrap { position: relative; z-index: 1; max-width: 880px; text-align: center; }
.hero .eyebrow { color: var(--teal); }
.hero .display { color: #fff; margin: 18px 0 22px; }
.hero .display .accent { color: var(--teal); }
.hero .lede { color: rgba(255,255,255,0.78); max-width: 640px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .fineprint { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,0.55); }

/* ── Sections ─────────────────────────────────────────── */
section.band { padding: 88px 0; }
section.band.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head .lede { margin-top: 14px; }

/* feature grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-card);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.icon-circle {
  width: 44px; height: 44px; border-radius: var(--r-full);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-soft); margin-bottom: 16px;
}
.icon-circle .material-symbols-outlined { color: var(--teal-strong); font-size: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--fg2); font-size: 16px; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(3,1fr); }
@media (max-width: 860px){ .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-card); }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--teal); line-height: 1; }
.step h3 { margin: 12px 0 8px; }
.step p { color: var(--fg2); font-size: 16px; }

/* stat row */
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; text-align: center; }
@media (max-width: 860px){ .stat-row { grid-template-columns: 1fr; } }
.stat .number { font-size: 40px; display: block; }
.stat .label { color: var(--fg2); font-size: 15px; margin-top: 4px; }

/* pricing */
.price-card { max-width: 460px; margin: 0 auto; text-align: center; }
.price-card .price { font-family: var(--font-display); font-weight: 800; font-size: 56px; color: var(--navy); line-height: 1; }
.price-card .price small { font-family: var(--font-body); font-weight: 500; font-size: 17px; color: var(--fg2); }
.price-list { text-align: left; margin: 24px auto 28px; max-width: 320px; display: grid; gap: 12px; }
.price-list li { list-style: none; display: flex; gap: 10px; color: var(--fg1); font-size: 16px; }
.price-list .material-symbols-outlined { color: var(--teal-strong); font-size: 22px; }

/* final CTA */
.final-cta { background: var(--hero-wash); color: #fff; text-align: center; padding: 88px 0; }
.final-cta h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px,4.5vw,50px); color:#fff; line-height: 1.0; }
.final-cta p { color: rgba(255,255,255,0.78); max-width: 520px; margin: 16px auto 30px; }

/* ── Footer ───────────────────────────────────────────── */
footer.site { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
footer .wordmark { height: 26px; margin-bottom: 14px; }
footer .tagline { color: var(--fg2); font-size: 15px; max-width: 280px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing:.08em; text-transform: uppercase; color: var(--fg3); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--fg2); font-size: 15px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--navy); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--fg3); font-size: 14px; }

/* ── Legal pages ──────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal .eyebrow { color: var(--teal-strong); }
.legal h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--navy); font-size: clamp(34px,5vw,52px); line-height: 1; margin: 12px 0 6px; }
.legal .updated { color: var(--fg3); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--navy); font-size: 22px; margin: 38px 0 12px; }
.legal h3 { font-family: var(--font-body); font-weight: 700; text-transform: none; color: var(--fg1); font-size: 17px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--fg2); font-size: 16px; line-height: 1.65; }
.legal ul { margin: 8px 0 8px 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--teal-strong); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--fg1); }
