/* Candela Learning: shared by all five pages. Literal colours only in custom properties. */

/* 1. Fonts */

@font-face { font-family: "Roboto Flex";
  src: url("fonts/roboto-flex-latin-opsz.woff2") format("woff2-variations"),
       url("fonts/roboto-flex-latin-opsz.woff2") format("woff2");
  font-weight: 100 1000; font-style: normal; font-display: swap;
  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; }
@font-face { font-family: "Noto Sans Sinhala"; src: url("fonts/noto-sans-sinhala-700.woff2") format("woff2");
  font-weight: 700; font-display: swap; unicode-range: U+0D80-0DFF, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Tamil"; src: url("fonts/noto-sans-tamil-700.woff2") format("woff2");
  font-weight: 700; font-display: swap; unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC; }

/* Metric-matched fallbacks, measured 2026-09-22 in Edge against Roboto Flex (spec §4.2) */
@font-face { font-family: "Cndl Sans Fallback"; src: local("Arial"), local("ArialMT");
  font-weight: 100 549; size-adjust: 97%; ascent-override: 95.9%; descent-override: 24.7%; line-gap-override: 0%; }
@font-face { font-family: "Cndl Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 550 1000; size-adjust: 96.5%; ascent-override: 96.4%; descent-override: 24.9%; line-gap-override: 0%; }
@font-face { font-family: "Cndl Display Fallback"; src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 100 1000; size-adjust: 93.5%; ascent-override: 99.5%; descent-override: 25.7%; line-gap-override: 0%; }

/* 2. Light tokens */

:root {
  color-scheme: light dark;

  --font-sans: "Roboto Flex", Roboto, "Cndl Sans Fallback", "Segoe UI", system-ui, -apple-system,
               "Helvetica Neue", Arial, "Noto Sans Sinhala", "Noto Sans Tamil", "Nirmala UI", sans-serif;
  --font-display: "Roboto Flex", Roboto, "Cndl Display Fallback", "Segoe UI", system-ui, -apple-system,
               "Helvetica Neue", Arial, "Noto Sans Sinhala", "Noto Sans Tamil", "Nirmala UI", sans-serif;
  --fs-display-xl: clamp(2.5rem, .9rem + 5.6vw, 6rem);
  --fs-display-l: clamp(2.125rem, 1rem + 3.6vw, 4rem);
  --fs-h3: clamp(1.875rem, 1rem + 2.6vw, 3.25rem);
  --fs-script: clamp(2.5rem, 1.4rem + 3.8vw, 4.5rem);
  --fs-numeral: clamp(6.5rem, 2rem + 13vw, 15rem);
  --fs-lead: clamp(1.0625rem, .95rem + .45vw, 1.3125rem);
  --fs-body: clamp(1rem, .96rem + .2vw, 1.125rem);

  --bg: #FFFFFF;
  --bg-alt: #F6F7F6;
  --surface: #FFFFFF;
  --surface-2: #EEEEEE;
  --text-strong: #0E1110;
  --text: rgba(0,0,0,.87);
  --text-2: rgba(0,0,0,.64);
  --text-3: rgba(0,0,0,.56);
  --border: rgba(0,0,0,.14);
  --divider: rgba(0,0,0,.08);
  --wash: rgba(0,0,0,.04);
  --numeral: rgba(14,17,16,.06);

  --primary: #43C149;
  --primary-hover: #3AB341;
  --primary-strong: #22A848;
  --primary-text: #14743A;
  --on-primary: #052E16;
  --brand: #29CC57;
  --primary-soft: rgba(67,193,73,.14);
  --primary-soft-2: rgba(67,193,73,.22);
  --brand-gradient: linear-gradient(135deg, #29CC57 0%, #6AE360 100%);
  --accent-text: linear-gradient(100deg, #0B5F2B 0%, #14743A 50%, #178A43 100%);
  --glow-core: rgba(67,193,73,.26);
  --glow-mid: rgba(41,204,87,.10);
  --focus: #178A43;
  --header-bg: rgba(255,255,255,.86);
  --header-bg-top: rgba(255,255,255,.72);
  --card-hover-border: rgba(67,193,73,.55);
  --app-square: rgba(0,0,0,.08);

  --t-teal: #dcf3ee;   --i-teal: #0e6f5f;
  --t-rose: #fbe3ea;   --i-rose: #a8244a;
  --t-indigo: #e6e6fb; --i-indigo: #3d3aa8;
  --t-amber: #fbeed6;  --i-amber: #9a6410;
  --t-orange: #fce6da; --i-orange: #a8451a;

  --metal: linear-gradient(135deg, #F8F9FA 0%, #C2C6CB 15%, #EEF0F2 34%, #979BA1 58%, #E2E4E7 79%, #AEB2B7 100%);
  --metal-edge: rgba(0,0,0,.22);
  --bezel: #050506;
  --lid-glass: #070708;
  --lid-rim: #C8CCD1;
  --base: linear-gradient(180deg, #F7F8F9 0%, #DDE0E4 26%, #BCC0C5 66%, #8F9399 100%);
  --base-notch: linear-gradient(180deg, #9EA2A8, #CFD2D6);
  --base-hi: rgba(255,255,255,.9);
  --hinge: linear-gradient(180deg, #2B2C2F, #111214);
  --dev-shade: 18 38 26;
  --dev-a: .10; --dev-b: .17; --dev-c: .30;
  --contact: rgba(6,40,18,.30);
  --sheen: rgba(255,255,255,.20);
  --underlight: transparent;
  --scr-ink: #0B0B0B;
  --scr-bg: #FFFFFF;
  --bar-bg: #F1F3F2;
  --bar-ink: rgba(0,0,0,.6);

  --band-ink: #052E16;
  --band-ink-hover: #0B4424;
  --band-pill-text: #EAFBEF;
  --band-step: rgba(5,46,22,.12);
  --night-bg: #121212;
  --glass-line: rgba(255,255,255,.07);
  --lid-line: rgba(255,255,255,.06);
  --base-lo: rgba(0,0,0,.25);
  --cam-lens: radial-gradient(circle at 35% 35%, #2C3A4A 0 18%, #0A0C0F 38%, #000 70%);
  --cam-ring: rgba(0,0,0,.55);
  --laptop-lens: radial-gradient(circle at 35% 35%, #34465A 0 20%, #0B0D10 55%);
  --projector: radial-gradient(55% 38% at 50% 10%, rgba(78,214,121,.22), transparent 70%), radial-gradient(70% 28% at 50% 100%, rgba(78,214,121,.14), transparent 72%);
  --night-glow-core: rgba(78,214,121,.22);
  --star: rgba(255,255,255,.4);
  --emblem-glow: rgba(255,255,255,.55);
  --icon-tile: #FFFFFF;
  --icon-tile-shadow: rgba(0,0,0,.28);
  --vignette-light: rgba(67,193,73,.22);

  --r-mini: 7px; --r-tile-sm: 12px; --r-tile: 14px; --r-card: 18px;
  --r-panel: 24px;
  --r-band: 44px;
  --r-pill: 999px;
  --border-card: 1.5px solid var(--border);

  --shadow-float: 0 1px 2px rgba(0,0,0,.06), 0 14px 30px -12px rgba(16,48,28,.30);
  --shadow-cta: 0 6px 16px rgba(41,204,87,.28);

  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-settle: cubic-bezier(.16,1,.3,1);
  --dur-press: .18s;
  --reveal-y: 24px; --reveal-dur: .7s; --reveal-stagger: 80ms;

  --gutter: clamp(16px, 4vw, 48px);
  --container: 1320px;
  --header-h: 64px;
  --section-y: clamp(88px, 10vw, 160px);
  --chapter-y: clamp(72px, 9vw, 140px);
  --grid-gap: clamp(32px, 6vw, 96px);
}
@media (max-width: 839.98px) { :root { --header-h: 96px; } }
@media (max-height: 499.98px) { :root { --header-h: 0px; } }
@media (max-width: 639.98px) { :root { --r-band: 32px; } }

/* 3. Dark tokens: keep both DARK-TOKENS copies identical (screen only; print stays light) */

@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* DARK-TOKENS:BEGIN */
    color-scheme: dark;
    --bg: #121212; --bg-alt: #212121; --surface: #212121; --surface-2: #424242;
    --text-strong: #FFFFFF; --text: #FFFFFF;
    --text-2: rgba(255,255,255,.66);
    --text-3: rgba(255,255,255,.56);
    --border: rgba(255,255,255,.14); --divider: rgba(255,255,255,.08); --wash: rgba(255,255,255,.06);
    --border-card: 1.5px solid var(--border);
    --numeral: rgba(255,255,255,.05);
    --primary: #4ED679; --primary-hover: #62DE89; --primary-strong: #29CC57; --primary-text: #4ED679;
    --primary-soft: rgba(78,214,121,.14); --primary-soft-2: rgba(78,214,121,.22);
    --accent-text: linear-gradient(100deg, #4ED679 0%, #86E8A0 60%, #BDF7C9 100%);
    --glow-core: rgba(78,214,121,.30); --glow-mid: rgba(41,204,87,.12);
    --focus: #4ED679;
    --header-bg: rgba(18,18,18,.82); --header-bg-top: rgba(18,18,18,.66);
    --card-hover-border: rgba(78,214,121,.5);
    --app-square: rgba(255,255,255,.10);
    --t-teal: #13302b; --i-teal: #7ad4c2;  --t-rose: #3a1a24; --i-rose: #f096b3;
    --t-indigo: #22224a; --i-indigo: #b0aef2; --t-amber: #332812; --i-amber: #e8bb62;
    --t-orange: #3a2016; --i-orange: #f0a17c;
    --metal: linear-gradient(135deg, #74787E 0%, #2F3134 16%, #5A5D62 36%, #1D1E20 60%, #4A4D52 80%, #2A2C2F 100%);
    --metal-edge: rgba(0,0,0,.7);
    --lid-rim: #3F4247;
    --base: linear-gradient(180deg, #7E8187 0%, #4A4D52 24%, #2D2F32 64%, #151618 100%);
    --base-notch: linear-gradient(180deg, #161719, #3A3C40);
    --base-hi: rgba(255,255,255,.30);
    --hinge: linear-gradient(180deg, #0C0C0D, #1E1F21);
    --dev-shade: 0 0 0; --dev-a: .35; --dev-b: .45; --dev-c: .65;
    --contact: rgba(0,0,0,.75);
    --sheen: rgba(255,255,255,.07);
    --underlight: rgba(78,214,121,.18);
    --scr-ink: #FFFFFF; --scr-bg: #121212;
    --bar-bg: #212121; --bar-ink: rgba(255,255,255,.66);
    /* DARK-TOKENS:END */
  }
}
@media screen {
  :root[data-theme="dark"], .cndl-night {
    /* DARK-TOKENS:BEGIN */
    color-scheme: dark;
    --bg: #121212; --bg-alt: #212121; --surface: #212121; --surface-2: #424242;
    --text-strong: #FFFFFF; --text: #FFFFFF;
    --text-2: rgba(255,255,255,.66);
    --text-3: rgba(255,255,255,.56);
    --border: rgba(255,255,255,.14); --divider: rgba(255,255,255,.08); --wash: rgba(255,255,255,.06);
    --border-card: 1.5px solid var(--border);
    --numeral: rgba(255,255,255,.05);
    --primary: #4ED679; --primary-hover: #62DE89; --primary-strong: #29CC57; --primary-text: #4ED679;
    --primary-soft: rgba(78,214,121,.14); --primary-soft-2: rgba(78,214,121,.22);
    --accent-text: linear-gradient(100deg, #4ED679 0%, #86E8A0 60%, #BDF7C9 100%);
    --glow-core: rgba(78,214,121,.30); --glow-mid: rgba(41,204,87,.12);
    --focus: #4ED679;
    --header-bg: rgba(18,18,18,.82); --header-bg-top: rgba(18,18,18,.66);
    --card-hover-border: rgba(78,214,121,.5);
    --app-square: rgba(255,255,255,.10);
    --t-teal: #13302b; --i-teal: #7ad4c2;  --t-rose: #3a1a24; --i-rose: #f096b3;
    --t-indigo: #22224a; --i-indigo: #b0aef2; --t-amber: #332812; --i-amber: #e8bb62;
    --t-orange: #3a2016; --i-orange: #f0a17c;
    --metal: linear-gradient(135deg, #74787E 0%, #2F3134 16%, #5A5D62 36%, #1D1E20 60%, #4A4D52 80%, #2A2C2F 100%);
    --metal-edge: rgba(0,0,0,.7);
    --lid-rim: #3F4247;
    --base: linear-gradient(180deg, #7E8187 0%, #4A4D52 24%, #2D2F32 64%, #151618 100%);
    --base-notch: linear-gradient(180deg, #161719, #3A3C40);
    --base-hi: rgba(255,255,255,.30);
    --hinge: linear-gradient(180deg, #0C0C0D, #1E1F21);
    --dev-shade: 0 0 0; --dev-a: .35; --dev-b: .45; --dev-c: .65;
    --contact: rgba(0,0,0,.75);
    --sheen: rgba(255,255,255,.07);
    --underlight: rgba(78,214,121,.18);
    --scr-ink: #FFFFFF; --scr-bg: #121212;
    --bar-bg: #212121; --bar-ink: rgba(255,255,255,.66);
    /* DARK-TOKENS:END */
  }
}
@media print {
  :root { color-scheme: light; }
}

/* 4. Base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) {
  html:not(.cndl-js), html.cndl-smooth { scroll-behavior: smooth; }
}
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.5; font-optical-sizing: auto; font-synthesis: none; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { display: block; overflow-x: clip; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote, dl, dd { margin: 0; }
ol, ul { padding: 0; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; color: var(--text-strong); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
address { font-style: normal; }
[hidden] { display: none !important; }
[lang="si"], [lang="ta"] { line-height: 1.35; }
::selection { background: var(--primary-soft-2); color: var(--text-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
summary:focus-visible { outline-offset: 2px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.cndl-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cndl-i { display: inline-block; flex: none; width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; }

.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 10px 18px; border-radius: var(--r-pill); background: var(--text-strong); color: var(--bg); font-weight: 650; font-size: 15px; transform: translateY(-200%); }
.skip-link:focus, .skip-link:focus-visible { transform: none; }

/* 5. Header */

.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--divider); transition: background-color .3s ease, border-color .3s ease;
}
@media (max-height: 499.98px) { .site-header { position: static; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--bg); }
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; justify-self: start; color: var(--text-strong); line-height: 0; border-radius: 8px; }
.brand__logo { display: block; width: 148px; height: auto; aspect-ratio: 640 / 145.641; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 8px 12px; border-radius: var(--r-pill); font-size: 15px; font-weight: 560; line-height: 1.4; color: var(--text-2); white-space: nowrap; transition: background-color var(--dur-press) ease, color var(--dur-press) ease; }
.main-nav a:hover { background: var(--wash); color: var(--text-strong); }
.main-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary-text); }
.header-action { justify-self: end; }

@media (max-width: 839.98px) {
  .header-inner { grid-template-columns: 1fr auto; grid-template-rows: 56px 40px; column-gap: 12px; row-gap: 0; }
  .brand { grid-row: 1; grid-column: 1; }
  .header-action { grid-row: 1; grid-column: 2; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 0; margin-inline: -8px; }
  .main-nav a { font-size: 14px; padding: 8px; }
  .brand__logo { width: 128px; }
}
@media (max-width: 399.98px) { .brand__logo { width: 120px; } }
@media (max-width: 379.98px) {
  .main-nav { margin-inline: -6px; }
  .main-nav a { font-size: 13px; padding: 8px 6px; }
}
@media (max-width: 359.98px) {
  .brand__logo { width: 112px; }
  .cndl-hide-xs { display: none; }
}

/* 6. Buttons and links */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: var(--r-pill); font-family: var(--font-sans); font-size: 15.5px; font-weight: 650; line-height: 1.2; letter-spacing: -.005em; text-align: center; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-press) var(--ease), box-shadow var(--dur-press) var(--ease),
              border-color var(--dur-press) var(--ease), color var(--dur-press) var(--ease), transform var(--dur-press) var(--ease);
}
.button .cndl-i { width: 1.15em; height: 1.15em; }
.button:active { transform: scale(.97); }
.button-primary { background: var(--primary); color: var(--on-primary); }
.button-primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-cta); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 14.5px; gap: 6px; }
.button-dark { background: var(--band-ink); color: var(--band-pill-text); }
.button-dark:hover { background: var(--band-ink-hover); }
.cndl-btn--lg { min-height: 54px; padding: 0 28px; font-size: 16.5px; }
.cndl-btn--outline { border-color: var(--border); background: transparent; color: var(--text-strong); }
.cndl-btn--outline:hover { background: var(--wash); border-color: var(--text-3); }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-text); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--primary-soft-2); transition: text-decoration-color var(--dur-press) ease; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link .cndl-i { width: 1.1em; height: 1.1em; }

/* 7. Type helpers */

.eyebrow, .cndl-kicker { display: block; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-text); }
.section-heading, .cndl-h2 { font-family: var(--font-display); font-size: var(--fs-display-l); font-weight: 700; letter-spacing: -.025em; line-height: 1.06; color: var(--text-strong); text-wrap: balance; }
.eyebrow + .section-heading, .cndl-kicker + .cndl-h2 { margin-top: 16px; }
.serif-word { font: inherit; font-style: normal; color: inherit; letter-spacing: inherit; }
.section-copy, .cndl-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); max-width: 58ch; }
@media (max-width: 359.98px) { .eyebrow, .cndl-kicker { font-size: 12px; } }

/* 8. Footer */

.site-footer { background: var(--bg-alt); border-top: 1px solid var(--divider); padding: 72px 0 40px; color: var(--text-2); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand__logo { width: 148px; }
.footer-brand > p { margin-top: 20px; font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--text); }
.made-in { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; font-weight: 650; color: var(--primary-text); }
.footer-main h2 { margin-bottom: 16px; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.footer-main nav > a, .footer-contact > a { display: block; width: fit-content; padding: 5px 0; font-size: 15px; line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere; transition: color var(--dur-press) ease; }
.footer-main nav > a:hover, .footer-contact > a:hover { color: var(--text-strong); }
.footer-main nav > a[aria-current="page"] { color: var(--primary-text); font-weight: 650; }
.footer-contact > p { padding: 5px 0; font-size: 15px; color: var(--text-3); }
.footer-contact > a.text-link { display: inline-flex; margin-top: 6px; color: var(--primary-text); font-weight: 650; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--divider); font-size: 14px; color: var(--text-3); }
.footer-bottom a { color: var(--text-2); white-space: nowrap; }
.footer-bottom a:hover { color: var(--text-strong); }

@media (max-width: 899.98px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (max-width: 639.98px) {
  .site-footer { padding: 56px 0 32px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* 9. The other four pages */

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 88px); background: var(--bg); border-bottom: 1px solid var(--divider); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 80% at 20% 0%, var(--glow-mid), transparent 70%); }
.page-hero h1 { margin-top: 16px; max-width: 14em; font-family: var(--font-display); font-size: var(--fs-display-l); font-weight: 700; letter-spacing: -.025em; line-height: 1.06; color: var(--text-strong); text-wrap: balance; }
.page-hero .section-copy { margin-top: 24px; }
.page-hero .container > .eyebrow { margin-top: 0; }

.content-section { padding-block: var(--section-y); }
body[data-page="about"] .content-section + .content-section,
body[data-page="contact"] .content-section + .content-section { padding-top: 0; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); align-items: start; }
.story-body { display: grid; gap: 20px; padding-top: 8px; }
#purpose-heading { max-width: 9em; }
.story-body .text-link { justify-self: start; margin-top: 4px; }

.info-grid, .contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(32px, 4vw, 48px); }
.info-card, .contact-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px, 2.2vw, 32px); background: var(--surface); border: var(--border-card); border-radius: var(--r-card); }
.info-card .eyebrow { margin-bottom: 14px; }
.info-card h3, .contact-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; color: var(--text-strong); }
.info-card h3 { margin-bottom: 12px; }
.info-card p, .info-card address, .contact-card p { font-size: 16px; line-height: 1.6; color: var(--text-2); overflow-wrap: anywhere; }
.info-card > p + p, .info-card > p + address { margin-top: 10px; }
.contact-card h3 { margin: 20px 0 10px; }
.contact-card .text-link { margin-top: auto; padding-top: 20px; overflow-wrap: anywhere; }
.contact-card .icon { width: 52px; height: 52px; padding: 12px; border-radius: var(--r-tile); background: var(--t-teal); color: var(--i-teal); }
.contact-card:nth-child(2) .icon { background: var(--t-indigo); color: var(--i-indigo); }
.contact-card:nth-child(3) .icon { background: var(--t-amber); color: var(--i-amber); }

