/* ==========================================================================
   Applied AI (S) Pte Ltd — appliedai.sg
   Design system + site styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --ink:        #0A0E17;
  --ink-soft:   #1B2333;
  --body:       #475467;
  --muted:      #667085;
  --line:       #E4E8EF;
  --line-soft:  #EFF2F6;
  --paper:      #FFFFFF;
  --mist:       #F6F8FB;
  --accent:     #2F6BFF;
  --accent-ink: #1A4ED8;
  --accent-wash:#EDF3FF;
  --teal:       #0FB9A0;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  /* Space + shape */
  --radius:     14px;
  --radius-lg:  22px;
  --shadow-sm:  0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md:  0 6px 24px -8px rgba(16, 24, 40, .12);
  --shadow-lg:  0 24px 60px -20px rgba(10, 14, 23, .25);
  --maxw:       1180px;
  --gutter:     24px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 640;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 3.65rem); letter-spacing: -0.032em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem);  letter-spacing: -0.028em; }
h3 { font-size: 1.2rem; letter-spacing: -0.016em; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

strong { color: var(--ink-soft); font-weight: 620; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--mist { background: var(--mist); }
.section--ink  { background: var(--ink); color: #AEB8CC; }
.section--ink h2, .section--ink h3 { color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Section heading block */
.sec-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { font-size: 1.075rem; color: var(--muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .77rem;
  font-weight: 640;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section--ink .eyebrow { color: var(--teal); }

/* Grids */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 940px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { flex: none; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--accent-ink); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #EEF2F9; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .95rem; color: var(--accent-ink);
}
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 680;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__sg {
  font-size: .68rem; font-weight: 650; letter-spacing: .08em;
  color: var(--muted); border: 1px solid var(--line);
  padding: 2px 7px; border-radius: 999px; margin-left: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-size: .95rem;
  font-weight: 520;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
}
.nav__links a:hover { color: var(--accent-ink); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--accent-ink); font-weight: 620; }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__cta .btn { padding: 10px 20px; font-size: .92rem; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
}
.nav__toggle span {
  display: block; width: 18px; height: 1.8px; background: var(--ink);
  position: relative; border-radius: 2px; transition: transform .2s var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.8px;
  background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), top .2s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(-90deg); }
.nav__toggle[aria-expanded="true"] span::after  { top: 0; opacity: 0; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta > .btn { display: none; }
  .nav__links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px var(--gutter) 22px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { margin: 0; }
  .nav__links a {
    display: block; padding: 14px 0; font-size: 1.02rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__links .nav__mobile-cta { margin-top: 18px; }
  .nav__links .nav__mobile-cta .btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #C3CCDD;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1000px 520px at 78% 12%, rgba(47,107,255,.30), transparent 62%),
    linear-gradient(100deg, rgba(10,14,23,.97) 0%, rgba(10,14,23,.92) 42%, rgba(10,14,23,.66) 100%);
}
.hero__inner {
  padding: clamp(76px, 11vw, 132px) 0 clamp(72px, 10vw, 118px);
  max-width: 760px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero__lede {
  font-size: clamp(1.08rem, 1.9vw, 1.28rem);
  line-height: 1.6;
  color: #B7C2D6;
  max-width: 620px;
  margin-bottom: 34px;
}
.hero .btn-row { margin-bottom: 42px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 7px 15px 7px 11px;
  font-size: .82rem; font-weight: 550; color: #D6DEEC;
  margin-bottom: 26px;
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 4px rgba(15,185,160,.18);
}

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 12px 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .875rem; color: #93A0B8;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { color: var(--teal); flex: none; }

/* Compact page hero for interior pages */
.pagehero {
  position: relative;
  background: var(--ink);
  color: #B7C2D6;
  overflow: hidden;
  isolation: isolate;
}
.pagehero__bg { position: absolute; inset: 0; z-index: -2; }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 420px at 84% 8%, rgba(47,107,255,.28), transparent 64%),
    linear-gradient(95deg, rgba(10,14,23,.97), rgba(10,14,23,.80));
}
.pagehero__inner { padding: clamp(58px, 8vw, 96px) 0; max-width: 720px; }
.pagehero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.05rem); margin-bottom: 18px; }
.pagehero p { font-size: 1.1rem; color: #B7C2D6; margin-bottom: 0; }
.pagehero .eyebrow { color: var(--teal); }

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D6DEEA; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; color: var(--muted); }
.card__foot { margin-top: 18px; }

.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

.icon-badge {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent-ink);
  margin-bottom: 20px;
}
.icon-badge--teal { background: #E3FAF5; color: #0A8A76; }

/* Service card with image */
.svc {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svc__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.045); }
.svc__body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.svc__body h3 { margin-bottom: 9px; }
.svc__body p { font-size: .96rem; color: var(--muted); }
.svc__tags {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 7px;
}
.svc__tags li {
  margin: 0; font-size: .78rem; font-weight: 550; color: var(--body);
  background: var(--mist); border: 1px solid var(--line-soft);
  padding: 4px 11px; border-radius: 999px;
}

