/* Lumero Apps — one stylesheet for all pages */
:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --ink: #18171d;
  --muted: #5a5764;
  --line: #e6e0d6;
  --accent: #e9a23b;
  --accent-ink: #8f4c08;
  --accent-soft: #fcf0dc;
  --radius: 14px;
  --wrap: 1040px;
  --gutter: clamp(16px, 4vw, 32px);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p, ul, ol { margin: 0 0 1em; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(250, 248, 244, .92); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand span { font-weight: 400; color: var(--muted); }
.mark {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 32%, #fff3d2 0, #f3bf62 38%, #d8811c 72%, #b5600e 100%);
  box-shadow: 0 0 0 4px rgba(233, 162, 59, .16), 0 0 18px rgba(233, 162, 59, .45);
}
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; font-size: .975rem; }
.nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* Home */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 9vw, 104px) clamp(32px, 5vw, 56px); }
.hero + .section { padding-top: 0; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 620px; height: 620px; right: -180px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 191, 98, .38) 0, rgba(243, 191, 98, 0) 68%);
}
.hero h1 { max-width: 25ch; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); max-width: 40em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid var(--ink); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #33313b; }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--surface); }

.section { padding-block: clamp(40px, 7vw, 72px); scroll-margin-top: 16px; }
.section + .section { border-top: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 40em; margin-bottom: 28px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 2px 0 0 52px; min-height: 36px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: .95rem;
}
.steps li p { margin: 0; color: var(--muted); }

.statement { background: var(--accent-soft); border: 1px solid #f0d7ad; border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 5vw, 48px); }
.statement h2 { margin-bottom: .6em; }
.descriptor {
  display: inline-block; font-family: var(--mono); font-size: .95rem; letter-spacing: .14em;
  background: var(--surface); border: 1px dashed #d9b57a; border-radius: 8px; padding: 6px 12px; margin-bottom: 18px; color: var(--ink);
}
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; margin-top: 8px; }
@media (max-width: 720px) { .statement-grid { grid-template-columns: 1fr; } }
.statement-grid h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin-bottom: .35em; }
.statement-grid p { margin: 0; }

.contact-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.big-link { font-size: clamp(1.15rem, 2.6vw, 1.45rem); font-weight: 600; word-break: break-word; }
.muted { color: var(--muted); }

/* Legal pages */
.legal { max-width: 780px; padding-block: clamp(40px, 7vw, 72px); }
.legal h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); }
.updated { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.legal h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-top: 1.4em; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.summary { background: var(--accent-soft); border: 1px solid #f0d7ad; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 28px; }
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 8px; }
.toc-title { font-weight: 700; margin-bottom: 6px; }
.toc ol { margin: 0; columns: 2 220px; column-gap: 32px; }
.toc li { margin-bottom: .25em; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 700; background: var(--surface); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 32px 40px; font-size: .95rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0 0 18px; padding: 0; }
.footer-nav a { color: var(--ink); }
.site-footer p { margin: 0 0 6px; }

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .site-header .wrap { padding-block: 12px; }
  .nav { gap: 2px 16px; font-size: .95rem; }
  .btn { width: 100%; text-align: center; }
}
