/* AL Tests public site. Plain CSS, no framework; system fonts so nothing blocks the first paint. */
:root {
  --navy: #0f2a52; --blue: #1b63b5; --gold: #b07a14; --ink: #14213d; --muted: #4a5a77; --line: #d9e0ec; --bg: #f4f6fb; --card: #ffffff; --soft: #eaf0fa;
  --serif: Georgia, 'Times New Roman', serif; --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: 16px; --radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body.site { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-text-size-adjust: 100%; }
.site a { color: var(--blue); }
.site a:focus-visible, .site button:focus-visible, .site input:focus-visible, .site select:focus-visible, .site textarea:focus-visible, .site summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* header: a floating glass bar */
.hdr { position: sticky; top: 0; z-index: 20; padding: 10px 0; }
.hdr-bar { display: flex; align-items: center; gap: 16px; padding: 8px 14px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(15, 42, 82, .1); border-radius: 18px; box-shadow: 0 8px 28px rgba(15, 42, 82, .1); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--serif); font-weight: 700; font-size: 21px; }
.brand img { width: 44px; height: 44px; display: block; }
.brand b { color: var(--gold); font-weight: 700; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: 12px; font-weight: 500; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current=page] { background: var(--soft); color: var(--navy); font-weight: 700; }
.nav .btn { margin-left: 6px; }
#menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font: inherit; color: var(--navy); cursor: pointer; }
@media (max-width: 860px) {
  #menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: 74px; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 0 16px 40px rgba(15, 42, 82, .16); }
  .nav[data-open=true] { display: flex; }
  .nav .btn { margin: 6px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 14px; border: 2px solid var(--navy); background: var(--navy); color: #fff !important; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; }
.btn:hover { background: #17407a; }
.btn.alt { background: transparent; color: var(--navy) !important; }
.btn.alt:hover { background: var(--soft); }
.btn[disabled] { opacity: .6; cursor: default; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* sections */
main > section { padding: 56px 0; }
main > section.tight { padding: 32px 0; }
.band { background: #fff; border-block: 1px solid var(--line); }
.dark { background: var(--navy); color: #fff; }
.dark a { color: #cfe0ff; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 14px; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 14px; max-width: 68ch; }
.lede { font-size: 1.15rem; color: var(--muted); }
.dark .lede { color: #cdd9ee; }
.hero { display: grid; gap: 32px; grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin-bottom: 8px; }
.step { counter-increment: step; }
.steps { counter-reset: step; }
.step::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 10px; }
.pill { display: inline-block; font-size: .8rem; padding: 3px 10px; border-radius: 99px; background: var(--soft); color: var(--navy); font-weight: 600; }
.muted { color: var(--muted); }
.fine { font-size: .88rem; color: var(--muted); }

/* placeholder blocks: the page shell is built, the approved words are not in yet */
.ph { border: 2px dashed #c3a45a; background: #fff8e6; color: #6b4e08; border-radius: 12px; padding: 12px 14px; font-size: .92rem; }
.ph code { font-family: ui-monospace, Consolas, monospace; font-size: .85em; }
.ph-img { aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; border: 2px dashed #c3a45a; background: #fff8e6; color: #6b4e08; border-radius: 14px; padding: 12px; font-size: .9rem; }
.draft-banner { background: #fff1c9; border-bottom: 1px solid #e0c36b; color: #5d4306; text-align: center; padding: 8px var(--gutter); font-size: .92rem; }

/* template library */
.tpl { display: flex; flex-direction: column; gap: 8px; }
.tpl ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: .92rem; }
.tpl li { margin-bottom: 4px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.type-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 36px 0 14px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details[open] summary { margin-bottom: 8px; }

/* form */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid #aab6cc; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[data-status] { min-height: 1.4em; margin-top: 10px; font-weight: 600; }
[data-status][data-bad=true] { color: #a02332; }
[data-status][data-bad=false] { color: #1d6b3b; }
form[data-done=true] .field, form[data-done=true] button { display: none; }

/* pricing */
.plan { display: flex; flex-direction: column; gap: 10px; }
.plan .price { font-family: var(--serif); font-size: 2rem; color: var(--navy); }
.plan ul { margin: 0; padding-left: 18px; }

/* footer, cookie notice */
.ftr { background: var(--navy); color: #cdd9ee; padding: 36px 0; margin-top: 24px; }
.ftr a { color: #fff; }
.ftr .cols { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#cookie-bar { position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 40; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 16px 48px rgba(15, 42, 82, .25); display: grid; gap: 12px; }
#cookie-bar[hidden] { display: none; }
#cookie-bar p { margin: 0; }
.sample svg { width: 100%; height: auto; display: block; }
.sample figcaption { margin-top: 8px; }
.legal p { max-width: 74ch; }

.ph { font-family: var(--sans); font-weight: 400; font-size: .92rem; line-height: 1.4; letter-spacing: 0; display: block; }
h1 .ph, h2 .ph, h3 .ph { margin-bottom: 6px; }
.ph strong { font-weight: 700; }
