/* My Sauna -verkkosivu: sama savusaunateema kuin sovelluksessa */
:root {
  --bg: #17130f;
  --surface: #241e19;
  --border: #3a3029;
  --text: #f4ede4;
  --text-2: #b5a79a;
  --accent: #f08a4b;
  --on-accent: #17130f;
  --max: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 'Inter', system-ui, -apple-system, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: 'Bricolage Grotesque', system-ui, sans-serif; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin: 0 0 0.5em; }
h2 { font-size: 1.4rem; margin: 2em 0 0.5em; }
p, li { color: var(--text); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
header.site img { height: 36px; width: auto; display: block; }
nav a { color: var(--text-2); text-decoration: none; margin-left: 20px; font-size: 15px; display: inline-block; padding: 10px 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
main { padding: 40px 0 64px; }
.hero { text-align: center; padding: 32px 0 8px; }
.hero img { width: min(320px, 70vw); height: auto; }
.lead { font-size: 1.2rem; color: var(--text-2); max-width: 34em; margin: 0 auto 1.5em; }
.badge { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 600; border-radius: 999px; padding: 12px 22px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text-2); font-weight: 600; }
footer.site { border-top: 1px solid var(--border); color: var(--text-2); font-size: 14px; padding: 24px 0 40px; }
footer.site p { color: var(--text-2); margin: 4px 0; }

/* Kapealla näytöllä taulukon rivit kortteina */
@media (max-width: 600px) {
  table, thead, tbody, tr, th, td { display: block; }
  table { overflow: visible; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
  td { border: 0; padding: 4px 0; }
  td::before { content: attr(data-label); display: block; color: var(--text-2); font-size: 13px; font-weight: 600; }
  td:empty { display: none; }
}
