/* Noosa Hoverboards — demo marketing site
 * Brand: river blue + sunset coral.
 * Zero build step, plain CSS, custom properties for theming.
 */

:root {
  --page: #f3f7fa;
  --ink: #0b1f2a;
  --ink-soft: #3b4f5c;
  --muted: #697884;
  --line: #dce4ea;
  --surface: #ffffff;

  --brand: #0f6d8c;       /* river blue */
  --brand-ink: #083649;
  --brand-soft: #d7ecf3;
  --accent: #f4663a;      /* sunset coral */
  --accent-ink: #8b2c0d;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 42, 0.06), 0 1px 3px rgba(11, 31, 42, 0.08);
  --shadow-md: 0 6px 16px -4px rgba(11, 31, 42, 0.10), 0 2px 6px rgba(11, 31, 42, 0.06);

  --max: 1120px;
  --max-narrow: 720px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); }
a:hover { color: var(--brand-ink); }

h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: var(--max-narrow); }

/* ── Demo banner ─────────────────────────────────────── */
.demo-banner {
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  padding: 10px 16px;
  line-height: 1.4;
}
.demo-banner code {
  background: rgba(0, 0, 0, 0.2);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.85em;
}

/* ── Header ──────────────────────────────────────────── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.brand__mark {
  color: var(--brand);
  font-size: 1.4rem;
  line-height: 1;
}
.brand__name { font-size: 1.05rem; letter-spacing: -0.01em; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--brand); }

@media (max-width: 640px) {
  .site-nav { gap: 12px; font-size: 0.88rem; }
  .site-nav a:not(.btn) { display: none; }
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s ease;
  font-size: 0.95rem;
  line-height: 1.2;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
}
.btn--primary:hover {
  background: var(--brand-ink);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
}
.btn--sm { padding: 7px 14px; font-size: 0.88rem; }
.btn--lg { padding: 14px 26px; font-size: 1.05rem; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 0 120px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(15, 109, 140, 0.14), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(244, 102, 58, 0.14), transparent 55%),
    linear-gradient(180deg, var(--brand-soft) 0%, var(--page) 100%);
  overflow: hidden;
}
.hero h1 { max-width: 780px; }
.hero__lede {
  max-width: 560px;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  background: rgba(15, 109, 140, 0.08);
  padding: 5px 11px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 60px;
  background: var(--page);
  clip-path: polygon(
    0 60%, 8% 50%, 16% 55%, 24% 45%, 32% 50%, 40% 40%, 48% 45%,
    56% 35%, 64% 45%, 72% 38%, 80% 50%, 88% 42%, 96% 55%, 100% 48%,
    100% 100%, 0 100%
  );
}

/* ── Sections ────────────────────────────────────────── */
.products { padding: 80px 0; }
.section__title { text-align: center; }
.section__lede {
  text-align: center;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 48px;
}

.product-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.product-card__icon {
  font-size: 2.2rem;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  margin-bottom: 18px;
}
.product-card--2 .product-card__icon { background: #fde9df; }
.product-card--3 .product-card__icon { background: #e5f0f4; }
.product-card--4 .product-card__icon { background: #fff1cc; }

.product-card h3 { margin-bottom: 10px; }
.product-card__blurb {
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}
.product-card__price {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 8px 0 16px;
}
.product-card__price strong {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  margin-left: 4px;
}
.product-card .btn { align-self: flex-start; }

/* ── Trust strip ─────────────────────────────────────── */
.trust {
  padding: 80px 0 100px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.trust__grid h3 {
  font-size: 1rem;
  color: var(--brand);
  margin-bottom: 6px;
}
.trust__grid p { color: var(--ink-soft); font-size: 0.95rem; }

/* ── Book page ───────────────────────────────────────── */
.body--book { background: var(--surface); }
.book-main { padding: 48px 0 80px; }
.book-main h1 { margin-bottom: 8px; }
.book-main__lede {
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ── About page ──────────────────────────────────────── */
.about-main { padding: 48px 0 80px; }
.about-main__lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.about-main h2 {
  margin-top: 2em;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.about-main code {
  background: var(--brand-soft);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  padding: 32px 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  background: var(--page);
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--brand); }
