/* aioeli.com — landing page styles (from the approved design, aioeli-site.zip of 2026-10-13). Fonts: fonts.css (self-hosted). */
:root {
  --olive: #17201A;
  --olive-2: #222D24;
  --olive-line: #34402F;
  --aioli: #EBC85A;
  --aioli-ink: #8A6A0C;
  --garlic: #F4F0E6;
  --leaf: #5E7A4E;
  --paper: #FFFFFF;
  --line: #DDD6C3;
  --ink: #17201A;
  --ink-2: #4A4636;
  --on-dark-2: #D3D9CB;
  --on-dark-3: #A4AF98;
  --radius: 18px;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--display); color: var(--ink); background: var(--garlic); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; }
.section { padding: 112px 24px; }
.dark { background: var(--olive); color: var(--garlic); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); }
.dark .eyebrow { color: var(--aioli); }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(48px, 7vw, 88px); font-weight: 800; line-height: .95; letter-spacing: -.04em; }
h2 { font-size: clamp(36px, 4.5vw, 56px); font-weight: 800; line-height: 1.02; }
h3 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.dark .lead { color: var(--on-dark-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 700 17px var(--display); text-decoration: none; cursor: pointer; }
.btn-aioli { background: var(--aioli); color: var(--olive); }
.btn-olive { background: var(--olive); color: var(--garlic); }
.btn:hover { filter: brightness(1.06); }
.btn:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--aioli); outline-offset: 2px; }

/* Nav */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 16px; }
.nav-links a:not(.btn) { color: var(--on-dark-2); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--garlic); }
.nav .btn { height: 44px; padding: 0 20px; font-size: 16px; }

/* Hero */
.hero { padding: 0 24px 96px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 64px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-copy .lead { font-size: 21px; max-width: 560px; }
.signup { display: flex; flex-wrap: wrap; gap: 12px; max-width: 540px; }
.signup input { flex: 1 1 260px; min-width: 0; height: 52px; padding: 0 18px; border-radius: 999px; font: 17px var(--display); }
.hero .signup input { border: 1px solid #4A5744; background: var(--olive-2); color: var(--garlic); }
.hero .signup input::placeholder { color: var(--on-dark-3); }
.fineprint { font-family: var(--mono); font-size: 13px; color: var(--on-dark-3); }
.form-msg { flex-basis: 100%; font-size: 15px; min-height: 1.4em; }

/* Product mockup */
.mock { flex: 1 1 520px; min-width: 0; background: var(--garlic); color: var(--ink); border-radius: var(--radius); padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.mock-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mock-label { font-family: var(--mono); font-size: 11px; color: #6B6553; text-transform: uppercase; letter-spacing: .1em; }
.mock-title { font-size: 20px; font-weight: 700; }
.pills { display: flex; gap: 6px; font-family: var(--mono); font-size: 12px; }
.pill { padding: 6px 10px; border-radius: 999px; background: #E6DFCB; }
.pill.on { background: var(--olive); color: var(--garlic); }
.cands { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.cand { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid #E6DFCB; border-radius: 12px; padding: 10px 14px; }
.avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--leaf); color: var(--garlic); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.cand-main { flex: 1 1 auto; min-width: 0; }
.cand-name { font-weight: 700; font-size: 15px; }
.cand-role { font-size: 13px; color: #5A5545; }
.stage { font-family: var(--mono); font-size: 12px; padding: 5px 9px; border-radius: 8px; background: #F4ECCD; color: #4E3D06; white-space: nowrap; }
.ai-note { background: var(--olive); color: var(--garlic); border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; font-size: 14px; line-height: 1.5; }
.ai-note strong { color: var(--aioli); }
.ai-note svg { flex: none; margin-top: 2px; }

/* Pillars */
.intro { max-width: 720px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.card.dark { border: 0; background: var(--olive); color: var(--garlic); } /* after .card: the design's file let .card's white win */
.card.dark p { color: var(--on-dark-2); }

/* Steps */
.steps-box { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 40px; }
.steps-box h2 { font-size: clamp(32px, 4vw, 48px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--olive); padding-top: 18px; }
.step-n { font-family: var(--mono); font-size: 14px; color: var(--leaf); }
.step-t { font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.step-d { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* Trust */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split-copy { display: flex; flex-direction: column; gap: 18px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--olive-line); }
.checks svg { flex: none; margin-top: 3px; }
.check-t { font-size: 19px; font-weight: 700; }
.check-d { font-size: 16px; line-height: 1.5; color: #B9C2AE; }

/* Pricing */
.pricing { text-align: center; display: flex; flex-direction: column; gap: 40px; align-items: center; }
.pricing .grid3 { width: 100%; text-align: left; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan-name { font-size: 22px; font-weight: 700; }
.card.dark .plan-name { color: var(--aioli); }
.price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.price span { font-size: 16px; font-weight: 500; color: #5A5545; letter-spacing: 0; }
.card.dark .price span { color: #B9C2AE; }

/* CTA */
.cta { background: var(--aioli); border-radius: 28px; padding: clamp(32px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta > div { flex: 1 1 420px; min-width: 0; }
.cta h2 { font-size: clamp(36px, 4.5vw, 60px); letter-spacing: -.04em; line-height: 1; }
.cta p { margin-top: 14px; font-size: 19px; line-height: 1.5; color: #3A3415; }
.cta .signup { flex: 1 1 360px; min-width: 0; }
.cta .signup input { height: 56px; border: 2px solid var(--olive); background: #FFF9E6; color: var(--ink); padding: 0 20px; flex-basis: 220px; }
.cta .btn { height: 56px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 24px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-size: 15px; color: var(--ink-2); }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-links a { color: var(--ink); }
.foot-links a:hover { color: var(--leaf); }

/* Sections without top padding (was an inline style: the page's CSP allows no inline styles) */
.section.flush { padding-top: 0; }
button[disabled] { opacity: .7; cursor: progress; }

/* Legal pages (privacy, imprint) */
.legal-head { padding: 0 24px 56px; }
.legal-head h1 { font-size: clamp(40px, 6vw, 64px); padding-top: 40px; }
.legal { padding: 64px 24px 96px; }
.legal .wrap { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.legal h2 { font-size: 28px; margin-top: 28px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--aioli-ink); }
.legal .todo { background: #F4ECCD; color: #4E3D06; padding: 0 4px; border-radius: 4px; }
.legal .todo:empty { display: inline-block; min-width: 9em; height: 1.2em; vertical-align: -.2em; } /* blank on purpose (mock-up) */
.legal .updated { font-family: var(--mono); font-size: 13px; color: var(--leaf); }

/* Sign-up open (staging, local — the Worker adds html[data-open] and points [data-app] links to the staff app): accounts instead of the waitlist */
.open-only { display: none !important; }
html[data-open] .open-only { display: revert !important; }
html[data-open] .btn.open-only { display: inline-flex !important; }
html[data-open] .closed-only { display: none !important; }
