/* Ezzays website: indigo on white, same tokens and type as the app */
:root {
  --paper: #f6f6fb; --sheet: #ffffff; --ink: #16152b; --muted: #5d5b75; --faint: #8d8ba3; --rule: #e2e1ef;
  --brand: #4f46e5; --brand-deep: #3730a3; --brand-soft: #ecebfd; --brand-fg: #ffffff; --tick: #1d7a4b; --tick-soft: #e3f2ea; --red: #c32a33;
  --shadow: 0 1px 2px rgba(22,21,43,.06), 0 12px 32px rgba(22,21,43,.08);
  --f-ui: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-read: "Literata", Georgia, "Times New Roman", serif;
  --f-data: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1140px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--sheet); color: var(--ink); }
body { font: 16px/1.6 var(--f-ui); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--f-read); line-height: 1.12; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ---------- header / tabs ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { font: 700 1.45rem var(--f-read); color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo em { font-style: normal; color: var(--brand); }
.tabs { display: flex; gap: 2px; margin-left: 14px; }
.tabs a { position: relative; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .94rem; text-decoration: none; white-space: nowrap; }
.tabs a:hover { color: var(--ink); background: var(--paper); }
.tabs a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.tabs a.ai { color: var(--brand); }
.tabs a.ai::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 3px var(--brand-soft); }
.acts { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 11px 18px; font: 700 .95rem var(--f-ui); text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(79,70,229,.28); }
.btn.primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn.ghost:hover { border-color: #c9c7e6; background: var(--paper); }
.btn.big { padding: 15px 24px; font-size: 1.02rem; border-radius: 14px; }
.btn.small { padding: 8px 14px; font-size: .88rem; border-radius: 10px; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); border-radius: 10px; padding: 8px 10px; font: 600 .9rem var(--f-ui); color: var(--ink); cursor: pointer; }
@media (max-width: 980px) {
  .top .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }
  .menu-btn { display: inline-flex; }
  .tabs, .acts { display: none; width: 100%; margin: 0; }
  .top.open .tabs { display: grid; gap: 4px; }
  .top.open .acts { display: flex; padding-bottom: 6px; }
  .tabs a { padding: 10px 12px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 520px at 85% -10%, #e4e1ff 0%, rgba(228,225,255,0) 60%), radial-gradient(800px 420px at -10% 110%, #eef0ff 0%, rgba(238,240,255,0) 60%), var(--sheet); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 84px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); font: 700 .78rem var(--f-ui); letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); margin: 18px 0 18px; }
.hero h1 em { font-style: italic; color: var(--brand); }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fine { margin-top: 14px; font-size: .86rem; color: var(--faint); }
.boards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.boards span { border: 1px solid var(--rule); background: var(--sheet); border-radius: 999px; padding: 5px 12px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.shot { position: relative; }
.shot .photo { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.6; background: #dcdaf5; }
.shot .photo img { width: 100%; height: 100%; object-fit: cover; }
.credit { font-size: .72rem; color: var(--faint); margin-top: 8px; text-align: right; }
.credit a { color: inherit; }
.float { position: absolute; background: var(--sheet); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; }
.float.mark { left: -34px; bottom: 54px; display: flex; gap: 14px; align-items: center; min-width: 250px; }
.float.mark .score { font: 700 2.2rem var(--f-read); color: var(--brand); line-height: 1; }
.float.mark .score small { font: 600 .95rem var(--f-ui); color: var(--faint); }
.float.mark b { display: block; font-size: .95rem; }
.float.mark span { font-size: .8rem; color: var(--muted); }
.float.note { right: -18px; top: 34px; max-width: 250px; font-size: .84rem; }
.float.note .k { display: inline-block; font: 700 .68rem var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--tick); background: var(--tick-soft); border-radius: 999px; padding: 2px 8px; margin-bottom: 6px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; gap: 40px; }
  .float.mark { left: 12px; bottom: 16px; }
  .float.note { right: 12px; top: 16px; }
}

/* ---------- sections ---------- */
section.band { padding: 88px 0; }
section.band.alt { background: var(--paper); }
.head { max-width: 760px; margin-bottom: 44px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font: 700 .8rem var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; padding: 26px; }
.alt .card { box-shadow: 0 1px 2px rgba(22,21,43,.04); }
.card h3 { font-size: 1.3rem; margin: 14px 0 8px; }
.card p { color: var(--muted); }
.ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.ic svg { width: 22px; height: 22px; }
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 30px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: -14px; left: 24px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 700 .9rem var(--f-ui); }
.stat b { display: block; font: 700 2.6rem var(--f-read); color: var(--brand); letter-spacing: -.02em; line-height: 1.05; }
.stat span { color: var(--muted); font-size: .95rem; }
.cta-band { border-radius: 26px; padding: 54px 44px; background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%); color: #fff; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 18px 48px rgba(55,48,163,.3); }
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: #fff; }
.cta-band p { color: #dcdaff; margin-top: 10px; font-size: 1.05rem; }
.cta-band .btn.primary { background: #fff; color: var(--brand-deep); box-shadow: none; }
.cta-band .btn.primary:hover { background: #f0efff; }

/* product preview */
.preview { background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.preview .bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--rule); background: var(--paper); align-items: center; }
.preview .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d4ea; }
.preview .bar span { margin-left: 10px; font-size: .78rem; color: var(--faint); }
.preview .body { display: grid; grid-template-columns: 1fr 1fr; }
.preview .pane { padding: 22px; }
.preview .pane + .pane { border-left: 1px solid var(--rule); }
.preview .q { font: 600 .95rem var(--f-read); margin-bottom: 12px; }
.preview .para { font: .9rem/1.65 var(--f-read); color: #3d3b55; border-left: 3px solid var(--r, #2f5fb3); padding-left: 12px; margin-bottom: 12px; }
.preview .para small { display: block; font: 700 .68rem var(--f-ui); letter-spacing: .05em; color: var(--r, #2f5fb3); text-transform: uppercase; margin-bottom: 2px; }
.preview .bigmark { display: flex; align-items: baseline; gap: 10px; }
.preview .bigmark b { font: 700 3rem var(--f-read); color: var(--brand); line-height: 1; }
.preview .bigmark span { color: var(--faint); font-weight: 600; }
.preview .lvl { font: 700 1.1rem var(--f-read); margin: 6px 0 16px; }
.ao { display: grid; grid-template-columns: 48px 1fr 46px; gap: 8px; align-items: center; font-size: .84rem; margin-bottom: 9px; }
.ao code { font: 600 .78rem var(--f-data); color: var(--brand); }
.ao .m { height: 7px; background: var(--brand-soft); border-radius: 99px; overflow: hidden; }
.ao .m i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.ao em { font-style: normal; font-family: var(--f-data); color: var(--muted); text-align: right; }
.preview .fm { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); font-size: .85rem; color: var(--brand-deep); }
.example-tag { display: inline-block; margin-left: auto; font: 700 .66rem var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 99px; }
@media (max-width: 760px) { .preview .body { grid-template-columns: 1fr; } .preview .pane + .pane { border-left: 0; border-top: 1px solid var(--rule); } }

/* comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--paper); font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.compare thead th.us { color: var(--brand); background: var(--brand-soft); }
.compare td.us { background: #faf9ff; }
.compare td:first-child { font-weight: 600; width: 34%; }
.compare .y, .compare .n { display: flex; gap: 10px; align-items: flex-start; }
.compare .y::before, .compare .n::before { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 .72rem var(--f-ui); margin-top: 2px; }
.compare .y::before { content: "✓"; background: var(--tick-soft); color: var(--tick); }
.compare .n::before { content: "–"; background: #f1f0f6; color: var(--faint); }
.compare td span { color: var(--muted); font-size: .94rem; }
.compare td.us span { color: var(--ink); }
.tablewrap { overflow-x: auto; border-radius: 20px; }
@media (max-width: 700px) { .compare { min-width: 640px; } }

/* quote / examiner note */
.callout { border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 16px 16px 0; padding: 20px 24px; font: 1.06rem/1.6 var(--f-read); color: var(--ink); }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; border: 1px solid var(--rule); border-radius: 22px; padding: 32px; background: var(--sheet); display: flex; flex-direction: column; gap: 18px; }
.plan.pro { border: 2px solid var(--brand); box-shadow: 0 18px 48px rgba(79,70,229,.16); }
.plan .ribbon { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font: 700 .72rem var(--f-ui); letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; }
.price { font: 700 3.1rem var(--f-read); letter-spacing: -.02em; line-height: 1; }
.price span { font: 600 1rem var(--f-ui); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 .72rem var(--f-ui); background: var(--tick-soft); color: var(--tick); margin-top: 2px; }
.plan li.no { color: var(--faint); }
.plan li.no::before { content: "–"; background: #f1f0f6; color: var(--faint); }
.plan .btn { margin-top: auto; }
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--rule); border-radius: 14px; padding: 16px 20px; background: var(--sheet); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.profile { position: sticky; top: 96px; border: 1px solid var(--rule); border-radius: 22px; padding: 28px; background: var(--sheet); box-shadow: var(--shadow); text-align: center; }
.avatar { width: 112px; height: 112px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #6d64f0, #3730a3); color: #fff; font: 700 2.4rem var(--f-read); }
.profile h3 { font-size: 1.5rem; }
.profile .role { color: var(--muted); margin-top: 4px; }
.creds { display: grid; gap: 10px; margin-top: 22px; text-align: left; }
.creds div { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.creds b { font: 700 1.25rem var(--f-read); color: var(--brand); min-width: 54px; }
.creds span { font-size: .92rem; color: var(--muted); }
.prose { font: 1.12rem/1.75 var(--f-read); color: #2b2a42; display: grid; gap: 18px; }
.prose h2 { font-size: 2.3rem; margin-bottom: 4px; }

/* auth */
.auth { min-height: calc(100vh - 69px); display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth .side { display: none; } }
.auth .side { position: relative; background: #1d1b4b; color: #fff; overflow: hidden; }
.auth .side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.auth .side .in { position: relative; padding: 64px 56px; display: grid; gap: 18px; align-content: end; height: 100%; }
.auth .side h2 { font-size: 2.3rem; color: #fff; }
.auth .side p { color: #d8d6ff; font-size: 1.05rem; }
.auth .side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: #eceaff; }
.auth .side li::before { content: "✓  "; color: #a5a1ff; font-weight: 700; }
.auth .main { display: grid; place-items: center; padding: 48px 20px; background: var(--paper); }
.form { width: 100%; max-width: 420px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form h1 { font-size: 2rem; }
.form .sub { color: var(--muted); }
.field { display: grid; gap: 6px; }
.field label { font: 700 .8rem var(--f-ui); letter-spacing: .04em; color: var(--muted); }
.field input { font: 1rem var(--f-ui); padding: 13px 14px; border: 1px solid var(--rule); border-radius: 12px; background: #fbfbfe; color: var(--ink); }
.field input:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; background: #fff; }
.err { color: var(--red); font-size: .9rem; min-height: 1.2em; }
.switch { text-align: center; color: var(--muted); font-size: .94rem; }
.form .terms { font-size: .8rem; color: var(--faint); text-align: center; }

/* account */
.acct { max-width: 860px; margin: 0 auto; display: grid; gap: 20px; padding: 56px 20px 88px; }
.acct h1 { font-size: 2.4rem; }
.meter { height: 8px; background: var(--brand-soft); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.meter i { display: block; height: 100%; background: var(--brand); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 700 .74rem var(--f-ui); letter-spacing: .05em; text-transform: uppercase; background: var(--brand-soft); color: var(--brand); }
.pill.free { background: #f1f0f6; color: var(--muted); }
.notice { padding: 14px 18px; border-radius: 14px; background: var(--tick-soft); color: var(--tick); font-weight: 600; }
.notice.warn { background: #fff4e5; color: #8a5300; }

/* footer */
footer { border-top: 1px solid var(--rule); background: var(--paper); padding: 48px 0 40px; font-size: .9rem; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
footer h4 { margin: 0 0 10px; font: 700 .8rem var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
footer a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; }
footer a:hover { color: var(--brand); }
footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 20px; font-size: .8rem; color: var(--faint); }
@media (max-width: 700px) { footer .wrap { grid-template-columns: 1fr; } }

/* entrance animation */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .rise.in { opacity: 1; transform: none; }
}
