/* Pocket Architects — editorial design system.
   Libre Caslon Text (display serif) + Hanken Grotesk (UI sans), a warm cream
   canvas, deep navy ink, and a single muted-teal accent. Calm, generous, and
   built to make a first-time visitor feel they're in capable hands. */
@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

/* ===== Direction: Clarity (default) — editorial cream & navy ===== */
:root {
  --background: 40 40% 98%;        /* warm cream #fcf9f5            */
  --foreground: 202 35% 19%;       /* deep navy ink #1f3340         */
  --card: 40 44% 99%;              /* near-white warm card          */
  --muted: 40 26% 95%;             /* alt section #f6f3ef           */
  --muted-foreground: 210 8% 33%;  /* calm grey body #43474b        */
  --secondary: 199 39% 34%;        /* teal #356479                  */
  --accent: 199 39% 34%;           /* muted teal accent             */
  --accent-glow: 199 39% 46%;
  --border: 40 13% 86%;            /* hairline on cream             */
  --primary: 202 35% 19%;          /* navy primary                  */
  --success: 160 50% 36%;
  --destructive: 0 65% 48%;
  --radius: 0.5rem;
  --card-radius: 2px;
  --btn-radius: 0px;
  --shadow-color: 202 40% 22%;
  --footer-bg: 40 26% 95%;
  --gradient-primary: linear-gradient(135deg, hsl(202 35% 22%), hsl(199 39% 38%));
  --gradient-accent: linear-gradient(135deg, hsl(199 39% 42%), hsl(199 39% 30%));
  --gradient-card: linear-gradient(145deg, hsl(40 30% 98%), hsl(40 44% 99%));
  --shadow-glow: 0 14px 36px -18px hsl(202 40% 22% / 0.40);
  --shadow-lg: 0 24px 60px -28px hsl(var(--shadow-color) / 0.45);
  --font-serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Direction: Azure — cooler, brighter blue editorial ===== */
[data-theme="azure"] {
  --background: 210 38% 98%;
  --foreground: 215 44% 15%;
  --card: 210 40% 99%;
  --muted: 210 36% 95%;
  --muted-foreground: 213 14% 34%;
  --secondary: 211 60% 38%;
  --accent: 211 64% 42%;
  --accent-glow: 211 64% 54%;
  --border: 211 30% 86%;
  --primary: 215 44% 18%;
  --footer-bg: 210 36% 95%;
  --gradient-primary: linear-gradient(135deg, hsl(215 44% 22%), hsl(211 64% 44%));
  --shadow-glow: 0 14px 36px -18px hsl(215 50% 24% / 0.42);
}

/* ===== Direction: Slate — warm stone & deep teal ===== */
[data-theme="slate"] {
  --background: 40 16% 96%;
  --foreground: 200 28% 15%;
  --card: 40 20% 99%;
  --muted: 40 12% 92%;
  --muted-foreground: 200 8% 36%;
  --secondary: 195 36% 28%;
  --accent: 188 52% 30%;
  --accent-glow: 188 52% 42%;
  --border: 40 10% 83%;
  --primary: 200 28% 16%;
  --footer-bg: 40 12% 92%;
  --gradient-primary: linear-gradient(135deg, hsl(200 28% 18%), hsl(188 52% 32%));
  --shadow-glow: 0 12px 30px -16px hsl(200 30% 20% / 0.4);
}

/* A dark navy passage — used by the hero, contact, and the philosophy quote.
   Re-points the design tokens so token-driven children invert cleanly. */
.section-navy {
  --foreground: 0 0% 100%;
  --muted-foreground: 205 22% 74%;
  --card: 202 33% 23%;
  --border: 205 18% 36%;
  --accent: 199 48% 66%;
  --primary: 40 40% 97%;
  background: hsl(202 38% 17%);
  color: #fff;
}

* { box-sizing: border-box; border-color: hsl(var(--border)); }
html, body, #root { min-height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.14;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
em { font-style: italic; }
::selection { background: hsl(199 39% 80%); color: hsl(202 38% 17%); }

/* ---------- utilities ---------- */
.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glass {
  background: hsl(var(--background) / 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid hsl(var(--border) / 0.9);
  box-shadow: 0 10px 30px -26px hsl(var(--shadow-color) / 0.7);
}
.shadow-glow { box-shadow: var(--shadow-glow); }
.gradient-card-bg { background: var(--gradient-card); }
.gradient-primary-bg { background: var(--gradient-primary); }

/* Editorial eyebrow / kicker + hairline rule */
.kicker {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: hsl(var(--accent));
}
.rule { height: 1px; width: 42px; background: hsl(var(--foreground)); border: 0; margin: 0; }

/* ---------- buttons (squared, uppercase, editorial) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-sans); font-weight: 600; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.13em;
  border-radius: var(--btn-radius);
  transition: background .3s, color .3s, border-color .3s, transform .12s;
  white-space: nowrap; border: 1px solid transparent; cursor: pointer;
}
.btn:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 2px; }
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 0.6rem 0.95rem; font-size: 0.7rem; }
.btn-md { padding: 0.85rem 1.25rem; font-size: 0.72rem; }
.btn-lg { padding: 1.05rem 1.5rem; font-size: 0.76rem; }
.btn-xl { padding: 1.15rem 1.9rem; font-size: 0.8rem; }
.btn-premium { background: hsl(var(--primary)); color: hsl(var(--background)); }
.btn-premium:hover { background: hsl(var(--accent)); color: #fff; }
.section-navy .btn-premium { background: hsl(var(--background)); color: hsl(202 38% 17%); }
.section-navy .btn-premium:hover { background: hsl(199 48% 78%); color: hsl(202 38% 17%); }
.btn-glass {
  background: transparent; color: hsl(var(--foreground));
  border: 1px solid hsl(var(--foreground) / 0.3);
}
.btn-glass:hover { background: hsl(var(--foreground)); color: hsl(var(--background)); border-color: hsl(var(--foreground)); }
.btn-ghost { background: transparent; color: hsl(var(--muted-foreground)); }
.btn-ghost:hover { color: hsl(var(--foreground)); }
.btn-active { color: hsl(var(--foreground)); }
.btn-outline { background: transparent; border: 1px solid hsl(var(--foreground) / 0.28); color: hsl(var(--foreground)); }
.btn-outline:hover { border-color: hsl(var(--foreground)); background: hsl(var(--foreground)); color: hsl(var(--background)); }

/* ---------- cards (sharp, hairline) ---------- */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--card-radius);
  box-shadow: none;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .3s;
}
.card:hover { border-color: hsl(var(--foreground) / 0.22); }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: hsl(var(--border)); }

