/* Hovea marketing site — built on the design-system tokens.
   "The WA bush in spring": warm Paper, eucalypt greens, one violet spark.
   No framework, no build step — one CSS file, three bundled OFL fonts. */

@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/Fraunces-VariableFont.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('assets/fonts/HankenGrotesk-VariableFont.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Spline Sans Mono';
  src: url('assets/fonts/SplineSansMono-VariableFont.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --green-wandoo: #4f6a45;
  --green-sage: #6e7c5b;
  --green-deep: #3e5436;
  --violet-hovea: #6e4fb0;
  --gold-wattle: #e0a93b;
  --sand-wheat: #e5d9c3;
  --ink-bush: #2a2a24;
  --ink-70: #55534a;
  --ink-50: #6f6c61;
  --paper: #faf7f1;
  --paper-2: #f2ede3;
  --line-soft: #e4dccc;
  --line: #d8cebb;
  --surface-card: #fff;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'Spline Sans Mono', ui-monospace, Menlo, monospace;

  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(42, 42, 36, 0.06), 0 1px 3px rgba(42, 42, 36, 0.05);
  --shadow-md: 0 2px 6px rgba(42, 42, 36, 0.07), 0 6px 16px rgba(42, 42, 36, 0.06);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-bush);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

a { color: var(--violet-hovea); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1080px, 100% - 48px); margin-inline: auto; }

/* --- Top bar --- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { width: 34px; height: 34px; }
.brand .word {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink-bush);
}
.topbar nav { display: flex; gap: 26px; align-items: center; }
.topbar nav a { color: var(--ink-70); font-weight: 500; font-size: 15px; }
@media (max-width: 640px) { .topbar nav .navlink { display: none; } }

/* --- Buttons (pill, per the DS) --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease-out) 160ms, transform var(--ease-out) 120ms;
}
.btn-primary { background: var(--green-wandoo); color: var(--paper); }
.btn-primary:hover { background: var(--green-deep); text-decoration: none; }
.btn-primary:active { transform: translateY(0.5px); }
.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--line);
}
.btn-outline:hover { background: rgba(79, 106, 69, 0.06); text-decoration: none; }

/* Official store badges (App Store / Google Play), each trimmed to its pill so
   the two line up at a shared height; the .cta-row gap supplies the brand-
   mandated clear space. Both pills sit on light and dark backgrounds unchanged.
   Sized to sit level with the 48px pill buttons. */
.store-badge { display: inline-flex; align-items: center; transition: transform var(--ease-out) 120ms; }
.store-badge img { height: 46px; width: auto; display: block; }
.store-badge:hover { text-decoration: none; transform: translateY(-1px); }

/* --- Hero --- */
.hero { padding: 84px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 40px; }
}
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  color: var(--ink-50);
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 3.7rem); }
.hero h1 .accent { color: var(--green-wandoo); }
.hero .lede {
  margin-top: 20px;
  font-size: 1.2rem;
  color: var(--ink-70);
  max-width: 32ch;
}
.cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.note { margin-top: 16px; font-size: 14px; color: var(--ink-50); }

/* --- Hero product shot --- */
/* A real capture from the app — the PNG is already a full device (chassis +
   baked shadow), so no card chrome here. Regenerated by ./tool/shots.sh. */
.hero-shot { text-align: center; }
.hero-shot img {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

/* --- Sections --- */
section { padding: 64px 0; }
.section-head { max-width: 56ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.section-head p { margin-top: 14px; color: var(--ink-70); font-size: 1.1rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
}
.step .num {
  font-family: var(--font-mono);
  color: var(--green-wandoo);
  font-weight: 600;
  font-size: 14px;
}
.step h3 { font-size: 1.4rem; margin: 12px 0 8px; }
.step p { color: var(--ink-70); }

.sunken { background: var(--paper-2); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 14px; }
.feature .tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-wandoo);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 15px;
}
.feature h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; }
.feature p { color: var(--ink-70); font-size: 0.97rem; margin-top: 3px; }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 720px; }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-card-highlight { border-color: var(--green-wandoo); box-shadow: var(--shadow-md); }
.price-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--green-wandoo);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.price-card h3 { font-size: 1.4rem; }
.price-card .price { display: flex; align-items: baseline; gap: 4px; }
.price-card .amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; }
.price-card .period { color: var(--ink-70); font-size: 1rem; }
.price-blurb { color: var(--ink-70); }
.price-features { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.price-features li {
  color: var(--ink-70);
  font-size: 0.95rem;
  padding-left: 22px;
  position: relative;
}
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-wandoo);
  font-weight: 600;
}
.price-card .btn { justify-content: center; margin-top: 8px; }

