/* ============================================================
   GW International Robotics Alliance — Brand Design System
   www.gwira.org
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Core palette — "Alliance Navy" + "Signal Cyan" */
  --navy-950: #050c1a;
  --navy-900: #081428;
  --navy-850: #0b1c34;
  --navy-800: #0f2544;
  --navy-700: #16355c;
  --navy-600: #1e4575;
  --navy-500: #2b5a92;

  --cyan-400: #2fe3d0;
  --cyan-500: #12c5b8;
  --cyan-600: #0a9d95;
  --aurora-400: #6ad1ff;
  --aurora-500: #3a9fe0;

  --gold-400: #f0b849;
  --gold-500: #d99a2b;

  /* Neutrals */
  --ink-900: #0a1220;
  --ink-700: #22354d;
  --ink-500: #4b607a;
  --ink-400: #6b7f96;
  --ink-300: #9aaaba;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --paper: #ffffff;
  --paper-2: #f6f9fc;
  --paper-3: #eef4f9;

  /* Type scale (fluid) */
  --fs-display: clamp(2.6rem, 5.6vw, 4.6rem);
  --fs-h1: clamp(2.1rem, 4vw, 3.3rem);
  --fs-h2: clamp(1.65rem, 2.7vw, 2.35rem);
  --fs-h3: clamp(1.18rem, 1.6vw, 1.4rem);
  --fs-lead: clamp(1.05rem, 1.45vw, 1.24rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.775rem;

  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(10, 18, 32, 0.06), 0 1px 3px rgba(10, 18, 32, 0.04);
  --shadow: 0 4px 6px -1px rgba(10, 18, 32, 0.07), 0 10px 24px -6px rgba(10, 18, 32, 0.10);
  --shadow-lg: 0 18px 50px -12px rgba(10, 18, 32, 0.22), 0 6px 14px -6px rgba(10, 18, 32, 0.08);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
::selection { background: var(--cyan-400); color: var(--navy-950); }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 880px; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-tight-top { padding-top: clamp(2rem, 4vw, 3rem); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
}

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan-500);
  flex: none;
}
.eyebrow.on-dark { color: var(--cyan-400); }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan-500);
  flex: none;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--ink-500);
  max-width: 62ch;
}
.on-dark .lead, .lead.on-dark { color: #b7c7d8; }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.section-head p { color: var(--ink-500); font-size: var(--fs-lead); line-height: 1.6; }
.section-head.centered p { margin-inline: auto; }

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: #b7c7d8; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary {
  background: var(--cyan-500);
  color: var(--navy-950);
  box-shadow: 0 6px 18px -6px rgba(18, 197, 184, 0.6);
}
.btn-primary:hover { background: var(--cyan-400); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(18, 197, 184, 0.65); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--ink-900); }
.btn-ghost:hover { border-color: var(--navy-900); background: var(--paper-2); }
.btn-ghost-light { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost-light:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.1); }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-800);
}
.text-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.text-link:hover { color: var(--cyan-600); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(10, 18, 32, 0.06); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 0.72rem; flex: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: -0.03em;
  color: var(--navy-900);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.575rem;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-top: 3px;
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 0.1rem; }
.nav a {
  position: relative;
  padding: 0.5rem 0.55rem;
  font-size: 0.815rem;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  transition: color .2s;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.55rem; right: 0.55rem; bottom: 0.18rem;
  height: 2px;
  background: var(--cyan-500);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--navy-900); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--navy-900); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.6px;
  background: var(--navy-900); position: relative;
  transition: background .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.6px;
  background: var(--navy-900); transition: transform .3s var(--ease), top .25s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1160px) {
  .nav a { padding-inline: 0.45rem; font-size: 0.76rem; }
  .nav a::after { left: 0.45rem; right: 0.45rem; }
}
@media (max-width: 1060px) {
  .nav a { padding-inline: 0.38rem; font-size: 0.73rem; }
  .nav a::after { left: 0.38rem; right: 0.38rem; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease);
  }
  body.nav-open .nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a {
    padding: 0.85rem 0.25rem;
    font-size: 0.98rem;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .nav a::after { display: none; }
  .nav a.active { color: var(--cyan-600); }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 60% at 78% 8%, rgba(18, 197, 184, 0.22), transparent 62%),
    radial-gradient(ellipse 55% 50% at 12% 92%, rgba(58, 159, 224, 0.20), transparent 60%),
    linear-gradient(168deg, var(--navy-950) 0%, var(--navy-900) 46%, #0a1c33 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 78%);
}
.hero-inner {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7.5rem) clamp(4.5rem, 9vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 3.25rem 3.5rem; gap: 2.75rem; }
}
.hero h1 {
  font-size: var(--fs-display);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--cyan-400) 0%, var(--aurora-400) 52%, var(--cyan-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: #b9c8d9;
  max-width: 54ch;
  margin-bottom: 2.1rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.42rem 0.95rem 0.42rem 0.55rem;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  border-radius: 999px;
  font-size: 0.78rem;
  color: #cfe0ed;
  margin-bottom: 1.9rem;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(47, 227, 208, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
  flex: none;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 227, 208, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(47, 227, 208, 0.04); }
}

