/* Travcon — Royal Indigo Blend palette
   Magenta #E84DB3 (accent/highlights) · Azure #3D9BEA · Royal Indigo #3F55C6
   Midnight Indigo #2A1C6E · Club Violet #8B33A0 · Ink #16122E */
:root {
  --magenta: #e84db3;
  --azure: #3d9bea;
  --indigo: #3f55c6;
  --midnight: #2a1c6e;
  --violet: #8b33a0;
  --ink: #16122e;
  --ink-deep: #0f0c21;

  --text: var(--ink);
  --text-soft: #4a4566;
  --text-muted: #625d7e;
  --paper: #f5f4f9;
  --white: #ffffff;
  --line: #e3e1ee;
  --tint: #f1e8f6;

  --on-dark: #ffffff;
  --on-dark-soft: #c3bfd6;
  --on-dark-muted: #9a95b4;
  --line-dark: rgba(255, 255, 255, 0.12);

  --brand-gradient: linear-gradient(90deg, var(--indigo), var(--violet));
  --radius: 6px;
  --wrap: 1184px;
  --header-h: 72px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "Barlow", var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-dark);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.icon { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand .mark { height: 40px; width: auto; }
.brand .word { height: 16px; width: auto; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-family: var(--label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--midnight);
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--indigo); background: var(--paper); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--magenta);
}
.nav .btn { margin-left: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
  padding: 8px;
  margin-right: -8px;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------- Buttons & labels ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  font-family: var(--label);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s, border-color 0.15s;
}
.btn-sm { min-height: 42px; padding: 8px 20px; font-size: 15px; }
.btn-primary {
  color: var(--white);
  background: var(--brand-gradient) border-box;
  box-shadow: 0 10px 20px -8px rgba(139, 51, 160, 0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -8px rgba(139, 51, 160, 0.65); }
.btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); }
.btn .icon { width: 20px; height: 20px; transition: transform 0.15s; }
.btn:hover .icon { transform: translateX(3px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
}
.dark .eyebrow { color: var(--on-dark-soft); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 32px;
}
.pill .icon { color: var(--magenta); width: 18px; height: 18px; }

/* ---------- Sections ---------- */
section { padding: 112px 0; }
.light { background: var(--paper); }
.white { background: var(--white); }
.dark { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.dark.glow::before, .dark.glow::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.dark.glow::before {
  width: 820px; height: 820px; right: -260px; bottom: -380px;
  background: radial-gradient(circle, rgba(232, 77, 179, 0.18), transparent 62%);
}
.dark.glow::after {
  width: 700px; height: 700px; left: -300px; top: -360px;
  background: radial-gradient(circle, rgba(63, 85, 198, 0.22), transparent 62%);
}

h1, h2, h3 { line-height: 1.12; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.025em; }
h3 { font-size: 19px; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head p { font-size: 17px; color: var(--text-soft); max-width: 480px; justify-self: end; }
.dark .section-head p { color: var(--on-dark-soft); }

.accent { color: var(--magenta); }

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 128px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 74px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 900px;
  margin-bottom: 28px;
}
.hero .lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--on-dark-soft);
  max-width: 640px;
  margin-bottom: 44px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.page-hero { padding: 96px 0 96px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); }
.page-hero .lead { margin-bottom: 0; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover { border-color: #d9c4e6; box-shadow: 0 18px 40px -24px rgba(42, 28, 110, 0.35); }
.card .num {
  position: absolute;
  top: 30px;
  right: 30px;
  font-family: var(--label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--violet);
  display: grid;
  place-items: center;
  flex: none;
}
.icon-box .icon { width: 22px; height: 22px; }
.card .icon-box { margin-bottom: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-soft); }
.card ul { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 8px; }
.card li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--text-soft); }
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
}
.card .card-link {
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--label);
  font-weight: 700;
  font-size: 15px;
  color: var(--indigo);
}
.card .card-link .icon { width: 18px; height: 18px; transition: transform 0.15s; }
.card .card-link:hover .icon { transform: translateX(3px); }
/* Stretch the card's link over the whole card so any part of it is clickable. */
.card .card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:has(.card-link):hover .card-link .icon { transform: translateX(3px); }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--magenta); outline-offset: 3px; }
.card .card-link:focus-visible { outline: none; }

.dark .card { background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); }
.dark .card:hover { border-color: rgba(232, 77, 179, 0.45); box-shadow: none; }
.dark .icon-box { background: rgba(232, 77, 179, 0.14); color: var(--magenta); border: 1px solid rgba(232, 77, 179, 0.3); }
.dark .card p { color: var(--on-dark-soft); }
.dark .card .num { color: var(--on-dark-muted); }