/* --- Sample quote table (per-trade landing pages) --- */
.quote-sample,
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.quote-sample th,
.quote-sample td,
.compare th,
.compare td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.quote-sample thead th {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  color: var(--ink-50);
  font-weight: 600;
}
.quote-sample .qty,
.quote-sample .amt { text-align: right; white-space: nowrap; }
.quote-sample .amt { font-family: var(--font-mono); }
.quote-sample tfoot td { color: var(--ink-70); border-bottom: none; }
.quote-sample tfoot .total td {
  font-weight: 700;
  color: var(--ink-bush);
  border-top: 2px solid var(--line);
}
.quote-sample tfoot .qty { font-family: var(--font-body); text-transform: none; letter-spacing: 0; }

/* --- Comparison table (competitor / alternative pages) --- */
.compare thead th { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.compare tbody th {
  font-weight: 600;
  color: var(--ink-bush);
  width: 34%;
}
.compare td { color: var(--ink-70); }
.compare .yes { color: var(--green-deep); font-weight: 600; }
.compare thead .yes { color: var(--green-wandoo); }
.compare tr:last-child th,
.compare tr:last-child td { border-bottom: none; }
@media (max-width: 620px) {
  .quote-sample th, .quote-sample td,
  .compare th, .compare td { padding: 11px 12px; font-size: 0.9rem; }
}

/* --- Cross-link hub (internal linking on landing pages) --- */
.crosslinks { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
@media (max-width: 620px) { .crosslinks { grid-template-columns: 1fr; } }
.crosslinks h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  border: 1px solid var(--line);
  color: var(--green-deep);
  font-weight: 500;
  font-size: 0.95rem;
}
.chip:hover { background: rgba(79, 106, 69, 0.06); text-decoration: none; }

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 4px 22px;
}
.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  color: var(--green-wandoo);
  font-size: 1.6rem;
  line-height: 1;
  flex: none;
  transition: transform var(--ease-out) 160ms;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-70); padding: 0 0 20px; max-width: 64ch; }

/* --- Closing band --- */
.band {
  background: var(--green-wandoo);
  color: var(--paper);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
}
.band h2 { color: var(--paper); font-size: clamp(2rem, 4vw, 2.6rem); }
.band p { color: rgba(250, 247, 241, 0.92); margin-top: 14px; font-size: 1.1rem; }
.band .cta-row { justify-content: center; }
.band .btn-primary { background: var(--paper); color: var(--green-deep); }
.band .btn-primary:hover { background: #fff; }
.band .btn-outline { color: var(--paper); border-color: rgba(250, 247, 241, 0.4); }
.band .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

/* --- Legal / prose pages (privacy, terms) --- */
.legal { padding: 56px 0 72px; }
.legal .wrap { width: min(760px, 100% - 48px); }
.legal .crumb {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  color: var(--ink-50);
}
.legal h1 { font-size: clamp(2.1rem, 5vw, 2.8rem); margin: 12px 0 8px; }
.legal .updated { color: var(--ink-50); font-size: 14px; margin-bottom: 8px; }
.legal .intro { color: var(--ink-70); font-size: 1.08rem; margin-bottom: 8px; }
.legal h2 {
  font-size: 1.4rem;
  margin: 40px 0 12px;
  padding-top: 8px;
}
.legal h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--ink-bush); line-height: 1.6; }
.legal p { margin: 12px 0; }
.legal ul { margin: 12px 0; padding-left: 22px; }
.legal li { margin: 7px 0; }
.legal a { color: var(--violet-hovea); }
.legal strong { font-weight: 600; }
.callout {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 0.97rem;
  color: var(--ink-70);
}
.placeholder {
  background: #f3ecd8;
  border-radius: 4px;
  padding: 0 5px;
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--green-deep);
}

/* --- Footer --- */
footer { padding: 48px 0 64px; border-top: 1px solid var(--line-soft); }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .brand .word { font-size: 22px; }
footer .tag { color: var(--ink-50); font-size: 14px; margin-top: 8px; max-width: 30ch; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
footer nav a { color: var(--ink-70); font-size: 14px; }
.fineprint { margin-top: 32px; color: var(--ink-50); font-size: 13px; }

