/* ============================================================
   NakHalal — website styles
   Palette sampled from the approved "Business Profile v2" deck.
   Bahasa Malaysia throughout.

   v2 — warmth pass:
     · DM Sans throughout, per the NakHalal brand kit. The kit also names
       Mont for display; we deliberately do not use it (commercial
       Fontfabric licence), so DM Sans carries headings too — weight and
       size do the work that a second family would have done.
     · Bahasa Malaysia only. The English echo under each heading was
       dropped 16 Sep 2026; do not reintroduce it per-element.
     · Neutrals re-cut warm: ink and greys carry a brown bias
       instead of pure grey, shadows are brown rather than teal.
     · Larger corner radii, softer shadows, fewer hard slab edges.
     · Eyebrows are lowercase pills, not tracked-out prospectus caps.
   ============================================================ */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --teal:        #137F85;   /* primary */
  --teal-light:  #459A9E;
  --teal-deep:   #0E6167;
  --teal-soft:   #E4F0EF;   /* tint for icon wells */
  --gold:        #C5A059;   /* shared with Lonjak — deliberate family link */
  --gold-deep:   #8A6D2A;

  --cream:       #FEFAF4;   /* page ground */
  --sand:        #F6E7CE;   /* warm band */
  --shell:       #FFFDFA;   /* card ground — warmer than pure white */

  /* Warm neutrals: everything carries a brown bias rather than pure grey.
     This is the single biggest reason v1 read cold. */
  --ink:         #241E1A;
  --ink-soft:    #5C5149;
  --rule:        rgba(36, 30, 26, 0.10);
  --rule-light:  rgba(255, 255, 255, 0.22);

  --shadow-sm:   0 2px 10px rgba(92, 64, 34, 0.07);
  --shadow:      0 6px 22px rgba(92, 64, 34, 0.09);
  --shadow-lg:   0 18px 50px rgba(92, 64, 34, 0.16);

  --r-sm: 14px;
  --r:    20px;
  --r-lg: 28px;

  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw:   1140px;
  --gutter: clamp(20px, 3vw, 40px);
  --header-h: 68px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  line-height: 1.65;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }
img { max-width: 100%; }
::selection { background: var(--teal); color: #fff; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 20px; background: var(--teal); color: #fff;
  font-size: 13px; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 250, 244, 0.92);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 8px;
}

/* Real lockup from the NakHalal brand kit (Canva). The .brand text
   wordmark below is kept only for the footer's reversed treatment. */
.brand-mark { display: block; height: 30px; width: auto; }
.brand { display: flex; align-items: baseline; gap: 2px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.brand .nak  { color: var(--ink); }
.brand .halal { color: var(--teal); }
.brand small, .brand-lockup small {
  display: block; font-size: 9px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--ink-soft); margin-top: 1px;
}
.brand-lockup { display: flex; flex-direction: column; flex-shrink: 0; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  padding: 9px 13px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--ink-soft); transition: background .2s, color .2s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--teal); background: rgba(19, 127, 133, 0.07); }
.site-nav a[aria-current="page"] { color: var(--teal); background: rgba(19, 127, 133, 0.10); }

.nav-login {
  margin-left: 6px; font-weight: 600; color: var(--teal) !important;
  border: 1px solid var(--rule); border-radius: 999px;
}

/* WhatsApp pill — never collapses into the menu, at any width */
.nav-wa {
  padding: 10px 18px; border-radius: 999px; flex-shrink: 0;
  background: var(--teal); color: #fff !important; font-size: 13.5px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(19, 127, 133, 0.25);
  transition: background .2s, box-shadow .2s, transform .2s;
}
.nav-wa:hover { background: var(--teal-deep); color: #fff !important; box-shadow: 0 5px 18px rgba(19,127,133,.34); transform: translateY(-1px); }
.nav-wa svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* ---------- hamburger ---------- */

.nav-toggle {
  display: none;               /* desktop: hidden; shown in the narrow query */
  align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  background: transparent; border: 1px solid var(--rule); border-radius: 12px;
  cursor: pointer; padding: 0; color: var(--ink);
  transition: background .2s, border-color .2s;
}
.nav-toggle:hover { background: rgba(19,127,133,.07); border-color: var(--teal); }
.nav-toggle .bars { position: relative; width: 18px; height: 12px; display: block; }
.nav-toggle .bars i {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .25s, opacity .2s;
}
.nav-toggle .bars i:nth-child(1) { top: 0; }
.nav-toggle .bars i:nth-child(2) { top: 5px; }
.nav-toggle .bars i:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-size: 15.5px; font-weight: 700; font-family: inherit;
  cursor: pointer; border: 1px solid transparent; line-height: 1.3;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 19px; height: 19px; fill: currentColor; flex-shrink: 0; }