.cta-section { padding-bottom: var(--section-y); }
.cta-band { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 88px) clamp(24px, 6vw, 88px); border-radius: var(--r-band); background: var(--brand-gradient); color: var(--band-ink); text-align: center; }
.cta-band .eyebrow { color: var(--band-ink); }
.cta-band h2 { max-width: 20ch; margin: 16px auto 0; font-family: var(--font-display); font-size: var(--fs-display-l); font-weight: 700; letter-spacing: -.025em; line-height: 1.06; color: var(--band-ink); text-wrap: balance; }
.cta-band p:not(.eyebrow) { max-width: 52ch; margin: 20px auto 0; font-size: var(--fs-lead); line-height: 1.55; color: var(--band-ink); }
.cta-band .button { margin-top: 32px; }
.cta-band :focus-visible { outline-color: var(--band-ink); }

@media (min-width: 900px) and (max-width: 1099.98px) { .story-grid .section-heading { font-size: 2.5rem; } }
@media (max-width: 899.98px) {
  .info-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 639.98px) {
  .info-grid, .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .cta-band .button { width: 100%; white-space: normal; }
}

/* 10. Policy pages */

.policy-hero { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.policy-hero h1 { max-width: none; }
.policy-meta { margin-top: 20px; font-size: 14px; color: var(--text-3); }
.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: space-between; gap: 64px; align-items: start; padding-block: 56px 96px; }
.policy-nav { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); max-height: calc(100dvh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 22px; background: var(--surface); border: var(--border-card); border-radius: var(--r-card); }
.policy-nav h2 { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.policy-nav ol { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.policy-nav li + li { margin-top: 10px; }
.policy-nav a { color: var(--text-2); }
.policy-nav a:hover { color: var(--primary-text); text-decoration: underline; text-underline-offset: 3px; }
.policy-content { min-width: 0; font-size: 16px; line-height: 1.75; color: var(--text); overflow-wrap: anywhere; }
.policy-content section + section, .policy-content > p + section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--divider); }
.policy-content h2 { margin-bottom: 16px; font-size: 24px; letter-spacing: -.015em; line-height: 1.3; color: var(--text-strong); }
.policy-content h3 { margin: 24px 0 10px; font-size: 18px; line-height: 1.4; color: var(--text-strong); }
.policy-content p + p { margin-top: 14px; }
.policy-content ul, .policy-content ol { margin-block: 14px; padding-left: 24px; }
.policy-content ul { list-style: disc; }
.policy-content li + li { margin-top: 8px; }
.policy-content strong { color: var(--text-strong); font-weight: 650; }
.policy-content a { color: var(--primary-text); text-decoration: underline; text-underline-offset: 3px; }
.policy-contact { padding: 24px; background: var(--surface); border: var(--border-card); border-radius: var(--r-card); }
.policy-contact p + address, .policy-contact address + p { margin-top: 10px; }

