/* ============================================
   Sean Hakes — v11.0
   Dark palette matching ClaudeBootcamp.ai
   ============================================ */

:root {
  --bg:             #15100C;
  --bg-2:           #1C1612;
  --bg-3:           #241D18;
  --bg-4:           #2E251F;
  --ink:            #F5EFE7;
  --ink-2:          #C9C0B4;
  --ink-3:          #8C8378;
  --ink-4:          #5A534B;
  --line:           rgba(245, 239, 231, 0.08);
  --line-strong:    rgba(245, 239, 231, 0.16);
  --rust:           #C15F3C;
  --orange:         #D97757;
  --orange-soft:    #E8A48A;
  --orange-wash:    rgba(217, 119, 87, 0.12);
  --orange-glow:    rgba(217, 119, 87, 0.35);
  --sand:           #B8A99A;

  --font-sans:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif:     'Instrument Serif', 'Tiempos', Georgia, serif;
  --font-display:   'Fraunces', 'Instrument Serif', Georgia, serif;

  --ease:           cubic-bezier(0.16, 1, 0.3, 1);
  --radius:         14px;
  --radius-sm:      10px;
  --radius-lg:      22px;
  --maxw:           1200px;
}

* , *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtle grid background like bootcamp site */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 239, 231, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 231, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

::selection { background: var(--orange); color: var(--bg); }

a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-soft); }
img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(44px, 6.6vw, 92px); font-weight: 600; }
h2 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 600; }
h3 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; font-family: var(--font-sans); color: var(--ink); }

.hl { color: var(--orange); }
em.serif { font-family: var(--font-serif); font-style: italic; color: var(--orange); font-weight: 400; }

p { font-size: 17px; color: var(--ink-2); }
p + p { margin-top: 14px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ============================================
   Reveal animation
   ============================================ */
.r { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.r.show { opacity: 1; transform: translateY(0); }
.r.d1 { transition-delay: .08s; }
.r.d2 { transition-delay: .16s; }
.r.d3 { transition-delay: .24s; }
.r.d4 { transition-delay: .32s; }
.r.d5 { transition-delay: .40s; }

/* ============================================
   Top utility bar + custom language switch
   ============================================ */
.util-bar {
  position: relative; z-index: 60;
  background: #0A0705;
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.util-bar .wrap {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 16px;
  min-height: 40px;
}

/* EN/ES slide toggle */
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  padding: 3px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
}
.lang-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.lang-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  background: var(--orange);
  border-radius: 999px;
  transition: transform .32s var(--ease);
  z-index: 0;
  box-shadow: 0 2px 8px -2px var(--orange-glow);
}
.lang-toggle[aria-checked="true"] .lang-thumb { transform: translateX(100%); }
.lang-opt {
  position: relative; z-index: 1;
  background: transparent; border: 0; cursor: pointer;
  padding: 5px 16px;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  transition: color .3s;
  min-width: 40px;
  text-align: center;
}
.lang-opt.active { color: #1A1208; }

/* Hide Google Translate's native chrome completely */
.goog-logo-link,
.goog-te-gadget-icon,
.goog-te-gadget img,
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; position: static !important; }
.skiptranslate iframe { display: none !important; }
.goog-te-gadget { font-size: 0 !important; color: transparent !important; }
.goog-te-gadget * { display: none !important; }
.goog-te-gadget .goog-te-combo { display: inline-block !important; visibility: hidden !important; }
font.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 16px 0;
  background: rgba(21, 16, 12, 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(21, 16, 12, 0.94);
}
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; }

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-dot {
  width: 12px; height: 12px;
  background: var(--orange);
  transform: rotate(45deg);
  display: inline-block;
}
.logo em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--orange);
  font-weight: 400;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--orange); border-radius: 2px;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all .25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: #1A1208;
}
.btn-primary:hover {
  background: var(--orange-soft);
  color: #1A1208;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px var(--orange-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.btn-solid {
  background: var(--ink);
  color: var(--bg);
}
.btn-solid:hover { background: var(--orange); color: var(--bg); }
.btn-arrow::after {
  content: '→'; transition: transform .25s var(--ease);
}
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(4px); }

.mob-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; font-size: 22px; }
.mob-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 90;
  padding: 96px 32px 32px;
}
.mob-menu.open { display: flex; flex-direction: column; gap: 24px; }
.mob-menu a { font-family: var(--font-display); font-size: 32px; color: var(--ink); font-weight: 600; }
.mob-menu a:hover { color: var(--orange); }
.mob-close { position: absolute; top: 20px; right: 24px; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--ink); }