/* Hero visual — orbital globe */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual svg { width: 100%; max-width: 480px; height: auto; overflow: visible; }
.orbit-ring { transform-origin: 250px 250px; }
.spin-slow { animation: spin 46s linear infinite; transform-origin: 250px 250px; }
.spin-rev { animation: spin 34s linear infinite reverse; transform-origin: 250px 250px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual .float-dot { animation: floaty 5s ease-in-out infinite; }
.hero-visual .float-dot:nth-of-type(2) { animation-delay: -1.8s; }
.hero-visual .float-dot:nth-of-type(3) { animation-delay: -3.2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- 8. Stat band ---------- */
.stat-band {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.07);
}
.stat-band .container { padding-block: clamp(2rem, 4vw, 2.75rem); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.25rem; } }
.stat { position: relative; padding-left: 1.25rem; }
.stat::before {
  content: ""; position: absolute; left: 0; top: 0.2rem; bottom: 0.2rem;
  width: 2px; background: linear-gradient(var(--cyan-400), rgba(47,227,208,0));
  border-radius: 2px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  display: flex; align-items: baseline; gap: 0.1rem;
}
.stat-num .unit { color: var(--cyan-400); font-size: 0.62em; }
.stat-label { font-size: 0.79rem; color: #93a8bd; margin-top: 0.35rem; line-height: 1.4; }

/* ---------- 9. Cards ---------- */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.2vw, 1.85rem);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cdd9e6;
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(18,197,184,.12), rgba(58,159,224,.09));
  border: 1px solid rgba(18,197,184,.2);
  color: var(--cyan-600);
  margin-bottom: 1.2rem;
  flex: none;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: var(--fs-h3); margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.card p { font-size: 0.925rem; color: var(--ink-500); line-height: 1.62; }
.card .card-foot { margin-top: auto; padding-top: 1.3rem; }
.card-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-300);
  margin-bottom: 1rem;
  display: block;
}

.card-dark {
  background: linear-gradient(165deg, var(--navy-850), var(--navy-900));
  border-color: rgba(255,255,255,.09);
  color: #b7c7d8;
}
.card-dark h3 { color: #fff; }
.card-dark p { color: #a9bccd; }
.card-dark:hover { border-color: rgba(47,227,208,.34); box-shadow: var(--shadow-lg); }
.card-dark .card-icon {
  background: rgba(47,227,208,.1);
  border-color: rgba(47,227,208,.25);
  color: var(--cyan-400);
}
.card-dark .card-num { color: rgba(255,255,255,.28); }
.card-dark .text-link { color: var(--cyan-400); }

/* Pillars — numbered feature blocks */
.pillar {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2rem) 0 0;
  border-top: 2px solid var(--line);
  transition: border-color .3s;
}
.pillar:hover { border-top-color: var(--cyan-500); }
.pillar-idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cyan-600);
  display: block;
  margin-bottom: 0.9rem;
}
.pillar h3 { font-size: var(--fs-h3); margin-bottom: 0.55rem; }
.pillar p { font-size: 0.92rem; color: var(--ink-500); line-height: 1.6; }

/* ---------- 10. Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split.reverse > :first-child { order: 0; } }

.feature-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.feature-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.feature-list .tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(18,197,184,.12);
  color: var(--cyan-600);
  display: grid; place-items: center;
  flex: none; margin-top: 0.15rem;
}
.feature-list .tick svg { width: 12px; height: 12px; }
.feature-list strong { display: block; color: var(--ink-900); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.15rem; }
.feature-list span { font-size: 0.9rem; color: var(--ink-500); line-height: 1.55; }

/* Media panel / abstract visuals */
.panel-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-850), var(--navy-950));
  border: 1px solid rgba(255,255,255,.08);
  aspect-ratio: 4 / 3.3;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.panel-visual::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.panel-visual svg { width: 82%; height: auto; }

