/* BLOKKIE — Retro-Tactile Mobile-First Stylesheet */
:root {
  --paper: #f7f4ec;
  --paper-alt: #efeadd;
  --card: #ffffff;
  --ink: #141414;
  --ink-muted: #4b4e54;
  --border: #d8d2c3;
  --accent: #16a34a;
  --accent-dark: #15803d;
  --highlight: #fff3c4;
  --danger: #b91c1c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 0 #141414;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: min(1100px, 100% - 2rem); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 236, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 900; letter-spacing: 0.06em; font-size: 1.1rem; }
.brand-mark { flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav a:not(.btn) { display: none; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ink);
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  min-height: 48px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.88rem; min-height: 38px; background: var(--ink); color: var(--paper); }
.btn-primary { background: var(--accent); color: #ffffff; box-shadow: var(--shadow); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-dark); transform: translate(-1px, -1px); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 0 1px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper-alt); }
.btn-outline { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.btn-outline:hover { background: var(--highlight); }
.btn-full { width: 100%; }

/* Typography */
.eyebrow {
  margin: 0 0 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin-top: 0; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.35rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.lead { font-size: 1.06rem; color: var(--ink-muted); margin: 0 0 1.5rem; }

/* Hero */
.hero { padding: 2.5rem 0 3.25rem; border-bottom: 2px solid var(--ink); }
.hero-grid { display: grid; gap: 2.25rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.launch-badge {
  display: inline-block;
  margin: 0;
  padding: 0.45rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--highlight);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
}
.blokkie-stage { display: grid; gap: 1.25rem; justify-items: center; }
.blokkie-svg { width: min(280px, 100%); filter: drop-shadow(0 8px 0 rgba(20, 20, 20, 0.14)); }

/* Retro Thermal Receipt Preview */
.receipt-preview {
  width: min(290px, 100%);
  background: #ffffff;
  border: 2px solid var(--ink);
  border-top: 6px dashed var(--ink);
  border-bottom: 6px dashed var(--ink);
  padding: 1rem;
  font-family: var(--font-mono);
  text-align: center;
  box-shadow: var(--shadow);
}
.receipt-top { font-weight: 800; font-size: 0.88rem; letter-spacing: 0.06em; }
.receipt-meta { font-size: 0.74rem; color: var(--ink-muted); margin: 0.2rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px dashed var(--ink); }
.receipt-photo-slot {
  background: repeating-linear-gradient(45deg, #f3f1ea, #f3f1ea 8px, #e7e3d6 8px, #e7e3d6 16px);
  border: 1.5px dashed var(--ink);
  padding: 1.4rem 0.75rem;
  margin-bottom: 0.75rem;
  display: grid;
  gap: 0.3rem;
}
.receipt-photo-slot span { font-size: 0.75rem; font-weight: 800; }
.receipt-photo-slot small { font-size: 0.7rem; color: var(--ink-muted); }
.receipt-caption { font-weight: 800; font-size: 0.85rem; margin-bottom: 0.65rem; }
.receipt-footer { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.66rem; padding-top: 0.5rem; border-top: 1px dashed var(--ink); color: var(--ink-muted); }

/* Sections & Cards */
.section { padding: 3.25rem 0; }
.section-alt { background: var(--paper-alt); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.section-head { max-width: 720px; margin-bottom: 1.75rem; }
.section-head p:not(.eyebrow) { margin: 0; color: var(--ink-muted); }

.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.cards-grid { display: grid; gap: 1.25rem; }
.step-card, .info-card, .price-card {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.84rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.7rem;
}
.step-card p, .info-card p { margin: 0; color: var(--ink-muted); font-size: 0.96rem; }
.photo-placeholder-banner {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem;
  background: #ffffff;
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* Comparison Table */
.table-wrap { width: 100%; overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; text-align: left; font-size: 0.94rem; }
.compare-table th, .compare-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table thead th { background: var(--ink); color: var(--paper); font-weight: 800; border-bottom: 2px solid var(--ink); }
.compare-table thead .col-blokkie { background: var(--accent-dark); color: #ffffff; }
.compare-table tbody .col-blokkie { background: #f0fdf4; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card-featured { background: #fffdf5; border-width: 3px; }
.package-tag { margin: 0 0 0.45rem; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 800; text-transform: uppercase; color: var(--accent-dark); }
.price { margin: 0.25rem 0 0.6rem; font-size: 2rem; font-weight: 900; line-height: 1.1; }
.price small { font-size: 0.88rem; font-weight: 600; color: var(--ink-muted); }
.package-desc { margin: 0 0 1rem; color: var(--ink-muted); font-size: 0.94rem; }
.feature-list { margin: 0 0 1.35rem; padding-left: 1.15rem; display: grid; gap: 0.45rem; font-size: 0.93rem; flex: 1; }
.price-card .btn { margin-top: auto; width: 100%; }

/* Booking Form (Upgraded Retro Card) */
.book-grid { display: grid; gap: 1.75rem; align-items: start; }
.trust-points { margin: 1.1rem 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; font-weight: 600; }
.email-fallback { font-size: 0.92rem; color: var(--ink-muted); margin-bottom: 0; }
.email-fallback a { font-weight: 700; text-underline-offset: 3px; }

.quote-form {
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-top: 8px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 6px 0 var(--ink);
  display: grid;
  gap: 1.1rem;
}
.field-row { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.field input,
.field select {
  display: block;
  width: 100%;
  padding: 0.82rem 0.95rem;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background-color: #fbfaf6;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  min-height: 50px;
  transition: background-color 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.field input::placeholder { color: #8c8f94; }
.field input:focus,
.field select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.22);
}

.form-status:empty { display: none; }
.form-status {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1.5px solid transparent;
}
.form-status.is-error { background: #fef2f2; color: var(--danger); border-color: #fecaca; }
.form-status.is-info { background: #f0fdf4; color: var(--accent-dark); border-color: #bbf7d0; }
.form-note { margin: 0; font-size: 0.8rem; color: var(--ink-muted); text-align: center; }

/* FAQ */
.faq-list { display: grid; gap: 0.85rem; max-width: 820px; }
.faq-item { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 1rem 1.15rem; }
.faq-item summary { font-weight: 800; cursor: pointer; }
.faq-item p { margin: 0.75rem 0 0; color: var(--ink-muted); font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 2.25rem 0; }
.footer-inner { display: flex; flex-direction: column; gap: 1rem; }
.site-footer p { margin: 0.35rem 0 0; font-size: 0.88rem; color: #cbd5e1; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; font-weight: 700; font-size: 0.92rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Responsive */
@media (min-width: 640px) {
  .site-nav a:not(.btn) { display: inline-block; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .steps-grid, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .blokkie-stage { grid-template-columns: auto auto; align-items: center; }
}
@media (min-width: 900px) {
  .hero { padding: 4rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2.75rem; }
  .blokkie-stage { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .book-grid { grid-template-columns: 0.95fr 1.05fr; gap: 3rem; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
