/* Shelly v2: shared styles for /impact and /press (same brand tokens as the homepage) */
:root {
  --deep: #082a4c; --abyss: #051b33; --sea: #1585b5; --lagoon: #3fd0e0; --kelp: #2f9e5a; --shell: #7ed957;
  --sand: #f6f1e7; --ink: #10233d; --muted: #4f6478; --card: #ffffff; --line: #dfe7ee; --coral: #ff8fa3; --gold: #f0b90b;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--sand); line-height: 1.6; font-size: 17px; }
a { color: var(--sea); }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* top */
.top { background: radial-gradient(120% 100% at 50% 0%, var(--lagoon) 0%, var(--sea) 42%, var(--deep) 100%); color: #fff; position: relative; overflow: hidden; }
.top .wrap { padding-block: 22px 96px; position: relative; z-index: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 22px; font-weight: 700; }
.brand img { width: 40px; height: 40px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 7px 13px; border-radius: 99px; background: rgb(255 255 255 / .13); }
.nav-links a:hover, .nav-links a[aria-current] { background: rgb(255 255 255 / .26); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 13px; color: var(--lagoon); margin: 0 0 10px; }
.top .eyebrow { color: #bff4fb; }
.top h1 { font-size: clamp(34px, 6vw, 60px); margin: 44px 0 14px; max-width: 16ch; }
.top .lead { font-size: clamp(17px, 2.2vw, 20px); max-width: 60ch; opacity: .95; margin: 0; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; display: block; }

/* sections */
section { padding-block: 56px; }
section h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
.sub { color: var(--muted); max-width: 62ch; margin: 0 0 26px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 2px 10px rgb(16 35 61 / .05); }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g2, .g3 { grid-template-columns: 1fr; } .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .stat { padding: 14px; } .stat b { font-size: 24px; } section { padding-block: 40px; }
  .nav-links a { font-size: 14px; padding: 6px 10px; } .brand { font-size: 20px; } .brand img { width: 34px; height: 34px; } }

/* stat tiles */
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.stat span { display: block; color: var(--muted); font-weight: 700; font-size: 14px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(26px, 3.6vw, 34px); line-height: 1.15; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat small { color: var(--muted); font-size: 14px; }
.stat.hi { background: linear-gradient(135deg, #e9fbf0, #fff); border-color: #bfe8cf; }
.stat.hi b { color: var(--kelp); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--shell); margin-right: 6px; vertical-align: middle; box-shadow: 0 0 0 0 rgb(126 217 87 / .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(126 217 87 / 0); } 100% { box-shadow: 0 0 0 0 rgb(126 217 87 / 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } html { scroll-behavior: auto; } }
.stamp { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* status banner */
.status { display: flex; gap: 14px; align-items: flex-start; border-radius: var(--r); padding: 18px 20px; background: #fff8e6; border: 1.5px solid #f3d27a; margin-top: 18px; }
.status.done { background: #eafaf0; border-color: #9fdcb5; }
.status .ico { font-size: 28px; line-height: 1; }
.status h3 { font-size: 20px; margin-bottom: 4px; }
.status p { margin: 0; }

/* steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 16px 62px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--sea); color: #fff; font-weight: 800; display: grid; place-items: center; font-family: var(--display); }
.steps b { display: block; }

/* lists / tables */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; flex-wrap: nowrap; }
.rows li > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows li > b { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .rows li { font-size: 15px; gap: 8px; } .rows .mono { font-size: 12.5px; } .rows .pill { padding: 2px 7px; } }
.rows li:first-child { border-top: 0; }
.rows .empty { color: var(--muted); justify-content: flex-start; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 2px 9px; border-radius: 99px; background: #e6f4fb; color: var(--sea); }
.pill.out { background: #eafaf0; color: var(--kelp); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; word-break: break-all; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 10px; border-top: 1px solid var(--line); vertical-align: top; }
th { width: 34%; color: var(--muted); font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* receipts */
.receipt { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; }
.receipt img { width: 120px; height: 120px; object-fit: cover; border-radius: 14px; background: var(--line); }
@media (max-width: 600px) { .receipt { grid-template-columns: 1fr; } .receipt img { width: 100%; height: 180px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 99px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.btn.primary { background: var(--shell); color: var(--deep); }
.btn.primary:hover { background: #93e36f; }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--sea); }
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.copy { display: flex; gap: 8px; align-items: center; background: #f2f6f9; border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 12px; }
.copy code { flex: 1; min-width: 0; }
.copy button { flex: none; border: 0; border-radius: 9px; background: var(--deep); color: #fff; font-weight: 800; padding: 7px 12px; cursor: pointer; font: inherit; font-weight: 800; font-size: 14px; }

/* quote / boilerplate */
.quote { font-family: var(--display); font-size: clamp(20px, 2.6vw, 24px); line-height: 1.35; border-left: 5px solid var(--lagoon); padding: 4px 0 4px 18px; margin: 0; }
.note { font-size: 14.5px; color: var(--muted); }
.nope li { margin-bottom: 6px; }

/* footer */
footer { background: var(--abyss); color: #cfe3f2; padding-block: 40px 56px; margin-top: 30px; }
footer a { color: #fff; }
footer .cols { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer p { font-size: 14.5px; max-width: 70ch; }