.btn-wa { background: #25D366; color: #07341C; border-color: #25D366; box-shadow: 0 4px 16px rgba(37,211,102,.34); }
.btn-wa:hover { background: #1FBE5B; color: #07341C; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.42); }

.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }

.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: var(--shadow-sm); }
.btn-teal:hover { background: var(--teal-deep); color: #fff; transform: translateY(-2px); }

.btn-outline { color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }

/* ============================================================
   SECTION FURNITURE
   ============================================================ */

.section { padding-block: clamp(64px, 8vw, 100px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

/* Warm pill, sentence case — replaces the tracked-out corporate caps */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0;
  color: var(--gold-deep); background: rgba(197, 160, 89, 0.16);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.band-teal .eyebrow, .hero .eyebrow {
  color: var(--sand); background: rgba(255, 255, 255, 0.14);
}
.band-teal .eyebrow::before, .hero .eyebrow::before { background: var(--sand); }

h1, h2, h3 { line-height: 1.16; margin: 0; font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: clamp(19px, 2vw, 23px); }
.lede { font-size: clamp(16px, 1.7vw, 18px); color: var(--ink-soft); margin: 16px 0 0; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 70% 80% at 82% 10%, rgba(246, 231, 206, 0.20), transparent 60%),
    linear-gradient(158deg, #17888E 0%, #12797F 46%, #0E6167 100%);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
/* Soft organic glow rather than a hard geometric wedge */
.hero::after {
  content: ""; position: absolute; right: -14%; top: -30%;
  width: 62%; height: 170%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.09), transparent 62%);
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 8.5vw, 104px); }
.hero-inner { max-width: 720px; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); color: #fff; }
.hero p.lede { color: rgba(255,255,255,.88); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.66); }

/* ============================================================
   PROBLEM
   ============================================================ */

/* Five items never fill a rectangle: three columns leaves 3+2, two
   leaves 2+2+1. Two columns with the last item spanning both closes it. */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-top: 8px;
}
.problem-item:last-child { grid-column: 1 / -1; }
.problem-item {
  background: var(--shell); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 22px 24px; font-weight: 600; font-size: 15.5px;
  display: flex; align-items: flex-start; gap: 13px;
  box-shadow: var(--shadow-sm);
}
.problem-item .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(197, 160, 89, 0.20);
  flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
}
.problem-item .dot::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.problem-close {
  margin-top: 30px; font-size: clamp(17px, 2vw, 21px); font-weight: 700; max-width: 700px;
}

/* ============================================================
   VIDEO
   ============================================================ */

.video-block { background: var(--sand); }
.video-shell {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: var(--r-lg); overflow: hidden; background: #000;
  box-shadow: var(--shadow-lg);
}
.video-shell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 12, 4, .26); border: 0; cursor: pointer; padding: 0;
  transition: background .2s;
}
.video-play:hover { background: rgba(20, 12, 4, .12); }
.video-play span {
  width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,.96);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(20,12,4,.32);
  transition: transform .25s;
}
.video-play:hover span { transform: scale(1.06); }
.video-play svg { width: 26px; height: 26px; fill: var(--teal); margin-left: 4px; }
.video-consent {
  margin-top: 14px; font-size: 13px; color: var(--gold-deep); text-align: center;
}

/* ============================================================
   THE FORK
   ============================================================ */

.fork-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr)); gap: 22px;
}
.fork-card {
  border-radius: var(--r-lg); padding: clamp(28px, 3.4vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
}
.fork-card .tag {
  align-self: flex-start; font-size: 12.5px; letter-spacing: 0; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
}
.fork-card ul { margin: 6px 0 0; padding-left: 0; list-style: none; }
.fork-card li {
  margin-bottom: 11px; font-size: 15.5px; position: relative; padding-left: 26px;
}
.fork-card li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 12px; border: solid currentColor;
  border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: .5;
}
.fork-card .btn { margin-top: auto; align-self: flex-start; }
.fork-card .btn svg { width: 17px; height: 17px; }