/* ---------- 11. Tabs ---------- */
.tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.tab {
  background: none; border: 0; cursor: pointer;
  padding: 0.8rem 1rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink-400);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--ink-900); }
.tab.active { color: var(--navy-900); font-weight: 600; border-bottom-color: var(--cyan-500); }
.tab-panel { display: none; animation: fadeUp .4s var(--ease); }
.tab-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 12. Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
thead th {
  text-align: left;
  padding: 0.95rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-weight: 500;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tbody td { padding: 1rem 1.15rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--ink-500); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfdff; }
tbody td:first-child { color: var(--ink-900); font-weight: 500; }
.tick-cell { color: var(--cyan-600); }

/* ---------- 13. Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; cursor: pointer;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}
.acc-btn .plus {
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  position: relative;
  transition: background .25s, border-color .25s;
}
.acc-btn .plus::before, .acc-btn .plus::after {
  content: ""; position: absolute;
  background: var(--ink-700);
  transition: transform .3s var(--ease), background .25s;
}
.acc-btn .plus::before { width: 10px; height: 1.5px; }
.acc-btn .plus::after { width: 1.5px; height: 10px; }
.acc-item.open .acc-btn .plus { background: var(--navy-900); border-color: var(--navy-900); }
.acc-item.open .acc-btn .plus::before, .acc-item.open .acc-btn .plus::after { background: var(--cyan-400); }
.acc-item.open .acc-btn .plus::after { transform: scaleY(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.acc-body-inner { padding-bottom: 1.35rem; font-size: 0.94rem; color: var(--ink-500); line-height: 1.65; max-width: 72ch; }
.acc-body-inner p + p { margin-top: 0.8rem; }

/* ---------- 14. Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-bottom: 2.1rem;
  position: relative;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 122px; top: 8px; bottom: 0;
  width: 1px;
  background: linear-gradient(var(--line), var(--line-soft));
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item:last-child::before { display: none; }
@media (max-width: 620px) {
  .tl-item { grid-template-columns: 1fr; gap: 0.6rem; }
  .tl-item::before { display: none; }
}
.tl-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan-600);
  letter-spacing: 0.02em;
  padding-top: 0.15rem;
  white-space: nowrap;
}
.tl-content { padding-left: 1.5rem; position: relative; }
.tl-content::before {
  content: "";
  position: absolute; left: -5px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--cyan-500);
}
@media (max-width: 620px) { .tl-content { padding-left: 1.4rem; } }
.tl-content h4 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.tl-content p { font-size: 0.9rem; color: var(--ink-500); }

/* ---------- 15. CTA ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-850) 55%, var(--navy-800) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; z-index: -1;
  width: 620px; height: 620px;
  right: -140px; top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,197,184,.22), transparent 68%);
}
.cta-band::after {
  content: "";
  position: absolute; z-index: -1; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000, transparent 72%);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-inner h2 { font-size: var(--fs-h2); max-width: 22ch; margin-bottom: 0.8rem; }
.cta-inner p { color: #b7c7d8; max-width: 48ch; font-size: 1rem; }

/* ---------- 16. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-canvas { background:
    radial-gradient(ellipse 60% 70% at 85% 0%, rgba(18,197,184,.2), transparent 62%),
    linear-gradient(165deg, var(--navy-950), var(--navy-900) 70%, #0a1c33);
}
.page-hero-inner { padding-block: clamp(3rem, 6.5vw, 5rem) clamp(3rem, 6vw, 4.5rem); position: relative; max-width: 860px; }
.page-hero h1 { font-size: var(--fs-h1); color: #fff; margin-bottom: 1.1rem; letter-spacing: -0.03em; }
.page-hero p { color: #b9c8d9; font-size: var(--fs-lead); line-height: 1.6; max-width: 62ch; }

.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: #7f95ab;
  margin-bottom: 1.35rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--cyan-400); }
.breadcrumb .sep { color: #45586e; }
.breadcrumb .current { color: #c3d4e2; }

/* ---------- 17. Quote ---------- */
.quote-block {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.quote-block::before {
  content: "\201C";
  font-family: var(--font-display);
  position: absolute; top: 0.35rem; left: 1.2rem;
  font-size: 3.6rem; line-height: 1;
  color: var(--cyan-500); opacity: .28;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-900);
  letter-spacing: -0.015em;
  padding-top: 1.1rem;
}
.quote-block cite {
  display: block; margin-top: 1.1rem;
  font-style: normal; font-size: 0.85rem; color: var(--ink-400);
}
.quote-block cite strong { color: var(--ink-700); font-weight: 600; }

