/* ============================================================
   TrustBoard — corporate SaaS theme
   Hanken Grotesk throughout. White + deep navy, orange CTA.
   Styled after the board-software industry standard look
   (Diligent / Convene / BoardPro) rather than a template.
   ============================================================ */

:root {
  --ink: #0f2e5c;          /* deep navy — headings, footer, dark bands */
  --ink-soft: #163b73;     /* lighter navy */
  --cream: #ffffff;        /* page background */
  --cream-deep: #f0f4fa;   /* tinted section background */
  --paper: #ffffff;        /* card background */
  --gold: #1c5fd6;         /* accent blue — links, labels */
  --gold-bright: #f07c22;  /* CTA orange */
  --text: #45536e;
  --text-faint: #7b87a1;
  --line: #dde4ef;
  --line-gold: #c7d6ef;
  --shadow-sm: 0 1px 3px rgba(15, 46, 92, 0.08);
  --shadow-md: 0 8px 30px rgba(15, 46, 92, 0.12);
  --shadow-lg: 0 20px 60px rgba(15, 46, 92, 0.18);
  --radius: 10px;
  --serif: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
  --sans: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

::selection { background: var(--gold); color: #fff; }

.container { max-width: 1180px; }

/* ---- Top strip ---- */
.topline {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 0.4rem 0;
}
.topline a { color: #fff; font-weight: 600; }
.topline a:hover { color: var(--gold-bright); }
.topline-sep { margin: 0 0.6rem; opacity: 0.5; }
.topline-note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); }

/* ---- Navigation ---- */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.45rem 0.95rem !important;
  border-radius: 6px;
}
.site-nav .nav-link:hover { color: var(--gold); background: var(--cream-deep); }
.site-nav .nav-link.active { color: var(--gold); }
.navbar-toggler { border-color: var(--line); }

