/* ============================================================
   CenterPilot — design system
   Style: warm professional SaaS (UI/UX Pro Max: trust blue +
   orange CTA, Sora/Inter dual font, light mode)
   ============================================================ */

:root {
  /* color tokens */
  --navy-900: #12263D;
  --navy-800: #1B3A5C;
  --navy-700: #24507E;
  --blue:     #3C609E;   /* brand blue */
  --blue-700: #2E4D80;
  --orange:      #F19C41; /* brand orange */
  --orange-600:  #E38A24;
  --orange-tint: #FDF3E5;
  --ink:    #1E293B;
  --slate:  #475569;
  --muted:  #5B6B80;
  --bg:     #F8FAFC;
  --card:   #FFFFFF;
  --border: #E2E8F0;
  --sky:    #EDF3FA;
  --sky-2:  #DCE8F5;
  --ring:   #3C609E;

  /* type + spacing */
  --font-head: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(18, 38, 61, .08);
  --shadow-md: 0 8px 24px rgba(18, 38, 61, .10);
  --shadow-lg: 0 18px 44px rgba(18, 38, 61, .16);
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; color: var(--navy-900); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
a  { color: var(--blue-700); }
a:hover { color: var(--navy-800); }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: #fff; padding: 10px 18px; z-index: 1000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; text-decoration: none;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  padding: 13px 26px; min-height: 48px; font-size: 1rem;
  transition: background-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--orange-600); color: var(--navy-900); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--navy-800); color: #fff; }
.btn-secondary:hover { background: var(--navy-700); color: #fff; }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 1.06rem; }
.btn-sm { padding: 9px 20px; min-height: 44px; font-size: .95rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15,23,42,0.07);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(15,23,42,.06), 0 12px 32px -16px rgba(15,23,42,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo img { width: 217px; height: auto; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy-900); padding: 10px; cursor: pointer; border-radius: 8px; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .94rem; font-weight: 600; color: #334155; text-decoration: none;
  background: none; border: 0; cursor: pointer; font-family: var(--font-body);
  padding: 10px 12px; border-radius: 10px; transition: color .2s;
}
.site-nav a:hover, .sub-toggle:hover { background: none; color: #20307D; }
.site-nav .is-active > a, .site-nav .is-active > .sub-toggle { color: var(--blue-700); font-weight: 600; }
.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 12px;
  box-shadow: 0 2px 4px rgba(15,23,42,.05), 0 20px 44px -12px rgba(15,23,42,.18);
  list-style: none; margin: 0; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu a { display: block; padding: 10px 20px; border-radius: 0; font-weight: 500; font-size: .92rem; color: #334155; }
.sub-menu a:hover { background: #F8FAFC; color: #20307D; }
.nav-cta { margin-left: 10px; }
.nav-cta a.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #F59E0B; color: #0F172A; border-radius: 999px;
  min-width: 112px; box-sizing: border-box;
  padding: 10px 20px; font-size: .94rem; font-weight: 700; line-height: 1.2;
  box-shadow: 0 1px 2px rgba(15,23,42,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta a.btn:hover {
  background: #F59E0B; color: #0F172A; transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(245,158,11,.25), 0 8px 32px -4px rgba(245,158,11,.45);
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(175deg, var(--sky) 0%, var(--bg) 70%);
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .eyebrow { margin-bottom: 18px; }
.hero p.lede { font-size: 1.13rem; color: var(--slate); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 20px; }
.trust-line { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; list-style: none; margin: 0; }
.trust-line li { display: flex; align-items: center; gap: 6px; }
.trust-line svg { color: var(--orange-600); flex: none; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); margin: 0 auto; }
.hero-media img.img-bare { border-radius: 0; box-shadow: none; } /* transparent monitor mockup ships its own frame */
@media (min-width: 821px) {
  /* let the monitor mockup outgrow its grid column ~25% so it reads at hero scale */
  .hero-media img.img-bare { width: 150%; max-width: none; margin-left: -22%; }
}
.page-hero { background: linear-gradient(175deg, var(--sky) 0%, var(--bg) 80%); padding: 60px 0 40px; }
.page-hero .lede { font-size: 1.1rem; color: var(--slate); max-width: 62ch; }

/* eyebrow tag */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-700); background: var(--sky-2); border-radius: 999px; padding: 6px 14px;
}
.eyebrow svg { color: var(--orange-600); }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-navy { background: var(--navy-900); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #C7D5E4; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--slate); font-size: 1.06rem; }

/* card grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--orange-tint); color: var(--orange-600); margin-bottom: 16px;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--slate); margin-bottom: 0; }

/* link lists (training hub cards) */
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.link-list a { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.link-list a:hover { background: var(--sky); }

.link-list-2col { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .link-list-2col { grid-template-columns: 1fr; } }

/* CN label database (native searchable table, /cn-labels/) */
/* tighter hero/section spacing on this page so the search bar + table sit ~100px higher */
.db-hero { padding: 28px 0 16px; }
.db-hero .lede { max-width: none; font-size: .98rem; } /* owner wants the intro line spanning the full content width */
.db-section { padding-top: 28px; }
.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; }
.db-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px 22px; margin-bottom: 16px; }
.db-toolbar { display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; }
.db-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
.db-field-search { flex: 1 1 320px; }
.db-input-wrap { position: relative; }
.db-input-wrap svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
#db-q { width: 100%; min-height: 48px; padding: 11px 14px 11px 41px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--border); border-radius: 10px; }
#db-q:focus, #db-cat:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
#db-cat { min-height: 48px; max-width: 360px; padding: 11px 12px; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer; }
.db-check { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; font-weight: 500; color: var(--ink); cursor: pointer; }
.db-check input { width: 18px; height: 18px; accent-color: var(--blue-700); cursor: pointer; }
.db-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.db-count { margin: 0; font-size: .95rem; font-weight: 600; color: var(--navy-800); }
.db-links { margin: 0; font-size: .9rem; color: var(--muted); }
.db-note { display: flex; gap: 12px; align-items: flex-start; background: var(--orange-tint); border: 1px solid #F0D9B5; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; }
.db-note svg { flex: none; color: var(--orange-600); margin-top: 3px; }
.db-note p { margin: 0; font-size: .93rem; color: var(--ink); }
.db-table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; overflow: clip; } /* clip, NOT hidden: overflow:hidden turns the card into the sticky header's scrollport, pinning the navy bar ~100px down INSIDE the card over the first rows */
.db-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .8rem; }
.db-table th:nth-child(1) { width: 24%; }  /* Food */
.db-table th:nth-child(2) { width: 15%; }  /* Manufacturer / Vendor */
.db-table th:nth-child(3) { width: 8%;  }  /* Product # */
.db-table th:nth-child(4) { width: 9%;  }  /* CN Label # */
.db-table th:nth-child(5) { width: 23%; }  /* Crediting */
.db-table th:nth-child(6) { width: 10%; }  /* Expires */
.db-table th:nth-child(7) { width: 11%; }  /* Label */
/* --db-sticky-top is kept in sync with the real .site-header height by app.js
   (the nav can wrap to two lines at ~900-1100px, making the header taller than 72px) */
.db-table th { position: sticky; top: var(--db-sticky-top, 72px); z-index: 5; background: var(--navy-900); color: #fff; text-align: left; padding: 9px 10px; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; vertical-align: bottom; }
.db-table td { padding: 11px 11px; border-top: 1px solid var(--border); vertical-align: top; color: var(--ink); overflow-wrap: break-word; }
.db-table tbody tr:first-child td { border-top: 0; }
.db-table tbody tr:nth-child(even) { background: #F7FAFD; }
.db-table tbody tr:hover { background: var(--sky); }
.db-food { display: block; font-weight: 600; color: var(--navy-900); }
.db-sub { display: block; margin-top: 2px; font-size: .72rem; color: var(--muted); }
.db-notes { display: block; margin-top: 4px; font-size: .74rem; color: #8A5A16; }
.db-num { font-variant-numeric: tabular-nums; }
.db-table tr.is-expired .db-food, .db-table tr.is-expired td { color: var(--muted); }
.db-badge-expired { display: inline-block; padding: 2px 8px; border-radius: 99px; background: #FDECEC; border: 1px solid #F2C4C4; color: #B42318; font-size: .66rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.db-date { white-space: nowrap; }
.db-view { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 8px 9px; border: 1.5px solid var(--blue-700); border-radius: 8px; color: var(--blue-700); font-size: .76rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.db-view:hover { background: var(--blue-700); color: #fff; }
.db-status { font-size: .72rem; color: var(--muted); }
.db-empty { padding: 52px 24px; text-align: center; color: var(--slate); }
.db-empty p { max-width: 46ch; margin: 0 auto 10px; }
.db-empty .btn { margin-top: 8px; }
.db-updated { margin: 10px 2px 0; font-size: .84rem; color: var(--muted); text-align: right; }
.db-skeleton { padding: 10px 14px; }
.db-skel-row { height: 46px; margin: 9px 0; border-radius: 8px; background: linear-gradient(90deg, #EDF2F7 25%, #F8FAFC 50%, #EDF2F7 75%); background-size: 200% 100%; animation: db-shimmer 1.2s linear infinite; }
@keyframes db-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .db-skel-row { animation: none; } }
@media (max-width: 900px) {
  .db-table { font-size: .95rem; }
  .db-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .db-table, .db-table tbody, .db-table tr, .db-table td { display: block; }
  .db-table tr { padding: 14px 16px; border-top: 1px solid var(--border); }
  .db-table tbody tr:first-child { border-top: 0; }
  .db-table td { padding: 3px 0; border: 0; }
  .db-table td[data-label]:not([data-label="Food"])::before { content: attr(data-label) ": "; font-weight: 600; font-size: .8rem; color: var(--navy-800); }
  .db-table tr.is-expired td::before { color: var(--muted); }
  .db-cell-view { padding-top: 10px; }
  .db-view { min-height: 44px; } /* touch-target minimum on touch layouts; desktop table keeps the denser 40px */
  .db-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .db-updated { text-align: left; }
}

/* checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checklist svg { flex: none; margin-top: 3px; color: var(--orange-600); }
.checklist strong { color: var(--navy-900); }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 28px 28px 28px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-weight: 700; font-size: 1.15rem;
  margin-bottom: 16px; font-family: var(--font-head);
}
.step h3 { margin-bottom: .4em; }
.step p { color: var(--slate); margin: 0; }

/* testimonials */
.quote-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
}
.quote-card blockquote { margin: 0; font-size: 1.04rem; color: var(--ink); }
.quote-card blockquote::before { content: '\201C'; font-family: var(--font-head); font-size: 2.6rem; line-height: 0; color: var(--orange); display: block; margin: 18px 0 2px; }
.quote-card cite { font-style: normal; color: var(--muted); font-size: .93rem; margin-top: auto; }
.quote-card cite strong { color: var(--navy-900); display: block; font-size: 1rem; }

/* pricing */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, opacity .8s cubic-bezier(.2,.7,.2,1); }
.price-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--orange), #F6C48A); opacity: 0; transition: opacity .28s; }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(18,38,61,.14); border-color: rgba(241,156,65,.55); }
.price-card:hover::after { opacity: 1; }
.price-card.featured::after { opacity: 1; }
.price-card.featured { border: 2px solid var(--orange); box-shadow: var(--shadow-md); }
.plan-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--navy-900); font-size: .78rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; letter-spacing: .04em; }
.price-card h3 { margin-bottom: 2px; }
.price-figure { font-family: var(--font-head); font-size: 2.3rem; color: var(--navy-900); margin: 10px 0 2px; }
.price-figure span { font-family: var(--font-body); font-size: 1rem; color: var(--muted); }
.price-sub { color: var(--muted); font-size: .92rem; min-height: 2.6em; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; font-size: .96rem; color: var(--slate); }
.price-card ul li { display: flex; gap: 9px; align-items: flex-start; }
.price-card ul svg { flex: none; margin-top: 4px; color: var(--orange-600); }
.price-card .btn { margin-top: auto; }

/* fee tables */
.fee-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); font-size: .98rem; }
.fee-table caption { caption-side: top; text-align: left; font-weight: 600; color: var(--navy-900); padding: 0 0 10px; }
.fee-table th, .fee-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); }
.fee-table th { background: var(--sky); color: var(--navy-900); font-weight: 600; }
.fee-table tr:last-child td { border-bottom: 0; }
.fee-table td:last-child { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy-900); white-space: nowrap; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; color: var(--navy-900); padding: 18px 22px; border-radius: var(--radius-sm); min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-head); font-size: 1.5rem; color: var(--orange-600); transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--slate); }

