/* ---- Design tokens (extracted from the OneBonsai dark theme) ---- */
:root {
  --bg-base:        #1B2128;
  --bg-raised:      #222834;
  --bg-sunken:      #151B23;
  --surface-card:   #262E3C;
  --surface-hover:  #2C3544;
  --surface-inset:  #181E28;

  --text-primary:   #ECEFF2;
  --text-secondary: #8B97A3;
  --text-muted:     #7B8692;
  --text-faint:     #6B7682;
  --text-inverse:   #06080B;

  --accent:         #E2913C;
  --accent-hover:   #ECAB5F;
  --accent-press:   #C9762A;
  --accent-tint:    rgba(226, 145, 60, 0.12);
  --accent-line:    rgba(226, 145, 60, 0.32);
  --accent-contrast:#1C1206;

  --border-subtle:  rgba(255, 255, 255, 0.07);
  --border-default: rgba(255, 255, 255, 0.12);
  --border-strong:  rgba(255, 255, 255, 0.20);

  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --wrap: 1120px;
}

/* ---- Reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.band { background: var(--bg-sunken); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 20px; }
h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 12px; }
h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }

.lead {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 46ch;
  margin-bottom: 32px;
}

.muted { color: var(--text-muted); }
.small { font-size: 13px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.accent-text { color: var(--accent); }

/* ---- Logo ---- */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 18px; width: auto; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 24px;
  background: color-mix(in srgb, var(--bg-base) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color .15s ease;
}
.nav a:hover { color: var(--text-primary); }

.nav-cta { margin-left: 28px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-sm { height: 34px; padding: 0 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-press); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-default);
}
.btn-outline:hover { border-color: var(--border-strong); background: var(--surface-hover); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Hero ---- */
.hero { padding-top: 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.spec-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.spec-card-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
}
.spec-list dd { text-align: right; }
.spec-list dt { color: var(--text-muted); }
.spec-list dd { font-weight: 600; }
.spec-list dd.accent-text { color: var(--accent); }

.spec-foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---- Grids & cards ---- */
.grid { display: grid; gap: 20px; }
.grid-2 { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }

.feature-grid { margin-top: 40px; }

.card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature .icon svg { width: 20px; height: 20px; }
.feature p { color: var(--text-muted); font-size: 14px; }

/* ---- Pricing ---- */
.pricing-grid { margin-top: 40px; }
.pricing-card { display: flex; flex-direction: column; }

.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}
.pricing-head .muted {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

.price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.price .currency { font-size: 26px; margin-right: 2px; }

.pricing-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 16px 0;
}

.checklist { margin-bottom: 24px; flex-grow: 1; }
.checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-tint);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}

.note-bar {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 2px solid var(--accent);
  background: var(--surface-inset);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.note-bar strong { color: var(--text-primary); display: block; margin-bottom: 4px; }
.note-bar a { color: var(--accent); }
.note-bar a:hover { text-decoration: underline; }

/* ---- Address ---- */
.address-grid { align-items: center; }

.detail-list { margin-top: 32px; }
.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}
.detail-list dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.detail-list dd { font-weight: 600; text-align: right; }

.photo-placeholder {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background:
    linear-gradient(var(--bg-sunken), var(--bg-sunken)) padding-box,
    repeating-linear-gradient(135deg, var(--border-subtle) 0 1px, transparent 1px 18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
}
.photo-caption { max-width: 26ch; }

/* ---- Contact ---- */
.contact-grid { align-items: center; }

.stat-row { display: flex; gap: 48px; margin-top: 8px; }
.stat {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--accent-line);
  display: inline-block;
}
.stat-alt { color: #8fbf8f; border-bottom-color: rgba(143, 191, 143, 0.4); }

.contact-form { display: flex; flex-direction: column; }
.contact-form label {
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
  margin-top: 16px;
}
.contact-form label:first-of-type { margin-top: 0; }

.contact-form input,
.contact-form select {
  height: 42px;
  padding: 0 14px;
  background: var(--surface-inset);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
}
.contact-form input::placeholder { color: var(--text-faint); }
.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .btn { margin-top: 24px; }
.form-status { text-align: center; margin-top: 14px; }
.form-status[data-state="ok"] { color: #8fbf8f; }
.form-status[data-state="error"] { color: #e28f8f; }
.form-foot { text-align: center; margin-top: 14px; }
.form-foot a { color: var(--accent); }
.form-foot a:hover { text-decoration: underline; }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-sunken);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 0;
}
.site-footer .logo { margin-bottom: 12px; }
.site-footer .logo img { height: 24px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding: 20px 24px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 24px 24px;
    gap: 16px;
  }
  .site-header.open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: 64px;
    margin-top: 172px;
    left: 24px;
  }

  .hero-grid,
  .grid-3,
  .address-grid,
  .contact-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 64px 0; }
  .stat-row { gap: 32px; }
}