.card-row { flex-direction: row; gap: 20px; align-items: flex-start; }
.card-row .icon-box { margin-bottom: 0; }

/* ---------- Feature list ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.split .intro h2 { margin-bottom: 20px; }
.split .intro p { color: var(--text-soft); font-size: 17px; }
.split .intro .btn { margin-top: 32px; }
.page-hero .hero-actions { margin-top: 36px; }
.features { list-style: none; }
.features li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.features li:first-child { padding-top: 0; }
.features li:last-child { border-bottom: 0; }
.features h3 { margin-bottom: 6px; }
.features p { font-size: 15px; color: var(--text-soft); }

.dark .split .intro p, .dark .features p { color: var(--on-dark-soft); }
.dark .features li { border-color: var(--line-dark); }
.dark.cta { border-top: 0; }
.dark.cta p { color: var(--on-dark-soft); }

/* ---------- ACDClub ---------- */
.club-logo { width: 100%; max-width: 560px; height: auto; border-radius: var(--radius); }
.split > .club-logo { align-self: center; justify-self: center; }
.club-note { margin-top: 36px; font-size: 14px; color: var(--on-dark-muted); }
.dark.cta .club-note { margin-bottom: 0; color: var(--on-dark-muted); font-size: 14px; }
.seven { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.seven li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
}
.seven span {
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--magenta);
  min-width: 44px;
}
.card li a, .card p a { color: var(--violet); font-weight: 600; }
.hero .lead a, .page-hero .lead a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Team ---------- */
.team-card { align-items: flex-start; }
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--label);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--brand-gradient);
  margin-bottom: 24px;
}
.role {
  font-family: var(--label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--magenta);
}

/* ---------- CTA ---------- */
.cta { text-align: center; border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(30px, 4.4vw, 46px); max-width: 720px; margin: 0 auto 20px; }
.cta p { color: var(--text-soft); font-size: 18px; max-width: 600px; margin: 0 auto 36px; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin-top: 36px; display: grid; gap: 24px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .k {
  display: block;
  font-family: var(--label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-list a { color: var(--indigo); font-weight: 500; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-list address { font-style: normal; }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  gap: 20px;
}
.form h2 { font-size: 24px; letter-spacing: -0.01em; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 14px; color: var(--text); }
.field label .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font: 16px/1.5 var(--sans);
  color: var(--text);
  background: var(--white);
  border: 1px solid #8e89aa;
  border-radius: var(--radius);
  padding: 11px 14px;
  width: 100%;
  min-height: 48px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%23625d7e'%3E%3Cpath d='M480-345 240-585l43-43 197 198 197-197 43 43-240 239Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #625d7e; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(63, 85, 198, 0.2);
}
.field textarea { min-height: 150px; resize: vertical; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.cf-turnstile { margin-top: 8px; min-height: 65px; }
.form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-status { margin-top: 16px; font-size: 15px; color: var(--text-soft); }
.form-status:empty { display: none; }
.form-status.success { color: #1d7a46; font-weight: 600; }
.form-status.error { color: #b42318; }
.form-status a { color: inherit; text-decoration: underline; }
.form-note { font-size: 14px; color: var(--text-muted); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 16px; }
.notfound p { color: var(--on-dark-soft); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-dark-soft); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; margin-bottom: 56px; }
.site-footer .brand { margin-bottom: 20px; }
.site-footer .brand .mark { height: 44px; }
.site-footer .brand .word { height: 17px; }
.footer-tag { max-width: 280px; color: var(--on-dark-muted); font-size: 14px; }
.footer-title {
  font-family: var(--label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 14px;
  color: var(--on-dark-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .grid-3 { grid-template-columns: 1fr; }
  .section-head, .split { grid-template-columns: 1fr; gap: 20px; }
  .split { gap: 48px; }
  .section-head p { justify-self: start; }

  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(22, 18, 46, 0.3);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
  }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; }
  .nav-links a:hover { background: none; }
  .nav-links a[aria-current="page"]::after { left: 4px; right: auto; width: 24px; bottom: 8px; }
  .nav .btn { margin: 20px 0 0; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  section { padding: 80px 0; }
  .hero { padding: 80px 0 88px; }
  .page-hero { padding: 72px 0; }
  .nav { padding: 8px 16px 20px; }
  .brand .mark { height: 36px; }
  .brand .word { height: 14px; }
  .grid-4, .grid-2, .form .row { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .form { padding: 28px 20px; }
  .hero-actions .btn, .form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

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

.card .h3-like { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 10px; }
