/* Yougress marketing site. System fonts only, so no visitor data goes to a font host.
   Layout: one centered column. A weekly-plan strip in the hero is the signature element.
   Palette: deep teal ink on cool paper, a teal accent, and one warm highlight used only to mark a re-planned day. */
:root {
  --bg: #F5F8F7;
  --surface: #FFFFFF;
  --ink: #102A2E;
  --muted: #4A6164;
  --line: #D3DEDD;
  --accent: #0B6E6E;
  --accent-ink: #FFFFFF;
  --mark: #F3C969;
  --mark-ink: #3F3000;
  --todo-bg: #FFF1B8;
  --todo-ink: #3F3000;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D1B1E;
    --surface: #13282C;
    --ink: #E7F1F0;
    --muted: #9DB5B6;
    --line: #264244;
    --accent: #4FC3C0;
    --accent-ink: #06201F;
    --mark: #E8B84A;
    --mark-ink: #2A1F00;
    --todo-bg: #4A3C00;
    --todo-ink: #FFE9A3;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
}
.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Notice bar */
.notice { background: var(--ink); color: var(--bg); font-size: 0.9rem; }
.notice .wrap { padding-top: 8px; padding-bottom: 8px; }

/* Header */
header.site { padding-top: 22px; padding-bottom: 8px; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
nav.main { display: flex; gap: 22px; flex-wrap: wrap; }
nav.main a { color: var(--muted); text-decoration: none; font-weight: 500; padding: 6px 0; }
nav.main a:hover { color: var(--ink); text-decoration: underline; }

/* Hero */
.hero { padding-top: 48px; padding-bottom: 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; text-wrap: balance; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.pill { display: inline-block; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: 0.92rem; }
.pill strong { color: var(--accent); }

/* Weekly plan example */
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.plan h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 12px; font-family: var(--mono); font-weight: 500; }
.plan ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.plan .day { font-family: var(--mono); font-weight: 600; font-size: 0.9rem; }
.plan .what { min-width: 0; overflow-wrap: anywhere; }
.plan .mins { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.plan li.moved { background: var(--mark); color: var(--mark-ink); border-color: transparent; }
.plan li.moved .mins { color: var(--mark-ink); }
.plan small { display: block; font-size: 0.78rem; opacity: 0.85; }
.plan .caption { margin: 12px 0 0; font-size: 0.85rem; color: var(--muted); }

/* Sections */
section { padding-top: 56px; padding-bottom: 56px; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2.section { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 28px; text-wrap: balance; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--accent); padding-top: 14px; }
.steps li::before { content: counter(step); font-family: var(--mono); font-weight: 600; color: var(--accent); display: block; margin-bottom: 4px; }
.steps h3 { margin: 0 0 6px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
section.alt .price { background: var(--bg); }
.price h3 { margin: 0; font-size: 1rem; color: var(--muted); font-weight: 600; }
.amount { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.amount small { font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.fine { margin-top: 20px; color: var(--muted); font-size: 0.95rem; max-width: 46em; }
.fine ul { padding-left: 1.2em; margin: 8px 0 0; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 4px 0; }
details p { margin: 8px 0 4px; color: var(--muted); max-width: 46em; }

/* Footer */
footer.site { padding-top: 36px; padding-bottom: 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Placeholders that must be replaced before publishing */
.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0 4px; border-radius: 3px; }

/* Policy pages */
.doc { padding-top: 36px; padding-bottom: 56px; max-width: 760px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.doc h2 { font-size: 1.3rem; margin: 32px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { max-width: 68ch; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.doc .table-scroll { overflow-x: auto; }
.draft-banner { background: var(--todo-bg); color: var(--todo-ink); padding: 12px 16px; border-radius: 8px; margin: 0 0 24px; font-weight: 600; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 32px; padding-bottom: 40px; }
  section { padding-top: 40px; padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