/* ---------- badge → editorial kicker ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0; background: none; border: none;
  font-family: var(--font-sans); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: hsl(var(--accent));
}

/* ---------- inputs ---------- */
.input, .textarea, .select {
  width: 100%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: hsl(var(--accent));
  box-shadow: 0 0 0 3px hsl(var(--accent) / 0.14);
}
.section-navy .input, .section-navy .textarea {
  background: transparent;
  border: none; border-bottom: 1px solid hsl(0 0% 100% / 0.3);
  border-radius: 0; padding: 0.65rem 0; color: #fff;
}
.section-navy .input:focus, .section-navy .textarea:focus {
  box-shadow: none; border-bottom-color: hsl(var(--accent));
}
.textarea { resize: vertical; min-height: 130px; }
.label {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: hsl(var(--muted-foreground)); margin-bottom: 0.55rem; display: block;
}
.field-error { color: hsl(var(--destructive)); font-size: 0.8rem; margin-top: 0.4rem; }

/* ---------- layout helpers ---------- */
.container-page { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container-page { padding: 0 2rem; } }
@media (min-width: 1024px) { .container-page { padding: 0 2.75rem; } }

/* ---------- decor ---------- */
.orb {
  position: absolute; border-radius: 9999px; filter: blur(130px);
  pointer-events: none; z-index: 0;
}
.grid-bg {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image:
    linear-gradient(hsl(var(--foreground) / 0.5) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--foreground) / 0.5) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---------- animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.anim-fade-up { animation: fadeUp .8s cubic-bezier(.2,.8,.2,1) both; }
