:root {
  --ink: #2B2722;
  --ink-soft: #5C564D;
  --ink-faint: #9C9488;
  --orange: #F2750A;
  --orange-deep: #C2410C;
  --orange-glow: rgba(242,117,10,0.16);
  --paper: #FBF7F0;
  --paper-deep: #F3ECE0;
  --white: #FFFFFF;
  --line: #ECE3D3;
  --green: #16A34A;
  --dark-panel: #2B2722;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ===== AMBIENT GLOW BACKDROP ===== */
.glow-field { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.glow-orb.one { width: 620px; height: 620px; top: -180px; right: -140px; background: radial-gradient(circle, rgba(242,117,10,0.20), transparent 70%); }
.glow-orb.two { width: 480px; height: 480px; top: 480px; left: -200px; background: radial-gradient(circle, rgba(242,117,10,0.12), transparent 70%); }
.glow-orb.three { width: 560px; height: 560px; top: 1500px; right: -220px; background: radial-gradient(circle, rgba(242,117,10,0.14), transparent 70%); }

/* ===== HEADER ===== */
header { position: sticky; top: 0; z-index: 50; padding: 22px 0 0; }
.header-pill {
  max-width: 1080px; margin: 0 auto; padding: 12px 12px 12px 22px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(43,39,34,0.06);
  border-radius: 100px;
  box-shadow: 0 8px 28px -12px rgba(43,39,34,0.10);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.brand-mark img { width: 22px; height: 22px; object-fit: contain; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -0.2px; color: var(--ink); }
.brand-name span { color: var(--orange); font-weight: 700; }

.nav-links { display: flex; gap: 2px; background: var(--paper-deep); border-radius: 100px; padding: 4px; justify-self: center; }
.nav-links a { color: var(--ink-soft); font-size: 13.5px; font-weight: 500; text-decoration: none; padding: 9px 16px; border-radius: 100px; transition: all 0.18s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.7); }
@media (max-width: 820px) { .nav-links { display: none; } }

.nav-right { display: flex; align-items: center; gap: 10px; justify-self: end; }
.nav-login { color: var(--ink-soft); font-size: 13.5px; font-weight: 500; text-decoration: none; padding: 9px 6px; white-space: nowrap; }
.nav-login:hover { color: var(--ink); }
@media (max-width: 600px) { .nav-login { display: none; } }
.nav-cta { background: var(--ink); color: var(--white) !important; padding: 10px 20px; border-radius: 100px; font-size: 13.5px; font-weight: 600 !important; text-decoration: none; transition: all 0.18s; white-space: nowrap; }
.nav-cta:hover { background: var(--orange-deep); transform: translateY(-1px); }

/* ===== GENERIC BUTTONS ===== */
.btn-primary {
  background: var(--ink); color: var(--white); border: none; padding: 15px 28px; border-radius: 100px;
  font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: inherit; text-decoration: none;
  display: inline-block; transition: all 0.2s; box-shadow: 0 10px 24px -10px rgba(43,39,34,0.35);
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-secondary {
  background: var(--white); color: var(--ink); border: 1px solid var(--line); padding: 15px 26px;
  border-radius: 100px; font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: inherit;
  text-decoration: none; display: inline-block; transition: all 0.18s;
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange-deep); }

/* ===== LEGAL / CONTENT PAGES ===== */
.legal-page { padding: 70px 0 100px; }
.legal-header { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.legal-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 18px; }
.legal-header h1 { font-size: 40px; font-weight: 500; letter-spacing: -1.2px; color: var(--ink); margin-bottom: 12px; }
.legal-header p { font-size: 15px; color: var(--ink-faint); }

.legal-body { max-width: 720px; margin: 0 auto; }
.legal-body h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); margin: 44px 0 16px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 16px; }
.legal-body ul { margin: 0 0 16px 0; padding-left: 0; list-style: none; }
.legal-body ul li { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); padding-left: 26px; position: relative; margin-bottom: 10px; }
.legal-body ul li::before { content: "—"; position: absolute; left: 0; color: var(--orange); }

.legal-table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px -8px rgba(43,39,34,0.08); }
.legal-table th { background: var(--orange); color: var(--white); font-size: 12.5px; font-weight: 600; text-align: left; padding: 12px 16px; letter-spacing: 0.2px; }
.legal-table td { background: var(--white); font-size: 14px; color: var(--ink); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.legal-table tr:last-child td { border-bottom: none; }

.legal-note {
  background: rgba(242,117,10,0.06); border: 1px solid rgba(242,117,10,0.18); border-radius: 14px;
  padding: 18px 20px; font-size: 14.5px; line-height: 1.65; color: var(--ink); margin: 20px 0 28px;
}

.legal-closing { text-align: center; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.legal-closing strong { color: var(--ink); }

/* ===== FOOTER ===== */
footer { padding: 44px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 15px; }
.footer-brand img { width: 22px; height: 22px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-faint); font-size: 13px; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { color: var(--ink-faint); font-size: 12px; text-align: center; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 600px) {
  .legal-header h1 { font-size: 30px; }
  .legal-page { padding: 48px 0 70px; }
  .legal-table { font-size: 13px; }
}
