/* Ahli: shared styles for getahli.com */
:root {
  --white: #ffffff;
  --mist: #fbf9ff;
  --lav-50: #f5f1fd;
  --lav-100: #ece5fa;
  --lav-200: #dccff4;
  --lav-300: #c4b0ea;
  --lav-400: #a68bda;
  --lav-500: #8c6ccb;
  --lav-600: #6e4fb0;
  --lav-700: #563b92;
  --ink: #241e38;
  --ink-2: #575070;
  --muted: #8f88a6;
  --line: #ece7f6;
  --blush: #f7e2ec;
  --sage: #e1f0e8;
  --honey: #fbefd9;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 1px 2px rgba(60, 40, 110, .05), 0 18px 50px rgba(90, 60, 160, .10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(251, 249, 255, .72); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: -.01em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand em { color: var(--lav-500); font-style: italic; }
.brand .mark { width: 30px; height: 30px; }
.brand .wordmark { height: 40px; width: auto; display: block; }
.nav-cta { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--lav-700); padding: 10px 18px; border-radius: 99px; background: var(--white); border: 1px solid var(--lav-200); transition: all .2s; }
.nav-cta:hover { background: var(--lav-600); border-color: var(--lav-600); color: #fff; }

/* buttons & form */
.waitlist { display: flex; gap: 8px; background: var(--white); padding: 7px; border-radius: 99px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 470px; }
.waitlist input[type=email] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 15.5px var(--sans); color: var(--ink); padding: 0 18px; }
.waitlist input::placeholder { color: var(--muted); }
.waitlist button { border: 0; cursor: pointer; font: 700 15px var(--sans); color: #fff; padding: 15px 24px; border-radius: 99px; background: linear-gradient(135deg, var(--lav-500), var(--lav-700)); box-shadow: 0 10px 24px rgba(110, 79, 176, .32); transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.waitlist button:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(110, 79, 176, .4); }
.waitlist button:disabled { opacity: .65; cursor: wait; transform: none; }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 500; }
.form-note.ok { color: #3f7259; font-weight: 600; }
.form-note.err { color: #b04646; font-weight: 600; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 34px 0 40px; margin-top: 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot a { text-decoration: none; font-weight: 500; }
.foot a:hover { color: var(--lav-600); }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 40px; }
.legal .kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lav-600); }
.legal h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 6vw, 52px); line-height: 1.08; margin: 10px 0 8px; letter-spacing: -.01em; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 38px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 20px; display: grid; gap: 8px; }
.legal .card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; margin-top: 16px; box-shadow: var(--shadow); }
.legal .card p { font-size: 15px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.legal th, .legal td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.legal th { background: var(--lav-50); color: var(--ink); font-size: 13px; }
.legal tr:last-child td { border-bottom: 0; }
.legal .table-wrap { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
