:root {
  color-scheme: light dark;
  --bg: #ffffff; --bg-alt: #f4f1eb; --text: #171717; --muted: #646464;
  --accent: #0f766e; --border: #ded8cf; --panel: rgba(255,255,255,.9);
  --card: rgba(255,255,255,.45); --button-text: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10100e; --bg-alt: #1b1a17; --text: #f5f3ef; --muted: #b8b2a8;
    --accent: #5eead4; --border: #3a362f; --panel: rgba(24,23,20,.92);
    --card: rgba(255,255,255,.04); --button-text: #10100e;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;
  background: linear-gradient(180deg,var(--bg-alt),var(--bg)); color: var(--text); line-height: 1.6;
}
.container { max-width: 780px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
header { margin-bottom: 2rem; }
nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-bottom: 1.5rem; font-size: .9rem; }
nav [aria-current="page"] { color: var(--text); font-weight: 600; }
h1 { font-size: clamp(1.9rem,6vw,2.5rem); line-height: 1.1; margin: 0 0 .75rem; }
.home h1 { font-size: clamp(2.1rem,7vw,4rem); line-height: 1; }
h2 { font-size: 1.22rem; line-height: 1.35; margin: 2rem 0 .6rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
.panel > h2:first-child, section:first-child > h2:first-child { margin-top: 0; }
p { margin: .5rem 0 1rem; }
.lede { max-width: 620px; color: var(--muted); font-size: 1.08rem; }
.muted, .date { color: var(--muted); font-size: .92rem; }
.date { margin-bottom: 0; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; box-shadow: 0 16px 40px rgba(20,20,20,.08); }
a { color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
nav a, .link-card { text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
.skip { position: absolute; top: -100px; left: 1rem; z-index: 1; background: var(--bg); padding: .5rem 1rem; }
.skip:focus { top: 1rem; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: .55rem; }
.links { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: .85rem; margin-top: 1.5rem; }
.link-card { display: block; border: 1px solid var(--border); border-radius: 8px; padding: 1rem; background: var(--card); color: var(--text); }
.link-card strong { display: block; margin-bottom: .2rem; }
.link-card span { color: var(--muted); font-size: .92rem; }
.summary, .pack { background: var(--bg-alt); padding: 1.2rem; border: 1px solid var(--border); border-radius: 8px; margin: 0 0 2rem; }
.summary p, .pack p { margin: 0; }
.pack-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: .4rem; }
.pack-price strong { font-size: 1.35rem; }
.pack-price span { font-size: .95rem; }
.contact { margin-top: 2rem; border-top: 1px solid var(--border); }
label { display: block; font-size: .9rem; font-weight: 600; margin: 1rem 0 .25rem; }
input, textarea { width: 100%; border-radius: 8px; border: 1px solid var(--border); padding: .65rem .75rem; font: inherit; background: var(--bg); color: var(--text); }
textarea { min-height: 150px; resize: vertical; }
button { margin-top: 1.25rem; border: 0; border-radius: 8px; background: var(--accent); color: var(--button-text); font: inherit; font-weight: 700; padding: .7rem 1rem; cursor: pointer; }
footer { margin-top: 3rem; color: var(--muted); font-size: .85rem; }
footer nav { font-size: inherit; margin-bottom: 1rem; }
@media (max-width: 420px) { .container { padding-top: 2rem; } .panel { padding: 1.1rem; } .links { grid-template-columns: 1fr; } }
@media print {
  body { background: white; color: black; } .container { max-width: none; padding: 0; }
  nav, .skip, form { display: none; } .panel { box-shadow: none; border: 0; padding: 0; }
  a { color: black; } .summary, .pack { background: none; } h2 { break-after: avoid; }
}
