/* ── Design Tokens ────────────────────────────────── */
:root {
  --accent: #B8762A;
  --accent-deep: #8C5A1E;
  --accent-soft: #FDF6EC;
  --accent-glow: rgba(184,118,42,.08);
  --bg: #FAFBFC;
  --bg-warm: #F7F5F2;
  --ink: #141821;
  --ink-soft: #2C3040;
  --muted: #5B6072;
  --muted-light: #8B90A0;
  --line: #E4E6EC;
  --line-2: #EEEEF2;
  --panel: #FFFFFF;
  --sage: #3D7A5F;
  --sage-soft: #E8F3ED;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(20,24,33,.04);
  --shadow: 0 2px 8px rgba(20,24,33,.04), 0 12px 40px rgba(20,24,33,.05);
  --shadow-lg: 0 4px 12px rgba(20,24,33,.06), 0 20px 60px rgba(20,24,33,.08);
  --transition: .2s cubic-bezier(.4,0,.2,1);
  --transition-slow: .4s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

a { color: var(--accent-deep); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

::selection { background: var(--accent-soft); color: var(--accent-deep); }

/* ── Layout ──────────────────────────────────────── */
.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Fade-in Animation ───────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.25,.46,.45,.94), transform .6s cubic-bezier(.25,.46,.45,.94);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,251,252,.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(228,230,236,.6);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 1px 12px rgba(20,24,33,.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  max-width: 1080px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  letter-spacing: -.01em;
}

.nav-brand:hover { text-decoration: none; color: var(--ink); }

.nav-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  font-family: Inter, sans-serif;
  letter-spacing: .5px;
}

.nav-links {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 13px;
  font-weight: 450;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--line-2);
  color: var(--ink);
  text-decoration: none;
}

.nav-links a.active {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding: 96px 24px 80px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 500px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--accent-glow) 0%, transparent 100%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
}

.hero h1 {
  font-size: clamp(30px, 4.5vw, 50px);
  max-width: 700px;
  margin: 0 auto 20px;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  border-color: #ccc;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(184,118,42,.3);
  color: #fff;
}

/* ── Section ─────────────────────────────────────── */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--bg-warm);
}

.section-label {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
  letter-spacing: -.015em;
}

.section > .wrap > p,
.section-intro {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.75;
}

/* ── Cards Grid ──────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.card h3 {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Steps ───────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: Inter, sans-serif;
}

.step h3 {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Disclaimer ──────────────────────────────────── */
.disclaimer {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 28px;
  margin-top: 48px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.disclaimer strong { color: var(--ink-soft); }

/* ── Info Table ──────────────────────────────────── */
.info-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 28px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.info-row {
  display: flex;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition: background var(--transition);
}

.info-row:last-child { border-bottom: none; }

.info-row:hover { background: var(--bg); }

.info-label {
  width: 200px;
  flex-shrink: 0;
  padding: 16px 24px;
  background: var(--line-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
}

.info-value {
  padding: 16px 24px;
  color: var(--ink);
  word-break: break-word;
}

/* ── Badges Row ──────────────────────────────────── */
.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--sage);
  background: var(--sage-soft);
  padding: 5px 12px;
  border-radius: 20px;
}

.badge-amber {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

/* ── Divider ─────────────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  border-radius: 2px;
  margin: 0 auto 32px;
}

/* ── Legal / Long-form ───────────────────────────── */
.legal h2 {
  margin-top: 48px;
  margin-bottom: 8px;
}

.legal h2:first-of-type { margin-top: 0; }

.legal h3 {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.legal p,
.legal li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal ul, .legal ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal li { margin-bottom: 8px; }

.legal a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--accent); }

.legal-header {
  padding: 80px 24px 48px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.legal-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 300px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--accent-glow) 0%, transparent 100%);
  pointer-events: none;
}

.legal-header .section-label { margin-bottom: 14px; }

.legal-header h1 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 16px;
  letter-spacing: -.02em;
  position: relative;
}

.legal-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.75;
  position: relative;
}

.legal-body {
  padding: 56px 24px 96px;
}

/* TOC */
.toc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  margin-bottom: 12px;
}

.toc ol {
  padding-left: 20px;
  margin: 0;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  font-size: 14px;
  color: var(--accent-deep);
  padding: 4px 0;
  break-inside: avoid;
}

.toc a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color var(--transition);
}

.toc a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ── Footer ──────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 24px 48px;
  background: var(--panel);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-brand:hover { text-decoration: none; color: var(--ink); }

.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 320px;
}

.footer h4 {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-light);
  margin-bottom: 16px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 12px;
  color: var(--muted-light);
  line-height: 1.65;
}

/* ── Support Page ────────────────────────────────── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.contact-card h3 {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.contact-card a {
  color: var(--accent-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── FAQ ─────────────────────────────────────────── */
.faq { margin-top: 56px; }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  transition: background var(--transition);
}

.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-q {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.faq-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-a a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 64px 20px 56px; }
  .section { padding: 56px 20px; }
  .legal-header { padding: 56px 20px 36px; }
  .legal-body { padding: 40px 20px 72px; }
  .toc ol { columns: 1; }
  .info-row { flex-direction: column; }
  .info-label { width: 100%; padding: 12px 20px; }
  .info-value { padding: 12px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .steps { gap: 28px; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 26px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
