/* The static plot-size pages (scripts/seo.tsx), in the app's colours. Light unless the visitor chose dark in the app. */
:root {
  --bg: #f4f8fc; --surface: #ffffff; --surface-2: #eef3f9; --ink: #14213d; --muted: #56657a;
  --line: #e2e8f0; --accent: #1e63e9; --accent-ink: #1449b8; --accent-soft: #e8f0fe; --on-accent: #ffffff;
  --ok: #15803d; --mark: #d9502a;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a1020; --surface: #111a2e; --surface-2: #18233a; --ink: #e8eef8; --muted: #9aa8bd;
  --line: #23314a; --accent: #6b9bff; --accent-ink: #9dbcff; --accent-soft: #1a2c55; --on-accent: #071026;
  --ok: #4ade80; --mark: #ff8a65;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin: 0 0 14px; }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; margin: 0 0 14px; }
h2 small { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
p { margin: 0 0 12px; max-width: 70ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }

.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: var(--ink); white-space: nowrap; }
.brand:hover { text-decoration: none; color: var(--ink); }
.mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; }
.nav a:not(.btn) { color: var(--muted); white-space: nowrap; }
@media (max-width: 480px) { .nav a:not(.btn) { display: none; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14px; white-space: nowrap;
}
.btn:hover { background: var(--accent-ink); color: var(--on-accent); text-decoration: none; }
.btn.big { height: 52px; padding: 0 26px; font-size: 16px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.hero { padding: 18px 0 8px; }
.lead { font-size: 18px; color: var(--ink); }
.hero > p:not(.lead) { color: var(--muted); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 10px 0 4px; border-radius: 999px; background: var(--surface-2); flex-wrap: wrap; }
.tab { padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tab.on { background: var(--accent); color: var(--on-accent); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jump a { padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); font-size: 13px; font-weight: 600; }

.layout, .vastu, .faq, .cta, .more, .size {
  margin: 28px 0; padding: clamp(18px, 3vw, 28px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
}
.layout-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.layout-head h2 { margin: 0; }
.layout-body { display: grid; gap: 22px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .layout-body { grid-template-columns: minmax(0, 1fr); } }
.sheets { display: grid; gap: 14px; }
.sheet { margin: 0; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: #ffffff; }
.sheet figcaption { padding: 6px 4px 0; font-size: 13px; font-weight: 600; color: #56657a; }

.facts dl { display: grid; gap: 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.facts dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
caption { text-align: left; font-weight: 700; padding: 0 0 6px; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--line); }
td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.num { text-align: right; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 13px; }
th.num { font-family: inherit; font-size: 12px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.checks li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.checks span { font-weight: 800; color: var(--ok); width: 14px; }
.checks .no { color: var(--muted); }
.checks .no span { color: var(--muted); }
.checks em { font-style: normal; font-size: 13px; }

.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 8px 0 0; color: var(--muted); }

.cta { text-align: center; background: var(--accent-soft); border-color: transparent; }
.cta p { margin-left: auto; margin-right: auto; }

.sizes { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.sizes a { display: block; padding: 10px 14px; border-radius: 14px; background: var(--surface-2); font-weight: 700; color: var(--ink); }
.sizes small { display: block; font-weight: 500; color: var(--muted); }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cards a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 10px 10px 14px; border-radius: 18px; border: 1px solid var(--line); color: var(--ink); }
.cards a:hover { border-color: var(--accent); text-decoration: none; }
.cards img { border-radius: 10px; background: #ffffff; margin-bottom: 6px; aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }
.cards span { font-size: 13px; color: var(--muted); }

.foot { margin-top: 40px; padding: 28px 0 48px; border-top: 1px solid var(--line); font-size: 14px; }
.foot p { max-width: 80ch; }