.anim-fade-in { animation: fadeIn .6s ease both; }
.anim-scale-in { animation: scaleIn .5s cubic-bezier(.2,.8,.2,1) both; }
.anim-float { animation: float 7s ease-in-out infinite; }
.anim-pulse-glow { animation: none; }
.delay-1 { animation-delay: .09s; }
.delay-2 { animation-delay: .18s; }
.delay-3 { animation-delay: .27s; }
.delay-4 { animation-delay: .36s; }
.delay-5 { animation-delay: .45s; }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  will-change: opacity, transform;
  transition: opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* project visual placeholder */
.img-placeholder {
  background:
    linear-gradient(145deg, hsl(var(--muted)), hsl(var(--accent) / 0.08)),
    repeating-linear-gradient(135deg, hsl(var(--accent) / 0.05) 0 14px, transparent 14px 28px);
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-sans); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}

/* feature / icon tile */
.icon-tile {
  width: 52px; height: 52px; border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
  border: 1px solid hsl(var(--accent) / 0.28);
}

/* nav links — uppercase, hairline underline on active */
.nav-link {
  position: relative; padding: 0.5rem 0.7rem;
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  transition: color .25s;
}
.nav-link:hover { color: hsl(var(--foreground)); }
.nav-link.active { color: hsl(var(--foreground)); }
.nav-link.active::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: -2px;
  height: 1px; background: hsl(var(--foreground));
}

/* mobile collapsible nav — accordion that expands down from the header */
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-top: 1px solid transparent;
  transition: max-height .34s cubic-bezier(.2,.8,.2,1), opacity .25s ease, border-color .34s;
}
.mobile-menu.is-open {
  max-height: 22rem;
  opacity: 1;
  border-top-color: hsl(var(--border));
}
.mobile-menu-link {
  display: block;
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid hsl(var(--border) / 0.7);
}
@media (min-width: 768px) { .mobile-menu { display: none; } }

/* logo */
.logo-tile {
  width: 42px; height: 42px; border-radius: 2px; overflow: hidden;
  border: 1px solid hsl(var(--border)); position: relative;
}

/* services card hover glow (kept very subtle) */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), hsl(var(--accent) / 0.08), transparent 42%);
  transition: opacity .4s; pointer-events: none;
}
.service-card:hover::before { opacity: 1; }

/* numbered process / hairline list rows */
.list-rule { border-top: 1px solid hsl(var(--foreground) / 0.16); }
.list-row { border-bottom: 1px solid hsl(var(--foreground) / 0.16); }

/* form status */
.alert-success {
  background: hsl(var(--success) / 0.1);
  border: 1px solid hsl(var(--success) / 0.3);
  color: hsl(var(--success));
  padding: 1rem; border-radius: 2px;
  display: flex; gap: 0.6rem; align-items: flex-start;
}

/* divider */
.hr-soft { border: 0; height: 1px; background: hsl(var(--border)); }

/* ---------- responsive layouts ---------- */
.md-only { display: none; }
.mobile-only { display: inline-flex; }
@media (min-width: 768px) {
  .md-only { display: flex; }
  .mobile-only { display: none; }
}

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.hero-visual { display: none; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .hero-visual { display: block; }
}

.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }

.features-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.work-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: start; } }

.detail-hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .detail-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }

.detail-body-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 960px) { .detail-body-grid { grid-template-columns: 1.7fr 1fr; gap: 3.5rem; align-items: start; } }

/* the two-part (site + system) split for a project */
.twopart-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .twopart-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }

.feature-list-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) { .feature-list-grid { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }

.screens-mobile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (min-width: 768px) { .screens-mobile-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1180px) { .screens-mobile-grid { grid-template-columns: repeat(6, 1fr); } }

.screens-web-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .screens-web-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.screens-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 920px; margin: 0 auto; }
@media (min-width: 768px) { .screens-photo-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.faq-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- floating WhatsApp button ---------- */
.wa-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 999px;
  background: #25d366; color: #fff;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-fab:hover { transform: scale(1.07); box-shadow: 0 6px 20px rgb(0 0 0 / 0.28); }
.wa-fab:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 3px; }
@media (max-width: 560px) {
  .wa-fab { width: 50px; height: 50px; right: 1rem; bottom: 1rem; }
}

