/* AtlasSchema website: shared styles for every page (started from the platform's site.css). */
:root {
  --bg: #f6f7fb; --card: #ffffff; --ink: #14172b; --muted: #5b6078; --line: #e3e5ef;
  --accent: #5b4ee8; --accent-ink: #ffffff; --accent-soft: #eef0ff; --ok: #0f7a55;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1120; --card: #171a2e; --ink: #eef0fb; --muted: #a3a8c3; --line: #262a45;
    --accent: #8b85ff; --accent-ink: #0f1120; --accent-soft: #221f4a; --ok: #5fd3a6;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
/* Anything you can press shows the hand; anything switched off says so. */
a[href], button, [role="button"], [role="tab"], summary, select, label[for],
input[type="checkbox"], input[type="radio"], input[type="file"] { cursor: pointer; }
button:disabled, [aria-disabled="true"], input:disabled, select:disabled { cursor: not-allowed; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* header */
header.top { padding: 20px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-size: 14px; color: var(--accent); text-decoration: none; }
nav.links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
nav.links a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--ink); }
nav.links a[aria-current="page"] { font-weight: 600; }
nav.links a.signin { color: var(--ink); font-weight: 600; border: 1px solid var(--line); padding: 7px 14px; border-radius: 10px; background: var(--card); }
@media (max-width: 640px) {
  nav.links .opt { display: none; }
  /* Phones: the menu goes under the brand when the row is too narrow; links never break in two. */
  header.top .wrap { flex-wrap: wrap; row-gap: 10px; }
  nav.links { gap: 12px; flex-wrap: nowrap; }
  nav.links a { white-space: nowrap; }
  nav.links a { font-size: 14px; }
  nav.links a.signin { padding: 6px 10px; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid var(--accent); transition: opacity .15s ease;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn:hover { opacity: .92; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* hero */
.hero { padding: 36px 0 20px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 28px; } }
.news {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--card);
}
.news .tag { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 2px 9px; font-size: 12px; }
.news:hover { border-color: var(--accent); }
h1 { font-size: clamp(34px, 5.6vw, 54px); line-height: 1.05; letter-spacing: -.025em; margin: 18px 0 16px; text-wrap: balance; }
.lede { font-size: clamp(17px, 2.2vw, 19px); color: var(--muted); margin: 0 0 26px; max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { margin: 22px 0 0; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.proof strong { color: var(--ink); }
.stars { color: #f5a524; letter-spacing: 1px; }

/* the listening card in the hero */
.listen { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 20px 50px -30px rgba(20, 23, 43, .35); }
.listen .kicker { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.listen h2 { font-size: 20px; line-height: 1.3; margin: 0 0 16px; }
.player { display: flex; align-items: center; gap: 14px; background: var(--accent-soft); border-radius: 14px; padding: 12px 14px; }
.play { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.play svg { width: 18px; height: 18px; fill: var(--accent-ink); margin-left: 2px; }
.wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 34px; }
.wave i { flex: 1; background: var(--accent); opacity: .55; border-radius: 2px; }
.player .time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.listen ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.listen li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }

/* sections */
section.block { padding: 44px 0 8px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
h2.title { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 10px; text-wrap: balance; }
.sub { color: var(--muted); margin: 0 0 24px; max-width: 62ch; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 22px; }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 17px; margin: 14px 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.beta-tag { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 1px 8px; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 22px; counter-increment: s; }
.step::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.step h3 { font-size: 17px; margin: 14px 0 4px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* free vs pro */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 26px; display: flex; flex-direction: column; }
.plan.pro { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan h3 { font-size: 20px; margin: 0; }
.price { margin: 8px 0 4px; color: var(--muted); }
.price strong { font-size: 32px; color: var(--ink); letter-spacing: -.02em; }
.plan .fine { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 15px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.plan li .muted { color: var(--muted); }
.plan .btn { width: 100%; }

/* beta band */
.band { margin-top: 44px; padding: 30px; display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 24px; align-items: center; background: linear-gradient(135deg, var(--accent-soft), var(--card) 75%); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }
.band h2 { font-size: 24px; margin: 0 0 6px; }
.band p { margin: 0; color: var(--muted); }

/* developers */
.dev { padding: 26px; display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 24px; align-items: center; }
@media (max-width: 760px) { .dev { grid-template-columns: 1fr; } }
.dev h2 { font-size: 22px; margin: 0 0 6px; }
.dev p { margin: 0; color: var(--muted); }

footer { padding: 48px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: inherit; }
footer a[aria-current="page"] { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------------------------------------------------------- API page */
.code { background: #0f1120; color: #e7e9f7; border-radius: 14px; overflow: hidden; border: 1px solid #262a45; }
.code-tabs { display: flex; gap: 2px; padding: 6px 6px 0; background: #171a2e; flex-wrap: wrap; }
.code-tabs button {
  appearance: none; border: 0; background: transparent; color: #a3a8c3; cursor: pointer;
  font: 600 13px/1 system-ui, sans-serif; padding: 9px 12px; border-radius: 8px 8px 0 0;
}
.code-tabs button[aria-selected="true"] { background: #0f1120; color: #ffffff; }
.code-tabs button:focus-visible { outline: 2px solid #8b85ff; outline-offset: -2px; }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font: 13.5px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code pre[hidden] { display: none; }
.code .c { color: #7e84a3; }
.code .s { color: #9ee6b8; }
.code .k { color: #b8b4ff; }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; background: #171a2e; font-size: 12px; color: #a3a8c3; }
.copy-code { appearance: none; border: 1px solid #262a45; background: #0f1120; color: #e7e9f7; border-radius: 7px; font: 600 12px system-ui, sans-serif; padding: 5px 10px; cursor: pointer; }
code.inline { font: 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--accent-soft); color: var(--ink); padding: 1px 6px; border-radius: 6px; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; }
table.api { width: 100%; border-collapse: collapse; font-size: 15px; }
table.api th, table.api td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.api th { font-size: 13px; color: var(--muted); font-weight: 600; }
table.api tr:last-child td { border-bottom: 0; }
table.api td:first-child { white-space: nowrap; }

.notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .notes { grid-template-columns: 1fr; } }
.notes li { padding: 18px 20px; }
.notes h3 { font-size: 16px; margin: 0 0 4px; }
.notes p { margin: 0; color: var(--muted); font-size: 15px; }
.soon { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; }

/* ------------------------------------------------------- legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 28px 0 8px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); margin: 8px 0 8px; }
.legal .updated { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.legal .summary { padding: 20px 22px; margin: 0 0 30px; }
.legal .summary h2 { font-size: 17px; margin: 0 0 8px; }
.legal .summary ul { margin: 0; padding-left: 20px; }
.legal .summary li { margin: 4px 0; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; letter-spacing: -.01em; }
.legal h3 { font-size: 17px; margin: 20px 0 6px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 5px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0 6px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-size: 13px; color: var(--muted); font-weight: 600; }
.legal .table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
/* Details only the owner can supply; must be filled in before publishing. */
mark.fill { background: #fff3bf; color: #5c4400; padding: 0 4px; border-radius: 4px; font-weight: 600; }
@media (prefers-color-scheme: dark) { mark.fill { background: #4a3b00; color: #ffe8a3; } }

/* ---------------------------------------------------------------- site search (TTS-328) */
/* The header button and the dialog are in search.css (every page loads it with search.js). */
/* the /search/ page */
.search-main { padding-top: 24px; padding-bottom: 64px; max-width: 760px; }
.search-page { display: flex; gap: 10px; margin: 18px 0 8px; }
.search-page input[type="search"] {
  flex: 1; min-width: 0; font: inherit; font-size: 18px; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.search-page input[type="search"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.search-status { color: var(--muted); font-size: 14px; min-height: 1.5em; }
.search-results { padding: 0; }

/* ---- AtlasSchema ---------------------------------------------------------- */
.plans.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .plans.three { grid-template-columns: 1fr; } }
.features.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .features.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features.four { grid-template-columns: 1fr; } }
.checker { padding: 22px; }
.checker form { display: flex; gap: 10px; flex-wrap: wrap; }
.checker label { display: block; flex-basis: 100%; font-weight: 600; margin: 0; }
.checker input[type="url"], .checker input[type="text"] { flex: 1 1 240px; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; }
.checker input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.checker .fine { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.result { margin-top: 22px; padding: 22px; }
.result-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.result-head h2 { font-size: 20px; margin: 0; overflow-wrap: anywhere; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--accent-soft); color: var(--accent); }
.pill.error { background: #fdecec; color: #a32d2d; }
.pill.warning { background: #fdf3dc; color: #7a4b05; }
.pill.valid { background: #e5f5ee; color: #0f6b4a; }
@media (prefers-color-scheme: dark) {
  .pill.error { background: #3d1a1a; color: #f3a5a5; }
  .pill.warning { background: #3a2c10; color: #f2c879; }
  .pill.valid { background: #12352a; color: #7fd9b4; }
}
.issues { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.issues li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.issues .fix { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.types { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.cta { margin-top: 18px; padding: 18px; border-radius: 12px; background: var(--accent-soft); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.cta p { margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.tiles div { padding: 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.tiles span { display: block; font-size: 13px; color: var(--muted); }
.tiles strong { font-size: 26px; }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.report-brand { display: flex; align-items: center; gap: 12px; }
.report-brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.faq details { padding: 16px 20px; }
.faq details + details { margin-top: 12px; }
.faq summary { font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--muted); }
.notice { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
body.branded header.top, body.branded footer { display: none; }
body.branded main { padding-top: 24px; }
.report-agency { font-size: 18px; font-weight: 800; text-decoration: none; }
/* Long addresses and scopes in the legal pages wrap instead of widening the page. */
.legal code { overflow-wrap: anywhere; word-break: break-word; }
/* Wide tables scroll inside their box on phones, never the page. */
.table-wrap { overflow-x: auto; max-width: 100%; }

/* SDK guide (/docs/sdk/): code examples, the types table and each type's fields. */
.sdk-guide .code { margin: 12px 0 14px; }
.sdk-guide .code pre { font-size: 13px; }
.sdk-guide .hint { color: var(--muted); font-size: 13px; }
.sdk-guide .req { display: inline-block; font-size: 11px; font-weight: 600; color: #8a2b06; background: #fdebe3; border-radius: 6px; padding: 0 6px; margin-left: 4px; }
.sdk-guide table.sdk-types td { vertical-align: top; }
.sdk-guide table.sdk-types code, .sdk-guide .sdk-type code { white-space: nowrap; }
.sdk-guide details.sdk-type { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin: 8px 0; padding: 0 14px; }
.sdk-guide details.sdk-type summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.sdk-guide details.sdk-type[open] { padding-bottom: 12px; }
.sdk-guide details.sdk-type .table-wrap { border: 0; background: none; }
@media (prefers-color-scheme: dark) {
    .sdk-guide .req { color: #ffd2bf; background: #4a2414; }
}

/* ---------------------------------------------------------------- 2026-10: AI search features, pricing */
:root { --warn: #b54708; --warn-soft: #fffaeb; --risk: #d92d20; --risk-soft: #fef3f2; --shadow: 0 1px 2px rgba(20, 23, 43, .05), 0 8px 24px -12px rgba(20, 23, 43, .18); }
@media (prefers-color-scheme: dark) { :root { --warn: #fbbf24; --warn-soft: #2b2110; --risk: #f87171; --risk-soft: #2d1414; --shadow: none; } }
body { -webkit-font-smoothing: antialiased; }
header.top { position: sticky; top: 0; z-index: 20; padding: 14px 0; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
a.brand:hover { opacity: .85; }
.card { box-shadow: var(--shadow); }
.features.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.features.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .features.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .features.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features.three, .features.four { grid-template-columns: 1fr; } }
.feature { position: relative; transition: border-color .15s ease, transform .15s ease; }
.feature:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.feature.only .icon { background: var(--accent); color: var(--accent-ink); }
.only-tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 9px; }
.proof-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; }
.proof-list li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }

/* the product card in the hero */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(20, 23, 43, .45); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--accent-soft) 50%, var(--card)); font-size: 14px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar b { margin-left: 8px; }
.mock-body { padding: 8px 16px 14px; }
.mock-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mock-row strong { display: block; font-size: 15px; line-height: 1.35; }
.mock-row p { margin: 3px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; margin-top: 1px; }
.pill.risk { background: var(--risk-soft); color: var(--risk); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.mock-foot { display: flex; align-items: center; gap: 8px; padding-top: 12px; font-size: 13px; color: var(--muted); }
.mock-foot .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent); }

/* plans */
.plans.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .plans.three { grid-template-columns: 1fr; max-width: 460px; } }
.plan { position: relative; }
.plan .price strong { font-size: 30px; }
.plan .price span { font-size: 14px; color: var(--muted); }
.plan-tag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.plan .btn + ul { margin-top: 20px; }

/* pricing page */
.page-hero { padding: 40px 0 6px; text-align: center; }
.page-hero h1 { margin: 10px auto 14px; max-width: 18ch; }
.page-hero .lede { margin: 0 auto; }
.compare-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.compare th, .compare td { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th[scope="row"], .compare thead th:first-child { text-align: left; font-weight: 500; }
.compare thead th { position: sticky; top: 0; background: var(--card); font-size: 15px; font-weight: 800; padding-top: 18px; padding-bottom: 14px; }
.compare tr.group th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: color-mix(in srgb, var(--accent-soft) 45%, var(--card)); padding-top: 10px; padding-bottom: 10px; }
.compare td.hl, .compare th.hl { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
.compare thead th.hl { color: var(--accent); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.yes { display: inline-block; width: 18px; height: 18px; border-radius: 50%; font-size: 0; vertical-align: middle;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.no { color: var(--muted); }
.only-mini { margin-left: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 7px; white-space: nowrap; }
.note { color: var(--muted); font-size: 13px; margin: 12px 2px 0; }

/* questions */
.faq details { padding: 0; margin-bottom: 10px; }
.faq summary { padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .feature { transition: none; } }
.mock-ex { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
/* Phones: the hero's one column never grows past the screen; the news pill wraps. */
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero > * { min-width: 0; }
.news { max-width: 100%; white-space: normal; }

/* ---------------------------------------------------------------- the WordPress plugin page (/atlasschema-beta/) */
.dl-hero { padding-bottom: 8px; }
.beta-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
.beta-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); }
.switch { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-top: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.switch button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 15px; padding: 10px 26px; border-radius: 10px; }
.switch button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.switch button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.dl-panel { padding: 28px 0 8px; }
.dl-panel[hidden] { display: none; }
.dl-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.dl-card, .dl-get { padding: 26px; }
.dl-card h2, .dl-get h2 { font-size: 22px; margin: 0 0 6px; letter-spacing: -.01em; }
.dl-features { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 18px; }
.dl-features li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.dl-features h3 { font-size: 16px; margin: 1px 0 3px; }
.dl-features p { margin: 0; color: var(--muted); font-size: 15px; }
.dl-get { position: sticky; top: 84px; display: grid; gap: 14px; }
.dl-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 2px 0 0; }
.dl-meta div { background: color-mix(in srgb, var(--accent-soft) 55%, var(--card)); border-radius: 12px; padding: 10px 12px; }
.dl-meta dt { font-size: 12px; color: var(--muted); }
.dl-meta dd { margin: 2px 0 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.dl-btn { width: 100%; }
.dl-btn:disabled { opacity: .55; }
.dl-status { margin: -4px 0 0; font-size: 14px; color: var(--ok); min-height: 1em; }
.dl-status:empty { display: none; }
.dl-fine { margin: 0; font-size: 13px; color: var(--muted); }
.dl-lead { margin: 0; color: var(--muted); }
.dl-sum summary { font-size: 13px; color: var(--muted); }
.dl-sum code { display: block; margin-top: 6px; font-size: 12px; overflow-wrap: anywhere; color: var(--ink); }
.dl-req { border-top: 1px solid var(--line); padding-top: 14px; }
.dl-req h3 { font-size: 14px; margin: 0 0 2px; }
.dl-req p { margin: 0; font-size: 14px; color: var(--muted); }
.dl-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.dl-steps strong { color: var(--ink); }
.btn-inline { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
code.inline { font-size: .9em; padding: 1px 5px; border-radius: 6px; background: var(--accent-soft); }
@media (max-width: 860px) {
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-get { position: static; order: -1; }
}
@media (max-width: 420px) { .switch button { padding: 10px 16px; } .dl-meta { grid-template-columns: 1fr 1fr; } }