/* --------------------------------------------------------------------------
   8. Split media/text
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}
.split--media-right .split__media { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--media-right .split__media { order: 0; }
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.split__media--stat::after {
  content: attr(data-caption);
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  background: rgba(10,14,23,.72);
  backdrop-filter: blur(8px);
  color: #fff; font-size: .85rem; font-weight: 520;
  padding: 12px 16px; border-radius: 12px;
}

/* --------------------------------------------------------------------------
   9. Numbered process steps
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-size: .8rem; font-weight: 660; letter-spacing: .1em;
  color: var(--accent); padding-top: 5px;
}
.step__num::before { content: "0" counter(step); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }
@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
}

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--paper); padding: 30px 26px; }
.stat__k {
  display: block; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 660;
  color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 6px;
}
.stat__v { font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   11. Checklist
   -------------------------------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.checklist li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  margin: 0; font-size: .98rem;
}
.checklist svg { margin-top: 5px; color: var(--teal); flex: none; }
.section--ink .checklist li { color: #B7C2D6; }

/* --------------------------------------------------------------------------
   12. Comparison table
   -------------------------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp {
  width: 100%; min-width: 620px; border-collapse: collapse;
  font-size: .95rem; text-align: left;
}
table.cmp th, table.cmp td {
  padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top;
}
table.cmp thead th {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); font-weight: 640; border-bottom: 1px solid var(--line);
}
table.cmp tbody th { color: var(--ink); font-weight: 620; width: 26%; }
table.cmp td { color: var(--muted); }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp .is-highlight { background: var(--accent-wash); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   13. FAQ / accordion
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details[open] summary { color: var(--accent-ink); }
.faq .faq__body { padding: 0 40px 24px 0; color: var(--muted); font-size: .98rem; }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--ink);
  color: #B7C2D6;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 68px) clamp(28px, 5vw, 62px);
}
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(620px 340px at 88% 20%, rgba(47,107,255,.32), transparent 62%),
    radial-gradient(500px 300px at 6% 96%, rgba(15,185,160,.20), transparent 60%);
}
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: #AEB8CC; max-width: 560px; font-size: 1.05rem; margin-bottom: 28px; }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: .89rem; font-weight: 600;
  color: var(--ink-soft); margin-bottom: 7px;
}
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(47,107,255,.13);
}
.field input::placeholder, .field textarea::placeholder { color: #9AA5B8; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.consent {
  display: grid; grid-template-columns: 20px 1fr; gap: 11px;
  align-items: start; font-size: .87rem; color: var(--muted); margin-bottom: 24px;
}
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 16px; }

/* --------------------------------------------------------------------------
   16. Contact detail list
   -------------------------------------------------------------------------- */
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.detail-list li { margin: 0; display: grid; grid-template-columns: 42px 1fr; gap: 16px; }
.detail-list .icon-badge { width: 42px; height: 42px; margin-bottom: 0; }
.detail-list h3 { font-size: .95rem; margin-bottom: 4px; }
.detail-list p, .detail-list address {
  font-size: .96rem; color: var(--muted); font-style: normal; margin: 0; line-height: 1.6;
}

/* --------------------------------------------------------------------------
   17. Logos / trust strip
   -------------------------------------------------------------------------- */
.trust {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 14px 34px;
  padding: 26px 0;
}
.trust__label {
  width: 100%; text-align: center; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px;
}
.trust__item {
  font-size: .92rem; font-weight: 560; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 9px;
}
.trust__item svg { color: var(--accent); flex: none; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #8B97AE;
  padding: clamp(52px, 7vw, 76px) 0 34px;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand__sg { color: #8B97AE; border-color: rgba(255,255,255,.2); }
.footer-about { max-width: 320px; color: #8B97AE; margin-bottom: 18px; }

.site-footer h4 {
  color: #fff; font-size: .8rem; letter-spacing: .11em; text-transform: uppercase;
  font-weight: 620; margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #8B97AE; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer address { font-style: normal; line-height: 1.7; color: #8B97AE; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  justify-content: space-between; align-items: center;
  padding-top: 26px; font-size: .86rem; color: #6D7A92;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom li { margin: 0; }

/* --------------------------------------------------------------------------
   19. Legal / prose pages
   -------------------------------------------------------------------------- */
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.3em; }
.prose li { color: var(--body); }

/* --------------------------------------------------------------------------
   20. Reveal-on-scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
