/* Done & Dustd website. "Midnight" look: tokens copied from 04-build/app/src/theme.ts (keep in step). */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("/assets/fonts/BricolageGrotesque_800ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/DMSans_400Regular.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url("/assets/fonts/DMSans_500Medium.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url("/assets/fonts/DMSans_700Bold.ttf") format("truetype"); }

/* Dark (Midnight) is the signature, so it's the default; light follows the phone. */
:root {
  color-scheme: dark light;
  --surface: #0C1A13;
  --card: #14251C;
  --ink: #F2EFE8;
  --ink-muted: #B9C4BD;
  --accent: #7FD6A2;
  --on-accent: #0C1A13;
  --accent-text: #7FD6A2;
  --accent-soft: #1A3324;
  --line: #22372B;
  --gold: #E8B94A;
  --glass: rgba(255,255,255,0.06);
  --glass-line: rgba(255,255,255,0.10);
  --brand: #2F7D4F;
  --glow: radial-gradient(60% 50% at 70% 0%, rgba(127,214,162,0.16), transparent 70%);
  --r-sm: 8px; --r-control: 12px; --r-button: 14px; --r-md: 16px; --r-card: 22px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --surface: #FBF8F3;
    --card: #FFFFFF;
    --ink: #1F2A24;
    --ink-muted: #5C665F;
    --accent: #2F7D4F;
    --on-accent: #FFFFFF;
    --accent-text: #276B43;
    --accent-soft: #E3F1E7;
    --line: #ECE6DC;
    --gold: #8F6400;
    --glass: #FFFFFF;
    --glass-line: rgba(31,42,36,0.14);
    --glow: radial-gradient(60% 50% at 70% 0%, rgba(47,125,79,0.10), transparent 70%);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 400 17px/1.6 var(--body);
  background-image: var(--glow); background-repeat: no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 20px/1 var(--display); letter-spacing: -0.3px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { display: flex; gap: 18px; font-weight: 500; font-size: 15px; }
.top nav a { color: var(--ink-muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
@media (max-width: 560px) { .top nav .hide-sm { display: none; } }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0 0 12px; }
h1 { font-size: clamp(40px, 7vw, 68px); line-height: 0.98; letter-spacing: -1.6px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.08; letter-spacing: -0.8px; }
h3 { font: 700 18px/1.35 var(--body); }
.lede { font-size: 19px; color: var(--ink-muted); max-width: 34em; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; }
.green { color: var(--accent-text); }
.eyebrow { font: 700 13px/1 var(--body); letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }

/* Buttons: soft squares, never pills (canvas V8 S3) */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px;
  border-radius: var(--r-button); border: 1px solid transparent; text-decoration: none; cursor: pointer;
  font: 700 16px/1.2 var(--body); background: var(--accent); color: var(--on-accent);
}
.btn:hover { filter: brightness(1.06); }
.btn.soon { cursor: default; opacity: 0.8; }
.btn.soon:hover { filter: none; }
.btn.ghost { background: var(--glass); color: var(--ink); border-color: var(--glass-line); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn small { display: block; font-weight: 500; font-size: 12px; opacity: .85; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Sections */
section { padding: 56px 0; }
.card { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-card); padding: 24px; }
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Website design H2 "Bolder" (canvas round 2, Charlie 13 Oct 2026): House Notes layout on brand, with the night glow. */

/* Hero: night glow (dark) / morning wash (light), living bins on a kerb */
.hero-band { background: radial-gradient(90% 70% at 80% 0%, #1d3a27 0%, rgba(12,26,19,0) 70%); }
@media (prefers-color-scheme: light) { .hero-band { background: linear-gradient(180deg, #E3F1E7 0%, rgba(251,248,243,0) 100%); } }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: end; padding: 40px 0 0; }
.hero .meta { font-size: 14px; color: var(--ink-muted); margin-bottom: 10px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; gap: 8px; } }
.scene { position: relative; display: flex; justify-content: center; gap: 28px; padding-top: 30px; }
.scene .bin { display: flex; flex-direction: column; align-items: center; }
.scene .bin svg { width: 104px; height: 124px; }
.scene .bin span { font-size: 14px; margin-top: 4px; }
.sparkle { position: absolute; fill: var(--gold); }
.kerb { height: 10px; background: var(--line); margin-top: 12px; }
.cta { padding: 28px 0 0; max-width: 420px; }
.cta .btn { width: 100%; justify-content: center; min-height: 56px; }
.cta p { font-size: 14px; color: var(--ink-muted); text-align: center; margin: 10px 0 0; }

/* Bins blink now and then; still for reduce-motion */
.eyes { transform-origin: 32px 34px; animation: blink 6s infinite; }
.bin:nth-child(2) .eyes { animation-delay: 1.7s; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }
@media (prefers-reduced-motion: reduce) { .eyes { animation: none; } }

/* The rota note, pinned with a gold sparkle */
.note { position: relative; max-width: 460px; margin: 40px auto 0; padding: 28px 22px 16px; background: var(--card); border: 1px solid var(--glass-line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.45); transform: rotate(-1.2deg); }
@media (prefers-color-scheme: light) { .note { box-shadow: 0 14px 34px rgba(31,42,36,0.10); } }
.note .pin { position: absolute; top: -12px; left: 50%; width: 24px; height: 24px; margin-left: -12px; fill: var(--gold); }
.note h3 { font: 800 24px/1.2 var(--display); letter-spacing: -0.3px; margin: 0; }
.note .row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.note .row svg { width: 30px; height: 36px; flex: none; }
.note .row .who { margin-left: auto; font: 700 18px/1 var(--display); color: var(--accent-text); }

/* Numbered sections with a rule, and list rows */
.sec-head { display: flex; justify-content: space-between; border-top: 2px solid var(--ink); padding-top: 12px; margin-bottom: 8px; font-size: 14px; color: var(--ink-muted); }
.sec-title { margin: 12px 0 8px; }
.rows { list-style: none; padding: 0; margin: 0; }
.rows li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rows .n { font: 800 32px/1 var(--display); color: var(--accent-text); width: 28px; flex: none; }
.rows h3 { margin: 0 0 2px; }
.rows p { margin: 0; color: var(--ink-muted); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 48px; }

/* Pricing as a list */
.plans li { align-items: baseline; }
.plans .price { margin-left: auto; font: 800 28px/1 var(--display); letter-spacing: -0.5px; white-space: nowrap; }
.plans .name { font-weight: 700; }
.plans .best .name { color: var(--accent-text); }
.plans .gold .name { color: var(--gold); }

/* Join card */
.invite { padding: 26px; border: 1px solid var(--glass-line); border-radius: var(--r-card); background: var(--card); }
.invite .house { font: 800 clamp(40px, 9vw, 56px)/1.02 var(--display); letter-spacing: -1px; margin: 2px 0 4px; overflow-wrap: anywhere; }
.join-bins { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0 6px; }
.join-bins .bin { display: flex; flex-direction: column; align-items: center; font-size: 13px; }
.join-bins svg { width: 64px; height: 76px; }
.invite .btn { width: 100%; justify-content: center; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-text); font: 800 22px/1 var(--display); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--ink-muted); }

/* Long-form pages (privacy, terms, support) */
.doc h1 { font-size: clamp(34px, 6vw, 52px); margin-top: 24px; }
.doc h2 { font-size: 24px; letter-spacing: -0.3px; margin-top: 36px; }
.doc li { margin: 6px 0; }

/* Forms and lists */
input[type="search"], input[type="text"] {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-control);
  border: 1px solid var(--glass-line); background: var(--card); color: var(--ink); font: 400 17px var(--body);
}
.council-list { columns: 2 260px; column-gap: 24px; padding: 0; list-style: none; margin: 20px 0 0; }
.council-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 40px; font-size: 15px; }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer nav a { color: var(--ink-muted); text-decoration: none; }
footer nav a:hover { color: var(--ink); }
