/* NakHalal homepage V3 (Oct 2026). Built from the Figma file
   "NakHalal Website — Homepage V3": desktop frame node 2:46, with the
   Mobile/… text styles below 768px. Fonts are self-hosted so the
   privacy notice's "no third-party font requests" stays true. */

@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-italic-latin.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Figma variables, collection "NakHalal Brand" */
  --teal: #137f85;
  --teal-shade: #0d5c60;
  --gold: #c5a059;
  --gold-text: #8a6a2e;
  --warm-white: #f9f8f6;
  --ink: #1a1a1a;
  --tint-teal-soft: #d3ecec;
  --tint-teal: #bfe3e1;
  --tint-gold: #f0ddb4;
  --tint-sand: #e3d9cb;
  --tint-sage: #d5e4d8;
  --footer: #0f1415;
  --display: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --gutter: 20px;
  /* consent bar (shared analytics.js) */
  --cream: #f9f8f6; --rule: rgba(26,26,26,.14); --ink-soft: rgba(26,26,26,.72); --teal-deep: #0d5c60;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.br-wide { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 15px; line-height: 20px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s, opacity .2s; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-text); }
.btn-white { background: #fff; color: var(--teal-shade); padding: 14px 24px; }
.btn-white:hover { background: var(--warm-white); }
.btn-ghost { border: 1.5px solid #fff; color: #fff; padding: 14px 24px; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-teal { background: var(--teal); color: var(--warm-white); padding: 12px 20px; }
.btn-teal:hover { background: var(--teal-shade); }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.44px; color: var(--teal); }
.link { font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.c-teal { color: var(--teal); }
.c-gold { color: var(--gold); }

/* 00 Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--ink); padding: 16px var(--gutter); }
.nav-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo img { width: 113px; height: auto; }
.nav-links { display: none; gap: 28px; font-size: 18px; line-height: 26px; font-weight: 600; }
.nav-links a:hover { color: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 9px 14px; font-size: 14px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 40px; width: 220px; background: #fff; border: 1px solid rgba(26,26,26,.12); border-radius: 12px; padding: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.08); display: flex; flex-direction: column; }
.menu-panel a { padding: 10px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.menu-panel a:hover { background: var(--warm-white); }

/* 01 Hero */
.hero { background: var(--teal); color: #fff; padding: 64px var(--gutter) 0; display: flex; flex-direction: column; align-items: center; gap: 56px; overflow: hidden; }
.hero-copy { width: 100%; max-width: 900px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 48px; text-transform: capitalize; text-shadow: 0 4px 4px rgba(0,0,0,.25); }
.hero-copy p { font-size: 16px; line-height: 26px; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-visual { position: relative; width: 100%; max-width: var(--max); height: 230px; overflow: hidden; }
.dash { position: absolute; left: 0; right: 0; bottom: -40px; height: 270px; display: flex; overflow: hidden; border-radius: 14px 14px 0 0; background: var(--warm-white); color: var(--ink); font-size: 12px; line-height: 18px; text-align: left; }
.dash-side { width: 96px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px 8px 0; background: #fff; border-right: 1px solid var(--ink); }
.dash-logo { height: 30px; display: flex; align-items: center; }
.dash-logo img { width: 80px; height: auto; }
.dash-side .on { background: var(--teal); color: #fff; border-radius: 6px; padding: 5px 8px; }
.dash-side span:not(.dash-logo):not(.on) { padding: 0 2px; }
.dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px 10px 0; white-space: nowrap; }
.dash-main strong { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 28px; }
.dash-row { display: flex; justify-content: space-between; gap: 6px; background: #fff; border-radius: 8px; padding: 8px; font-size: 11px; }
.dash-row span:first-child { overflow: hidden; text-overflow: ellipsis; }
.dash-row span:last-child { color: var(--teal); }
.float { display: none; position: absolute; flex-direction: column; border-radius: 12px; padding: 16px 18px; }
.float .k { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.44px; }
.float .t { font-size: 18px; line-height: 26px; font-weight: 600; }
.float .s { font-size: 14px; line-height: 22px; }
.float-reminder { left: 0; top: 40px; width: 226px; gap: 6px; background: var(--ink); color: #fff; }
.float-reminder .k { color: var(--gold); }
.float-progress { right: 0; top: 16px; width: 236px; gap: 8px; background: #fff; color: var(--ink); }
.float-progress .k { color: var(--teal); }
.bar { display: block; position: relative; height: 8px; border-radius: 8px; background: var(--tint-teal-soft); overflow: hidden; }
.bar span { position: absolute; left: 0; top: 0; width: 80%; height: 8px; border-radius: 8px; background: var(--gold); }

/* 02 Outcomes carousel */
.outcomes { padding: 64px var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 48px; }
.outcomes-head { width: 100%; max-width: var(--max); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 38px; text-align: center; }
.pill { background: var(--gold); color: #fff; border-radius: 10px; padding: 2px 16px; }
.track { width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.track::-webkit-scrollbar { display: none; }
.card { flex: 0 0 86%; scroll-snap-align: start; min-height: 477px; display: flex; flex-direction: column; gap: 20px; padding: 24px; border: 1px solid #000; border-radius: 16px; background: #fff; }
.card .num { font-size: 14px; line-height: 22px; }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 32px; text-align: center; }
.better { border-left: 2px solid var(--gold); padding-left: 16px; display: flex; flex-direction: column; gap: 10px; }
.better .sub { font-size: 18px; line-height: 26px; font-weight: 600; }
.better .body { font-size: 14px; line-height: 22px; color: rgba(0,0,0,.7); }
.card-3 .better .body { color: #000; }
.card { transition: background .4s, border-color .4s, color .4s; }
.card .better .body { transition: color .4s; }
.card.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.card.is-active .better .body { color: #fff; }
.dots { width: 100%; max-width: var(--max); display: flex; align-items: center; gap: 6px; }
.dots button { padding: 10px 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.dots button span { display: block; width: 6px; height: 6px; border-radius: 50%; background: #d1d1d1; transition: width .3s, height .3s, background .3s; }
.dots button[aria-current="true"] span { width: 28px; height: 4px; border-radius: 4px; background: var(--ink); }
.dots button:hover span { background: #a8a8a8; }
.dots button[aria-current="true"]:hover span { background: var(--ink); }

/* 03 Features */
.features { padding: 64px var(--gutter); }
.showcase { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; border-radius: 24px; overflow: hidden; background: #fff; }
.showcase-copy { flex: 616 1 0; min-width: min(380px, 100%); display: flex; flex-direction: column; gap: 16px; padding: 32px 24px; }
.showcase-copy h2 { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 38px; }
.feature-list { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; }
.feature-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: opacity .3s; }
.feature { padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; text-align: left; font-family: var(--sans); font-size: 20px; line-height: 30px; font-weight: 500; }
.feature-next { flex-shrink: 0; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; display: flex; transition: transform .2s; }
.feature-next:hover { transform: translateX(2px); }
.feature-next svg { display: block; }
/* before the script runs: the Figma resting state */
.feature-list li:nth-child(2) { opacity: .3; }
.feature-list li:nth-child(3) { opacity: .24; }
.feature-list li:nth-child(4) { opacity: .18; }
.feature-list li:nth-child(5) { opacity: .12; }
.feature-list li:nth-child(6) { opacity: .08; }
.showcase-visual { flex: 584 1 0; min-width: min(380px, 100%); display: flex; align-items: flex-end; justify-content: center; padding: 40px 32px 0; background: var(--teal); }
.showcase-visual img { width: 280px; max-width: 100%; height: auto; }

/* 04 Who it's for */
.who { padding: 64px var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 56px; }
.center-head { width: 100%; max-width: 800px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.center-head h2 { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 38px; }
.center-head p { font-size: 16px; line-height: 26px; }
.who-grid { width: 100%; max-width: var(--max); display: flex; flex-wrap: wrap; gap: 40px 32px; }
.who-card { flex: 1 1 0; min-width: min(300px, 100%); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.who-photo { width: 100%; height: 200px; margin-bottom: 20px; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.who-photo img { flex-shrink: 0; max-width: none; }
.who-photo-1 { background: var(--teal); }
.who-photo-1 img { width: 379px; height: 200px; }
.who-photo-2 { background: var(--gold); }
.who-photo-2 img { width: 476px; height: 251.19px; }
.who-photo-3 { background: #fff; border: 1px solid var(--teal); }
.who-photo-3 img { width: 527px; height: 278px; }
.who-card h3 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 32px; }
.who-card p { font-size: 16px; line-height: 26px; }

/* 05 Services */
.services { padding: 64px var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 48px; }
.services-head { width: 100%; max-width: var(--max); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px 32px; }
.services-head h2 { font-family: var(--display); font-weight: 500; font-size: 34px; line-height: 42px; white-space: nowrap; }
.steps { width: 360px; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.steps .btn { margin-top: 16px; }
.service-grid { width: 100%; max-width: var(--max); display: flex; flex-wrap: wrap; gap: 32px 24px; }
.service { flex: 1 1 0; min-width: min(240px, 100%); display: flex; flex-direction: column; gap: 12px; }
.service h3 { margin-top: 16px; font-size: 20px; line-height: 28px; font-weight: 600; }
.service p { font-size: 14px; line-height: 22px; }
.tile { position: relative; height: 170px; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tile > * { flex-shrink: 0; }
.tile img { max-width: none; transition: transform .3s; }
.service:hover .tile img { transform: scale(1.03); }
.tile-gap { width: 64px; height: 64px; }
.tile-software { background: var(--tint-teal); }
.tile-software img { width: 530px; height: 320px; }
.tile-coaching { background: var(--tint-gold); }
.coach-frame { position: relative; width: 412px; height: 248px; border-radius: 166px; overflow: hidden; transform: scaleX(-1); }
.coach-frame img { position: absolute; left: 8.43%; top: -25.52%; width: 114.55%; height: 114.72%; }
.tile-workshops { background: var(--tint-sand); }
.tile-workshops img, .tile-corporate img { width: 388px; height: 234px; }
.tile-corporate { background: var(--tint-sage); }

/* 06 Where we fit */
.fit { padding: 64px var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 40px; }
.fit .center-head { max-width: 900px; gap: 14px; }
.eco-grid { width: 100%; max-width: 1080px; display: flex; flex-wrap: wrap; gap: 24px; }
.eco { flex: 1 1 0; min-width: min(280px, 100%); min-height: 148px; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; background: #fff; border: 1px solid var(--ink); border-radius: 14px; }
.eco .t { font-size: 18px; line-height: 26px; font-weight: 600; }
.eco .n { font-size: 14px; line-height: 22px; }
.eco-gold { border: 2px solid var(--gold); }
.eco-gold .eyebrow { color: var(--gold-text); }
.connector { display: flex; flex-direction: column; align-items: center; }
.dash-line { width: 2px; height: 40px; background: repeating-linear-gradient(to bottom, var(--teal) 0 4px, transparent 4px 8px); background-size: 1px 100%; background-repeat: no-repeat; background-position: center; }
.fit-logo { width: 100px; height: 153px; }
.supporters { width: 100%; max-width: 962px; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 62px; }
.supporter { flex: 1 1 0; min-width: min(300px, 100%); max-width: 450px; min-height: 290px; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 37px 24px 24px; text-align: center; border: 2px solid transparent; border-bottom: 0; border-radius: 36px 36px 0 0;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(180deg, var(--gold) 0%, rgba(197,160,89,.45) 40%, rgba(197,160,89,0) 85%) border-box; }
.supporter-logo { height: 134px; display: flex; align-items: center; justify-content: center; }
.supporter-logo img { width: 287px; max-width: 100%; height: auto; }
.supporter-logo img.semy { width: 99px; }
.supporter p { font-size: 18px; line-height: 28px; }
.supporter b { font-weight: 700; }
.outcome { width: 100%; max-width: 720px; background: var(--gold); color: #fff; border-radius: 12px; padding: 18px 36px; text-align: center; font-size: 18px; line-height: 26px; font-weight: 600; }

/* 07 Call to action */
.cta { background: var(--teal); color: #fff; padding: 64px var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.cta h2 { max-width: 900px; font-family: var(--display); font-weight: 500; font-size: 34px; line-height: 42px; }
.cta p { max-width: 660px; font-size: 16px; line-height: 26px; }
.btn-cta { color: var(--ink); padding: 16px 30px; }

/* 08 Footer */
.footer { background: var(--footer); color: #fff; padding: 64px var(--gutter) 36px; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.footer-top { width: 100%; max-width: var(--max); display: flex; flex-wrap: wrap; gap: 48px 64px; }
.footer-brand { width: 300px; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-logo { width: 219px; height: 72px; display: flex; align-items: center; }
.footer-logo img { width: 198px; height: auto; }
.footer .by { font-size: 16px; line-height: 22px; }
.footer .line { margin: 34px 0 30px; font-family: var(--display); font-style: italic; font-weight: 400; font-size: 24px; line-height: 38px; }
.socials { display: flex; gap: 8px; }
.social { width: 34px; height: 34px; border-radius: 6px; background: #fff; color: var(--footer); display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 20px; font-weight: 600; }
a.social:hover { background: var(--tint-teal-soft); }
.cols { flex: 1 1 0; min-width: min(300px, 100%); display: flex; flex-wrap: wrap; gap: 32px; }
.col { flex: 1 1 0; min-width: 160px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 22px; }
.col h4 { margin-bottom: 14px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.44px; }
.col a:hover { text-decoration: underline; }
.legal { width: 100%; max-width: var(--max); border-top: 1px solid #fff; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; line-height: 22px; }
.legal nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.legal a:hover { text-decoration: underline; }

/* Tablet and desktop: Figma desktop text styles and spacing */
@media (min-width: 768px) {
  :root { --gutter: 40px; }
  .br-wide { display: inline; }
  .nav-logo { width: 274px; height: 93px; }
  .nav-logo img { width: 256px; margin-left: 14px; }
  .nav-actions .btn { padding: 11px 20px; font-size: 18px; line-height: 26px; }
  .hero { padding-top: 104px; }
  .hero h1 { font-size: 64px; line-height: 72px; letter-spacing: -0.64px; }
  .hero-copy p { font-size: 18px; line-height: 28px; }
  .hero-visual { height: 300px; }
  .dash { left: 50%; right: auto; transform: translateX(-50%); bottom: -48px; width: min(700px, 100%); height: 300px; font-size: 14px; line-height: 22px; }
  .dash-side { width: 160px; gap: 12px; padding: 20px 16px 0; }
  .dash-logo { height: 46px; }
  .dash-logo img { width: 128px; }
  .dash-side .on { padding: 6px 10px; }
  .dash-side span:not(.dash-logo):not(.on) { padding: 0; }
  .dash-main { gap: 14px; padding: 22px 28px 0; }
  .dash-row { gap: 8px; padding: 10px 14px; font-size: 14px; }
  .dash-main strong { font-size: 30px; line-height: 38px; }
  .outcomes { padding: 104px var(--gutter); }
  .outcomes-head { font-size: 44px; line-height: 52px; }
  .card { flex-basis: 60%; padding: 32px; }
  .card h3 { font-size: 30px; line-height: 38px; }
  .features { padding: 64px var(--gutter) 104px; }
  .showcase-copy { min-height: 646px; padding: 48px; }
  .showcase-copy h2 { max-width: 500px; font-size: 44px; line-height: 52px; }
  .feature { font-size: 28px; line-height: 36px; }
  .showcase-visual { min-height: 646px; }
  .showcase-visual img { width: 440px; }
  .who { padding: 104px var(--gutter); }
  .center-head h2 { font-size: 44px; line-height: 52px; }
  .center-head p { font-size: 18px; line-height: 28px; }
  .who-card h3 { font-size: 30px; line-height: 38px; }
  .services { padding: 96px var(--gutter) 104px; }
  .services-head h2 { font-size: 56px; line-height: 64px; }
  .fit { padding: 104px var(--gutter); }
  .cta { padding: 128px var(--gutter) 112px; }
  .cta h2 { font-size: 56px; line-height: 64px; }
  .cta p { font-size: 18px; line-height: 28px; }
  .footer { padding-top: 80px; }
}

/* Wide desktop: full nav and the floating hero cards */
@media (min-width: 1024px) {
  .float { display: flex; }
  .track { width: 100%; max-width: var(--max); margin: 0; padding: 0; gap: 28px; overflow: visible; min-height: 523px; align-items: flex-start; }
  .card { flex: 1 1 0; min-width: 0; }
}
@media (min-width: 1180px) {
  .nav-links { display: flex; width: 521px; justify-content: flex-end; }
  .nav-links a:first-child { width: 95px; }
  .menu { display: none; }
}

/* Narrow phones (360px and below): keep the top bar on one line */
@media (max-width: 379px) {
  .nav-logo img { width: 96px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 9px 10px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Legal pages (privasi.html, terms.html): same nav, footer, type and colours as the homepage */
.page-head { background: var(--teal); color: #fff; padding: 64px var(--gutter) 56px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.page-head .eyebrow { color: var(--tint-gold); }
.page-head h1 { max-width: 900px; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 48px; text-shadow: 0 4px 4px rgba(0,0,0,.25); }
.page-head p { max-width: 660px; font-size: 16px; line-height: 26px; }
.legal-body { max-width: 800px; margin: 0 auto; padding: 56px var(--gutter) 80px; }
.legal-body h2 { margin: 48px 0 14px; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 32px; }
.legal-body h3 { margin: 28px 0 8px; font-size: 18px; line-height: 26px; font-weight: 600; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 26px; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul, .legal-body ol { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--teal-shade); }
.legal-body code { font-size: 14px; background: var(--warm-white); border: 1px solid rgba(26,26,26,.12); border-radius: 4px; padding: 1px 6px; }
.legal-summary { border-left: 2px solid var(--gold); background: var(--warm-white); border-radius: 0 12px 12px 0; padding: 22px 24px; }
.legal-summary p:last-child { margin-bottom: 0; }
.legal-table-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--ink); border-radius: 14px; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 22px; }
.legal-table th { background: var(--warm-white); text-align: left; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.44px; text-transform: uppercase; color: var(--teal); }
.legal-table th, .legal-table td { padding: 12px 16px; border-bottom: 1px solid rgba(26,26,26,.12); vertical-align: top; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-updated { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(26,26,26,.15); font-size: 14px; line-height: 22px; color: rgba(26,26,26,.7); }
.legal-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.legal-body .legal-cta a.btn { color: var(--warm-white); text-decoration: none; }
@media (min-width: 768px) {
  .page-head { padding: 96px var(--gutter) 80px; }
  .page-head h1 { font-size: 56px; line-height: 64px; }
  .page-head p { font-size: 18px; line-height: 28px; }
  .legal-body { padding: 80px var(--gutter) 104px; }
  .legal-body h2 { font-size: 30px; line-height: 38px; }
}

/* Cookie consent bar (rendered by analytics.js) */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--cream); border-top: 1px solid var(--rule); box-shadow: 0 -6px 24px rgba(0,0,0,.12); padding: 20px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.consent-copy { max-width: 720px; }
.consent-copy p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.consent-copy .consent-state { color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.consent-copy a { border-bottom: 1px solid var(--gold); }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-btn { font-family: inherit; font-size: 14px; font-weight: 700; padding: 12px 24px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.consent-accept { background: var(--teal); color: #fff; border-color: var(--teal); }
.consent-accept:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.consent-decline { background: transparent; color: var(--ink-soft); border-color: var(--rule); }
.consent-decline:hover { border-color: var(--teal); color: var(--teal); }
@media (max-width: 720px) {
  .consent-bar { padding: 16px var(--gutter); gap: 14px; }
  .consent-actions { width: 100%; }
  .consent-btn { flex: 1; padding: 13px 16px; }
}
