/* ==========================================================================
   d.studio — design tokens
   ========================================================================== */

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #efede7;
  --text: #121212;
  --muted: #5e5d58;
  --border: #e2dfd7;
  --border-strong: #cfcbc0;

  --accent: #ff5a1f;
  --accent-hover: #ff7440;
  --on-accent: #121212;
  --accent-text: #c2410c;
  --accent-soft: rgba(255, 90, 31, 0.12);

  /* The contact panel is always dark */
  --panel: #121212;
  --panel-2: #1d1d1b;
  --panel-border: #2e2d2a;
  --panel-text: #f2f1ec;
  --panel-muted: #a8a7a0;

  --ok: #16a34a;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max-width: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(18, 18, 18, 0.04), 0 8px 24px -8px rgba(18, 18, 18, 0.12);
  --shadow-lg: 0 2px 4px rgba(18, 18, 18, 0.04), 0 24px 48px -12px rgba(18, 18, 18, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0d;
    --surface: #171716;
    --surface-2: #1f1f1d;
    --text: #f2f1ec;
    --muted: #a3a29c;
    --border: #2a2927;
    --border-strong: #3a3935;

    --accent: #ff6b35;
    --accent-hover: #ff8a5c;
    --accent-text: #ff8a5c;
    --accent-soft: rgba(255, 107, 53, 0.14);

    --panel: #171716;
    --panel-2: #0e0e0d;
    --panel-border: #2e2d2a;

    --ok: #22c55e;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.04em;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a:not(.nav-cta) {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a.active {
  color: var(--text);
  background: var(--surface-2);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: -10px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease),
    box-shadow 0.2s ease;
}

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

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  box-shadow: 0 0 0 4px var(--accent-soft);
  background: color-mix(in srgb, var(--text) 88%, var(--accent));
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--text);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   Sections — shared
   ========================================================================== */

section {
  padding: 120px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent-text);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}

.section-sub {
  color: var(--muted);
  margin-top: 16px;
  font-size: 1.05rem;
}

.section-sub a {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding-bottom: 136px;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 104px);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-title {
  margin: 64px 0 96px;
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-wrap: initial;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-title .line:nth-child(2) {
  text-align: right;
}

.hero-title .line > span {
  display: inline-block;
}

.js .hero-title .line > span {
  transform: translateY(105%);
  animation: rise 0.9s var(--ease) forwards;
}

.js .hero-title .line:nth-child(2) > span {
  animation-delay: 0.12s;
}

@keyframes rise {
  to {
    transform: none;
  }
}

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

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--text);
}