.fork-first { background: var(--shell); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.fork-first .tag { background: rgba(197,160,89,.18); color: var(--gold-deep); }
.fork-renew {
  color: #fff; box-shadow: var(--shadow);
  background: linear-gradient(158deg, #17888E 0%, #0E6167 100%);
}
.fork-renew .tag { background: rgba(255,255,255,.2); color: #fff; }
.fork-renew .lede { color: rgba(255,255,255,.85); }

/* ============================================================
   PLATFORM
   ============================================================ */

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr)); gap: 22px;
}
.feature {
  background: var(--shell); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 38px); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature h3 { margin-bottom: 10px; }
.feature .icon {
  width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature .icon svg { width: 26px; height: 26px; fill: var(--teal); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chip {
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal-deep);
}

/* ============================================================
   WHY DIFFERENT
   ============================================================ */

.band-teal {
  color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 15% 0%, rgba(246,231,206,.16), transparent 62%),
    linear-gradient(158deg, #17888E 0%, #0E6167 100%);
  border-radius: var(--r-lg);
  margin-inline: clamp(0px, 2vw, 24px);
}
.reason-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px,100%), 1fr)); gap: 22px;
}
/* v1 used bare 01/02/03 numerals — a carry-over from the Lonjak
   corporate site. Soft translucent cards read far warmer. */
.reason {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--rule-light);
  border-radius: var(--r); padding: 26px 28px;
}
.reason .num {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(246,231,206,.2); color: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; letter-spacing: 0;
  margin-bottom: 16px;
}
.reason h3 { margin-bottom: 10px; font-size: clamp(18px, 1.8vw, 21px); }
.reason p { color: rgba(255,255,255,.82); margin: 0; font-size: 15.5px; }

/* ============================================================
   TEAM
   ============================================================ */

.team-block { background: var(--cream); }
.team-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.team-copy .lede { max-width: 46ch; }
.team-inc {
  font-size: 14.5px !important; color: var(--gold-deep) !important;
  border-left: 3px solid rgba(197,160,89,.45); padding-left: 14px; margin-top: 22px !important;
}
.team-photo {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--sand);
}
.team-photo img { display: block; width: 100%; height: auto; }

@media (max-width: 820px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CREDENTIALS
   ============================================================ */

.creds { background: var(--cream); }
.creds .wrap { padding-block: 52px; }
/* Four credentials: 4-up on desktop, 2x2 on tablet, stacked on phone.
   auto-fit with a 260px floor only fits three at 1140px and orphans one. */
.cred-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin-top: 22px;
}
@media (max-width: 900px) { .cred-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cred-row { grid-template-columns: 1fr; } }
.cred {
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.6;
  background: var(--shell); border: 1px solid var(--rule);
  border-radius: var(--r); padding: 22px 24px;
}
/* Fixed-height well so logos of different aspect ratios sit on one baseline */
.cred-logo {
  height: 52px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: flex-start;
}
.cred-logo img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.cred strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 5px; font-weight: 800; }

/* ============================================================
   FAQ
   Native <details>, so it opens and closes with JavaScript off.
   ============================================================ */

.faq-block { background: var(--cream); }
.faq-list { display: grid; gap: 12px; max-width: 820px; }

.faq {
  background: var(--shell); border: 1px solid var(--rule);
  border-radius: var(--r); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 56px 20px 24px; position: relative;
  font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-deep); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }

