/* Ooaker — colours and type from the Ooaker brand guide */
:root {
  --surface: #F7F0E3;      /* cream */
  --surface-raised: #E9D7B4; /* sand */
  --ink: #3B2A20;          /* espresso */
  --ink-muted: #6B5646;
  --ochre: #C8862A;
  --on-ochre: #2B1D14;
  --ochre-text: #8A5A14;
  --line: #DCCBAE;
  --error: #9C2F1F;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--ochre-text); }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; }
h1, h2, .wordmark, .big { font-family: var(--serif); font-variation-settings: "opsz" 36; font-weight: 600; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.wordmark { font-size: 30px; line-height: 1; color: var(--ink); text-decoration: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-lg { min-height: 52px; padding: 0 30px; font-size: 17px; }
.btn-dark { background: var(--ink); color: var(--surface); }
.btn-dark:hover { color: var(--surface); background: #2B1D14; }
.btn-ochre { background: var(--ochre); color: var(--on-ochre); }
.btn-ochre:hover { color: var(--on-ochre); background: #B9791F; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }

.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 56px; }
.hero-text { flex: 1 1 440px; min-width: 0; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ochre-text); }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; }
.lead { margin: 20px 0 28px; font-size: 19px; line-height: 1.55; color: var(--ink-muted); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-tiles { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile { aspect-ratio: 1; border-radius: 20px; display: flex; align-items: center; justify-content: center; }
.tile svg { width: 60%; }

.band-sand { background: var(--surface-raised); padding: 56px 0; }
.band-sand h2, .compare h2 { font-size: 34px; margin-bottom: 24px; }
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: 18px; padding: 26px; }
.card .big { margin: 0 0 8px; font-size: 40px; line-height: 1.1; color: var(--ochre-text); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-muted); }

.compare { padding-top: 56px; padding-bottom: 56px; }
.compare h2 { margin-bottom: 8px; }
.table-scroll { overflow-x: auto; margin: 20px 0 12px; }
table { width: 100%; min-width: 520px; border-collapse: collapse; }
th { text-align: left; padding: 12px 10px; border-bottom: 2px solid var(--ink); }
td { padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr.ours { background: #F2E6D3; }
tr.ours td:first-child, tr.ours td:last-child { font-weight: 600; }

.band-dark { background: var(--ink); color: var(--surface); padding: 56px 0; }
.join { display: flex; flex-wrap: wrap; gap: 40px; }
.join-text { flex: 1 1 320px; min-width: 0; }
.join-text h2 { font-size: 36px; line-height: 1.1; margin-bottom: 12px; }
.join-text p { color: var(--surface-raised); font-size: 17px; }
.form-card { flex: 1 1 420px; min-width: 0; background: var(--surface); color: var(--ink); border-radius: 20px; padding: 28px; }
.form-card form { display: flex; flex-direction: column; gap: 14px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.form-card label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.form-card input[type=text], .form-card input[type=email], .form-card input[type=url], .form-card select { height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #FFFDF8; padding: 0 14px; font: inherit; color: var(--ink); }
.form-card input[aria-invalid=true], .form-card select[aria-invalid=true] { border-color: var(--error); }
.form-card label.check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--ink-muted); font-weight: 400; line-height: 1.4; }
.form-card label.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.field-error, .form-error { margin: 0; color: var(--error); font-size: 14px; font-weight: 500; }
.form-error { padding: 10px 14px; background: #F6E1DC; border-radius: 10px; }
.thanks h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 10px; }
.thanks p { margin: 0; color: var(--ink-muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.prose { max-width: 720px; padding-top: 24px; padding-bottom: 56px; }
.prose h1 { font-size: 40px; margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin: 28px 0 6px; }

.site-footer { border-top: 1px solid var(--surface-raised); padding: 28px 0 40px; font-size: 13px; color: var(--ink-muted); }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