/* ---------- 18. Member logos strip ---------- */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.logo-cell {
  background: var(--paper);
  display: grid; place-items: center;
  padding: 1.6rem 1rem;
  min-height: 92px;
  transition: background .25s;
}
.logo-cell:hover { background: var(--paper-2); }
.logo-cell span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-400);
  text-align: center;
  line-height: 1.25;
}
@media (max-width: 900px) { .logo-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 19. Steps ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step-n {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--navy-800);
  background: var(--paper-2);
  flex: none;
}
.step h4 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.92rem; color: var(--ink-500); max-width: 62ch; }

/* ---------- 20. Event / news cards ---------- */
.news-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd9e6; }
.news-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-850), var(--navy-900));
  display: grid; place-items: center;
}
.news-thumb svg { width: 100%; height: 100%; }
.news-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-meta {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 0.8rem;
}
.news-meta .tag { color: var(--cyan-600); }
.news-body h3 { font-size: 1.06rem; line-height: 1.32; margin-bottom: 0.6rem; }
.news-body p { font-size: 0.9rem; color: var(--ink-500); flex: 1; }
.news-body .text-link { margin-top: 1.15rem; }

/* ---------- 21. Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.42rem; }
.field.full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: 0.005em;
}
.field label .req { color: var(--cyan-600); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 0.92rem;
  color: var(--ink-900);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(18,197,184,.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.78rem; color: var(--ink-400); line-height: 1.5; }
.form-success {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(18,197,184,.09);
  border: 1px solid rgba(18,197,184,.28);
  color: var(--cyan-600);
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 1rem;
}
.form-success.show { display: block; animation: fadeUp .35s var(--ease); }

.form-error {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(214,69,69,.08);
  border: 1px solid rgba(214,69,69,.30);
  color: #a8302f;
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 1rem;
  line-height: 1.6;
}
.form-error.show { display: block; animation: fadeUp .35s var(--ease); }
.form-error a { color: #a8302f; font-weight: 600; text-decoration: underline; }
form.is-sending input,
form.is-sending select,
form.is-sending textarea { opacity: 0.65; }
form.is-sending button[type="submit"] { cursor: progress; opacity: 0.8; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 22. Contact detail list ---------- */
.contact-list { display: grid; gap: 1.35rem; margin-top: 1.75rem; }
.contact-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-item .ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--paper-2); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--navy-700); flex: none;
}
.contact-item .ico svg { width: 17px; height: 17px; }
.contact-item h5 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-400); font-weight: 600; margin-bottom: 0.2rem; }
.contact-item p, .contact-item a { font-size: 0.94rem; color: var(--ink-900); }
.contact-item a:hover { color: var(--cyan-600); }

/* ---------- 23. Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #93a8bd;
  padding-block: clamp(3rem, 6vw, 4.25rem) 2rem;
  position: relative;
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 50% 60% at 12% 0%, rgba(18,197,184,.1), transparent 65%);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #6d8199; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; color: #8fa4b9; margin-top: 1.15rem; max-width: 34ch; }
.footer-domain {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--cyan-400); margin-top: 1rem;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.05rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.875rem; color: #8fa4b9; transition: color .2s; }
.footer-col a:hover { color: var(--cyan-400); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.25rem; flex-wrap: wrap;
  padding-top: 1.85rem;
  font-size: 0.79rem;
  color: #6d8199;
}
.footer-legal { display: flex; gap: 1.35rem; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--cyan-400); }

/* ---------- 24. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .07s; }
.reveal-d2 { transition-delay: .14s; }
.reveal-d3 { transition-delay: .21s; }
.reveal-d4 { transition-delay: .28s; }

/* ---------- 25. Utilities ---------- */
.bg-soft { background: var(--paper-2); }
.bg-soft-3 { background: var(--paper-3); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.center { text-align: center; }
.max-60 { max-width: 60ch; }
.mx-auto { margin-inline: auto; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem, 4vw, 3rem); }
.on-dark .divider { background: rgba(255,255,255,.1); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--navy-900); color: #fff;
  padding: 0.7rem 1.1rem; border-radius: var(--radius-sm);
  z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