/* ============================================
   Sections
   ============================================ */
main { position: relative; z-index: 1; }
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }
.section-tint { background: var(--bg-2); }

.pill-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--orange-wash);
  border: 1px solid rgba(217, 119, 87, 0.25);
  color: var(--orange-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.pill-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 8px var(--orange);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--orange);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 120px 0 100px;
  position: relative;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 119, 87, 0.12), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(193, 95, 60, 0.06), transparent 50%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  max-width: 20ch;
  margin: 0 auto 32px;
}
.hero-sub {
  max-width: 58ch;
  margin: 0 auto 44px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 48px;
  margin-top: 100px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  justify-content: center;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 6px; min-width: 130px; text-align: center; }
.hero-meta-num { font-family: var(--font-display); font-size: 38px; font-weight: 600; color: var(--orange); letter-spacing: -0.02em; line-height: 1; }
.hero-meta-label { font-size: 12px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================================
   Section heading
   ============================================ */
.s-head { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.s-head.left { margin: 0 0 60px; text-align: left; }
.s-head p { margin-top: 18px; font-size: 19px; color: var(--ink-3); }

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

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.card:hover {
  border-color: rgba(217, 119, 87, 0.35);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.card-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--orange-wash);
  color: var(--orange);
  display: grid; place-items: center;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  border: 1px solid rgba(217, 119, 87, 0.2);
}
.card h3 { margin-bottom: 12px; color: var(--ink); }
.card p { font-size: 16px; line-height: 1.65; color: var(--ink-3); }

/* ============================================
   About split
   ============================================ */
.about-split { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.about-portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-3);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.about-portrait img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transition: transform .8s var(--ease);
}
.about-portrait:hover img { transform: scale(1.03); }
.about-portrait::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(193, 95, 60, 0.22));
  pointer-events: none; z-index: 2;
}
.about-portrait::after {
  content: ''; position: absolute; inset: -1px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); z-index: 3; pointer-events: none;
}

.about-text p { font-size: 17px; line-height: 1.75; }
.about-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 8px;
}
.about-role {
  font-size: 14px; color: var(--orange);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 24px;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}

/* ============================================
   Curriculum list
   ============================================ */
.curr {
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.curr-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  padding: 32px 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
  transition: padding .25s var(--ease), background .25s;
}
.curr-row:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, var(--orange-wash), transparent 80%);
}
.curr-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--orange);
  font-weight: 600;
  line-height: 1;
}
.curr-body h3 { margin-bottom: 8px; color: var(--ink); }
.curr-body p { font-size: 16px; color: var(--ink-3); max-width: 62ch; }
.curr-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  align-self: start;
  background: var(--bg-3);
}

/* ============================================
   Feature panel
   ============================================ */
.feature-panel {
  background: linear-gradient(140deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 72px;
  position: relative;
  overflow: hidden;
}
.feature-panel h2 { max-width: 20ch; }
.feature-panel p { color: var(--ink-2); max-width: 54ch; font-size: 18px; margin-top: 20px; }
.feature-panel .btn-primary { margin-top: 36px; }
.feature-panel::after {
  content: ''; position: absolute; right: -100px; bottom: -100px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow), transparent 65%);
  pointer-events: none;
}

/* ============================================
   Quote
   ============================================ */
.quote {
  padding: 100px 0;
  text-align: center;
}
.quote p {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.18;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 auto;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.quote p em { font-family: var(--font-serif); font-style: italic; color: var(--orange); font-weight: 400; }

/* ============================================
   Form
   ============================================ */
.form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.field input, .field select, .field textarea {
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-3);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--orange);
  background: var(--bg-3);
  box-shadow: 0 0 0 3px var(--orange-wash);
}
.field textarea { resize: vertical; min-height: 140px; }
.form .btn { width: 100%; justify-content: center; margin-top: 10px; }
.form .note { font-size: 13px; color: var(--ink-3); margin-top: 14px; text-align: center; }

