/* Jaha Digital website styles */
:root {
  --bg: #F3F6FB;
  --surface: #FFFFFF;
  --ink: #0B1733;
  --soft: #48536B;
  --line: #DCE3EE;
  --dark: #0B1733;
  --on-dark-soft: #B4BFD6;
  --g1: #3730A3;
  --g2: #7C3AED;
  --iso: #4F46E5;
  --accent: #FFCC33;
  --accent-ink: #0B1733;
  --tint: #E4ECFB;
  --mark: #3730A3;
  --deep: radial-gradient(circle at 0% 0%, #3730A3B3 0, transparent 60%), radial-gradient(circle at 100% 100%, #7C3AED99 0, transparent 62%), #0B1733;
  --own: radial-gradient(circle at 8% 0%, #3730A366 0, transparent 42%), radial-gradient(circle at 100% 100%, #7C3AED55 0, transparent 46%), #0B1733;
  --hero: radial-gradient(circle at 72% 58%, #FFCC3340 0, transparent 30%), radial-gradient(circle at 86% 14%, #7C3AED30 0, transparent 36%), radial-gradient(circle at 64% 78%, #3730A322 0, transparent 40%), #F3F6FB;
  --shadow: 0 24px 60px -28px #0B173359, 0 2px 8px #0B17330F;
  --shadow-sm: 0 10px 24px -14px #0B173366;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 80px);
  --section: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
/* Form controls do not inherit the page font by default */
input, textarea, select, button { font-family: inherit; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--g2); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
/* For a section that follows another .section: the previous one already provides the gap */
.section.flush-top { padding-top: 0; }
.updated { font-size: 14px; color: var(--soft); }
.h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.02; font-weight: 900; letter-spacing: -0.025em; }
.h2-sm { font-size: clamp(28px, 3vw, 40px); line-height: 1.04; font-weight: 900; letter-spacing: -0.025em; }
.lede { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: var(--soft); max-width: 62ch; }
.muted { color: var(--soft); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.head > div { display: flex; flex-direction: column; gap: 18px; max-width: 780px; }
.head > p { max-width: 420px; font-size: 17px; line-height: 1.45; color: var(--soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-light { background: #fff; color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 15px; }

/* Header */
/* The header scrolls away with the page (not sticky). */
.site-header { position: relative; z-index: 50; background: var(--dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 25px; padding-bottom: 25px; }
/* Logo: lowercase "jaha" in Bricolage Grotesque 700 (only j, a and h are loaded) with a chevron as the full stop. Indigo on light, yellow on dark (.logo.on-dark). */
.logo { display: inline-block; padding: 4px 0; font-family: 'Bricolage Grotesque', var(--sans); font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.logo-mark { width: 0.42em; height: 0.42em; margin-left: 0.04em; vertical-align: baseline; overflow: visible; fill: none; stroke: var(--mark); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.logo.on-dark { color: #fff; }
.logo.on-dark .logo-mark { stroke: var(--accent); }
.nav { display: flex; align-items: center; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { background: var(--tint); font-weight: 700; }
.nav .nav-cta { background: var(--dark); color: #fff; font-weight: 700; padding: 0 22px; }
.nav .nav-cta:hover { background: var(--g1); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.menu-btn svg { width: 20px; height: 20px; }
.header-cta { display: none; }
/* Dark header: light text, yellow actions, yellow focus ring so it shows on navy */
.site-header .logo { color: #fff; }
.site-header .logo-mark { stroke: var(--accent); }
.site-header .nav { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); box-shadow: none; }
.site-header .nav a { color: #fff; }
.site-header .nav a:hover, .site-header .nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.12); }
.site-header .nav .nav-cta, .site-header .header-cta { background: var(--accent); color: var(--accent-ink); }
.site-header .nav .nav-cta:hover, .site-header .header-cta:hover { background: #FFD95C; }
.site-header .menu-btn { background: transparent; border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.site-header :focus-visible, .hero :focus-visible { outline-color: var(--accent); }
/* Home page: transparent header over the dark hero so there is no seam */
.home .site-header { background: transparent; }

@media (max-width: 900px) {
  .site-header .wrap { padding-top: 18px; padding-bottom: 18px; }
  .logo { font-size: 32px; }
  .menu-btn, .header-cta { display: inline-flex; }
  .header-actions { display: flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 4px); flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; border-radius: 24px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .site-header .nav { background: var(--dark); box-shadow: var(--shadow); }
  .nav a { min-height: 50px; font-size: 17px; padding: 0 18px; }
  .nav .nav-cta { justify-content: center; margin-top: 6px; }
}

/* Decorative isometric art */
.deco { position: absolute; pointer-events: none; }
.has-deco { position: relative; overflow: hidden; isolation: isolate; }
.has-deco > .deco { z-index: -1; }

/* Hero */
.hero { background: var(--deep); color: #fff; padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(56px, 9vw, 128px); }
.hero .lede { color: var(--on-dark-soft); }
.hero .deco pattern path { stroke: #fff; }
/* Pull the home hero up underneath the header. main.js sets --header-h to the measured header height; the fallbacks match the usual heights. */
.home .hero { margin-top: calc(var(--header-h, 108px) * -1); padding-top: calc(clamp(40px, 7vw, 96px) + var(--header-h, 108px)); }
@media (max-width: 900px) { .home .hero { margin-top: calc(var(--header-h, 80px) * -1); padding-top: calc(clamp(40px, 7vw, 96px) + var(--header-h, 80px)); } }
/* Checklist as a frosted glass card on the dark hero */
.hero .checklist { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .checklist-head { background: rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.hero .checklist li { border-bottom-color: rgba(255, 255, 255, 0.12); }
.hero .checklist span.muted { color: var(--on-dark-soft); }
.hero .deco { right: 0; top: 0; width: 760px; height: 900px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; }
.tagline { font-size: 17px; font-weight: 500; color: var(--soft); }
.hero .tagline { color: var(--on-dark-soft); }
.hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1; font-weight: 900; letter-spacing: -0.035em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.checklist { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.checklist-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 26px; background: var(--deep); color: #fff; font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.tag-accent { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; white-space: nowrap; }
.checklist ul { list-style: none; padding: 8px 26px 16px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.tick { flex-shrink: 0; width: 30px; height: 30px; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.tick svg { width: 16px; height: 16px; }
.checklist strong { display: block; font-size: 16px; margin-bottom: 4px; }
.checklist span.muted { font-size: 14px; line-height: 20px; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .deco { width: 520px; height: 620px; right: -140px; }
}
@media (max-width: 600px) {
  .actions .btn { width: 100%; }
}

/* Services */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 22px; padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.icon-tile { width: 60px; height: 60px; border-radius: 18px; background: var(--deep); display: flex; align-items: center; justify-content: center; }
.icon-tile svg { width: 28px; height: 28px; }
.card h3 { font-size: 24px; line-height: 1.13; font-weight: 800; }
/* Three across: each card's five parts (icon, title, description, chips, list) share rows,
   so titles, descriptions, chips and lists line up across all three cards */
.cards-3 { grid-template-rows: auto; }
.cards-3 .card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 22px; align-content: start; }
.cards-3 .card > * { align-self: start; }
.card > p { color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li { padding: 7px 12px; border-radius: 999px; background: var(--tint); font-size: 13px; font-weight: 500; }
.ticks { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; line-height: 1.4; }
@media (max-width: 1000px) { .cards-3 { grid-template-columns: 1fr; max-width: 640px; } .card { padding: 28px 24px; } .cards-3 .card { display: flex; grid-row: auto; } }

/* Ownership */
.dark-panel { border-radius: 40px; background: var(--own); color: #fff; padding: clamp(48px, 7vw, 112px) clamp(20px, 5vw, 80px); }
.own-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.own-grid .copy { display: flex; flex-direction: column; gap: 24px; }
.own-grid .copy p { color: var(--on-dark-soft); font-size: 17px; line-height: 1.55; }
.hl { color: var(--accent); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 28px; overflow: hidden; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); font-size: 16px; line-height: 1.4; }
.compare th, .compare td { padding: 20px; text-align: left; vertical-align: top; border-top: 1px solid rgba(255,255,255,0.12); }
.compare thead th { border-top: 0; font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--on-dark-soft); }
.compare thead th.us { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.compare tbody th { font-weight: 700; }
.compare td.them { color: var(--on-dark-soft); }
.compare td.us { background: rgba(255,255,255,0.06); }
.dark-panel .deco-tr { right: 0; top: 0; width: 440px; height: 300px; }
.dark-panel .deco-bl { left: 0; bottom: 0; width: 320px; height: 340px; }
@media (max-width: 1000px) { .own-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .outer-pad { padding-left: 12px; padding-right: 12px; }
  .dark-panel { border-radius: 28px; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 18px 20px; border-top: 1px solid rgba(255,255,255,0.12); }
  .compare tr:first-child { border-top: 0; }
  .compare th, .compare td { padding: 0; border: 0; background: none; }
  .compare tbody th { margin-bottom: 10px; }
  .compare td { display: flex; gap: 10px; padding: 3px 0; }
  .compare td::before { content: attr(data-label); flex-shrink: 0; width: 64px; padding-top: 3px; font-family: var(--sans); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 700; }
  .compare td.us { background: none; }
  .compare td.us::before { color: var(--accent); }
}

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; }
.step { display: flex; flex-direction: column; gap: 16px; padding: 30px 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.step .num { width: 48px; height: 48px; border-radius: 999px; background: var(--tint); color: var(--mark); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 15px; font-weight: 700; flex-shrink: 0; }
.step strong { font-size: 18px; line-height: 1.28; }
.step p { font-size: 15px; line-height: 1.47; color: var(--soft); }
.step.is-key { background: var(--deep); color: #fff; border-color: transparent; box-shadow: var(--shadow); }
.step.is-key .num { background: var(--accent); color: var(--accent-ink); }
.step.is-key p { color: #fff; }
.step.is-optional { background: transparent; border: 2px dashed var(--line); }
.step.is-optional .num { background: transparent; border: 2px dashed var(--soft); color: var(--soft); }
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr; max-width: 640px; gap: 12px; }
  .step { flex-direction: row; align-items: flex-start; padding: 22px 20px; }
  .step > div { display: flex; flex-direction: column; gap: 6px; }
  .step strong { font-size: 17px; }
}

/* Work */
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.case { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.case-top { min-height: 260px; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: var(--deep); color: #fff; }
.case-top .deco { right: 0; top: 0; width: 360px; height: 260px; }
.case-top .tag-accent { align-self: flex-start; font-family: var(--sans); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; font-weight: 700; }
.case-top h3 { font-size: 24px; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.case-top p { opacity: 0.85; }
.case-body { display: flex; flex-direction: column; gap: 24px; padding: 36px; }
.case-body dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }
.case-body dt, .own-now dt { font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; font-weight: 700; }
.case-body dd, .own-now dd { margin: 0; }
.own-now { padding: 20px 22px; border-radius: 18px; background: var(--bg); margin: 0; }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.results strong { display: block; font-size: 28px; line-height: 1.1; font-weight: 900; color: var(--mark); }
.results span { font-size: 14px; color: var(--soft); }
.case blockquote { padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.case blockquote p { font-size: 17px; line-height: 1.5; font-weight: 500; }
.case blockquote footer { font-size: 14px; color: var(--soft); }
@media (max-width: 1000px) { .cards-2 { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 600px) { .case-top, .case-body { padding: 24px 22px; } .case-top { min-height: 200px; } .case-body dl { grid-template-columns: 1fr; } .results strong { font-size: 28px; } }

/* Banner */
.banner { display: flex; justify-content: space-between; align-items: center; gap: 24px 32px; flex-wrap: wrap; padding: 40px 48px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.banner strong { display: block; font-size: 24px; line-height: 1.2; font-weight: 800; margin-bottom: 8px; }
@media (max-width: 700px) { .banner { padding: 26px 22px; } .banner .btn { width: 100%; } .banner strong { font-size: 21px; } }

/* Contact */
.cta-panel { border-radius: 40px; background: var(--deep); color: #fff; padding: clamp(48px, 7vw, 112px) clamp(20px, 5vw, 80px); }
.cta-panel .deco-bl { left: 0; bottom: 0; width: 500px; height: 360px; }
.cta-panel .deco-r { right: 0; top: 0; width: 420px; height: 420px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.contact-grid .copy { display: flex; flex-direction: column; gap: 24px; }
.contact-grid h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1; font-weight: 900; letter-spacing: -0.025em; }
.contact-grid p { font-size: 17px; line-height: 1.55; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,0.14); color: #fff; text-decoration: none; font-size: 15px; }
.contact-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.contact-links a:hover { background: rgba(255,255,255,0.24); }
/* What happens next: fills the space beside the form and reassures before sending */
.next-steps { margin-top: 8px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.next-steps h3 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 18px; }
.next-steps ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--on-dark-soft); }
.next-steps strong { display: block; color: #fff; font-size: 16px; }
.next-steps .n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.form { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 40px); background: var(--surface); color: var(--ink); border-radius: 28px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; font-family: var(--sans); font-size: 16px; background: var(--bg); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--g2); box-shadow: 0 0 0 3px #7C3AED33; }
.field [aria-invalid="true"] { border-color: #B42318; }
.field .error { font-weight: 500; font-size: 13px; color: #B42318; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { padding: 0 0 10px; font-size: 14px; font-weight: 700; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check { display: flex; gap: 10px; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--tint); font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--mark); flex-shrink: 0; }
.form .btn { width: 100%; font-weight: 800; font-size: 17px; }
.form .btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--soft); }
.form-status { display: none; padding: 16px 18px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.form-status.is-success { display: block; background: #E6F4EA; color: #14532D; }
.form-status.is-error { display: block; background: #FDECEA; color: #7A1A12; }
/* display: none, not off-screen, so browser autofill skips the honeypot */
.hp { display: none; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cta-panel, .dark-panel { border-radius: 28px; } .form-row, .checks { grid-template-columns: 1fr; } }

/* Footer */
/* The last section's bottom padding provides the gap above the footer, so it matches the gap between sections */
.site-footer { padding: 0 0 48px; }
/* 404 page: the footer follows the page hero directly, so it needs its own gap */
.site-footer.after-hero { padding-top: var(--section); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-top p { max-width: 360px; margin-top: 14px; font-size: 15px; color: var(--soft); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; font-weight: 500; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot-nav a:hover { color: var(--mark); }
/* LinkedIn icon sits under the footer links, aligned with them */
.foot-links { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--dark); color: #fff; transition: background 0.15s ease, color 0.15s ease; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social:hover, .social:focus-visible { background: var(--accent); color: var(--accent-ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }
@media (max-width: 700px) { .foot-links { align-items: flex-start; width: 100%; } .site-footer { padding-bottom: 32px; } .foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; width: 100%; } .foot-bottom { flex-direction: column; } }

/* Inner pages */
.page-hero { background: var(--hero); padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); }
.page-hero .deco { right: 0; top: 0; width: 520px; height: 560px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.02; font-weight: 900; letter-spacing: -0.035em; }
/* Smallest phones: keeps "Hi, I'm Jamie Harmes." on one line */
@media (max-width: 380px) { .page-hero h1 { font-size: 33px; } }
.page-hero .inner { display: flex; flex-direction: column; gap: 24px; max-width: 820px; }
.about-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.about-hero .inner { max-width: none; }
.chips-plain { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.chips-plain li { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.photo { position: relative; }
.photo::before { content: ""; position: absolute; right: -28px; top: -28px; width: 170px; height: 170px; border-radius: 999px; background: var(--deep); z-index: 0; }
.photo::after { content: ""; position: absolute; left: -24px; bottom: 40px; width: 64px; height: 64px; border-radius: 999px; background: var(--accent); z-index: 2; }
.photo-frame { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 28px; background: var(--tint); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; overflow: hidden; font-family: var(--sans); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); font-weight: 700; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(40px, 6vw, 96px); }
.split .stack { display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.55; }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value { display: flex; flex-direction: column; gap: 14px; padding: 28px 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.value .icon-tile { width: 52px; height: 52px; border-radius: 16px; }
.value .icon-tile svg { width: 24px; height: 24px; }
.value strong { font-size: 18px; line-height: 1.28; }
.value p { font-size: 15px; line-height: 1.47; color: var(--soft); }
.tools { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 20px; padding: 28px 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.tools h3 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); font-weight: 700; }
.tools .chips li { padding: 9px 16px; font-size: 14px; }
.ask { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; }
.ask h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.04; font-weight: 900; letter-spacing: -0.025em; margin-bottom: 16px; }
.ask p { font-size: 17px; }
.cta-panel.is-short { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.prose { padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 17px; line-height: 1.65; }
.prose h2 { font-size: clamp(22px, 2vw, 26px); line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; line-height: 1.3; font-weight: 700; margin: 28px 0 10px; }
.prose p, .prose ul { margin-bottom: 16px; color: var(--soft); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--g1); }
.prose a { color: var(--mark); font-weight: 500; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .about-hero, .split { grid-template-columns: 1fr; }
  .photo { max-width: 420px; }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .cards-4 { grid-template-columns: 1fr; }
  .value { flex-direction: row; align-items: flex-start; padding: 22px 20px; }
  .value > div { display: flex; flex-direction: column; gap: 6px; }
  .value strong { font-size: 17px; }
  .photo::before { width: 110px; height: 110px; right: -14px; top: -18px; }
  .photo::after { width: 44px; height: 44px; left: -12px; }
  .tools { padding: 22px 20px; }
  .ask .btn { width: 100%; }
}

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.topics { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.topics a { display: flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; font-size: 16px; font-weight: 500; text-decoration: none; }
.topics a:hover, .topics a.is-active { background: var(--tint); }
.faq-groups { display: flex; flex-direction: column; gap: 56px; }
.faq-group { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 24px; }
.faq-group h2 { font-size: clamp(22px, 2vw, 26px); line-height: 1.12; font-weight: 800; margin-bottom: 8px; }
.qa { display: flex; flex-direction: column; gap: 10px; padding: 28px 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.qa h3 { font-size: 18px; line-height: 1.3; font-weight: 700; }
.qa p { color: var(--soft); }
.acronyms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0; }
.acronyms div { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 18px; background: var(--tint); font-size: 15px; line-height: 1.47; }
.acronyms strong { font-family: var(--sans); font-size: 14px; color: var(--mark); font-weight: 700; }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .topics { position: static; flex-direction: row; overflow-x: auto; background: none; border: 0; padding: 0 var(--pad) 4px; margin: 0 calc(var(--pad) * -1); border-radius: 0; scrollbar-width: none; }
  .topics a { flex-shrink: 0; white-space: nowrap; min-height: 44px; padding: 0 16px; font-size: 14px; background: var(--surface); border: 1px solid var(--line); }
  .acronyms { grid-template-columns: 1fr; }
  .qa { padding: 20px; border-radius: 20px; }
  .qa h3 { font-size: 17px; }
}

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.case-body dl.own-now { display: block; }

/* Cookie banner (built by main.js). Accept and Reject are equally easy to use. */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 520px; margin-left: auto; display: flex; flex-direction: column; gap: 16px; padding: 22px 24px; border-radius: 24px; background: var(--dark); color: var(--on-dark-soft); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 15px; line-height: 1.5; }
.cookie-banner strong { display: block; margin-bottom: 4px; font-size: 16px; color: #fff; }
.cookie-banner a { color: #fff; text-underline-offset: 3px; }
.cookie-banner :focus-visible { outline-color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 600px) { .cookie-actions .btn { flex: 1; } }
/* Footer "Cookie settings" looks like the other footer links */
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