/* ---- Buttons ---- */
.btn-demo,
.btn-gold {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: var(--gold-bright);
  border: 1px solid var(--gold-bright);
  border-radius: 8px;
  padding: 0.65rem 1.5rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-demo:hover, .btn-gold:hover {
  background: #d96a12;
  border-color: #d96a12;
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost.on-dark { color: var(--ink); background: #fff; border-color: #fff; }
.btn-ghost.on-dark:hover { background: transparent; color: #fff; }
.band-dark .btn-ghost, .cta-band .btn-ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,0.7); }
.band-dark .btn-ghost:hover, .cta-band .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---- Eyebrow label ---- */
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.band-dark .kicker, .hero .kicker, .cta-band .kicker { color: var(--gold-bright); }

.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
.section-lede { max-width: 46rem; font-size: 1.12rem; color: var(--text); }

.rule-gold { border: 0; border-top: 1px solid var(--line); opacity: 1; margin: 0; }

.num-serif {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--gold);
  font-weight: 800;
  font-size: 1.05rem;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(180deg, #f4f8fd 0%, #e9f0fa 100%);
  color: var(--text);
  padding: 5.5rem 0 5rem;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  color: var(--ink);
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.3rem;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lede { font-size: 1.15rem; color: var(--text); max-width: 34rem; }
.hero-aside {
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--text-faint);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  max-width: 30rem;
}
.hero-aside a { color: var(--gold); font-weight: 600; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  font-size: 0.95rem;
  color: var(--text);
}
.hero-points li { padding: 0.5rem 0; }
.hero-points li::before { content: "✓  "; color: var(--gold); font-weight: 700; }

/* ---- Screenshot frames ---- */
.frame { position: relative; display: inline-block; }
.frame img {
  display: block;
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.frame::before { display: none; }

/* ---- Ledger rows (numbered feature list) ---- */
.ledger { }
.ledger-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.3rem;
  padding: 1.5rem 0;
}
.ledger-row + .ledger-row { border-top: 1px solid var(--line); }
.ledger-row h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.ledger-row p { margin: 0; color: var(--text); }

/* ---- Cards ---- */
.plate {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  padding: 1.9rem 1.7rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.plate:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.plate h3 { font-size: 1.15rem; }
.plate .plate-index {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.8rem;
}

/* ---- Sections ---- */
.section-alt { background: var(--cream-deep); }
.prose p { margin-bottom: 1.15rem; }
.prose p:last-child { margin-bottom: 0; }

.product-row { border-top: 1px solid var(--line); padding: 1.7rem 0; }
.product-row:last-child { border-bottom: 1px solid var(--line); }
.product-row h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.product-row h3 a { color: var(--ink); }
.product-row h3 a:hover { color: var(--gold); }
.product-row p { margin: 0; }

/* ---- Dark navy bands ---- */
.band-dark { background: var(--ink); color: rgba(255, 255, 255, 0.82); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .plate { background: var(--ink-soft); border-color: rgba(255,255,255,0.12); box-shadow: none; }
.band-dark .plate h3 { color: #fff; }
.band-dark .plate p { color: rgba(255, 255, 255, 0.72); }
.band-dark a { color: #9ec2ff; }
.band-dark a:hover { color: #fff; }
.band-dark .hero-points { color: rgba(255, 255, 255, 0.82); }
.band-dark .hero-points li::before { color: var(--gold-bright); }
.band-dark .num-serif { background: rgba(255,255,255,0.1); color: #9ec2ff; }
.band-dark .ledger-row + .ledger-row { border-top-color: rgba(255,255,255,0.12); }

/* ---- Spec list ---- */
.spec-list { margin: 0; }
.spec-list > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
}
.spec-list > div + div { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.spec-list dt { font-size: 0.85rem; font-weight: 700; color: var(--gold-bright); padding-top: 0.1rem; }
.spec-list dd { margin: 0; color: rgba(255, 255, 255, 0.78); }
.section .spec-list > div + div { border-top-color: var(--line); }
.section:not(.band-dark) .spec-list dt { color: var(--gold); }
.section:not(.band-dark) .spec-list dd { color: var(--text); }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.faq-item p { margin: 0; }

/* ---- Stats strip ---- */
.stat-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stat-cell { padding: 1.9rem 1rem; text-align: center; }
.stat-cell + .stat-cell { border-left: 1px solid var(--line); }
.stat-cell .stat-title { font-weight: 800; font-size: 1.3rem; color: var(--ink); display: block; letter-spacing: -0.01em; }
.stat-cell .stat-sub { font-size: 0.82rem; color: var(--text-faint); }

/* ---- Report gallery ---- */
.report-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.report-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.report-card img { width: 100%; display: block; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.report-card figcaption { padding: 1rem 1.2rem 1.2rem; }
.report-card figcaption strong { color: var(--ink); font-weight: 700; display: block; }
.report-card figcaption span { font-size: 0.88rem; color: var(--text-faint); }
.band-dark .report-card { border-color: rgba(255,255,255,0.15); }
.band-dark .report-card figcaption { background: var(--ink-soft); }
.band-dark .report-card figcaption strong { color: #fff; }
.band-dark .report-card figcaption span { color: rgba(255,255,255,0.65); }

/* ---- Team ---- */
.team-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.team-figure img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; display: block; }
.team-figure figcaption { padding: 1.1rem 1.3rem 1.3rem; }
.team-figure .team-name { font-weight: 700; font-size: 1.15rem; color: var(--ink); display: block; }
.team-figure .team-role { font-size: 0.85rem; font-weight: 600; color: var(--gold); }
.band-dark .team-figure { border-color: rgba(255,255,255,0.15); }
.band-dark .team-figure figcaption { background: #fff; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, #1b4a8f 0%, #163b73 55%, #0f2e5c 100%);
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 4px solid var(--gold-bright);
}
.cta-band::after { display: none; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ---- Blog ---- */
.post-entry { border-bottom: 1px solid var(--line); padding: 2.1rem 0; }
.post-entry:first-child { border-top: 1px solid var(--line); }
.post-entry h2 { font-size: 1.45rem; }
.post-entry h2 a { color: var(--ink); }
.post-entry h2 a:hover { color: var(--gold); }
.post-meta { font-size: 0.84rem; font-weight: 600; color: var(--text-faint); }
.post-meta .post-meta-sep { color: var(--gold); margin: 0 0.45rem; }

.article-body { font-size: 1.05rem; max-width: 44rem; }
.article-body h2, .article-body h3 { margin-top: 2.3rem; margin-bottom: 0.8rem; }
.article-body h2 { font-size: 1.5rem; }
.article-body h3 { font-size: 1.2rem; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.2rem;
  color: var(--ink);
  font-weight: 600;
}

/* ---- Forms ---- */
.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.65rem 0.9rem;
  font-size: 0.98rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(28, 95, 214, 0.12);
}
.form-label { font-size: 0.88rem; font-weight: 700; color: var(--ink); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 4rem 0 0; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.footer-brand .brand-text { color: #fff; }
.footer-logo { background: #fff; padding: 0.4rem 0.7rem; border-radius: 8px; }
.footer-blurb { font-size: 0.92rem; max-width: 20rem; }
.footer-parent { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.footer-parent-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-bright); }
.footer-parent img { background: #fff; padding: 0.35rem 0.6rem; border-radius: 8px; }
.footer-parent-name { font-size: 0.85rem; }
.footer-heading { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; font-size: 0.92rem; }
.footer-links li, .footer-contact li { margin-bottom: 0.55rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, 0.72); }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-hours { font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }
.footer-bottom {
  margin-top: 3rem;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Page intro (inner pages) ---- */
.page-intro {
  background: linear-gradient(180deg, #f4f8fd 0%, #eaf1fa 100%);
  border-bottom: 1px solid var(--line);
  padding: 4rem 0 3.4rem;
}
.page-intro h1 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; }

/* ---- Admin ---- */
.admin-shell { max-width: 960px; margin: 3rem auto; padding: 0 1rem; }
.admin-table th { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- Brand wordmark ---- */
.brand-text {
  font-weight: 800;
  font-size: 1.35rem;
  color: #111111;
  letter-spacing: -0.02em;
}
.brand-text span { color: #111111; }

/* ---- CJK / Thai font stacks ---- */
body.lang-zh { font-family: "Hanken Grotesk", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
body.lang-ja { font-family: "Hanken Grotesk", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; }
body.lang-ko { font-family: "Hanken Grotesk", "Noto Sans KR", "Malgun Gothic", sans-serif; }
body.lang-th { font-family: "Hanken Grotesk", "Noto Sans Thai", "Leelawadee UI", sans-serif; }
body.lang-zh h1, body.lang-zh h2, body.lang-zh h3, body.lang-zh h4, body.lang-zh h5,
body.lang-ja h1, body.lang-ja h2, body.lang-ja h3, body.lang-ja h4, body.lang-ja h5,
body.lang-ko h1, body.lang-ko h2, body.lang-ko h3, body.lang-ko h4, body.lang-ko h5,
body.lang-th h1, body.lang-th h2, body.lang-th h3, body.lang-th h4, body.lang-th h5 { font-family: inherit; letter-spacing: 0; }

/* ---- Mega menu ---- */
.mega-dropdown { position: static; }
.mega-panel {
  position: absolute;
  top: 100%;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  width: min(920px, 96vw);
  border: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  border-top: 2px solid var(--gold-bright);
  box-shadow: var(--shadow-lg);
  padding: 0;
  overflow: hidden;
  margin-top: 0 !important;
}
.mega-panel .row { --bs-gutter-x: 0; flex-wrap: nowrap; }
.mega-panel .mega-col { flex: 1 1 50%; min-width: 0; }
.mega-col { padding: 1.5rem 1.5rem 1.1rem; }
.mega-col-alt { background: var(--cream-deep); border-left: 1px solid var(--line); }
.mega-head { display: block; margin-bottom: 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); }
.mega-title { display: block; font-weight: 800; color: var(--ink); font-size: 1.02rem; }
.mega-tag { display: block; font-size: 0.82rem; color: var(--text-faint); margin-top: 0.15rem; }
.mega-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.6rem 0.6rem;
  border-radius: 8px;
  color: var(--text);
}
.mega-item:hover { background: rgba(28, 95, 214, 0.06); }
.mega-item strong { display: block; font-size: 0.92rem; color: var(--ink); font-weight: 700; }
.mega-item small { display: block; font-size: 0.8rem; color: var(--text-faint); line-height: 1.4; }
.mega-item:hover strong { color: var(--gold); }
.mega-ico {
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  background: rgba(28, 95, 214, 0.1);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.mega-view {
  display: inline-block;
  margin: 0.7rem 0.6rem 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gold);
}
.mega-view:hover { color: var(--ink); }
@media (max-width: 991.98px) {
  .mega-panel {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
    border-radius: 8px;
    border-top: 1px solid var(--line);
    margin: 0.4rem 0 !important;
  }
  .mega-panel .row { flex-wrap: wrap; }
  .mega-panel .mega-col { flex: 1 1 100%; }
  .mega-col-alt { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---- Language dropdown ---- */
.lang-menu { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md); min-width: 12rem; }
.lang-menu .dropdown-item { font-size: 0.92rem; font-weight: 500; padding: 0.5rem 1rem; display: flex; justify-content: space-between; align-items: center; }
.lang-menu .dropdown-item.active { background: var(--cream-deep); color: var(--gold); }
.lang-menu .dropdown-item:hover { background: rgba(28, 95, 214, 0.06); color: var(--ink); }

/* ---- Reveal-on-scroll (Apple-style) ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Board meeting hero ---- */
.meet-hero {
  background: linear-gradient(180deg, #f4f8fd 0%, #e6eefb 100%);
  border-bottom: 1px solid var(--line);
  padding: 5.5rem 0 0;
  overflow: hidden;
}
.meet-hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  max-width: 56rem;
  margin: 0 auto 1.2rem;
}
.meet-hero-lede { font-size: 1.15rem; max-width: 44rem; margin: 0 auto; }
.meet-hero-shot { margin: 3.5rem auto -1px; max-width: 980px; }
.meet-hero-shot img {
  width: 100%;
  display: block;
  border-radius: 14px 14px 0 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  box-shadow: 0 -10px 60px rgba(15, 46, 92, 0.15);
}

/* ---- Scrollytelling lifecycle ---- */
.scrolly { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: start; }
.scrolly-steps { display: flex; flex-direction: column; }
.scrolly-step {
  padding: 2.6rem 1.4rem;
  border-left: 3px solid var(--line);
  opacity: 0.45;
  transition: opacity 0.45s, border-color 0.45s;
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.scrolly-step.active { opacity: 1; border-left-color: var(--gold-bright); }
.scrolly-step h3 { font-size: 1.3rem; margin: 0.9rem 0 0.5rem; }
.scrolly-step p { margin: 0; }
.scrolly-inline-img { display: none; }
.scrolly-media { position: sticky; top: 110px; }
.scrolly-media-inner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
  aspect-ratio: 16 / 10;
}
.scrolly-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s ease, transform 0.9s ease;
}
.scrolly-img.active { opacity: 1; transform: scale(1); }
@media (max-width: 991.98px) {
  .scrolly { display: block; }
  .scrolly-media { display: none; }
  .scrolly-step { min-height: 0; opacity: 1; padding: 1.8rem 0 1.8rem 1.2rem; }
  .scrolly-inline-img {
    display: block;
    width: 100%;
    margin-top: 1.2rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
}

/* ---- Integration tiles ---- */
.int-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-top: 1.4rem; }
.int-tile {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0.95rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  transition: box-shadow 0.2s, transform 0.2s;
}
.int-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.int-tile i { font-size: 1.25rem; }

/* ---- Footer badges ---- */
.footer-badges {
  margin-top: 3.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.footer-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 0.8rem 1rem;
}
.footer-badge i { font-size: 1.5rem; color: var(--gold-bright); }
.footer-badge strong { display: block; color: #fff; font-size: 0.88rem; }
.footer-badge small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 0.75rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.65); margin: 0 0.2rem; }
.footer-legal a:hover { color: #fff; }
.footer-legal span { color: rgba(255, 255, 255, 0.3); }

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1050;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 -8px 30px rgba(15, 46, 92, 0.3);
  padding: 1rem 0;
  font-size: 0.9rem;
}
.cookie-banner a { color: #9ec2ff; }
.cookie-inner { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; align-items: center; justify-content: space-between; }
.cookie-actions { display: flex; gap: 0.6rem; }
.cookie-banner .btn-ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,0.6); }
.cookie-banner .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---- Legal pages ---- */
.legal-body { max-width: 46rem; }
.legal-body h2 { font-size: 1.35rem; margin-top: 2.4rem; margin-bottom: 0.7rem; }
.legal-body h3 { font-size: 1.1rem; margin-top: 1.6rem; margin-bottom: 0.5rem; }
.legal-body p, .legal-body li { font-size: 0.98rem; }
.legal-updated { font-size: 0.85rem; color: var(--text-faint); }

@media (max-width: 767.98px) {
  .section { padding: 3.2rem 0; }
  .hero { padding: 3.8rem 0 3.6rem; }
  .meet-hero { padding-top: 3.8rem; }
  .stat-cell + .stat-cell { border-left: 0; border-top: 1px solid var(--line); }
}
