/* Be Cool Advertising — single stylesheet.
   System fonts only. No external requests. */

:root {
  color-scheme: light dark;

  --bg:      #ffffff;
  --surface: #f5f8f9;
  --fg:      #14191c;
  --muted:   #55636b;
  --rule:    #e3eaec;
  --accent:  #0a5f6b;
  --accent-soft: #edf6f7;
  --on-accent: #ffffff;
  --shadow:  0 1px 2px rgba(20, 25, 28, .05), 0 6px 20px rgba(20, 25, 28, .05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:      #10151a;
    --surface: #161d23;
    --fg:      #e8edf0;
    --muted:   #9aa8b0;
    --rule:    #242f36;
    --accent:  #67cfdd;
    --accent-soft: #15252b;
    --on-accent: #0b1114;
    --shadow:  0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wrap--narrow { max-width: 44rem; }

main { display: block; }

section { padding: 3.25rem 0; }

section + section { border-top: 1px solid var(--rule); }

/* ---------- header ---------- */

.site-head {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}

.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
}

.brand svg { display: block; flex: none; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: .95rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--fg); text-decoration: underline; }

/* ---------- typography ---------- */

h1, h2, h3 { letter-spacing: -0.018em; line-height: 1.2; }

h1 {
  font-size: clamp(1.85rem, 5.2vw, 2.7rem);
  margin: 0 0 1rem;
  font-weight: 680;
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin: 0 0 1rem;
  font-weight: 650;
}

h3 {
  font-size: 1.02rem;
  margin: 0 0 .4rem;
  font-weight: 640;
}

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .9rem;
}

.lede {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--muted);
  max-width: 40rem;
}

.prose { max-width: 40rem; }
.prose p { color: var(--muted); }
.prose p.plain { color: var(--fg); }

a { color: var(--accent); }
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- hero ---------- */

.hero { padding: 4.5rem 0 3.5rem; }
.hero h1 { max-width: 22ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  padding: .7rem 1.25rem;
  border-radius: 7px;
}

.btn:hover { opacity: .9; }

.btn-note { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- coverage ---------- */

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.areas li {
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 999px;
  padding: .3rem .85rem;
  font-size: .93rem;
}

.areas li.is-pending {
  border-style: dashed;
  color: var(--muted);
}

/* ---------- plain lists ---------- */

.points {
  list-style: none;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  max-width: 40rem;
}

.points li { padding-left: 1.15rem; border-left: 2px solid var(--rule); }
.points p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- hero status strip ---------- */

.status-strip {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: .95rem;
  max-width: 38rem;
}

.dot {
  flex: none;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-1px);
}

/* ---------- primary call to action ---------- */

.cta-band {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 2.25rem 2.25rem 1.9rem;
  max-width: 46rem;
}

.cta-band h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 3.4vw, 1.75rem);
}

.cta-band p { color: var(--muted); max-width: 38rem; }
.cta-band p.plain { color: var(--fg); }
.cta-band .hero-actions { margin-top: 1.6rem; }

.cta-band .fineprint {
  margin: 1.4rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-size: .92rem;
}

@media (max-width: 34rem) {
  .cta-band { padding: 1.5rem 1.35rem 1.35rem; }
}

/* ---------- minor heading ---------- */

h3.sub {
  font-size: 1.02rem;
  margin: 2.5rem 0 0;
}

h2.sub {
  font-size: 1.05rem;
  color: var(--muted);
}

/* ---------- headline figure ---------- */

.figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1.6rem;
  margin: 1.75rem 0 1.5rem;
  padding: 1.5rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  max-width: 44rem;
}

.figure-num {
  margin: 0;
  flex: none;
  font-size: clamp(2.1rem, 6vw, 2.9rem);
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.figure-cap {
  margin: 0;
  flex: 1 1 16rem;
  color: var(--muted);
  font-size: .97rem;
}

.figure-cap em { color: var(--fg); font-style: normal; font-weight: 600; }

/* ---------- two-column split ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem 2.5rem;
  margin: 1.75rem 0;
}

.ticks {
  list-style: none;
  margin: .6rem 0 0;
  padding: 0;
}

.ticks li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .55rem;
  color: var(--muted);
  font-size: .97rem;
}

.ticks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.ticks--neg li::before { content: "\2715"; color: var(--muted); font-weight: 600; }

.ticks--todo li::before {
  content: "";
  width: .6rem;
  height: .6rem;
  border: 2px solid var(--muted);
  border-radius: 50%;
  top: .48em;
  opacity: .8;
}

.ticks em { font-style: italic; color: var(--fg); }

/* ---------- unresolved placeholder ---------- */

.placeholder {
  border: 2px dashed var(--rule);
  border-radius: 10px;
  padding: 1.35rem 1.5rem;
  max-width: 42rem;
  margin-top: 1.25rem;
}

.placeholder p { color: var(--muted); }
.placeholder p.plain { color: var(--fg); }

/* ---------- contact ---------- */

.contact-card {
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 12px;
  padding: 1.75rem;
  max-width: 40rem;
  box-shadow: var(--shadow);
}

.contact-card .byline { color: var(--muted); margin: 0; }

.contact-card .email {
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .9rem;
  padding: 2rem 0 3rem;
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
}

/* The phone number sits inside the muted byline, so the accent link colour
   would jar. Inherit the byline colour and carry an underline instead --
   colour alone is not an accessible way to mark a link anyway. */
.contact-card .byline a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-foot a { color: var(--muted); }

/* <address> is semantically right for the CAN-SPAM postal address, but every
   browser italicises it by default, which reads as an aside beside the other
   footer lines. Reset it to match them. */
.site-foot address {
  font-style: normal;
  margin: 0;
}

/* ---------- legal / privacy page ---------- */

.legal { padding: 3rem 0 1rem; }
.legal h2 { font-size: 1.12rem; margin: 2.5rem 0 .6rem; }
.legal h2:first-of-type { margin-top: 2rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0 0 1.05rem; padding-left: 1.25rem; }
.legal li { margin-bottom: .55rem; }
.legal .updated {
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.legal .plain { color: var(--fg); }
.legal h1 { font-size: clamp(1.7rem, 4.5vw, 2.1rem); margin-bottom: .5rem; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: .08em .35em;
  color: var(--fg);
  overflow-wrap: anywhere;
}

/* ---------- small screens ---------- */

@media (max-width: 34rem) {
  body { font-size: 16px; }
  .hero { padding: 3rem 0 2.5rem; }
  section { padding: 2.5rem 0; }
  .contact-card { padding: 1.35rem; }
  .hero-actions { gap: .85rem; }
  .site-head .wrap { gap: .6rem; }
  .site-nav { gap: 1rem; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