/* ---------- FAQ accordion ---------- */
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.35rem 0; color: hsl(var(--foreground));
  font-family: var(--font-serif); font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 400; line-height: 1.4;
}
.faq-question:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 2px; }
.faq-chevron { flex-shrink: 0; color: hsl(var(--accent)); transition: transform 0.28s ease; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p {
  margin: 0; padding: 0 2.5rem 1.4rem 0;
  color: hsl(var(--muted-foreground)); line-height: 1.7; font-size: 0.98rem; max-width: 62ch;
}
@media (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-chevron { transition: none; }
}

/* ---------- Compare page ---------- */
.compare-table { border-top: 1px solid hsl(var(--foreground) / 0.16); }
.compare-head, .compare-row {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 0 1.5rem;
  border-bottom: 1px solid hsl(var(--foreground) / 0.16);
}
.compare-head { border-bottom-width: 2px; }
.compare-col-title {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: hsl(var(--muted-foreground));
  padding: 1rem 0.85rem;
}
.compare-col-title.compare-cell-us { color: hsl(var(--accent)); }
.compare-label {
  padding: 1.1rem 0; font-weight: 500; font-size: 0.95rem; color: hsl(var(--foreground));
}
.compare-cell {
  display: flex; gap: 0.55rem; align-items: flex-start;
  padding: 1.1rem 0.85rem; color: hsl(var(--muted-foreground));
  font-size: 0.92rem; line-height: 1.55;
}
.compare-cell-us { background: hsl(var(--accent) / 0.06); color: hsl(var(--foreground)); }
@media (max-width: 700px) {
  /* Stacked cards per row instead of a horizontal-scroll table */
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 0; padding: 1.1rem 0 1.25rem; }
  .compare-label { padding: 0 0 0.6rem; font-family: var(--font-serif); font-size: 1.08rem; }
  .compare-cell { padding: 0.45rem 0.75rem; }
  .compare-cell::before {
    content: 'Practice software'; flex-shrink: 0; width: 92px;
    font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    color: hsl(var(--muted-foreground)); margin-top: 4px;
  }
  .compare-cell-us::before { content: 'Pocket Arch.'; color: hsl(var(--accent)); }
}

.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }
.pricing-card { position: relative; padding: 1.75rem 1.5rem; display: flex; flex-direction: column; }
.pricing-card-highlight { border-color: hsl(var(--accent) / 0.55); background: hsl(var(--accent) / 0.05); }
.pricing-flag {
  position: absolute; top: -0.7rem; left: 1.25rem;
  background: hsl(var(--accent)); color: hsl(var(--background));
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 0.28rem 0.6rem;
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; } }

/* scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: hsl(var(--muted)); }
::-webkit-scrollbar-thumb { background: hsl(var(--border)); }
::-webkit-scrollbar-thumb:hover { background: hsl(var(--accent) / 0.5); }

/* ---------- phone polish ---------- */
@media (max-width: 560px) {
  .container-page { padding: 0 1.15rem; }
  /* Tighten oversized CTAs so two can share a row, or stack cleanly */
  .btn-xl { padding: 1rem 1.35rem; font-size: 0.74rem; letter-spacing: 0.1em; }
  .btn-lg { padding: 0.9rem 1.2rem; letter-spacing: 0.1em; }
  /* Headlines: a hair tighter so long words never crowd the gutters */
  h1 { letter-spacing: -0.02em; }
  /* Numbered process rows read better with the number above the title */
  .list-row .kicker { letter-spacing: 0.16em; }
}

/* ---------- footer (cream, editorial) ---------- */
.site-footer {
  background: hsl(var(--footer-bg));
  color: hsl(var(--foreground));
  border-top: 1px solid hsl(var(--border));
}
.site-footer h4 {
  color: hsl(var(--foreground));
  font-family: var(--font-sans); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
}
