/* =========================================================================
   ChamPrep CLI — landing page styles
   Brand: #4285f4 primary, #1a73e8 hover, #12155e deep purple.
   Dark / light via @media (prefers-color-scheme) + [data-theme] override.
   Zero external fonts. Zero trackers.
   ========================================================================= */

:root {
  --brand: #4285f4;
  --brand-hover: #1a73e8;
  --brand-deep: #12155e;
  --brand-accent: #6ea8fe;

  --gradient: linear-gradient(135deg, #4285f4 0%, #12155e 100%);
  --gradient-soft: linear-gradient(135deg, rgba(66,133,244,0.10) 0%, rgba(18,21,94,0.06) 100%);

  --bg: #fbfbfb;
  --surface: #ffffff;
  --surface-alt: #f4f6fb;
  --border: #e5e7eb;
  --text: #0f172a;
  --text-sec: #475569;
  --text-ter: #94a3b8;

  --term-bg: #0f1014;
  --term-border: #1e1f26;
  --term-prompt: #7f8493;
  --term-cmd: #ffffff;
  --term-out: #c8ccd6;
  --term-ok: #4ade80;

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04), 0 1px 3px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.06), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-lg: 0 20px 60px rgba(18,21,94,0.15), 0 8px 20px rgba(15,23,42,0.08);

  --radius: 10px;
  --radius-lg: 14px;
  --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Cascadia Mono', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1014;
    --surface: #161821;
    --surface-alt: #1c1f2a;
    --border: #262a37;
    --text: #e6e8ef;
    --text-sec: #a4a9b8;
    --text-ter: #6b7184;

    --gradient-soft: linear-gradient(135deg, rgba(110,168,254,0.10) 0%, rgba(110,168,254,0.03) 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.35);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.55), 0 2px 4px rgba(0,0,0,0.35);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.75), 0 8px 20px rgba(0,0,0,0.45);
  }
}

/* Manual theme override */
html[data-theme='light'] {
  --bg: #fbfbfb;
  --surface: #ffffff;
  --surface-alt: #f4f6fb;
  --border: #e5e7eb;
  --text: #0f172a;
  --text-sec: #475569;
  --text-ter: #94a3b8;
  --gradient-soft: linear-gradient(135deg, rgba(66,133,244,0.10) 0%, rgba(18,21,94,0.06) 100%);
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04), 0 1px 3px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.06), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-lg: 0 20px 60px rgba(18,21,94,0.15), 0 8px 20px rgba(15,23,42,0.08);
}
html[data-theme='dark'] {
  --bg: #0f1014;
  --surface: #161821;
  --surface-alt: #1c1f2a;
  --border: #262a37;
  --text: #e6e8ef;
  --text-sec: #a4a9b8;
  --text-ter: #6b7184;
  --gradient-soft: linear-gradient(135deg, rgba(110,168,254,0.10) 0%, rgba(110,168,254,0.03) 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.35);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.55), 0 2px 4px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.75), 0 8px 20px rgba(0,0,0,0.45);
}

/* Reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 700; line-height: 1.2; }
p  { margin: 0; color: var(--text-sec); }
a  { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
code { font-family: var(--font-mono); font-size: 0.93em; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted      { color: var(--text-ter); }
.small      { font-size: 13px; }
.center     { text-align: center; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1;
  font-family: inherit;
  text-decoration: none;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 10px;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(66,133,244,0.3);
}
.btn-primary:hover {
  background: var(--brand-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(66,133,244,0.38);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--brand);
  color: var(--brand);
}

/* ============================================================= */
/* Header — mirrors the ChamPrep platform brand pattern (see      */
/* champrep-llc-website/src/app/_partials/header)                 */
/* ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  text-decoration: none;
}
.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.brand-logo-dark { display: none; }
html[data-theme="dark"] .brand-logo-light { display: none; }
html[data-theme="dark"] .brand-logo-dark  { display: block; }
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .brand-logo-light { display: none; }
  html[data-theme="auto"] .brand-logo-dark  { display: block; }
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 4px;
  color: #ffffff;
  background: var(--brand);
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  color: var(--text-sec);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--brand); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-actions .btn {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--surface-alt);
  color: var(--brand);
}
/* Theme toggle — 3-state icon swap: auto=system, light=sun, dark=moon */
#theme-toggle .icon-system,
#theme-toggle .icon-sun,
#theme-toggle .icon-moon { display: none; }
html[data-theme="auto"]  #theme-toggle .icon-system { display: block; }
html[data-theme="light"] #theme-toggle .icon-sun    { display: block; }
html[data-theme="dark"]  #theme-toggle .icon-moon   { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) #theme-toggle .icon-system { display: block; }
}
@media (prefers-color-scheme: light) {
  html:not([data-theme]) #theme-toggle .icon-system { display: block; }
}