@media (max-width: 899.98px) {
  .policy-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 36px 64px; }
  .policy-nav { position: static; max-height: none; }
  .policy-nav ol { columns: 2; column-gap: 32px; }
  .policy-nav li { break-inside: avoid; }
}
@media (max-width: 639.98px) {
  .policy-content { font-size: 15px; }
  .policy-content h2 { font-size: 21px; }
  .policy-nav ol { columns: 1; }
}

/* 11. Reduced motion */

@media (prefers-reduced-motion: reduce) {
  *:not(.cndl-motion-keep, .cndl-motion-keep *),
  *:not(.cndl-motion-keep, .cndl-motion-keep *)::before,
  *:not(.cndl-motion-keep, .cndl-motion-keep *)::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;          /* else `both` fill holds opacity:0 through the stagger */
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  /* Site addition (see README) */
  *, *::before, *::after { transition-property: none !important; }
}

/* 12. Forced colours and print */

@media (forced-colors: active) {
  .button { border-color: ButtonText; }
  .main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
}
@media print {
  .site-header { position: static; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .skip-link { display: none; }
  .page-hero::before { display: none; }
  .cta-band { background: none; border: 1.5px solid var(--border); }
  body[data-page="privacy"] .site-header,
  body[data-page="terms"] .site-header,
  body[data-page="privacy"] .site-footer,
  body[data-page="terms"] .site-footer,
  .policy-nav { display: none; }
  .policy-layout { display: block; padding-block: 24px; }
  .policy-content h2, .policy-content h3 { break-after: avoid; }
  .policy-content a { color: inherit; }
}
