/* Delectable Technology Solutions
   Type: Bricolage Grotesque (display), Onest (text), Martian Mono (labels). All OFL, self-hosted.
   Colour: indigo #2B2E92 and orange #F3821C, sampled from the logo. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("/assets/fonts/martian-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("/assets/fonts/martian-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --indigo: #2B2E92;
  --indigo-700: #23267A;
  --indigo-800: #1D2060;
  --indigo-900: #14163D;
  --indigo-line: #3A3EB0;
  --indigo-50: #F4F4FB;
  --indigo-100: #E6E7F6;
  --orange: #F3821C;
  --orange-300: #F8A65C;
  --orange-text: #A84F07;      /* orange that passes AA as text on white */
  --ink: #14163D;
  --body: #34375A;
  --muted: #5C5F7E;
  --line: #DCDDEE;
  --bg: #FFFFFF;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C3C5EA;
  --wa: #128C7E;

  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --gutter: 16px;
  --max: 1200px;
  --section: clamp(56px, 8vw, 104px);
  --shadow: 0 1px 2px rgba(20, 22, 61, .06), 0 8px 24px rgba(20, 22, 61, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.65;
  font-feature-settings: "ss01" 1; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--indigo-700); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.25rem); font-weight: 750; letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 780px; }
.section { padding-block: var(--section); }
.section-alt { background: var(--indigo-50); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin-bottom: .35em; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; }
.section-intro { font-size: 1.125rem; color: var(--muted); max-width: 680px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 640px; }
.lead-sm { font-size: 1.125rem; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-text);
}
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); flex: none; }
.kicker-on-dark { color: var(--orange-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-text); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #F7953F; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-ghost:hover { background: var(--indigo); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: .9375rem; }
.btn-sm svg { width: 18px; height: 18px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { width: 168px; height: auto; }
@media (min-width: 1024px) { .brand img { width: 196px; } }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; text-decoration: none; }
.site-nav ul a:hover { background: var(--indigo-50); color: var(--indigo); }
.site-nav ul a[aria-current] { color: var(--indigo); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav-toggle { display: none; }

@media (max-width: 1099px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer;
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  .nav-toggle .icon-close, .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .header-inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 16px; }
  .js .site-nav { display: none; }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px 8px; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav ul a[aria-current] { box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
  .site-nav .btn { min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero, .page-hero, .cta-band, .site-footer { background: var(--indigo-900); color: var(--on-dark-muted); position: relative; isolation: isolate; }
.hero::before, .page-hero::before, .cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(43, 46, 146, .75), transparent 70%),
    radial-gradient(40% 60% at 10% 100%, rgba(243, 130, 28, .07), transparent 70%);
}
.hero h1, .page-hero h1, .cta-band h2 { color: var(--on-dark); }
.hero .lead, .page-hero .lead { color: var(--on-dark-muted); }
.hero { padding-block: clamp(48px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.hero h1 { max-width: 13ch; }
.hero-call { margin: 20px 0 0; font-size: .9375rem; }
.hero-call a { color: #fff; }
.hero-art { max-width: 380px; justify-self: center; width: 100%; }
@media (min-width: 960px) { .hero-art { max-width: 560px; } }

.circuit .t { stroke: var(--indigo-line); stroke-width: 3; }
.circuit .p { stroke: var(--orange); stroke-width: 3; stroke-dasharray: 18 400; stroke-dashoffset: 18; animation: pulse 3.6s var(--ease) infinite; }
.circuit .p2 { animation-delay: .7s; } .circuit .p3 { animation-delay: 1.4s; } .circuit .p4 { animation-delay: 2.1s; } .circuit .p5 { animation-delay: 2.8s; }
.circuit .nodes rect, .circuit .nodes circle { fill: var(--orange); }
.circuit .nodes .hole { fill: var(--indigo-900); }
.circuit text { fill: #D9DAF5; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; }
@keyframes pulse { 0% { stroke-dashoffset: 18; } 60%, 100% { stroke-dashoffset: -260; } }

.page-hero { padding-block: clamp(48px, 7vw, 96px); }
.page-hero-compact { padding-block: clamp(40px, 5vw, 72px); }
.page-hero h1 { max-width: 18ch; }
.page-hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1fr auto; } }
.hero-icon { display: none; }
@media (min-width: 900px) {
  .hero-icon { display: grid; place-items: center; width: 168px; height: 168px; border-radius: 32px; background: var(--indigo-800); border: 1px solid var(--indigo-line); color: var(--orange); }
  .hero-icon svg { width: 76px; height: 76px; }
}
.crumbs { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; margin-bottom: 18px; color: var(--on-dark-muted); }
.crumbs a { color: #fff; }
.byline { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; margin: 0; }

/* ---------- Services ---------- */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.service-card > a { display: flex; flex-direction: column; height: 100%; padding: 28px; color: inherit; text-decoration: none; position: relative; }
.service-card:hover { border-color: var(--indigo); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card h3 { margin: 20px 0 10px; font-size: 1.3rem; }
.service-card p { color: var(--muted); }
.service-card .more { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; color: var(--indigo); font-weight: 600; }
.service-card .more svg { width: 18px; height: 18px; }
.num { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); letter-spacing: .06em; }
.service-card .num { position: absolute; top: 28px; right: 28px; }
.svc-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--indigo-100); color: var(--indigo); flex: none; }
.svc-icon svg { width: 26px; height: 26px; }
.service-card-cta { background: var(--indigo); border-color: var(--indigo); }
.service-card-cta > div { padding: 28px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.service-card-cta h3 { color: #fff; margin-top: 0; }
.service-card-cta p { color: var(--on-dark-muted); }
.service-card-cta .btn { align-self: flex-start; }
.service-card-cta:hover { transform: none; box-shadow: none; }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list > li { display: grid; grid-template-columns: auto 1fr; gap: 16px 24px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-list .num { grid-column: 1 / -1; }
.service-list h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.service-list h2 a { color: var(--ink); text-decoration: none; }
.service-list h2 a:hover { color: var(--indigo); }
.service-list .link-arrow { grid-column: 2; }
@media (min-width: 900px) {
  .service-list > li { grid-template-columns: 56px auto 1fr auto; align-items: center; }
  .service-list .num { grid-column: auto; }
  .service-list .link-arrow { grid-column: auto; }
}
.chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .8125rem; padding: 4px 12px; border-radius: 999px; background: var(--indigo-50); border: 1px solid var(--line); color: var(--body); }

.offerings { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .offerings { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .offerings { grid-template-columns: repeat(3, 1fr); } }
.offerings li { background: #fff; padding: 28px; }
.offerings .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--orange); color: var(--ink); font-weight: 500; margin-bottom: 16px; }
.offerings p { color: var(--muted); margin: 0; }
.offerings .offer-cta { background: var(--indigo); }
.offerings .offer-cta h3 { color: #fff; }
.offerings .offer-cta p { color: var(--on-dark-muted); margin-bottom: 16px; }
.offerings .offer-cta .link-arrow { color: #fff; }
.fit { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--ink); line-height: 1.5; margin: 0; }

.related { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related { grid-template-columns: repeat(4, 1fr); } }
.related a { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; }
.related a > svg { width: 18px; height: 18px; margin-left: auto; color: var(--indigo); }
.related .svc-icon { width: 40px; height: 40px; border-radius: 10px; }
.related .svc-icon svg { width: 20px; height: 20px; }
.related a:hover { border-color: var(--indigo); }

/* ---------- Process, principles ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { border-top: 3px solid var(--indigo); padding-top: 20px; }
.steps li:first-child { border-top-color: var(--orange); }
.step-num { display: block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }

.split { display: grid; gap: 24px 64px; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; } .split > .section-head { position: sticky; top: 104px; align-self: start; } }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.principles li { display: flex; gap: 18px; }
.principles h3 { margin-bottom: 6px; }
.principles p { margin: 0; color: var(--muted); }
.tick { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.tick svg { width: 18px; height: 18px; }

/* ---------- Cards (shop, insights) ---------- */
.card-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media img, .card-media picture { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card:hover { border-color: var(--indigo); }
.card-body p { color: var(--muted); }
.card-meta { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text) !important; margin-bottom: 12px; }
.price { margin: auto 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink) !important; }
.price span { font-family: var(--font-text); font-weight: 500; font-size: .9375rem; color: var(--muted); }
.price-lg { font-size: 2rem; margin-bottom: 16px; }

.product { display: grid; gap: 32px; }
@media (min-width: 960px) { .product { grid-template-columns: 1fr 360px; gap: 56px; } }
.product-side { align-self: start; }
@media (min-width: 960px) { .product-side { position: sticky; top: 104px; } }
.buy-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--indigo-50); display: grid; gap: 12px; }
.buy-box .price { margin: 0 0 4px; }
.fine { font-size: .8125rem; color: var(--muted); margin: 0; }
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 0 0 28px; }
@media (min-width: 600px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.facts > div { background: #fff; padding: 16px 18px; }
.facts dt { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.facts-wide { max-width: 900px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; }
.ticks svg { width: 22px; height: 22px; color: var(--orange-text); flex: none; margin-top: 2px; }

.pick-grid { display: grid; gap: 20px; margin: 24px 0 40px; }
@media (min-width: 800px) { .pick-grid { grid-template-columns: repeat(2, 1fr); } }
.pick { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; display: flex; flex-direction: column; }
.pick h2 { font-size: 1.5rem; margin-bottom: 4px; }
.vendor { color: var(--muted); font-size: .9375rem; }
.our-take { background: var(--indigo-50); border-left: 3px solid var(--orange); padding: 16px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 20px; }
.our-take h3 { font-size: .9375rem; font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.our-take p:last-child { margin: 0; }
.pick-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pick-foot .price { margin: 0; font-size: 1.05rem; }
.aff-tag { position: absolute; top: 16px; right: 16px; margin: 0; font-family: var(--font-mono); font-size: .625rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.disclosure { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--muted); background: var(--indigo-50); border-radius: var(--radius-sm); padding: 12px 16px; }
.disclosure svg { width: 20px; height: 20px; color: var(--orange-text); flex: none; margin-top: 2px; }

.case-list { display: grid; gap: 48px; }
.case { display: grid; gap: 28px; }
@media (min-width: 900px) { .case { grid-template-columns: 1fr 1fr; align-items: center; } }
.case h3 { font-size: 1rem; margin-top: 18px; }

.pay-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .pay-grid { grid-template-columns: 1fr 1fr; } }
.pay-card .btn { align-self: flex-start; margin-top: 8px; }
.note { background: var(--indigo-50); border-radius: var(--radius); padding: 28px; }
.note h2 { font-size: 1.25rem; }

/* ---------- About ---------- */
.founder { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .founder { grid-template-columns: 300px 1fr; gap: 56px; } }
.founder-photo img, .founder-photo picture { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.monogram { aspect-ratio: 4 / 5; max-width: 300px; border-radius: var(--radius); background: var(--indigo); color: #fff; display: grid; place-items: center; font: 750 7rem/1 var(--font-display); position: relative; overflow: hidden; }
.monogram::after { content: ""; position: absolute; right: 18px; bottom: 18px; width: 28px; height: 28px; border-radius: 7px; background: var(--orange); }
.role { font-family: var(--font-mono); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-text); margin-top: -6px; }

/* ---------- Prose ---------- */
.prose { color: var(--body); }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--orange-text); }
.prose strong { color: var(--ink); }
.prose code { font-family: var(--font-mono); font-size: .85em; background: var(--indigo-50); padding: 2px 6px; border-radius: 6px; }
.post-body { font-size: 1.125rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .9375rem; line-height: 1.5; display: block; overflow-x: auto; }
@media (min-width: 760px) { .prose table { display: table; } }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); min-width: 140px; }
.prose th { background: var(--indigo-50); color: var(--ink); font-weight: 600; }
.draft-banner { background: #FFF4E8; border: 1px solid #F5C89A; border-radius: var(--radius-sm); padding: 14px 18px; color: #6B3504; }

/* ---------- CTA band and QR ---------- */
.cta-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 1fr auto; gap: 64px; } }
.cta-band h2 { max-width: 16ch; }
.qr-card { margin: 0; background: #fff; border-radius: var(--radius); padding: 18px; width: 248px; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); }
.qr-card .qr { width: 212px; height: 212px; }
.qr-card figcaption { font-size: .8125rem; line-height: 1.4; color: var(--muted); margin-top: 8px; text-align: center; }
.qr-card-light { box-shadow: none; border: 1px solid var(--line); width: auto; display: flex; gap: 18px; align-items: center; }
.qr-card-light .qr { width: 132px; height: 132px; flex: none; }
.qr-card-light figcaption { text-align: left; margin: 0; }
/* A QR code is no use on the phone you would scan it with */
@media (pointer: coarse) and (max-width: 1024px) { .qr-card { display: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.contact-side { display: grid; gap: 12px; align-content: start; }
.contact-tile { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.contact-tile > svg { width: 26px; height: 26px; color: var(--indigo); flex: none; }
.contact-tile span { display: grid; font-size: .9375rem; color: var(--muted); overflow-wrap: anywhere; }
.contact-tile strong { color: var(--ink); font-size: 1rem; }
a.contact-tile:hover { border-color: var(--indigo); }
.tile-wa { background: var(--wa); border-color: var(--wa); }
.tile-wa > svg, .tile-wa strong, .tile-wa span { color: #fff; }
a.tile-wa:hover { border-color: var(--wa); filter: brightness(1.07); }
.qr-card-light { margin-top: 8px; }

.form { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); display: grid; gap: 18px; align-content: start; background: #fff; }
.form h2 { font-size: 1.6rem; margin: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #B9BBD6; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 50px;
}
textarea { resize: vertical; min-height: 150px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(243, 130, 28, .45); outline-offset: 0; border-color: var(--indigo); }
.field.check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--indigo); }
.field.check label { font-weight: 400; color: var(--body); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-status[data-kind=error] { color: #B42318; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 72px; }
.site-footer::before { content: none; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-brand p { font-size: .9375rem; max-width: 380px; }
.footer-h { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; color: var(--orange-300); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-links, .footer-contact, .social { list-style: none; margin: 0; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: 10px; align-items: center; overflow-wrap: anywhere; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange-300); flex: none; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.social a:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 24px 96px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: .875rem; }
.footer-legal p { margin: 0; }
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }
@media (min-width: 1024px) { .footer-legal { padding-bottom: 28px; } }

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .2s var(--ease);
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { transform: scale(1.06); color: #fff; }
.nav-open .wa-fab { display: none; }

/* ---------- Images ---------- */
.img-placeholder { display: grid; place-items: center; aspect-ratio: 16 / 9; background: repeating-linear-gradient(45deg, var(--indigo-50), var(--indigo-50) 10px, #fff 10px, #fff 20px); border: 1px dashed var(--line); color: var(--muted); font-size: .8125rem; text-align: center; padding: 12px; }

/* ---------- Motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .circuit .p { display: none; }
}
@media print {
  .site-header, .wa-fab, .cta-band, .site-footer .social, .nav-toggle { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
