/* Synlig14 – checklist / plan style. System fonts only. */
:root {
  --bg: #FFFFFF;
  --text: #0B1F17;
  --accent: #166534;
  --lime: #D9F99D;
  --soft: #F0FDF4;
  --dark: #0B1F17;
  --dark-text: #F0FDF4;
  --muted: #4B5563;
  --border: #D1D5DB;
  --radius: 4px;
  --max: 68rem;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(11, 31, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 23, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lime);
  color: var(--text);
  padding: 0.5rem 1rem;
  z-index: 100;
  font-weight: 700;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header / nav */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}
.logo {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { background: var(--lime); padding: 0 0.15em; }

.nav-desktop { display: none; }
.nav-mobile {
  margin-left: auto;
}
.nav-mobile[open] {
  flex-basis: 100%;
  margin-left: 0;
}
.nav-toggle {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  list-style: none;
}
.nav-toggle::-webkit-details-marker { display: none; }
.nav-mobile[open] > .nav-toggle { background: var(--soft); }
.nav-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.nav-list a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 0.35rem 0;
  display: inline-block;
}
.nav-list a:hover { color: var(--accent); }
.lang {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 700;
  margin-top: 0.5rem;
}
.lang a { text-decoration: none; color: var(--muted); }
.lang a[aria-current="page"] {
  color: var(--text);
  background: var(--lime);
  padding: 0.1em 0.35em;
  border-radius: var(--radius);
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  cursor: pointer;
  font: inherit;
  line-height: 1.3;
}
.btn:hover { background: #14532d; border-color: #14532d; }
.btn-ghost {
  background: transparent;
  color: var(--accent) !important;
}
.btn-ghost:hover { background: var(--soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

@media (min-width: 860px) {
  .nav-desktop { display: block; }
  .nav-mobile { display: none; }
  .nav-desktop .nav-list {
    flex-direction: row;
    align-items: center;
    margin: 0;
    gap: 1rem;
  }
  .nav-desktop .lang { margin: 0 0 0 0.5rem; }
  .nav-desktop .nav-cta { margin-left: 0.25rem; }
}

/* Typography */
h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(1.85rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h3 { font-size: 1.15rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.mark {
  background: var(--lime);
  padding: 0.05em 0.2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.note-mva {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  margin: 0.5rem 0 1rem;
}
.section { padding: 3rem 0; }
.section-soft { background: var(--soft); }
.section-dark {
  background: var(--dark);
  color: var(--dark-text);
}
.section-dark a { color: var(--lime); }
.section-dark .muted { color: #A7B0AA; }
.muted { color: var(--muted); }
.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Hero */
.hero { padding: 2.5rem 0 2rem; }
.hero .lead { margin-bottom: 0; }

/* 14-day timeline */
.timeline-14 {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 2rem 0 0.5rem;
  max-width: 42rem;
}
.timeline-14 .day {
  aspect-ratio: 1;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.55rem, 1.8vw, 0.75rem);
  font-weight: 700;
  color: var(--accent);
  min-height: 1.75rem;
}
.timeline-14 .day.done {
  background: var(--accent);
  color: #fff;
}
.timeline-14 .day.phase {
  background: var(--lime);
  color: var(--text);
  border-color: var(--accent);
}
.timeline-caption {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}

@media (max-width: 480px) {
  .timeline-14 { gap: 0.2rem; }
}

/* Cards / grids – interaction containers only where needed */
.grid-3 {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--bg);
}
.card h3 { margin-top: 0; }
.card-featured {
  border: 2px solid var(--accent);
  background: var(--soft);
  position: relative;
}
.badge {
  display: inline-block;
  background: var(--lime);
  color: var(--text);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
}
.price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.5rem 0;
}
.price small {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.list-plain {
  margin: 0.75rem 0 1rem;
  padding-left: 1.15rem;
}
.list-plain li { margin: 0.35rem 0; }
.list-check { list-style: none; padding-left: 0; }
.list-check li {
  padding-left: 1.5rem;
  position: relative;
  margin: 0.45rem 0;
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.stack-links { margin-top: 1.25rem; }
.stack-links p { margin: 0.4rem 0; }

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.steps li {
  counter-increment: step;
  padding: 1rem 0 1rem 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--text);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* Process timeline vertical */
.process-day {
  border-left: 3px solid var(--accent);
  padding: 0 0 1.5rem 1.25rem;
  margin-left: 0.5rem;
}
.process-day:last-child { padding-bottom: 0; }
.process-day strong {
  display: inline-block;
  background: var(--lime);
  padding: 0.1em 0.4em;
  margin-bottom: 0.35rem;
}

/* Honesty callout */
.callout {
  border: 2px solid var(--accent);
  background: var(--soft);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin: 1.5rem 0;
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--bg);
}
th, td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
th { background: var(--soft); font-weight: 700; }
th[scope="row"] { width: 12rem; }

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin: 0.65rem 0;
  background: var(--bg);
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
}
.faq details[open] summary { margin-bottom: 0.5rem; }

/* Form */
.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}
.form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.form .field { display: block; }
.form .hint { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
}
.form textarea { min-height: 8rem; resize: vertical; }
.form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form .consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
}
.form .consent input { width: auto; margin-top: 0.3rem; }
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.form-status.ok { background: var(--soft); border: 1px solid var(--accent); }
.form-status.err { background: #FEF2F2; border: 1px solid #991B1B; color: #7F1D1D; }
.contact-aside {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.about-copy {
  margin-top: 1.5rem;
  max-width: 42rem;
}
.about-copy p:last-child { margin-bottom: 0; }

/* Figure / examples */
figure.example {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
figure.example-featured {
  margin-top: 2rem;
  max-width: 40rem;
}
figure.example img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--soft); }
figure.example figcaption { padding: 1rem 1.15rem; }
.example-title {
  font-size: 1.2rem;
}
.grid-3-spaced {
  margin-top: 2rem;
}
.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--lime);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius);
  margin-bottom: 0.35rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.site-footer .legal { margin: 0 0 1rem; max-width: 50rem; color: var(--text); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav a { color: var(--accent); font-weight: 600; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

/* 404 */
.page-404 { padding: 4rem 0; text-align: left; }
.page-404-divider {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--border);
}

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