.hero-sub {
  max-width: 480px;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-side {
  display: grid;
  gap: 24px;
  justify-items: end;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==========================================================================
   Services — bento grid
   ========================================================================== */

.services {
  padding-top: 48px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  margin-bottom: 24px;
  transition: background 0.25s ease, color 0.25s ease;
}

.card:hover .icon {
  background: var(--accent);
  color: var(--on-accent);
}

.icon svg,
.p-icon svg,
.cta-circle svg,
.contact-email svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
}

.card-feature {
  grid-column: span 2;
}

.card-feature h3 {
  font-size: 1.75rem;
}

.card-feature p {
  max-width: 400px;
  font-size: 1.05rem;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.code-peek {
  position: absolute;
  right: 32px;
  top: 32px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  transition: border-color 0.3s ease;
}

.card-feature:hover .code-peek {
  border-color: var(--border-strong);
}

.c-k { color: var(--accent-text); }
.c-a { color: var(--text); }
.c-s { color: var(--ok); }

.card-cta {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-decoration: none;
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.card-cta h3 {
  font-size: 1.5rem;
}

.card-cta p {
  color: color-mix(in srgb, var(--bg) 70%, var(--text));
  max-width: 440px;
}

.card-cta:hover {
  border-color: var(--text);
}

.cta-circle {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  transition: transform 0.3s var(--ease);
}

.card-cta:hover .cta-circle {
  transform: rotate(45deg) scale(1.05);
}

/* ==========================================================================
   Process
   ========================================================================== */

.process {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}

.step {
  position: relative;
}

.step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.step:hover .step-number,
.step:first-child .step-number {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-copy h2 {
  margin-bottom: 28px;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy p + p {
  margin-top: 18px;
}

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.principles li {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.3s var(--ease);
}

.principles li:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}

.p-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.p-icon svg {
  width: 20px;
  height: 20px;
}

.principles h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.principles p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  padding-top: 0;
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
  border-top: 1px solid var(--border);
  padding-top: 120px;
}

.faq .section-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.faq summary:hover::after {
  border-color: var(--text);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.faq details p {
  color: var(--muted);
  padding: 0 60px 28px 0;
  font-size: 1.02rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  padding-top: 40px;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  padding: 72px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  color: var(--panel-text);
  overflow: hidden;
}

.contact-copy {
  position: relative;
}

.kicker-invert {
  color: #ff8a5c;
}

.contact h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}

.contact-copy > p {
  color: var(--panel-muted);
  font-size: 1.1rem;
  max-width: 380px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--panel-border);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-email:hover {
  border-color: #ff8a5c;
  color: #ff8a5c;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field label,
.field legend {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--panel-text);
  padding: 0;
}

.field legend {
  margin-bottom: 8px;
}

.optional {
  color: var(--panel-muted);
  font-weight: 400;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--panel-text);
  background: var(--panel-2);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff8a5c;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.25);
}

.contact-form [aria-invalid="true"] {
  border-color: #f87171;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  position: relative;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: var(--panel-2);
  color: var(--panel-muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.choice:hover span {
  border-color: var(--panel-muted);
  color: var(--panel-text);
}

.choice input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 500;
}

.choice input:focus-visible + span {
  outline: 2px solid #ff8a5c;
  outline-offset: 2px;
}

.hint {
  font-size: 0.82rem;
  color: var(--panel-muted);
}

.form-note {
  text-align: center;
  margin-top: -8px;
}

.form-error {
  font-size: 0.9rem;
  color: #fca5a5;
}

.form-error a {
  color: inherit;
}

.form-success {
  font-size: 0.95rem;
  color: #86efac;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 80px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.footer-nav a,
.to-top {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-nav a:hover,
.to-top:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ==========================================================================
   Scroll reveal (only when JS is available)
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .about-inner,
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq .section-head {
    position: static;
    margin-bottom: 0;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 56px;
  }
}

@media (max-width: 1100px) {
  .code-peek {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-side {
    justify-items: start;
  }

  .hero-points {
    justify-content: flex-start;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }

  .steps::before {
    display: none;
  }

  .code-peek {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-header:has(.site-nav.open) {
    background: var(--bg);
    border-bottom-color: var(--border);
  }

  .site-nav a:not(.nav-cta) {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin: 8px 0 0;
    min-height: 48px;
  }

  .container {
    padding: 0 16px;
  }

  section {
    padding: 80px 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 88px;
  }

  .hero-meta {
    display: none;
  }

  .hero-title {
    margin: 32px 0 60px;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .card-feature,
  .card-cta {
    grid-column: auto;
  }

  .card {
    padding: 24px;
  }

  .card-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .step {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 20px;
    padding-bottom: 36px;
  }

  .step::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 48px;
    bottom: 0;
    width: 1px;
    background: var(--border-strong);
  }

  .step:last-child::before {
    display: none;
  }

  .step-number {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .step h3 {
    padding-top: 12px;
  }

  .faq-inner {
    padding-top: 80px;
  }

  .faq summary {
    font-size: 1.05rem;
  }

  .faq details p {
    padding-right: 0;
  }

  .contact {
    padding-top: 16px;
  }

  .contact-panel {
    padding: 40px 20px;
    border-radius: 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-email {
    font-size: 1.05rem;
    word-break: break-all;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal,
  .js .hero-title .line > span {
    opacity: 1;
    transform: none;
  }
}
