/* Cenny site. Sage paper, terracotta heat, one dark sage card. */
:root {
  --bg: #f6f3ec;
  --bg2: #efebe2;
  --surface: #ffffff;
  --text: #1f2421;
  --muted: #5e665f;
  --line: #e2ddd1;
  --accent: #2f6f5b;
  --on-accent: #ffffff;
  --hero: #24453a;
  --hero-ink: #f4f1e8;
  --hero-muted: #a9b8af;
  --good: #b7e3c9;
  --h1: #f2dfcb; --h2: #e8c29e; --h3: #dda277; --h4: #cc8052; --h5: #a9582f;
  --empty: #fbf9f4;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", var(--sans);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1412; --bg2: #171e1b; --surface: #1f2824; --text: #ecefea; --muted: #9aa59e; --line: #2a3430;
    --accent: #7cc4a8; --on-accent: #0f1412; --hero: #1f2c27;
    --h1: #45362a; --h2: #664a36; --h3: #8a5f42; --h4: #bd8453; --h5: #e3a96e; --empty: #141a18;
  }
}
* { box-sizing: border-box; }
html { color-scheme: light dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1080px, 100% - 48px); margin-inline: auto; }

header.top { padding: 22px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 600 26px/1 var(--serif); text-decoration: none; letter-spacing: -0.01em; }
.mark svg { border-radius: 7px; }
nav a { margin-left: 22px; font-size: 15px; color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 40px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
h1 { font: 600 clamp(42px, 6.4vw, 76px)/1.02 var(--serif); letter-spacing: -0.025em; margin: 0 0 22px; }
.lede { font-size: 20px; color: var(--muted); max-width: 30em; margin: 0 0 28px; }
.soon { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; background: var(--bg2); }
.soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.fine { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

.cal { margin: 0; justify-self: center; width: min(430px, 100%); }
.hero-card { background: var(--hero); color: var(--hero-ink); border-radius: 24px; padding: 20px 22px; margin-bottom: 16px; }
.hero-card span { display: block; font-size: 14px; color: var(--hero-muted); }
.hero-card strong { display: block; font: 600 52px/1.1 var(--round); letter-spacing: -0.02em; color: var(--good); font-variant-numeric: tabular-nums; }
.hero-card small { color: var(--hero-muted); font-size: 14px; }
.dow, .grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.dow span { text-align: center; font-size: 12px; color: var(--muted); padding-bottom: 4px; }
.c { position: relative; display: block; aspect-ratio: 1 / 1.08; border-radius: 10px; font-style: normal; overflow: hidden; background: var(--empty); border: 1px solid var(--line); }
.c.e { background: none; border: 0; }
.c s { position: absolute; top: 4px; left: 6px; font-size: 10px; text-decoration: none; color: var(--muted); }
.c u { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: 600 12px/1 var(--round); text-decoration: none; font-variant-numeric: tabular-nums; }
.c em { position: absolute; left: 6px; bottom: 3px; height: 3px; border-radius: 2px; background: currentColor; opacity: .55; }
.l1 { background: var(--h1); border-color: transparent; } .l1 em { width: 18%; }
.l2 { background: var(--h2); border-color: transparent; } .l2 em { width: 34%; }
.l3 { background: var(--h3); border-color: transparent; } .l3 em { width: 52%; }
.l4 { background: var(--h4); border-color: transparent; } .l4 em { width: 70%; }
.l5 { background: var(--h5); border-color: transparent; color: #fff; } .l5 s { color: rgba(255,255,255,.8); }
.l1 s, .l2 s, .l3 s, .l4 s { color: rgba(31,36,33,.65); }
.l0 em { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .l1,:root:not([data-theme="light"]) .l2,:root:not([data-theme="light"]) .l3 { color: #ecefea; } :root:not([data-theme="light"]) .l4,:root:not([data-theme="light"]) .l5 { color: #1f2421; } :root:not([data-theme="light"]) .l1 s,:root:not([data-theme="light"]) .l2 s,:root:not([data-theme="light"]) .l3 s { color: rgba(236,239,234,.7); } :root:not([data-theme="light"]) .l4 s,:root:not([data-theme="light"]) .l5 s { color: rgba(31,36,33,.7); } }
.c.today { box-shadow: 0 0 0 2px var(--accent); }
figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Bands */
.band { background: var(--bg2); padding: 72px 0; border-block: 1px solid var(--line); }
.two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
h2 { font: 600 clamp(28px, 4vw, 40px)/1.12 var(--serif); letter-spacing: -0.015em; margin: 0 0 16px; }
h3 { font: 600 20px/1.3 var(--serif); margin: 0 0 8px; }
.band p { color: var(--muted); margin: 0 0 18px; }
.band b { color: var(--text); font-family: var(--round); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 4px; background: var(--h3); }

.pad { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 22px; max-width: 360px; justify-self: center; width: 100%; }
.amt { text-align: center; font: 600 56px/1.1 var(--round); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.amt small { display: block; font: 500 13px var(--sans); color: var(--muted); letter-spacing: 0; }
.chips { display: flex; gap: 8px; justify-content: center; margin: 14px 0; flex-wrap: wrap; }
.chips span { padding: 6px 14px; border-radius: 16px; background: var(--bg2); font-size: 14px; }
.chips .on { background: var(--accent); color: var(--on-accent); }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.keys i { font: 600 22px/1 var(--round); font-style: normal; text-align: center; padding: 16px 0; border-radius: 14px; background: var(--bg2); }
.save { margin-top: 10px; text-align: center; background: var(--accent); color: var(--on-accent); border-radius: 16px; padding: 16px; font-weight: 600; }

.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; padding: 72px 0; }
.feats p { margin: 0; color: var(--muted); font-size: 16px; }

.pro .cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pro .cmp div { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.pro ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.lang { text-align: center; color: var(--muted); padding: 8px 0 56px; }

/* Docs */
.doc { max-width: 720px; padding: 24px 0 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc .meta { color: var(--muted); margin: 0 0 24px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
dt { font-weight: 600; margin-top: 22px; }
dd { margin: 4px 0 0; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { margin-right: 18px; text-decoration: none; }

@media (max-width: 800px) {
  .hero-grid, .two { grid-template-columns: 1fr; gap: 36px; }
  .pro .cmp { grid-template-columns: 1fr; }
  nav a { margin-left: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