/* chevron */
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 26px;
  width: 9px; height: 9px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(45deg); transition: transform .22s;
}
.faq[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq[open] summary { color: var(--teal-deep); }

.faq-body { padding: 0 24px 22px; }
.faq-body p { margin: 0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; }

.faq-more {
  margin-top: 26px; font-size: 15.5px; color: var(--ink-soft); max-width: 820px;
}
.faq-more a { font-weight: 700; border-bottom: 1px solid var(--gold); }

/* ============================================================
   CLOSING CTA
   ============================================================ */

.cta-final {
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(197,160,89,.14), transparent 65%),
    var(--sand);
}
.cta-final .wrap { padding-block: clamp(60px, 7vw, 92px); text-align: center; }
.cta-final .eyebrow { background: rgba(255,255,255,.55); }
.cta-final h2 { max-width: 700px; margin-inline: auto; }
.cta-final .btn { margin-top: 30px; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--teal-deep); color: rgba(255,255,255,.74);
  border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: 0;
}
.site-footer .wrap { padding: 56px var(--gutter) 32px; }
.footer-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px,100%), 1fr));
  gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.16);
}
.site-footer .brand .nak { color: #fff; }
.site-footer .brand .halal { color: var(--sand); }
.site-footer .brand small { color: rgba(255,255,255,.55); }
.footer-head {
  font-size: 13px; color: var(--sand); font-weight: 700; margin-bottom: 12px; letter-spacing: 0;
}
.site-footer a { display: block; color: rgba(255,255,255,.74); padding: 5px 0; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.footer-addr { font-size: 14px; line-height: 1.7; font-style: normal; }
.footer-base {
  padding-top: 22px; display: flex; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.52);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal { max-width: 760px; }
.legal h2 {
  font-size: clamp(21px, 2.2vw, 26px); margin: 44px 0 12px;
  padding-top: 26px; border-top: 1px solid var(--rule);
}
.legal h3 { font-size: clamp(17px, 1.8vw, 19px); margin: 28px 0 8px; }
.legal p, .legal li { font-size: 16px; color: var(--ink-soft); margin: 0 0 14px; }
.legal strong { color: var(--ink); }
.legal ul { padding-left: 22px; margin-bottom: 18px; }
.legal li { margin-bottom: 8px; }
.legal-summary {
  background: var(--sand); border-radius: var(--r);
  padding: 26px 28px; margin-bottom: 8px;
}
.legal-summary p { margin-bottom: 12px; color: var(--ink); }
.legal-summary p:last-child { margin-bottom: 0; }
.legal-table {
  width: 100%; border-collapse: collapse; margin: 18px 0 22px;
  font-size: 14.5px; display: block; overflow-x: auto;
}
.legal-table th, .legal-table td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.legal-table th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.legal-table td { color: var(--ink-soft); }
.legal code {
  background: rgba(19,127,133,.08); color: var(--teal-deep);
  padding: 2px 6px; border-radius: 5px; font-size: 0.92em;
}
.legal-updated {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule);
  font-size: 14px !important; color: var(--gold-deep) !important;
}
.legal h1 { font-size: clamp(32px, 4.5vw, 46px); }

/* Icon sprite: defined once in the markup, referenced with <use>. */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- video labelling ---------- */

.video-meta {
  margin: 16px 0 0; text-align: center; font-size: 15px; color: var(--ink);
}
.video-meta strong { color: var(--teal-deep); }
.video-consent { margin-top: 6px; }

/* ---------- fee reassurance above the closing CTA ---------- */

.cta-fees {
  margin: 20px auto 0; max-width: 520px;
  font-size: 14.5px; color: var(--gold-deep);
}

/* ============================================================
   COOKIE CONSENT BAR
   ============================================================ */

.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(92, 64, 34, 0.14);
  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; }
}

/* ============================================================
   NARROW
   ============================================================ */

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

  /* The menu becomes a panel under the bar. Rendered open in the
     HTML so it still works with JS off; the script closes it on init. */
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    padding: 10px var(--gutter) 18px;
  }
  .site-nav[data-collapsed="true"] { display: none; }
  .site-nav a {
    padding: 13px 14px; font-size: 16px; border-radius: var(--r-sm);
    color: var(--ink); font-weight: 600;
  }
  .nav-login {
    margin-left: 0; margin-top: 8px; text-align: center;
    border: 1px solid var(--teal); padding: 13px 14px !important;
  }
  /* WhatsApp lives in the bar, never in the panel */
  .site-nav .nav-wa { display: none; }

  .site-header .wrap { position: relative; }
}

@media (max-width: 620px) {
  .problem-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand-mark { height: 26px; }
  .brand { font-size: 19px; }
  .nav-wa { padding: 0 16px; min-height: 44px; font-size: 13.5px; }
  .nav-wa svg { width: 15px; height: 15px; }
  .hero-actions .btn { width: 100%; }
  .fork-card .btn { width: 100%; }
  .cta-final .btn { width: 100%; }
  .band-teal { margin-inline: 0; border-radius: 0; }
}

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