.form-success {
  background: var(--orange-wash);
  border: 1px solid rgba(217, 119, 87, 0.4);
  color: var(--orange-soft);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-weight: 500;
}
.form-error {
  background: rgba(220, 80, 80, 0.1);
  border: 1px solid rgba(220, 80, 80, 0.3);
  color: #e88a8a;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

/* ============================================
   CTA band
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, #7A2F18 0%, var(--rust) 55%, var(--orange) 100%);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px var(--orange-glow);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.12), transparent 50%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #1A1208; max-width: 22ch; margin: 0 auto 20px; }
.cta-band p { color: rgba(26, 18, 8, 0.85); max-width: 50ch; margin: 0 auto 32px; font-size: 18px; }
.cta-band .btn-primary { background: #1A1208; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--ink); color: #1A1208; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #0A0705;
  color: var(--ink-3);
  padding: 80px 0 36px;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo { color: var(--ink); font-size: 26px; }
.footer-brand p { margin-top: 14px; max-width: 40ch; font-size: 15px; color: var(--ink-3); }
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--ink-3);
  font-size: 15px;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: var(--ink-4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--ink-3); }
.footer-bottom a:hover { color: var(--orange); }

/* ============================================
   Page hero (small inner pages)
   ============================================ */
.page-hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at top left, rgba(217, 119, 87, 0.14), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(193, 95, 60, 0.08), transparent 60%);
}
.page-hero .wrap { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 76px); max-width: 20ch; margin: 0 auto 24px; }
.page-hero p { font-size: 19px; max-width: 62ch; margin: 0 auto; color: var(--ink-2); }

/* ============================================
   Pricing
   ============================================ */
.price-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
}
.price-card.featured {
  background: linear-gradient(155deg, var(--bg-3), var(--bg-2));
  border-color: var(--orange);
  box-shadow: 0 20px 60px -20px var(--orange-glow);
}
.price-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--orange); color: #1A1208;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.price {
  font-family: var(--font-display); font-size: 56px; color: var(--ink);
  font-weight: 600; letter-spacing: -0.03em; margin: 18px 0 6px;
}
.price .unit { font-size: 18px; color: var(--ink-3); font-weight: 400; }
.price-sub { font-size: 14px; color: var(--ink-3); margin-bottom: 28px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0 32px; }
.price-list li {
  padding-left: 28px; position: relative;
  font-size: 15px; line-height: 1.5;
  color: var(--ink-2);
}
.price-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--orange); font-weight: 700;
}

/* ============================================
   Rich text (legal pages)
   ============================================ */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { margin-top: 48px; margin-bottom: 16px; font-size: 28px; }
.legal h3 { margin-top: 32px; margin-bottom: 12px; font-size: 20px; color: var(--ink); }
.legal p { margin-bottom: 14px; line-height: 1.75; font-size: 16px; }
.legal ul { padding-left: 24px; margin-bottom: 18px; }
.legal li { margin-bottom: 8px; line-height: 1.7; font-size: 16px; color: var(--ink-2); }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.legal .updated { font-size: 14px; color: var(--ink-3); margin-bottom: 32px; }

/* ============================================
   Custom Accessibility Widget — FAB + Panel
   ============================================ */
.a11y-fab {
  position: fixed;
  left: 18px;
  bottom: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: #1A1208;
  border: 0;
  cursor: pointer;
  z-index: 85;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px -6px rgba(0,0,0,0.55), 0 0 0 3px rgba(21,16,12,0.6);
  transition: transform .2s var(--ease), background .2s;
}
.a11y-fab:hover { background: var(--orange-soft); transform: translateY(-2px); }
.a11y-fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.a11y-panel {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 95;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.a11y-panel.open { opacity: 1; }
.a11y-panel[hidden] { display: none; }

.a11y-panel::before {
  /* click-through backdrop region */
  content: '';
  position: absolute; inset: 0;
}

.a11y-panel-head,
.a11y-panel-body { position: relative; z-index: 2; }

.a11y-panel-head,
.a11y-panel-body,
.a11y-panel > .a11y-panel-head,
.a11y-panel > .a11y-panel-body {
  /* shared container */
}

.a11y-panel > * {
  position: relative; z-index: 2;
}

/* Inner card */
.a11y-panel .a11y-panel-head,
.a11y-panel .a11y-panel-body {
  max-width: 380px;
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
}
.a11y-panel .a11y-panel-head {
  border-radius: 18px 18px 0 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  transform: translateY(12px);
  transition: transform .28s var(--ease);
}
.a11y-panel .a11y-panel-body {
  border-radius: 0 0 18px 18px;
  padding: 18px 22px 22px;
  max-height: 78vh;
  overflow-y: auto;
  border-top: 0;
  transform: translateY(12px);
  transition: transform .28s var(--ease);
}
.a11y-panel.open .a11y-panel-head,
.a11y-panel.open .a11y-panel-body { transform: translateY(0); }

.a11y-panel h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin: 0;
}
.a11y-close {
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink-2);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: grid; place-items: center;
  transition: color .2s, border-color .2s;
}
.a11y-close:hover { color: var(--ink); border-color: var(--orange); }