/* video / media split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (min-width: 821px) {
  /* homepage demo-video banner reads better slightly larger than its column */
  .video-thumb { width: 110%; max-width: none; margin-left: -5%; }
}
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.video-caption { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy-900); text-align: center; margin: 16px 0 0; }
@media (min-width: 821px) { .video-caption { width: 110%; margin-left: -5%; } } /* track the enlarged video banner */
.video-thumb { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.video-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,38,61,0) 55%, rgba(18,38,61,.45));
}
.play-badge {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center; color: var(--navy-900);
  box-shadow: var(--shadow-md); transition: transform .2s ease;
}
.video-thumb:hover .play-badge { transform: translate(-50%,-50%) scale(1.07); }

/* comparison highlight */
.compare-note { background: var(--orange-tint); border: 1px solid #F3D9B3; border-radius: var(--radius); padding: 22px 26px; color: var(--ink); }
.compare-note strong { color: var(--navy-900); }

/* CTA band */
.cta-band { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); padding: 78px 0; }
.cta-inner { text-align: center; max-width: 720px; }
.cta-plane { color: var(--orange); margin: 0 auto 18px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.cta-band p { color: #C7D5E4; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }

/* footer */
.site-footer { background: #0D1D2F; color: #A9BBCD; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1fr 1fr; gap: 36px; padding: 56px 24px 36px; }
.footer-logo { width: 180px; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.footer-badge-link { display: inline-block; margin-top: 18px; border-radius: 10px; }
.footer-badge-link:hover .footer-badge-img { transform: scale(1.04); }
.footer-badge-img { display: block; width: 110px; height: auto; border-radius: 10px; transition: transform .15s ease; }
.footer-col h3 { font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #E8EEF4; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: #A9BBCD; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact span { color: #7E93A8; font-size: .85rem; margin-left: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid #1D344E; color: #7E93A8; font-size: .88rem; }
.footer-bottom a { color: #A9BBCD; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-3, .steps, .price-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); max-height: calc(100dvh - 72px); overflow-y: auto; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
  .site-nav a, .sub-toggle { width: 100%; justify-content: space-between; padding: 13px 12px; font-size: 1.05rem; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 6px 14px; }
  .has-sub.open .sub-menu { display: block; }
  .has-sub:hover .sub-menu { display: none; }
  .has-sub.open:hover .sub-menu { display: block; }
  .site-nav > .nav-cta { margin: 4px 0 0; padding: 0 16px; }
  .nav-cta a.btn { width: 100%; }
}
/* Desktop: match the homepage navbar — logo | centered links | Sign Up.
   display:contents lets the <ul> and .nav-cta become direct flex children
   of .header-inner, so justify-between centers the links like the Next home. */
@media (min-width: 1101px) {
  .site-nav { display: contents; }
  .header-inner > .logo, .site-nav > ul, .site-nav > .nav-cta { flex: none; }
}
@media (max-width: 820px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 48px 0 44px; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .steps, .price-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 52px 0; }
  .logo img { width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- video lightbox ---------- */
.vlb-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(10, 17, 28, .88); animation: vlb-fade .18s ease-out; }
@keyframes vlb-fade { from { opacity: 0; } }
.vlb-frame { width: min(1080px, 94vw, calc(82vh * 1.7778)); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.vlb-frame iframe, .vlb-frame video { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.vlb-box { position: relative; }
/* Close button matches the homepage video lightbox: amber circle riding the
   frame's top-right corner. */
.vlb-close { position: absolute; top: -12px; right: -12px; z-index: 10; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: #F59E0B; color: #0f172a; border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 0 22px rgba(245,158,11,.5); transition: transform .2s; }
.vlb-close:hover { transform: scale(1.1); }
.vlb-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ---------- pricing: How That Compares ---------- */
.cmp-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cmp-sub { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cmp-bars { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.cmp-row { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 12px; }
.cmp-name { font-size: .88rem; font-weight: 600; color: var(--slate); }
.cmp-bar { position: relative; height: 22px; border-radius: 99px; background: var(--sky); overflow: hidden; }
.cmp-bar::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--sky-2), #B9CCE4); transition: width 1s cubic-bezier(.2,.7,.2,1) .15s; }
.reveal.in .cmp-bar::after { width: var(--w); }
.cmp-val { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--slate); white-space: nowrap; }
.cmp-us .cmp-name { color: var(--navy-900); }
.cmp-us .cmp-bar::after { background: linear-gradient(90deg, var(--orange), var(--orange-600)); }
.cmp-us .cmp-val { font-family: var(--font-head); font-size: 1.35rem; font-weight: 400; color: var(--navy-900); }
.cmp-save { margin: 20px 0 6px; font-size: 1.05rem; color: var(--navy-900); }
.cmp-save strong { font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; background: var(--orange-tint); border-radius: 8px; padding: 2px 10px; box-decoration-break: clone; }
.cmp-note { margin: 0; font-size: .85rem; color: var(--muted); }
.cmp-quote { display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 26px 30px; background: var(--navy-900); border-radius: var(--radius); }
.cmp-quote svg { flex: none; color: var(--orange); }
.cmp-quote p { margin: 0; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.45; color: #fff; }
.cmp-quote strong { color: var(--orange); font-weight: 400; }
.cmp-foot { margin: 14px 4px 0; font-size: .85rem; color: var(--muted); text-align: right; }
@media (max-width: 640px) {
  .cmp-row { grid-template-columns: 1fr auto; }
  .cmp-name { grid-column: 1; }
  .cmp-val { grid-column: 2; }
  .cmp-bar { grid-column: 1 / -1; order: 3; }
  .cmp-quote { flex-direction: column; text-align: center; }
}

/* ---------- sign-up page ---------- */
.su-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 44px; align-items: start; }
.su-pitch { position: sticky; top: 96px; }
.su-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius); padding: 36px 38px; color: #C7D5E4;
}
.su-panel::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(241,156,65,.22), rgba(241,156,65,0) 70%);
  pointer-events: none;
}
.su-panel h2 { color: #fff; font-size: 1.7rem; }
.su-panel .checklist li { color: #C7D5E4; }
.su-panel .checklist svg { color: var(--orange); }
.su-panel .checklist strong { color: #fff; }
.su-steps { list-style: none; counter-reset: sustep; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(199,213,228,.25); display: grid; gap: 14px; }
.su-steps li { counter-increment: sustep; display: flex; gap: 14px; align-items: flex-start; }
.su-steps li::before {
  content: counter(sustep); flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--navy-900); font-weight: 700; font-size: .95rem; margin-top: 1px;
}
.su-steps strong { color: #fff; }
.su-alt { margin: 22px 0 0; font-size: .92rem; color: #A9BBCD; }
.su-alt a { color: #fff; }
.su-form-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 36px 38px 32px;
}
.su-form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--orange-600) 55%, var(--blue));
}
.su-form-card > h2 { font-size: 1.55rem; margin-bottom: .3em; }
.su-intro { color: var(--slate); font-size: .97rem; margin-bottom: 24px; }
.su-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.su-row-3 { grid-template-columns: 1.4fr .8fr .8fr; }
.su-field { margin-bottom: 18px; }
.su-field > label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
.req { color: #B42318; }
.su-input {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem;
  color: var(--ink); background: #fff; border: 1.5px solid var(--border); border-radius: 10px;
  transition: border-color .15s ease;
}
textarea.su-input { min-height: 96px; resize: vertical; }
select.su-input { cursor: pointer; }
.su-input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.su-input[aria-invalid="true"] { border-color: #B42318; }
.su-error { display: block; margin-top: 6px; font-size: .85rem; font-weight: 500; color: #B42318; }
.su-fieldset { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px 12px; margin: 0 0 20px; min-width: 0; }
.su-fieldset legend { font-weight: 700; color: var(--navy-900); font-size: .97rem; padding: 0 8px; }
.su-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.su-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .96rem; color: var(--ink); cursor: pointer; }
.su-check input { flex: none; width: 19px; height: 19px; accent-color: var(--blue-700); cursor: pointer; }
.su-radios { display: flex; gap: 26px; flex-wrap: wrap; }
.su-submit { width: 100%; }
.su-fine { margin: 14px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.su-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.su-summary {
  background: #FDECEC; border: 1px solid #F2C4C4; border-radius: var(--radius-sm);
  padding: 14px 18px; margin-bottom: 22px; color: #B42318; font-size: .95rem;
}
.su-summary a { color: #B42318; font-weight: 600; }
.su-summary ul { margin: 6px 0 0; padding-left: 1.2em; }
.su-success { text-align: center; padding: 26px 10px 14px; }
.su-success-badge {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-tint); color: var(--orange-600); border: 2px solid var(--orange);
}
.su-success h2 { font-size: 1.8rem; }
.su-success p { color: var(--slate); max-width: 46ch; margin-left: auto; margin-right: auto; }
.su-success .btn { margin-top: 10px; }
@media (max-width: 900px) {
  .su-grid { grid-template-columns: 1fr; gap: 32px; }
  .su-pitch { position: static; order: 2; }
  .su-form { order: 1; }
  .su-form-card { padding: 28px 22px 26px; }
  .su-panel { padding: 28px 24px; }
  .su-row, .su-row-3, .su-checks { grid-template-columns: 1fr; }
}

/* ---------- testimonials: stats + featured + pull-quotes ---------- */
.t-stats { list-style: none; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 34px auto 0; padding: 0; max-width: 900px; }
.t-stats li { flex: 1 1 240px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px 22px; text-align: center; }
.t-num { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1.1; color: var(--orange-600); }
.t-num em { font-style: normal; font-size: 1.3rem; margin-left: 2px; }
.t-label { display: block; margin-top: 4px; font-size: .9rem; color: var(--slate); }
.quote-feature { position: relative; background: var(--navy-900); border-radius: var(--radius); padding: 40px 44px; margin-bottom: 24px; overflow: hidden; }
.quote-feature::before { content: '\201C'; position: absolute; top: -30px; right: 18px; font-family: var(--font-head); font-size: 13rem; line-height: 1; color: rgba(241,156,65,.16); pointer-events: none; }
.quote-feature .q-pull { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; color: #fff; margin: 0 0 18px; max-width: 30ch; }
.quote-feature blockquote { margin: 0 0 18px; color: #C7D5E4; font-size: .98rem; max-width: 75ch; }
.quote-feature cite { font-style: normal; display: flex; align-items: center; gap: 12px; color: #C7D5E4; font-size: .93rem; }
.quote-feature cite strong { color: #fff; display: block; font-size: 1rem; }
.quote-card .q-pull { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.35; color: var(--navy-900); margin: 0; }
.quote-card .q-pull + blockquote::before { display: none; }
.quote-card blockquote { font-size: .96rem; color: var(--slate); }
.q-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.25rem; background: var(--orange-tint); color: var(--orange-600); border: 1.5px solid var(--orange); }
.quote-card cite { display: flex; align-items: center; gap: 12px; }
@media (max-width: 640px) { .quote-feature { padding: 28px 22px; } }


/* ===== Sponsors page redesign (Take 1 / launchpad) — .sp2-* ===== */
.sp2-hero { position: relative; overflow: hidden; color: #fff; padding: 76px 0 84px;
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(60,96,158,.45), transparent 60%),
    radial-gradient(900px 500px at 15% 110%, rgba(241,156,65,.10), transparent 60%),
    linear-gradient(180deg, #0C1B2E 0%, var(--navy-900) 45%, var(--navy-800) 100%); }
.sp2-stars { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image:
  radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 60%, #fff, transparent),
  radial-gradient(1px 1px at 40% 80%, #fff, transparent), radial-gradient(1px 1px at 85% 25%, #fff, transparent),
  radial-gradient(1px 1px at 55% 15%, #fff, transparent), radial-gradient(1.5px 1.5px at 12% 70%, #fff, transparent),
  radial-gradient(1px 1px at 92% 75%, #fff, transparent), radial-gradient(1px 1px at 35% 45%, #fff, transparent);
  animation: sp2twinkle 6s ease-in-out infinite alternate; }
@keyframes sp2twinkle { from { opacity: .35; } to { opacity: .65; } }
.sp2-contrail { position: absolute; height: 2px; border-radius: 999px; filter: blur(1px);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); animation: sp2drift 20s linear infinite; }
.sp2-contrail.c1 { width: 420px; top: 22%; left: -420px; }
.sp2-contrail.c2 { width: 300px; top: 58%; left: -300px; animation-duration: 27s; animation-delay: 8s; }
@keyframes sp2drift { to { transform: translateX(calc(100vw + 460px)); } }
.sp2-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.sp2-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.7rem); margin: 18px 0 16px; }
.sp2-hero h1 .sp2-w { display: inline-block; opacity: 0; transform: translateY(.4em); animation: sp2word .8s cubic-bezier(.2,.8,.2,1) forwards; }
.sp2-hero h1 .sp2-w.accent { color: var(--orange); }
@keyframes sp2word { to { opacity: 1; transform: none; } }
.sp2-hero .lede { color: #C7D5E6; max-width: 34rem; }
.sp2-eyebrow { color: var(--orange); background: none; padding: 0; }
.sp2-eyebrow svg { color: var(--orange); }
.sp2-btn-ghost { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.sp2-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.sp2-glow { position: relative; }
.sp2-glow::before { content: ""; position: absolute; inset: -4px; border-radius: 14px; z-index: -1;
  background: radial-gradient(closest-side, rgba(241,156,65,.55), transparent 70%);
  filter: blur(10px); animation: sp2glow 2.6s ease-in-out infinite; }
@keyframes sp2glow { 0%,100% { opacity: .45; transform: scale(.98); } 50% { opacity: .85; transform: scale(1.04); } }
.sp2-mock { position: relative; transform: perspective(1100px) rotateY(-12deg) rotateX(6deg); animation: sp2float 7s ease-in-out infinite; filter: drop-shadow(0 30px 46px rgba(4,12,22,.55)); }
@keyframes sp2float { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.sp2-win { background: #fff; border-radius: 18px; overflow: hidden; }
.sp2-winbar { display: flex; align-items: center; gap: 7px; background: #0E1E31; padding: 12px 16px; }
.sp2-winbar i { width: 10px; height: 10px; border-radius: 50%; }
.sp2-winbar span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #8FA6BF; font-weight: 700; margin-left: 8px; }
.sp2-winbody { padding: 20px 22px 22px; }
.sp2-k { font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--orange-600); }
.sp2-month { font-family: var(--font-head); font-size: 1.35rem; color: var(--navy-900); margin: 2px 0 14px; }
.sp2-row { margin-bottom: 12px; }
.sp2-row .t { display: flex; justify-content: space-between; font-size: .84rem; font-weight: 600; color: #3D4F63; margin-bottom: 5px; }
.sp2-meter { height: 8px; border-radius: 6px; background: #EAF0F7; overflow: hidden; }
.sp2-meter i { display: block; height: 100%; border-radius: 6px; width: 0; transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.sp2-mock.on .m1 .sp2-meter i { width: 94%; background: var(--blue); }
.sp2-mock.on .m2 .sp2-meter i { width: 98%; background: var(--orange); }
.sp2-mock.on .m3 .sp2-meter i { width: 88%; background: var(--navy-800); }
.sp2-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.sp2-tile { background: #F3F7FB; border-radius: 12px; padding: 11px; text-align: center; }
.sp2-tile b { font-family: var(--font-head); font-weight: 400; font-size: 1.2rem; color: var(--navy-900); display: block; }
.sp2-tile span { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7C8FA5; }
.sp2-chip { position: absolute; left: -26px; bottom: -20px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 11px 16px; box-shadow: var(--shadow-lg); }
.sp2-chip .ok { width: 32px; height: 32px; border-radius: 50%; background: #E9F7EE; color: #1E7C3C; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sp2-chip b { font-size: .88rem; color: var(--navy-900); display: block; }
.sp2-chip small { font-size: .74rem; color: var(--slate); }
.sp2-sub { color: var(--slate); max-width: 62ch; }
.sp2-fp-wrap { background: #fff; border: 1px solid var(--sky-2); border-radius: 22px; padding: 26px 16px; box-shadow: var(--shadow-sm); overflow-x: auto;
  background-image: radial-gradient(700px 260px at 50% 52%, rgba(60,96,158,.06), transparent 70%); }
.sp2-fp { width: 100%; height: auto; min-width: 760px; display: block; }
.sp2-fp .fp-path { fill: none; stroke: #C4D2E4; stroke-width: 2; stroke-dasharray: 6 8; }
.sp2-fp.on .fp-path { stroke: var(--blue); stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: sp2draw 2.2s ease-out forwards; }
@keyframes sp2draw { to { stroke-dashoffset: 0; } }
.sp2-fp .fp-dot { fill: #fff; stroke: var(--blue); stroke-width: 2.5; }
.sp2-fp .fp-chip { fill: #F3F7FB; stroke: var(--sky-2); }
.sp2-fp .fp-lbl { font: 700 15px var(--font-body, 'Inter', sans-serif); fill: #3D4F63; }
.sp2-fp .fp-node { opacity: 0; transform: scale(.4); transform-origin: center; transform-box: fill-box; transition: opacity .5s ease, transform .55s cubic-bezier(.2,1.4,.4,1); }
.sp2-fp.on .fp-node { opacity: 1; transform: scale(1); }
.sp2-fp.on .fp-node:nth-of-type(1) { transition-delay: .15s; } .sp2-fp.on .fp-node:nth-of-type(2) { transition-delay: .3s; }
.sp2-fp.on .fp-node:nth-of-type(3) { transition-delay: .45s; } .sp2-fp.on .fp-node:nth-of-type(4) { transition-delay: .6s; }
.sp2-fp.on .fp-node:nth-of-type(5) { transition-delay: .75s; } .sp2-fp.on .fp-node:nth-of-type(6) { transition-delay: .9s; }
.sp2-fp .fp-pkt { display: none; }
.sp2-fp.flow .fp-pkt { display: block; }
.sp2-fp .fp-pkt.a { fill: var(--orange); }
.sp2-fp .fp-pkt.b { fill: var(--blue); }
.sp2-fp .fp-hub { fill: var(--navy-900); }
.sp2-fp .fp-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 4 12; opacity: .55; animation: sp2spin 16s linear infinite; transform-origin: center; transform-box: fill-box; }
@keyframes sp2spin { to { transform: rotate(360deg); } }
.sp2-fp .fp-pulse { fill: var(--orange); opacity: .16; animation: sp2hub 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.sp2-fp .fp-pulse.p2 { animation-delay: 1.5s; }
@keyframes sp2hub { 0%,100% { opacity: .1; transform: scale(1); } 50% { opacity: .26; transform: scale(1.22); } }
.sp2-fp .fp-hub-lbl { font: 400 20px var(--font-head, 'Sora', sans-serif); fill: #fff; }
.sp2-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.sp2-card { grid-column: span 2; background: #fff; border: 1px solid var(--sky-2); border-radius: 20px; padding: 28px 26px 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.sp2-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(18,38,61,.14); border-color: rgba(241,156,65,.6); }
.sp2-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--orange), #F6C48A); opacity: 0; transition: opacity .28s; }
.sp2-card:hover::before { opacity: 1; }
.sp2-card .num { position: absolute; top: 14px; right: 20px; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; color: var(--sky-2); transition: color .28s ease; user-select: none; }
.sp2-card:hover .num { color: var(--orange); }
.sp2-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-tint, #FDF1E1); color: var(--orange-600); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: background .28s ease, color .28s ease, transform .28s ease; }
.sp2-card:hover .ic { background: var(--orange); color: #fff; transform: scale(1.06) rotate(-3deg); }
.sp2-card h3 { font-size: 1.18rem; margin: 0 0 6px; }
.sp2-card p { margin: 0; color: var(--slate); font-size: .97rem; }
.sp2-card p strong { color: var(--navy-900); }
.sp2-card.wide { grid-column: span 6; display: flex; align-items: center; gap: 20px; padding: 26px 30px;
  background: linear-gradient(90deg, var(--orange-tint, #FDF1E1) 0%, #fff 45%); }
.sp2-card.wide .ic { margin: 0; flex: none; }
.sp2-card.wide h3 { margin-bottom: 3px; }
.sp2-quote { margin: 0; background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 70%, var(--navy-700) 100%); border-radius: 26px; color: #fff; padding: 60px 56px; position: relative; overflow: hidden; }
.sp2-quote::before { content: "\201C"; position: absolute; top: -36px; left: 22px; font-family: var(--font-head); font-size: 13rem; color: rgba(241,156,65,.25); line-height: 1; }
.sp2-quote blockquote { margin: 0; font-family: var(--font-body, 'Inter', sans-serif); font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.55; max-width: none; position: relative; border: 0; padding: 0; }
.sp2-quote figcaption { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.sp2-avatar { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--orange); color: #20180C; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem; }
.sp2-quote .who { font-size: .92rem; color: #A9BCD3; }
.sp2-quote .who strong { display: block; color: #fff; font-size: 1rem; }
.sp2-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 940px; margin: 0 auto; align-items: stretch; }
.sp2-pcard { position: relative; overflow: hidden; border: 0; border-radius: 20px; padding: 36px 24px 32px; text-align: center; color: #fff;
  background:
    radial-gradient(320px 180px at 50% -20%, rgba(60,96,158,.5), transparent 70%),
    radial-gradient(260px 160px at 50% 120%, rgba(241,156,65,.12), transparent 70%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  box-shadow: 0 14px 36px rgba(18,38,61,.26); transition: transform .28s ease, box-shadow .28s ease; }
.sp2-pcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--orange), #F6C48A); }
.sp2-pcard:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(18,38,61,.38), 0 0 0 1.5px rgba(241,156,65,.45); }
.sp2-pcard .ic { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: var(--orange); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.sp2-pcard .tag { display: block; margin: 0 auto 12px; width: fit-content; font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--orange); background: rgba(241,156,65,.16); border-radius: 999px; padding: 6px 14px; }
.sp2-pcard .fig { font-family: var(--font-head); font-size: 2.9rem; color: #fff; line-height: 1.1; }
.sp2-pcard .fig .sp2-count { font-size: inherit; color: inherit; font-family: inherit; }
.sp2-pcard .cap { margin: 8px 0 0; color: #A9BCD3; font-size: .95rem; font-weight: 600; }
.sp2-feeband { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; max-width: 940px; margin: 22px auto 0; background: #E9F7EE; border: 1px solid #CDEBD8; border-radius: 999px; padding: 12px 22px; color: #1E5C34; font-size: .98rem; text-align: center; }
.sp2-feeband strong { color: #144726; }
.sp2-feeband .ok { width: 26px; height: 26px; border-radius: 50%; background: #1E7C3C; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sp2-feeband .ok svg { width: 15px; height: 15px; }
.sp2-feewrap { background: #fff; border: 1px solid var(--sky-2); border-radius: 18px; padding: 8px 14px 14px; box-shadow: var(--shadow-sm); }
.sp2-feewrap .fee-table { margin: 0; }
.sp2-feewrap .fee-table th { background: transparent; color: var(--navy-900); font-family: var(--font-head); font-weight: 400; font-size: 1.02rem; border-bottom: 2px solid var(--sky-2); }
.sp2-feewrap .fee-table td:last-child { font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.sp2-feewrap .fee-table tbody tr:nth-child(odd) { background: #F7FAFD; }
.sp2-feewrap .fee-table tbody tr { transition: background .2s ease; }
.sp2-feewrap .fee-table tbody tr:hover { background: var(--sky); }
@media (max-width: 960px) {
  .sp2-hero-grid { grid-template-columns: 1fr; }
  .sp2-mock { max-width: 440px; margin: 12px auto 0; }
  .sp2-chip { left: 8px; bottom: -16px; }
  .sp2-card { grid-column: span 6; }
  .sp2-card.wide { flex-direction: column; align-items: flex-start; }
  .sp2-pgrid { grid-template-columns: 1fr; }
  .sp2-quote { padding: 44px 26px; }
  .sp2-fp-wrap { padding: 16px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp2-stars, .sp2-contrail, .sp2-glow::before, .sp2-fp .fp-pulse { animation: none; }
  .sp2-mock { animation: none; transform: none; }
  .sp2-hero h1 .sp2-w { opacity: 1; transform: none; animation: none; }
  .sp2-meter i { transition: none; }
  .sp2-fp.on .fp-path { animation: none; stroke-dashoffset: 0; }
  .sp2-fp .fp-ring, .sp2-fp .fp-pulse { animation: none; }
  .sp2-fp .fp-node { opacity: 1; transform: none; transition: none; }
  .sp2-fp .fp-pkt { display: none !important; }
}

/* Sponsors page: flying-paperwork background for the footer CTA band */
.cta-band.sp2-fly { position: relative; overflow: hidden; }
.cta-band.sp2-fly .cta-inner { position: relative; z-index: 1; }
.sp2-flypapers { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sp2-flypapers .fly-p { position: absolute; left: -100px; color: rgba(255,255,255,.28); animation: sp2flyx linear infinite; }
.sp2-flypapers .fly-p svg { width: 3.2em; height: 3.2em; display: block; animation: sp2bob 4.5s ease-in-out infinite; }
.sp2-flypapers .fly-p:nth-child(odd) { color: rgba(241,156,65,.30); }
.sp2-flypapers .fly-p:nth-child(odd) svg { animation-duration: 5.5s; animation-delay: -2s; }
@keyframes sp2flyx { to { transform: translateX(calc(100vw + 220px)); } }
@keyframes sp2bob {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-26px) rotate(-6deg); }
}
.sp2-flypapers .fly-s { position: absolute; bottom: -30px; width: 13px; height: 17px; border-radius: 2px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.10); animation: sp2sheet linear infinite; }
.sp2-flypapers .fly-s::before { content: ""; position: absolute; inset: 4px 3px auto 3px; height: 1.5px; background: rgba(255,255,255,.28); box-shadow: 0 4px 0 rgba(255,255,255,.22), 0 8px 0 rgba(255,255,255,.16); }
@keyframes sp2sheet {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-460px) rotate(230deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .sp2-flypapers { display: none; } }

/* Attendance-app page enhancements (.app2-*, reuses .sp2-*) */
.app2-tablet { position: relative; text-align: center; }
.app2-tablet img { display: inline-block; max-width: min(560px, 100%); height: auto; filter: drop-shadow(0 30px 44px rgba(4,12,22,.55)); animation: sp2float 7s ease-in-out infinite; }
.app2-voice { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 36px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 10px 20px 10px 12px; }
.app2-voice .mic { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #20180C; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.app2-voice .mic svg { width: 20px; height: 20px; }
.app2-voice .mic::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(241,156,65,.55); animation: sp2glow-ring 2.4s ease-out infinite; }
@keyframes sp2glow-ring { 0% { box-shadow: 0 0 0 0 rgba(241,156,65,.5); } 70% { box-shadow: 0 0 0 13px rgba(241,156,65,0); } 100% { box-shadow: 0 0 0 0 rgba(241,156,65,0); } }
.app2-voice .eq { display: inline-flex; align-items: center; gap: 3px; height: 26px; }
.app2-voice .eq i { width: 4px; height: 100%; border-radius: 3px; background: var(--orange); transform-origin: center; animation: app2eq 1.1s ease-in-out infinite; }
.app2-voice .eq i:nth-child(1) { animation-delay: 0s; } .app2-voice .eq i:nth-child(2) { animation-delay: .18s; }
.app2-voice .eq i:nth-child(3) { animation-delay: .36s; } .app2-voice .eq i:nth-child(4) { animation-delay: .12s; }
.app2-voice .eq i:nth-child(5) { animation-delay: .27s; }
@keyframes app2eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.app2-voice .phrase { color: #fff; font-weight: 600; font-size: 1.02rem; }
.app2-voice .done { display: inline-flex; align-items: center; gap: 7px; background: rgba(30,124,60,.25); border: 1px solid rgba(120,220,150,.35); color: #BFE9CC; font-size: .85rem; font-weight: 600; border-radius: 999px; padding: 5px 13px; }
.app2-voice .done svg { width: 14px; height: 14px; color: #7EDB9A; }
.app2-grid .sp2-card { grid-column: span 3; }
.app2-price { max-width: 340px; margin: 0 auto; }
@media (max-width: 960px) {
  .app2-grid .sp2-card { grid-column: span 6; }
  .app2-tablet { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .app2-tablet img { animation: none; }
  .app2-voice .mic::after, .app2-voice .eq i { animation: none; }
}

/* Attendance-app page: voice-waveform background for the footer CTA band */
.cta-band.app2-hear { position: relative; overflow: hidden; }
.cta-band.app2-hear .cta-inner { position: relative; z-index: 1; }
.app2-wave { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.app2-wave .bars { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 3%; }
.app2-wave .bars i { flex: none; width: 4px; border-radius: 3px; background: rgba(255,255,255,.16); transform-origin: center; animation: app2wave ease-in-out infinite; }
.app2-wave .bars i:nth-child(3n) { background: rgba(241,156,65,.30); }
.app2-wave .bars i:nth-child(7n) { background: rgba(60,96,158,.45); }
@keyframes app2wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1.6); } }
.app2-wave .ring { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 1.5px solid rgba(241,156,65,.4); animation: app2ring 5s ease-out infinite; }
.app2-wave .ring.r2 { animation-delay: 1.6s; }
.app2-wave .ring.r3 { animation-delay: 3.2s; border-color: rgba(255,255,255,.25); }
@keyframes app2ring { 0% { transform: scale(.4); opacity: 0; } 12% { opacity: .8; } 100% { transform: scale(6.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .app2-wave { display: none; } }

/* About page enhancements (.ab2-*, reuses .sp2-*) */
.ab2-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.ab2-timeline { position: relative; padding-left: 8px; }
.ab2-timeline::before { content: ""; position: absolute; left: 30px; top: 18px; bottom: 18px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--sky-2) 0 6px, transparent 6px 14px); }
.ab2-step { position: relative; padding: 0 0 34px 68px; }
.ab2-step:last-child { padding-bottom: 0; }
.ab2-step .num { position: absolute; left: 8px; top: -2px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange-tint, #FDF1E1); color: var(--orange-600); display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--bg); }
.ab2-step .num svg { width: 21px; height: 21px; }
.ab2-step p { margin: 6px 0 0; font-size: 1.04rem; }
.ab2-side { display: grid; gap: 20px; }
.ab2-team img { width: 100%; height: auto; animation: sp2float 7s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(18,38,61,.18)); }
.sp2-card.ab2-support { grid-column: auto; }
.sp2-card.ab2-support h3 { font-size: 1.22rem; margin-bottom: 6px; }
.ab2-line { display: flex; align-items: center; gap: 10px; margin-top: 16px; background: #E9F7EE; border: 1px solid #CDEBD8;
  border-radius: 12px; padding: 10px 14px; font-size: .9rem; font-weight: 600; color: #1E5C34; }
.ab2-line .dot { position: relative; width: 12px; height: 12px; flex: none; }
.ab2-line .dot i { position: absolute; inset: 0; border-radius: 50%; background: #1E7C3C; }
.ab2-line .dot::before { content: ""; position: absolute; inset: -3px; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(30,124,60,.45); animation: sp2glow-ring 2.4s ease-out infinite; }
.ab2-badge { display: flex; align-items: center; gap: 16px; text-decoration: none; background: #fff;
  border: 1px solid var(--sky-2); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-sm);
  color: var(--slate); font-size: .95rem; font-weight: 600; transition: transform .28s ease, box-shadow .28s ease; }
.ab2-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ab2-badge img { border-radius: 10px; flex: none; }
@media (max-width: 960px) {
  .ab2-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab2-team img { animation: none; }
  .ab2-line .dot::before { animation: none; }
}

/* About page: airport control tower + runway takeoffs in the footer CTA band */
.cta-band.ab2-tower { position: relative; overflow: hidden; }
.cta-band.ab2-tower .cta-inner { position: relative; z-index: 1; }
.ab2-sky { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.ab2-sky .twr { position: absolute; left: 5%; bottom: 24px; width: 126px; height: 210px; color: rgba(255,255,255,.17); }
.ab2-sky .twr .glass { fill: rgba(241,156,65,.5); }
.ab2-sky .twr .slit { fill: rgba(241,156,65,.4); animation: ab2beacon 3.4s ease-in-out infinite; }
.ab2-sky .twr .slit.s2 { animation-delay: 1.1s; }
.ab2-sky .twr .slit.s3 { animation-delay: 2.2s; }
.ab2-sky .twr .beacon { fill: var(--orange); animation: ab2beacon 2.2s ease-in-out infinite; }
@keyframes ab2beacon { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.ab2-sky .strip { position: absolute; left: 0; right: 0; bottom: 0; height: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(8,13,32,.35) 100%);
  border-top: 2px solid rgba(255,255,255,.16);
  display: flex; align-items: flex-start; justify-content: space-around; padding-top: 3px; }
.ab2-sky .strip::before { content: ""; position: absolute; left: 0; right: 0; top: 55%; height: 2.5px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.38) 0 34px, transparent 34px 72px); }
.ab2-sky .strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.3)); }
.ab2-sky .strip i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,224,178,.9);
  box-shadow: 0 0 7px 1px rgba(255,205,130,.55); animation: ab2beacon 1.6s ease-in-out infinite; }
.ab2-sky .strip i:nth-child(2n) { animation-delay: .4s; }
.ab2-sky .strip i:nth-child(3n) { animation-delay: .8s; }
.ab2-sky .strip i:nth-child(5n) { animation-delay: 1.2s; }
.ab2-sky .strip i:first-child { background: #5EE38B; box-shadow: 0 0 8px 2px rgba(94,227,139,.5); }
.ab2-sky .strip i:last-child { background: #F87171; box-shadow: 0 0 8px 2px rgba(248,113,113,.5); }
.ab2-sky .jet { position: absolute; left: -90px; bottom: 40px; color: rgba(255,255,255,.42);
  animation: ab2takeoff 10s linear infinite; }
.ab2-sky .jet svg { width: 62px; height: 21px; display: block; }
.ab2-sky .jet.j2 { animation-delay: -5s; color: rgba(241,156,65,.45); }
.ab2-sky .jet.j2 svg { width: 46px; height: 15px; }
@keyframes ab2takeoff {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  6% { opacity: .95; }
  14% { transform: translate(5vw, 0) rotate(0deg); }
  26% { transform: translate(14vw, 0) rotate(0deg); }
  38% { transform: translate(27vw, 0) rotate(-1deg); }
  46% { transform: translate(37vw, -5px) rotate(-4deg); }
  55% { transform: translate(49vw, -24px) rotate(-8deg); }
  66% { transform: translate(63vw, -66px) rotate(-12deg); }
  80% { transform: translate(82vw, -150px) rotate(-14deg); }
  92% { opacity: .95; }
  100% { transform: translate(107vw, -280px) rotate(-14deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .ab2-sky { display: none; } }

/* Testimonials page enhancements (.ts2, hero stats on navy) */
.sp2-hero .t-stats { margin: 36px auto 0; display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; }
.sp2-hero .t-stats li { display: grid; gap: 4px; }
.sp2-hero .t-num { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; color: var(--orange); }
.sp2-hero .t-num em { font-style: normal; }
.sp2-hero .t-label { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #9FB4CB; }
.ts2 .q-stars { display: block; margin-bottom: 10px; color: #F59E0B; font-size: .95rem; letter-spacing: 3px; }
.ts2 .quote-card, .ts2 .quote-feature { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, opacity .8s cubic-bezier(.2,.7,.2,1); }
.ts2 .quote-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(18,38,61,.14); border-color: rgba(241,156,65,.55); }
.ts2 .quote-feature { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 70%, var(--navy-700) 100%); border: 0; color: #fff; border-radius: 26px; }
.ts2 .quote-feature::before { content: "\201C"; position: absolute; top: -34px; left: 20px; font-family: var(--font-head); font-size: 11rem; color: rgba(241,156,65,.22); line-height: 1; }
.ts2 .quote-feature .q-pull { position: relative; color: var(--orange); }
.ts2 .quote-feature blockquote { position: relative; color: #fff; border: 0; }
.ts2 .quote-feature cite, .ts2 .quote-feature cite strong { color: #C7D5E6; }
.ts2 .quote-feature cite strong { color: #fff; }
.ts2 .quote-feature .q-avatar { background: var(--orange); color: #20180C; border: 0; }
.ts2 .grid .quote-card:nth-child(1) .q-avatar { background: linear-gradient(135deg, #A5B4FC, #6366F1); color: #fff; border: 0; }
.ts2 .grid .quote-card:nth-child(2) .q-avatar { background: linear-gradient(135deg, #FCD34D, #F59E0B); color: #fff; border: 0; }
.ts2 .grid .quote-card:nth-child(3) .q-avatar { background: linear-gradient(135deg, #6EE7B7, #10B981); color: #fff; border: 0; }
.ts2 .grid .quote-card:nth-child(4) .q-avatar { background: linear-gradient(135deg, #7DD3FC, #0EA5E9); color: #fff; border: 0; }
.ts2 .grid .quote-card:nth-child(5) .q-avatar { background: linear-gradient(135deg, #FDA4AF, #F43F5E); color: #fff; border: 0; }

/* Audience pages enhancement (shared template inc/audience-page.php) */
.aud2-points .card { position: relative; overflow: hidden; }
.aud2-points .card::after { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), #FFC98C); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.aud2-points .card:hover::after { transform: scaleX(1); }
.aud2-points .card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(18,38,61,.14); }
.aud2-points .card .ghost { position: absolute; top: 14px; right: 20px; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; color: var(--sky-2); transition: color .28s ease; user-select: none; }
.aud2-points .card:hover .ghost { color: var(--orange); }
.aud2-points .card .icon { transition: transform .28s ease, background .28s ease, color .28s ease; }
.aud2-points .card:hover .icon { transform: rotate(-6deg) scale(1.06); background: var(--orange); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .aud2-points .card, .aud2-points .card .icon, .aud2-points .card::after { transition: none; }
}

/* Compact navy hero for the CN-label database page (owner wants the table high) */
.sp2-hero.db-hero { padding: 34px 0 30px; }

/* Ported tutorial pages (inc/tutorial-page.php) */
.tut-embed { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); background: #0F1B2A; }
.tut-video { position: relative; padding-top: 56.25%; }
.tut-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tut-doc iframe { display: block; width: 100%; height: 78vh; min-height: 480px; border: 0; background: #fff; }
.tut-dl { margin-top: 20px; text-align: center; }
.tut-dl .btn svg { vertical-align: -3px; }
.tut-back { margin-top: 26px; text-align: center; color: var(--muted); font-size: .94rem; }

/* Legal pages (inc/legal-page.php) — tame the imported builder markup */
.legal-content { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow-sm); overflow-wrap: break-word; }
.legal-content p, .legal-content li, .legal-content td { font-size: .96rem; line-height: 1.65; color: var(--ink); }
.legal-content table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .9rem; }
.legal-content td, .legal-content th { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-content img { max-width: 100%; height: auto; }
.legal-content a { color: var(--blue, #3C609E); }
.legal-content ul, .legal-content ol { padding-left: 1.3em; }

/* Contact page */
.ct-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: start; }
.ct-side .sp2-card h3 { margin-bottom: .35em; }
@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr; } }

/* Attendance-app hero: both buttons on one row (labels are long) */
.app2-actions { flex-wrap: nowrap; }
.app2-actions .btn-lg { padding: 15px 22px; font-size: 1.02rem; white-space: nowrap; }
@media (max-width: 700px) { .app2-actions { flex-wrap: wrap; } }


/* Attendance-app HERO echo backdrop (.app2-echo): sound wavefronts ripple out
   from the phone; faint sine traces flow across the whole navy background */
.app2-echo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.app2-echo .er { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.2; vector-effect: non-scaling-stroke;
  transform-box: fill-box; transform-origin: center; opacity: 0;
  animation: app2er 9s cubic-bezier(.22,.55,.45,.9) infinite; }
.app2-echo .er.warm { stroke: rgba(241,156,65,.55); }
@keyframes app2er {
  0% { transform: scale(.08); opacity: 0; }
  8% { opacity: .55; }
  60% { opacity: .18; }
  100% { transform: scale(6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .app2-echo .er { animation: none; opacity: .16; transform: scale(2.2); }
}

/* ---- Tutorial article (PDF ported to native text, e.g. /attendance-app-instructions/) ---- */
.tut-article h2 { font-size: 1.55rem; margin: 38px 0 6px; }
.tut-article h2:first-child { margin-top: 0; }
.tut-article h3 { font-size: 1.18rem; margin: 30px 0 4px; }
.tut-steps { padding-left: 24px; margin: 14px 0 0; display: grid; gap: 16px; }
.tut-steps li { padding-left: 6px; }
.tut-steps ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.tut-shot { display: block; max-width: 100%; height: auto; border: 1px solid var(--sky-2); border-radius: 10px; box-shadow: var(--shadow-sm); margin: 12px 0 2px; background: #fff; }
.tut-updated { margin-top: 30px; font-size: .88rem; color: var(--muted); }
.tut-tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--sky-2); border-radius: 14px; box-shadow: var(--shadow-sm); margin: 18px 0 6px; }
.tut-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tut-table caption { text-align: left; font-weight: 700; color: var(--navy-900); padding: 12px 14px 4px; font-size: .95rem; }
.tut-table th { background: var(--navy-900); color: #fff; text-align: left; padding: 10px 12px; font-weight: 600; }
.tut-table td { padding: 9px 12px; border-top: 1px solid var(--sky-2); vertical-align: top; }
.tut-table tbody tr:nth-child(even) { background: #F7FAFC; }
.tut-table tr.sec td { background: var(--orange-tint); font-weight: 700; color: var(--navy-900); }
.tut-table .y { color: #1E7C3C; font-weight: 700; }
.tut-table .n { color: #B9C6D2; }
.tut-table tr.blank td { height: 34px; }
.tut-matrix { min-width: 1120px; }
.tut-matrix th, .tut-matrix td { text-align: center; }
.tut-matrix th:nth-child(-n+4), .tut-matrix td:nth-child(-n+4) { text-align: left; }
.tut-matrix td:nth-child(-n+4) { font-size: .85rem; }
.tut-blankline { display: inline-block; min-width: 220px; border-bottom: 1.5px solid var(--slate); vertical-align: baseline; }
.tut-qa dt { font-weight: 700; color: var(--navy-900); margin-top: 16px; }
.tut-qa dd { margin: 4px 0 0; }
.tut-formgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 18px; }
.tut-formcard { background: #fff; border: 1px solid var(--sky-2); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.tut-formcard img { width: 100%; height: auto; border: 1px solid var(--sky-2); border-radius: 8px; }
.tut-formcard h3 { font-size: 1.05rem; margin: 0; }
.tut-formcard p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1; }
.tut-formcard .btn { align-self: flex-start; }
@media (max-width: 900px) { .tut-formgrid { grid-template-columns: 1fr; } }
.tut-article .hb-i0 { margin: 14px 0 0; }
.tut-article .hb-i1 { margin: 10px 0 0 24px; }
.tut-article .hb-i2 { margin: 8px 0 0 48px; }
.tut-article .hb-i3 { margin: 8px 0 0 72px; }
.tut-article .hb-i4 { margin: 8px 0 0 96px; }
.tut-article h2 { scroll-margin-top: 92px; }
.tut-article h3 { scroll-margin-top: 92px; }
.tut-toc { background: #fff; border: 1px solid var(--sky-2); border-radius: 14px; padding: 20px 26px; box-shadow: var(--shadow-sm); margin: 20px 0 34px; font-size: .93rem; }
.tut-toc strong { display: block; margin-bottom: 8px; color: var(--navy-900); }
.tut-toc ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 36px; }
.tut-toc li { padding: 3px 0; break-inside: avoid; }
@media (max-width: 700px) { .tut-toc ul { columns: 1; } }
/* ---- Handbook reading enhancements (.hb-article wraps .tut-article on handbook pages) ---- */
.hb-article h2 { margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--sky-2); font-size: 1.5rem; position: relative; }
.hb-article h2::before { content: ""; position: absolute; top: -1px; left: 0; width: 64px; height: 3px; background: var(--orange); border-radius: 2px; }
.hb-article h3 { margin: 40px 0 10px; color: var(--navy-900); }
.hb-article h4 { margin: 28px 0 8px; color: var(--brand-blue, #3C609E); font-size: 1.02rem; }
.hb-article .hb-i1, .hb-article .hb-i2, .hb-article .hb-i3, .hb-article .hb-i4 { padding-left: 1.5em; text-indent: -1.5em; }

.hb-article .tut-shot { margin: 18px 0 8px; }
.hb-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-900); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); border: 0; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease; }
.hb-top.show { opacity: 1; pointer-events: auto; transform: none; }
.hb-top:hover { background: var(--orange-600); }
.hb-top svg { width: 20px; height: 20px; }
.tut-table.cols-center th, .tut-table.cols-center td { text-align: center; }
.tut-table.cols-center th:first-child, .tut-table.cols-center td:first-child { text-align: left; }
/* ---- Handbook TOC "flight plan" card ---- */
.hb-toc { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-900) 0%, #1B3A5C 100%);
  border-radius: 18px; padding: 26px 30px 28px; margin: 20px 0 40px; box-shadow: var(--shadow-lg); }
.hb-toc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), #F7C98B); }
.hb-toc::after { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(60,96,158,.55), transparent 70%); pointer-events: none; }
.hb-toc-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--orange); font-size: .78rem;
  font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.hb-toc-eyebrow svg { width: 16px; height: 16px; }
.hb-toc ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; position: relative; }
.hb-toc li.wide { grid-column: 1 / -1; }
.hb-toc a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 10px; text-decoration: none;
  color: #DFE8F2; font-size: .87rem; font-weight: 600; letter-spacing: .02em;
  transition: background .18s ease, transform .18s ease, color .18s ease; }
.hb-toc li.wide a { font-size: .8rem; }
.hb-toc a:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateX(4px); }
.hb-toc .chip { flex: none; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center;
  justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  background: rgba(241,156,65,.16); color: var(--orange); border: 1px solid rgba(241,156,65,.4);
  transition: background .18s ease, color .18s ease; }
.hb-toc a:hover .chip { background: var(--orange); color: var(--navy-900); }
@media (max-width: 700px) { .hb-toc ul { grid-template-columns: 1fr; } }
.hb-article h2.hb-fin { text-align: center; }
.hb-article h2.hb-fin::before { left: 50%; transform: translateX(-50%); }
.hb-fin-sub { text-align: center; font-size: 1.06rem; color: var(--slate); margin: 12px 0 0; }

/* ---- Recipes gallery (/recipes/) ---- */
.rec2-tools { display:flex; align-items:center; gap:12px; max-width:520px; margin:0 auto 34px; position:relative; }
.rec2-tools svg { position:absolute; left:16px; width:18px; height:18px; color:var(--muted); pointer-events:none; }
.rec2-search { width:100%; padding:13px 16px 13px 44px; font:500 1rem var(--font-body); color:var(--navy-900);
  border:1.5px solid var(--sky-2); border-radius:999px; background:#fff; transition:border-color .18s, box-shadow .18s; }
.rec2-search:focus { outline:none; border-color:var(--brand-blue,#3C609E); box-shadow:0 0 0 4px rgba(60,96,158,.14); }
.rec2-wrap { display:grid; gap:38px; }
.rec2-group > h2 { display:flex; align-items:center; gap:13px; font-size:1.35rem; margin:0 0 18px; }
.rec2-group > h2 .ic { width:44px; height:44px; border-radius:13px; display:inline-flex; align-items:center; justify-content:center; font-size:1.4rem; flex:none; }
.rec2-count { font-family:var(--font-body); font-weight:600; font-size:.8rem; color:var(--muted); background:var(--bg); border:1px solid var(--sky-2); border-radius:999px; padding:2px 10px; }
.rec2-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(232px,1fr)); gap:16px; }
.rec2-card { display:flex; flex-direction:column; gap:14px; background:#fff; border:1px solid var(--sky-2); border-radius:16px;
  padding:20px; box-shadow:var(--shadow-sm); text-decoration:none; color:inherit; position:relative; overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.rec2-card::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background:var(--orange); transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.rec2-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--orange); }
.rec2-card:hover::before { transform:scaleX(1); }
.rec2-emoji { width:52px; height:52px; border-radius:14px; display:inline-flex; align-items:center; justify-content:center; font-size:1.7rem; flex:none; }
.rec2-name { font-family:var(--font-head); font-weight:700; color:var(--navy-900); font-size:1.02rem; line-height:1.25; flex:1; }
.rec2-meta { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto; }
.rec2-tag { font-size:.68rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:#1E7C3C; background:#E9F7EE; border-radius:6px; padding:3px 8px; }
.rec2-go { font-size:.84rem; font-weight:700; color:var(--orange-600); white-space:nowrap; transition:color .2s ease; }
.rec2-card:hover .rec2-go { color:var(--orange); }
.rec2-empty { text-align:center; color:var(--muted); padding:30px 0; display:none; }
.rec2-c-amber { background:#FDF1E1; } .rec2-c-blue { background:#E7EEFB; } .rec2-c-green { background:#E9F7EE; }
.rec2-c-rose { background:#FBE9EC; } .rec2-c-purple { background:#EFE9FB; }

/* ---- Image lightbox (.tut-shot screenshots) ---- */
.tut-shot { cursor: zoom-in; }
.imglb-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 17, 28, .9); animation: vlb-fade .18s ease-out; }
.imglb-img { max-width: min(1100px, 96vw); max-height: 92vh; width: auto; height: auto; border-radius: 10px; box-shadow: var(--shadow-lg); background: #fff; }
.imglb-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 50%; cursor: pointer; transition: background-color .15s; }
.imglb-close:hover { background: rgba(255,255,255,.3); }
.imglb-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ===== CN Label Request page (/cn-label-request/) ===== */
.rq-label-mock{display:flex; justify-content:center; margin-top:34px;}
.rq-label-card{position:relative; width:230px; height:96px; background:#fff; border-radius:14px;
  box-shadow:0 18px 44px rgba(4,16,34,.45), 0 0 0 1px rgba(255,255,255,.08); overflow:hidden;
  display:flex; align-items:center; gap:14px; padding:0 20px;
  animation:rq-float 5.2s ease-in-out infinite;}
.rq-cn-badge{flex:none; width:52px; height:52px; border-radius:10px; background:#218739; color:#fff;
  font:800 1.35rem/52px var(--font-head, Sora, sans-serif); text-align:center; letter-spacing:.02em;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.85), 0 4px 10px rgba(33,135,57,.35);}
.rq-label-lines{flex:1; display:flex; flex-direction:column; gap:9px;}
.rq-label-lines i{display:block; height:9px; border-radius:5px; background:#dbe3ee;}
.rq-label-lines i:nth-child(1){width:92%;}
.rq-label-lines i:nth-child(2){width:70%;}
.rq-label-lines i:nth-child(3){width:82%; background:#f6d9b3;}
.rq-scan{position:absolute; top:-20%; bottom:-20%; width:34px; left:-60px;
  background:linear-gradient(105deg, transparent, rgba(241,156,65,.4), transparent);
  transform:rotate(12deg); animation:rq-scan 3s ease-in-out infinite;}
@keyframes rq-float{0%,100%{transform:translateY(0) rotate(-1.2deg);} 50%{transform:translateY(-9px) rotate(1.2deg);}}
@keyframes rq-scan{0%,18%{left:-60px;} 55%,100%{left:calc(100% + 30px);}}

.rq-steps{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
.rq-step{background:#fff; border:1px solid var(--line, #e3e9f2); border-radius:14px; padding:18px 18px 16px;
  display:flex; flex-direction:column; gap:2px; position:relative;
  box-shadow:0 6px 18px rgba(18,38,61,.06);
  opacity:0; transform:translateY(18px) scale(.96);
  transition:opacity .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1);}
.rq-step.in{opacity:1; transform:none;}
.rq-step strong{font-family:var(--font-head, Sora, sans-serif); color:var(--navy-800, #12263D); font-size:1.02rem;}
.rq-step > span:last-child{color:var(--muted, #5B6B80); font-size:.92rem;}
.rq-step-num{position:absolute; top:14px; right:16px; font:800 1.9rem/1 var(--font-head, Sora, sans-serif);
  color:#EEF3FA; -webkit-text-stroke:1.5px #F19C41;}

.rq-sect{font-family:var(--font-head, Sora, sans-serif); color:var(--navy-800, #12263D);
  font-size:1.02rem; margin:26px 0 12px; padding-top:18px; border-top:1px solid var(--line, #e3e9f2);}
form .rq-sect:first-of-type{border-top:0; padding-top:0; margin-top:10px;}

.rq-drops{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:22px;}
.rq-drop{position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:6px; min-height:150px; padding:16px 12px; text-align:center; cursor:pointer;
  border:2px dashed #C6D2E2; border-radius:14px; background:#F7FAFD; overflow:hidden;
  transition:border-color .25s, background .25s, transform .25s, box-shadow .25s;}
.rq-drop:hover, .rq-drop.drag{border-color:#F19C41; background:#FFF9F1; transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(241,156,65,.18);}
.rq-drop input[type=file]{position:absolute; inset:0; opacity:0; cursor:pointer;}
.rq-drop-art{width:44px; height:44px; border-radius:12px; background:#EAF1F9; color:#3C609E;
  display:flex; align-items:center; justify-content:center; transition:background .25s, color .25s, transform .25s;}
.rq-drop-art svg{width:24px; height:24px;}
.rq-drop:hover .rq-drop-art{background:#F19C41; color:#fff; transform:scale(1.08) rotate(-3deg);}
.rq-drop-label{font-weight:700; color:var(--navy-800, #12263D); font-size:.92rem; line-height:1.3;}
.rq-drop-state{color:var(--muted, #5B6B80); font-size:.82rem;}
.rq-drop-preview{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.28;}
.rq-drop-check{position:absolute; top:10px; right:10px; width:26px; height:26px; border-radius:50%;
  background:#218739; color:#fff; display:flex; align-items:center; justify-content:center;
  opacity:0; transform:scale(.4); transition:opacity .3s, transform .3s cubic-bezier(.34,1.56,.64,1);}
.rq-drop-check svg{width:14px; height:14px;}
.rq-drop.filled{border-style:solid; border-color:#218739; background:#F4FBF6;}
.rq-drop.filled .rq-drop-check{opacity:1; transform:scale(1);}
.rq-drop.filled .rq-drop-art{display:none;}
.rq-drop.filled .rq-drop-label, .rq-drop.filled .rq-drop-state{position:relative; z-index:1;
  background:rgba(255,255,255,.88); border-radius:6px; padding:1px 8px;}
.rq-drop .su-error{position:relative; z-index:1;}

.rq-submit{position:relative; overflow:hidden;}
.rq-submit::after{content:""; position:absolute; top:-40%; bottom:-40%; width:44px; left:-80px;
  background:linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent);
  transform:rotate(12deg); animation:rq-scan 3.6s ease-in-out infinite;}
.rq-checklist li{font-size:.95rem;}

@media (max-width:760px){
  .rq-steps{grid-template-columns:1fr;}
  .rq-drops{grid-template-columns:1fr;}
  .rq-label-card{width:200px; height:86px;}
}
@media (prefers-reduced-motion:reduce){
  .rq-label-card, .rq-scan, .rq-submit::after{animation:none;}
  .rq-scan{display:none;}
  .rq-step{opacity:1; transform:none; transition:none;}
}
/* ===== end CN Label Request page ===== */

/* Lightbox variant for self-hosted videos: frame hugs the video's own aspect
   ratio (the attendance demo is portrait 360x640) instead of forcing 16:9. */
.vlb-frame.vlb-hug { width: auto; aspect-ratio: auto; }
.vlb-frame.vlb-hug video { width: auto; height: auto; max-width: 94vw; max-height: 82vh; }

/* Mobile: .app2-voice wraps to two rows (mic+eq+phrase / recorded pill) —
   center both rows inside the pill instead of packing them left. */
@media (max-width: 767px) {
  .app2-voice { justify-content: center; text-align: center; }
}