/* Service picker dropdown */
.service-picker-wrap { position: relative; }
.sp-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  overflow: hidden;
}
.sp-header {
  padding: 14px 16px 10px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-sec);
  border-bottom: 1px solid var(--border);
}
.sp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 12px;
}
.sp-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 12px;
  transition: background 0.15s;
}
.sp-tile:hover { background: var(--surface-alt); }
.sp-tile.sp-current { background: var(--gradient-soft); outline: 2px solid var(--brand); }
.sp-icon-img { border-radius: 10px; }
.sp-icon-img-dark { display: none; }
html[data-theme="dark"] .sp-icon-img-light { display: none; }
html[data-theme="dark"] .sp-icon-img-dark { display: block; }
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .sp-icon-img-light { display: none; }
  html[data-theme="auto"] .sp-icon-img-dark { display: block; }
}
.sp-label { font-weight: 500; }
.sp-footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
.sp-footer a {
  color: var(--brand);
  text-decoration: none;
}
.sp-footer a:hover { text-decoration: underline; }

/* Theme dropdown — matches the main website's theme-toggle component */
.theme-toggle-wrap { position: relative; }
.theme-dropdown {
  position: absolute;
  right: -10px;
  top: calc(100% + 8px);
  min-width: 220px;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
  border: 1px solid var(--border);
  z-index: 1000;
}
.theme-dropdown-pointer {
  position: absolute;
  top: -8px;
  right: 18px;
  width: 16px;
  height: 16px;
  background: var(--surface);
  transform: rotate(45deg);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.theme-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-sec);
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}
.theme-dropdown-item:hover { background: var(--surface-alt); color: var(--text); transform: translateX(2px); }
.theme-dropdown-item.active { color: var(--brand); font-weight: 600; }
.td-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  flex-shrink: 0;
}
.theme-dropdown-item.active .td-icon { background: rgba(66, 133, 244, 0.12); }
.td-info { display: flex; flex-direction: column; }
.td-name { font-weight: 600; font-size: 13px; }
.td-desc { font-size: 11px; color: var(--text-ter); margin-top: 1px; }

