/* Odobook site. Colors from brand/BRAND.md: petrol teal, amber, cream. */
:root {
  --teal: #02454E;
  --teal-deep: #01333A;
  --amber: #FEC201;
  --amber-deep: #FEA101;
  --accent: #02454E;
  --accent-text: #FFFFFF;
  --accent-soft: #E6F0F0;
  --link: #02656F;
  --text: #1B2426;
  --muted: #55636A;
  --border: #E4DFD2;
  --panel: #FFFFFF;
  --bg: #FDF9F0;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #FEC201;
    --accent-text: #0B1E21;
    --accent-soft: #15353A;
    --link: #FFD65C;
    --text: #E9EEEE;
    --muted: #A3B3B5;
    --border: #22403F;
    --panel: #102A2E;
    --bg: #0B1E21;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.num, .tabular { font-variant-numeric: tabular-nums; }

/* Hero */
header.hero { background: linear-gradient(150deg, var(--teal), var(--teal-deep)); color: #FDF9F0; padding: 36px 20px 48px; position: relative; overflow: hidden; }
header.hero::after { content: ""; position: absolute; right: -110px; top: -150px; width: 400px; height: 380px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 70%, rgba(254,194,1,.22), rgba(254,161,1,0) 70%); }
header.hero .wrap { position: relative; padding: 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 18px; }
.brand img { width: 22px; height: 22px; border-radius: 6px; }
.brand a { color: #FDF9F0; text-decoration: none; }
header.hero .title { display: flex; align-items: center; gap: 20px; }
header.hero .title img { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 12px 30px rgba(0,0,0,.3); flex: none; }
header.hero h1 { margin: 0; font-size: 32px; line-height: 1.15; }
header.hero p { margin: 6px 0 0; color: rgba(253,249,240,.88); }
header.hero a { color: var(--amber); }
.kicker { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--amber); }

/* At a glance */
.glance { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: -26px 0 32px; position: relative; }
.glance .tile { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: 0 8px 24px rgba(2,69,78,.08); }
.glance .tile svg { width: 28px; height: 28px; display: block; margin-bottom: 10px; color: var(--amber-deep); }
.glance .tile strong { display: block; font-size: 15px; margin-bottom: 2px; }
.glance .tile span { color: var(--muted); font-size: 14px; }

/* Sections */
main { padding: 0 0 56px; }
.section { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--border); }
.section:first-of-type { border-top: 0; }
.section .n { width: 36px; height: 36px; border-radius: 12px; background: var(--teal); color: var(--amber); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; margin-top: 2px; }
@media (prefers-color-scheme: dark) { .section .n { background: var(--amber); color: var(--teal-deep); } }
.section h2 { font-size: 20px; margin: 4px 0 8px; }
.section h3 { font-size: 16px; margin: 16px 0 4px; }
.section p, .section ol, .section ul { margin: 0 0 10px; }
.section ol, .section ul { padding-left: 22px; }
.section li { margin-bottom: 4px; }
.section > div > :last-child { margin-bottom: 0; }
.summary { border-left: 4px solid var(--amber-deep); background: var(--accent-soft); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 0 0 8px; }
em { font-style: normal; font-weight: 600; }

table { border-collapse: collapse; width: 100%; font-size: 15px; margin-top: 6px; }
th, td { text-align: left; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }

/* Landing */
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 8px 0 28px; }
.feature { border: 1px solid var(--border); background: var(--panel); border-radius: 16px; padding: 18px 20px; }
.feature h3 { margin: 0 0 4px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
h2.plain { font-size: 22px; margin: 36px 0 10px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0 0; }
.btn { display: inline-block; background: var(--amber); color: var(--teal-deep); text-decoration: none; font-weight: 700; padding: 9px 18px; border-radius: 999px; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: #FDF9F0; border: 1px solid rgba(253,249,240,.5); font-weight: 600; }
.soon { font-size: 14px; color: rgba(253,249,240,.8); }

footer { border-top: 1px solid var(--border); padding: 22px 20px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 0; }
footer img { width: 22px; height: 22px; border-radius: 6px; vertical-align: middle; margin-right: 6px; }

@media (max-width: 520px) {
  header.hero .title { align-items: flex-start; }
  header.hero .title img { width: 64px; height: 64px; border-radius: 16px; }
  header.hero h1 { font-size: 26px; }
  .section { grid-template-columns: 1fr; gap: 6px; }
}
