/* Doro-Resor — single stylesheet, no JS, no framework */

:root {
  --ink:        #1b2332;
  --ink-soft:   #3d4a60;
  --muted:      #6a7385;
  --accent:     #0b4a6f;  /* deep Baltic */
  --accent-2:   #b8690a;  /* warm amber */
  --bg:         #fbfaf6;
  --bg-alt:     #f0ece1;
  --rule:       #dcd6c4;
  --link:       #0b4a6f;
  --link-hover: #083854;
  --max:        68rem;
  --max-prose:  44rem;
  --radius:     4px;
}

* { box-sizing: border-box; }

html {
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-kerning: normal;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Wrapper */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Links */
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand:hover { color: var(--accent); }
.brand-name {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
}
.brand-tag {
  font-size: 0.82rem;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin-top: 0.2rem;
}

/* Nav */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.25rem 0.2rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--accent); border-bottom-color: var(--accent-2); }
.site-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Hero */
.hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--rule);
  padding: 2.5rem 0 2rem;
}
.hero h1 {
  font-size: 2.3rem;
  margin: 0 0 0.6rem;
  line-height: 1.15;
  color: var(--accent);
}
.hero .lede {
  max-width: var(--max-prose);
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Prose */
.prose {
  max-width: var(--max-prose);
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.prose h1 {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.prose h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--accent);
  margin: 2.25rem 0 0.6rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.3rem;
}
.prose h3 {
  font-size: 1.08rem;
  margin: 1.5rem 0 0.4rem;
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.prose p { margin: 0 0 1rem; }
.prose .lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.3rem; }

/* Facts list */
.facts {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.facts dt {
  font-weight: 700;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.6rem;
}
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 0.1rem 0 0; padding: 0; }

/* Notice box */
.notice {
  background: #fdf7e5;
  border: 1px solid #e5c76a;
  border-left: 4px solid var(--accent-2);
  padding: 1rem 1.2rem;
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
}
.notice p { margin: 0 0 0.5rem; }
.notice p:last-child { margin: 0; }

/* Villkor list */
ol.villkor {
  list-style: none;
  counter-reset: villkor;
  padding: 0;
}
ol.villkor > li {
  counter-increment: villkor;
  padding: 0.9rem 0 0.9rem 2.6rem;
  position: relative;
  border-top: 1px solid var(--rule);
}
ol.villkor > li:first-child { border-top: 0; }
ol.villkor > li::before {
  content: counter(villkor) ".";
  position: absolute;
  left: 0.2rem;
  top: 0.95rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
  width: 2rem;
}
ol.villkor h3 { margin: 0 0 0.3rem; font-size: 1rem; color: var(--accent); }
ol.villkor p  { margin: 0; }

/* Article header */
.article-header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.article-header .kicker {
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: var(--accent-2);
  margin: 0 0 0.4rem;
}
.article-header h1 { margin: 0 0 0.6rem; }
.byline {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
.article-meta {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d8dee9;
  margin-top: 3rem;
  padding: 2.5rem 0 2rem;
}
.site-footer a { color: #f3e2b4; }
.site-footer a:hover { color: #fff; }
.site-footer h2 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.6rem;
}
.site-footer p { margin: 0 0 0.8rem; font-size: 0.95rem; line-height: 1.55; }
.foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}
.foot-cols ul.plain {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}
.foot-cols ul.plain li { margin: 0.2rem 0; }
.credit {
  border-top: 1px solid #374152;
  padding-top: 1rem;
  font-size: 0.88rem;
  color: #a8b0c0;
  max-width: 52rem;
}

/* 404 */
.error-page {
  text-align: center;
  padding: 4rem 1.25rem 5rem;
}
.error-page h1 { font-size: 3rem; color: var(--accent); margin: 0 0 0.5rem; }
.error-page p  { color: var(--ink-soft); max-width: 36rem; margin: 0 auto 1rem; }

/* Responsive */
@media (max-width: 40rem) {
  html { font-size: 16px; }
  .hero h1 { font-size: 1.9rem; }
  .prose h1 { font-size: 1.7rem; }
  .prose h2 { font-size: 1.2rem; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .site-nav ul { gap: 0.25rem 0.8rem; }
}

/* Print */
@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