.a11y-group { margin-bottom: 18px; }
.a11y-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.a11y-steppers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
}
.a11y-step {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  width: 40px; height: 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s;
}
.a11y-step:hover { background: var(--bg-4); }
.a11y-step-value {
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  min-width: 52px;
  text-align: center;
}

.a11y-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
}
.a11y-seg-opt {
  background: transparent;
  border: 0;
  color: var(--ink-3);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 13px;
  transition: color .2s, background .2s;
}
.a11y-seg-opt:hover { color: var(--ink); }
.a11y-seg-opt.active {
  background: var(--orange);
  color: #1A1208;
}

.a11y-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  cursor: pointer;
  border-top: 1px solid var(--line);
}
.a11y-toggle:first-of-type { border-top: 0; }
.a11y-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.a11y-toggle-sw {
  position: relative;
  width: 40px; height: 22px;
  background: var(--bg-4);
  border-radius: 999px;
  flex-shrink: 0;
  transition: background .2s;
}
.a11y-toggle-sw::before {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: var(--ink-3);
  border-radius: 50%;
  transition: transform .2s var(--ease), background .2s;
}
.a11y-toggle input:checked + .a11y-toggle-sw {
  background: var(--orange);
}
.a11y-toggle input:checked + .a11y-toggle-sw::before {
  transform: translateX(18px);
  background: #1A1208;
}
.a11y-toggle input:focus-visible + .a11y-toggle-sw {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.a11y-toggle-label {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.a11y-panel-foot {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.a11y-reset {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 11px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.a11y-reset:hover { border-color: var(--orange); background: var(--bg-4); }
.a11y-foot-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
}
.a11y-foot-note a { color: var(--orange); }

/* ============================================
   Accessibility feature classes (applied to html)
   ============================================ */

/* Text size — CSS var multiplier on root font-size */
html { font-size: calc(17px * var(--a11y-scale, 1)); }

/* High contrast mode */
html.a11y-contrast-high {
  --bg: #000000;
  --bg-2: #0A0A0A;
  --bg-3: #141414;
  --bg-4: #1E1E1E;
  --ink: #FFFFFF;
  --ink-2: #FFFFFF;
  --ink-3: #E0E0E0;
  --line: rgba(255,255,255,0.4);
  --line-strong: rgba(255,255,255,0.6);
  --orange: #FFB380;
}
html.a11y-contrast-high body::before { display: none; }
html.a11y-contrast-high * {
  text-shadow: none !important;
}
html.a11y-contrast-high .card,
html.a11y-contrast-high .form,
html.a11y-contrast-high .price-card {
  border-width: 2px !important;
}

/* Inverted colors */
html.a11y-contrast-invert {
  filter: invert(1) hue-rotate(180deg);
  background: #000;
}
html.a11y-contrast-invert img,
html.a11y-contrast-invert svg,
html.a11y-contrast-invert video,
html.a11y-contrast-invert iframe,
html.a11y-contrast-invert .a11y-fab,
html.a11y-contrast-invert .a11y-panel {
  filter: invert(1) hue-rotate(180deg);
}

/* Grayscale */
html.a11y-grayscale body { filter: grayscale(100%); }

/* Underline links */
html.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: 3px; }

/* Highlight focus — thicker, high contrast outline everywhere */
html.a11y-highlight-focus *:focus,
html.a11y-highlight-focus *:focus-visible {
  outline: 4px solid #FFEB3B !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.8) !important;
}

/* Pause motion */
html.a11y-pause-motion *,
html.a11y-pause-motion *::before,
html.a11y-pause-motion *::after {
  animation-duration: 0.001s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001s !important;
  scroll-behavior: auto !important;
}
html.a11y-pause-motion .r { opacity: 1 !important; transform: none !important; }

/* Readable font — override all text to a clearer sans-serif */
html.a11y-readable-font,
html.a11y-readable-font body,
html.a11y-readable-font h1,
html.a11y-readable-font h2,
html.a11y-readable-font h3,
html.a11y-readable-font h4,
html.a11y-readable-font p,
html.a11y-readable-font a,
html.a11y-readable-font li,
html.a11y-readable-font span,
html.a11y-readable-font button,
html.a11y-readable-font input,
html.a11y-readable-font textarea {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif !important;
  font-style: normal !important;
  letter-spacing: 0.01em !important;
}

/* Large cursor */
html.a11y-large-cursor,
html.a11y-large-cursor * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><path d='M6 4 L6 32 L14 24 L18 34 L24 32 L20 22 L32 22 Z' fill='%23ffffff' stroke='%23000000' stroke-width='2'/></svg>") 6 4, auto !important;
}

/* Text spacing */
html.a11y-text-spacing body,
html.a11y-text-spacing p,
html.a11y-text-spacing h1,
html.a11y-text-spacing h2,
html.a11y-text-spacing h3,
html.a11y-text-spacing li,
html.a11y-text-spacing a {
  letter-spacing: 0.12em !important;
  word-spacing: 0.18em !important;
  line-height: 2 !important;
}

/* ============================================
   Accessibility focus styles
   ============================================ */
*:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 8px; left: 8px;
  width: auto; height: auto;
  margin: 0;
  clip: auto;
  background: var(--orange); color: #1A1208;
  padding: 10px 16px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .r { opacity: 1; transform: none; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .nav a:not(.btn) { display: none; }
  .nav .btn-primary { padding: 10px 16px; font-size: 13px; }
  .mob-toggle { display: block; }
  .about-split { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .about-portrait { max-width: 340px; margin: 0 auto; }
  .pill-row { justify-content: center; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-panel { padding: 48px 32px; }
  .cta-band { padding: 56px 28px; }
  .form { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .curr-row { grid-template-columns: 56px 1fr; gap: 20px; }
  .curr-tag { grid-column: 2 / 3; justify-self: start; }
  .curr-num { font-size: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   Mobile app-like experience (< 760px)
   ============================================ */
@media (max-width: 760px) {
  html { background: var(--bg); }
  body {
    /* iOS safe-area support */
    padding-bottom: env(safe-area-inset-bottom);
  }
  .wrap { padding: 0 20px; }

  /* Sticky top bar stays compact */
  .site-header { padding: 12px 0; }
  .logo { font-size: 19px; }
  .logo-dot { width: 10px; height: 10px; }

  /* Compact util bar — just the toggle */
  .util-bar .wrap { min-height: 36px; }
  .lang-opt { padding: 5px 14px; font-size: 11px; min-width: 34px; }

  /* Hide hamburger — use bottom tab bar instead */
  .mob-toggle { display: none; }

  /* Add breathing room at bottom so tab bar doesn't cover content */
  main { padding-bottom: 76px; }
  .site-footer { margin-bottom: 72px; }

  /* Bottom tab bar (app-style) */
  .tabbar {
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(21, 16, 12, 0.92);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    padding: 8px 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.55);
  }
  .tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    color: var(--ink-3);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 14px;
    min-height: 48px;
    transition: color .2s, background .2s;
  }
  .tabbar a:hover { color: var(--ink); }
  .tabbar a.active {
    background: var(--orange-wash);
    color: var(--orange);
  }
  .tabbar a.join {
    background: var(--orange);
    color: #1A1208;
  }
  .tabbar a.join .tab-ico { color: #1A1208; }
  .tabbar .tab-ico {
    font-size: 18px;
    line-height: 1;
  }

  /* Sections tighter */
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .hero-sub { font-size: 16px; }
  .hero-meta { gap: 24px; margin-top: 56px; padding-top: 28px; }
  .hero-meta-item { min-width: 0; flex: 1 1 45%; }
  .hero-meta-num { font-size: 30px; }

  .s-head { margin-bottom: 40px; }
  h2 { font-size: clamp(28px, 7vw, 40px); }

  .page-hero { padding: 48px 0 48px; }
  .page-hero h1 { font-size: clamp(36px, 9vw, 52px); }

  /* Buttons: full width, larger touch targets */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 16px 20px; font-size: 15px; }
  .cta-band .btn { width: 100%; justify-content: center; padding: 16px 20px; }

  /* Cards tighter */
  .card { padding: 28px 24px; }
  .feature-panel { padding: 36px 24px; border-radius: 18px; }
  .cta-band { padding: 44px 24px; border-radius: 18px; }
  .form { padding: 28px 20px; border-radius: 18px; }

  /* Footer tighter */
  .site-footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; }

  /* Pricing */
  .price-card { padding: 32px 24px; }
  .price { font-size: 42px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .quote p { font-size: 26px; }
}

/* Hide tabbar outside mobile */
@media (min-width: 761px) {
  .tabbar { display: none !important; }
}