/* Command card mini-copy buttons and example blocks */
.cmd-examples { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.cmd-example {
  position: relative;
  display: flex;
  align-items: flex-start;
}
.cmd-example pre {
  flex: 1;
  margin: 0;
  padding: 8px 12px;
  background: var(--term-bg);
  border-radius: 6px;
  overflow-x: auto;
  font-size: 12px;
}
.cmd-example code { color: var(--term-cmd); font-family: var(--font-mono); }
.mini-copy {
  position: absolute;
  right: 6px;
  top: 6px;
  padding: 2px 8px;
  font-size: 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  color: var(--text-ter);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s;
}
.cmd-example:hover .mini-copy { opacity: 1; }
.mini-copy:hover { background: rgba(255,255,255,0.2); color: #fff; }
.mini-copy.copied { background: var(--brand); color: #fff; border-color: var(--brand); opacity: 1; }

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }

/* Hero */
.hero {
  padding: 72px 0 60px;
  background:
    radial-gradient(ellipse at top left, rgba(66,133,244,0.14) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(18,21,94,0.09) 0%, transparent 55%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-size: 56px;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-sec);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-meta {
  font-size: 13px;
  color: var(--text-ter);
}

/* Terminal pane */
.term-window {
  background: var(--term-bg);
  border: 1px solid var(--term-border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.term-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #17191f;
  border-bottom: 1px solid #262833;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red    { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #27c93f; }
.term-title {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #6b7184;
  letter-spacing: 0.2px;
}
.term-body {
  margin: 0;
  padding: 22px 22px 26px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--term-out);
  overflow-x: auto;
  white-space: pre;
}
.term-body .prompt { color: var(--term-prompt); user-select: none; }
.term-body .cmd    { color: var(--term-cmd); }
.term-body .out    { color: var(--term-out); }
.term-body .ok     { color: var(--term-ok); }
.term-body .caret {
  display: inline-block;
  color: var(--term-cmd);
  animation: blink 1s steps(2, start) infinite;
  margin-left: 2px;
}
@keyframes blink { to { visibility: hidden; } }

/* Sections */
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: 36px;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.section-lead {
  font-size: 17px;
  color: var(--text-sec);
  margin-bottom: 36px;
  max-width: 680px;
}

/* Install tabs */
.install-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.tab {
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-sec);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.tab:hover { color: var(--brand); border-color: var(--brand); }
.tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(66,133,244,0.25);
}

/* Code blocks */
.code-block {
  position: relative;
  background: var(--term-bg);
  border: 1px solid var(--term-border);
  border-radius: var(--radius);
  padding: 18px 22px 20px;
  margin-bottom: 10px;
  overflow: hidden;
}
.code-block.hidden { display: none; }
.code-label {
  font-size: 12px;
  color: #6b7184;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.code-block pre {
  margin: 0;
  padding: 0;
  color: #e6e8ef;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}
.copy-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #c8ccd6;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}
.copy-btn:hover {
  background: rgba(66,133,244,0.2);
  border-color: var(--brand);
  color: #fff;
}
.copy-btn.copied {
  background: rgba(74,222,128,0.2);
  border-color: #4ade80;
  color: #4ade80;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.step:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(66,133,244,0.35);
}
.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.step p {
  font-size: 14.5px;
}
.step code {
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--brand);
  font-size: 12.5px;
}

/* Command cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.cmd-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.cmd-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cmd-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--brand);
}
.cmd-card pre {
  background: var(--term-bg);
  color: #e6e8ef;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  overflow-x: auto;
  margin: 0 0 12px;
}
.cmd-card pre .p { color: #7f8493; }
.cmd-card p {
  font-size: 13.5px;
  flex: 1;
  margin-bottom: 12px;
}
.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
.chip {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gradient-soft);
  color: var(--brand);
  border: 1px solid rgba(66,133,244,0.25);
  margin-left: 6px;
  vertical-align: middle;
}

/* Security */
.security-wrap {
  max-width: 760px;
}
.sec-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.sec-list li {
  padding: 12px 0 12px 28px;
  color: var(--text-sec);
  position: relative;
  border-bottom: 1px solid var(--border);
}
.sec-list li:last-child { border-bottom: none; }
.sec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 3px rgba(66,133,244,0.18);
}
.sec-list strong { color: var(--text); }
.sec-list code {
  background: var(--surface-alt);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--brand);
  font-size: 12px;
}

/* ============================================================= */
/* Footer — mirrors champrep-llc-website/_partials/footer.        */
/* Dark navy background (#23205a) with white text, 4-column grid  */
/* plus a separate copyright strip at the bottom.                 */
/* ============================================================= */
.site-footer {
  background: #23205a;   /* canonical ChamPrep footer navy */
  color: #ffffff;
  margin-top: 40px;
}
.footer-top {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 64px;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo {
  height: 48px;
  width: auto;
  display: block;
}
.footer-description {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
  max-width: 34rem;
  margin: 0;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: background 0.15s ease, transform 0.15s ease;
}
.social-links a:hover {
  background: var(--brand);
  transform: translateY(-2px);
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0 0 16px 0;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: #ffffff;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.footer-contact svg {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
}
.footer-bottom {
  background: #1a1745;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}
.footer-meta a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.footer-meta a:hover { color: #ffffff; text-decoration: underline; }
.footer-dot {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 6px;
}
.footer-version {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono, ui-monospace, Menlo, monospace);
  font-size: 12px;
}
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-top         { grid-template-columns: 1fr; gap: 40px; }
  .footer-links-grid  { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 960px) {
  .hero-inner         { grid-template-columns: 1fr; gap: 40px; }
  .hero-title         { font-size: 44px; }
  .steps, .card-grid  { grid-template-columns: 1fr 1fr; }
  .site-nav           { display: none; }   /* collapse nav on tablet/mobile */
  .header-inner       { justify-content: space-between; }
}
@media (max-width: 768px) {
  .section            { padding: 64px 0; }
  .hero               { padding: 48px 0; }
  .hero-title         { font-size: 36px; }
  .hero-sub           { font-size: 16px; }
  .section-title      { font-size: 28px; }
  .steps, .card-grid  { grid-template-columns: 1fr; }
  .footer-links-grid  { grid-template-columns: 1fr; }
  .footer-top         { padding: 48px 0 32px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-meta        { line-height: 2; }
  .header-actions .btn-ghost { display: none; }  /* hide Sign in on mobile, keep Sign up */
  .brand-badge        { display: none; }
  .term-body          { font-size: 12px; padding: 18px; }
  .term-title         { display: none; }
}
@media (max-width: 480px) {
  .header-inner       { height: 60px; gap: 10px; }
  .brand-logo         { height: 30px; }
  .header-actions     { gap: 6px; }
  .icon-btn           { width: 34px; height: 34px; }
  .sp-panel           { width: 280px; right: -40px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .caret  { animation: none; }
  .btn:hover, .step:hover, .cmd-card:hover { transform: none; }
}
