/* ─── TradieFlow Landing — Australian utility brutalism ─────────────
   Hard 1.5px borders, 8px radius, chartreuse accent on primary CTAs. */
:root {
  --surface: #FAFAF9;
  --surface-alt: #F3F2EE;
  --surface-sunk: #ECEAE3;
  --card: #FFFFFF;

  --border: #111111;
  --border-soft: #E4E2DB;
  --border-muted: #D7D4CB;

  --ink: #111111;
  --ink-secondary: #4A4A47;
  --ink-tertiary: #8A8880;

  --blue: #0E88B1;
  --red: #DC2626;
  --green: #2F7D4F;
  --amber: #B97B00;

  --accent: #B8D826;
  --accent-ink: #111111;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--surface);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ─── Layout ───────────────────────────────────────────────── */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
}

/* ─── Top nav ──────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  background: var(--surface);
  border-bottom: 1.5px solid var(--border);
  z-index: 50;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.3px;
}

.brand-mark {
  width: 44px;
  height: 34px;
  display: inline-block;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-signin {
  border-left: 1.5px solid var(--border-soft);
  padding-left: 20px;
  color: var(--ink-secondary);
}

.nav-signin:hover {
  color: var(--ink) !important;
}

@media (max-width: 640px) {
  .nav-links a:not(.btn) {
    display: none;
  }
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: transform 60ms ease, background 120ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  box-shadow: 0 2px 0 var(--border);
}

.btn-primary:hover {
  background: color-mix(in oklch, var(--accent), #000 8%);
}

.btn-secondary {
  background: var(--card);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--surface-alt);
}

.btn-dark {
  background: var(--ink);
  color: var(--surface);
  font-weight: 800;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 16px;
  border-radius: 8px;
  box-shadow: 0 3px 0 var(--border);
}

.btn-xl {
  padding: 18px 28px;
  font-size: 18px;
  border-radius: 8px;
  box-shadow: 0 3px 0 var(--border);
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1.5px solid var(--border);
  background:
    linear-gradient(180deg, transparent 0%, transparent 60%, var(--surface-alt) 100%),
    var(--surface);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 820px;
}

.hero h1 .accent {
  background: var(--accent);
  padding: 2px 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 4px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--ink-secondary);
  max-width: 620px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  font-size: 13px;
  color: var(--ink-tertiary);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust b {
  color: var(--ink);
}

.hero-mock {
  margin-top: 56px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 6px 0 var(--border);
  max-width: 720px;
}

.mock-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-secondary);
  margin-bottom: 8px;
}

.mock-cta {
  background: var(--accent);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 3px 0 var(--border);
  color: var(--accent-ink);
  margin-bottom: 12px;
}

.mock-cta-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.mock-cta-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.mock-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.mock-cta-amount {
  font-family: 'Geist Mono', ui-monospace;
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.mock-cta-button {
  width: 100%;
  background: var(--ink);
  color: var(--surface);
  padding: 12px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  border: none;
}

.mock-foot {
  font-size: 11px;
  text-align: center;
  color: var(--ink-tertiary);
  font-weight: 600;
}

/* ─── Section heads ────────────────────────────────────────── */
.section {
  padding: 80px 0;
  border-bottom: 1.5px solid var(--border);
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--ink-tertiary);
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 14px;
  max-width: 700px;
}

.section-sub {
  font-size: 17px;
  color: var(--ink-secondary);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.55;
}

/* ─── Features grid ────────────────────────────────────────── */
.features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  position: relative;
}

.feature-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ink-tertiary);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ink);
  margin-bottom: 18px;
}

.feature h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.feature p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.feature-metric {
  display: inline-block;
  font-family: 'Geist Mono', ui-monospace;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--surface-sunk);
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  padding: 3px 8px;
  color: var(--ink);
}

/* ─── How it works ─────────────────────────────────────────── */
.how {
  background: var(--surface-alt);
}

.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
}

.step-n {
  font-family: 'Geist Mono', ui-monospace;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  -webkit-text-stroke: 1.5px var(--border);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.step h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ─── Origin ───────────────────────────────────────────────── */
.origin {
  background: var(--ink);
  color: var(--surface);
  border-bottom: 1.5px solid var(--ink);
}

.origin h2 {
  color: var(--surface);
}

.origin .section-eyebrow {
  color: var(--accent);
}

.origin-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
}

@media (max-width: 900px) {
  .origin-grid {
    grid-template-columns: 1fr;
  }
}

.origin-body {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(250, 250, 249, 0.88);
}

.origin-body p {
  margin-bottom: 14px;
}

.origin-body b {
  color: var(--accent);
}

.origin-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(250, 250, 249, 0.2);
  border-radius: 10px;
  padding: 24px;
}

.origin-card-name {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 2px;
}

.origin-card-role {
  font-size: 12px;
  color: rgba(250, 250, 249, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  margin-bottom: 18px;
}

.origin-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 16px;
  border-top: 1.5px solid rgba(250, 250, 249, 0.15);
}

.origin-stat-n {
  font-family: 'Geist Mono', ui-monospace;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 4px;
}

.origin-stat-l {
  font-size: 11px;
  color: rgba(250, 250, 249, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

/* ─── Pricing ──────────────────────────────────────────────── */
.pricing {
  background: var(--surface);
  text-align: center;
}

.pricing h2 {
  margin-left: auto;
  margin-right: auto;
}

.pricing .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.price-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  text-align: left;
  box-shadow: 0 4px 0 var(--border);
}

.price-name {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-tertiary);
  margin-bottom: 8px;
}

.price-amount {
  font-family: 'Geist Mono', ui-monospace;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.price-amount-sub {
  font-size: 14px;
  color: var(--ink-tertiary);
  font-weight: 600;
  margin-bottom: 22px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.price-list li {
  padding: 8px 0;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.price-list li:last-child {
  border-bottom: none;
}

.price-tick {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ─── Final CTA ────────────────────────────────────────────── */
.cta-final {
  background: var(--accent);
  border-bottom: 1.5px solid var(--border);
  padding: 80px 0;
  text-align: center;
}

.cta-final h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.05;
  margin: 0 auto 16px;
  max-width: 720px;
}

.cta-final p {
  font-size: 18px;
  color: var(--accent-ink);
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto 28px;
}

/* ─── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(250, 250, 249, 0.75);
  padding: 36px 0 32px;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer .brand {
  color: var(--surface);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-tag {
  font-size: 12px;
  color: rgba(250, 250, 249, 0.45);
  margin-top: 14px;
  width: 100%;
  border-top: 1px solid rgba(250, 250, 249, 0.12);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
