/* Skatwerk website — the app's design system in CSS (docs/design/DESIGN-SYSTEM.md).
   Tokens mirror Skatwerk/DesignSystem: charcoal, warm off-white, one restrained card red.
   System fonts only; no external request of any kind. */
:root {
  color-scheme: light dark;
  --surface: #F4F1EA;
  --surface-elevated: #FFFFFF;
  --table: #1E2024;
  --text: #1C1C1E;
  --text-secondary: #5C5C61;
  --accent: #B3261E;
  --line: rgba(28, 28, 30, 0.12);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 72px;
  --radius: 14px;
  --measure: 68ch;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #161618;
    --surface-elevated: #222226;
    --text: #F4F1EA;
    --text-secondary: #A6A6AD;
    --accent: #D64545;
    --line: rgba(244, 241, 234, 0.14);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 var(--space-3); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 650; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin-top: var(--space-6); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 var(--space-4); }
.skip {
  position: absolute; left: -999px; top: var(--space-2);
  background: var(--surface-elevated); padding: var(--space-2) var(--space-3); border-radius: 8px;
}
.skip:focus { left: var(--space-3); z-index: 10; }

.site-header {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.1rem; }
.brand img { border-radius: 9px; }
.site-header nav { display: flex; gap: var(--space-4); }
.site-header nav a { color: var(--text); text-decoration: none; padding: var(--space-2) 0; }
.site-header nav a:hover { text-decoration: underline; }
.languages { margin-left: auto; font-size: 0.95rem; }
.languages a[aria-current="true"] { font-weight: 650; text-decoration: underline; }

main { padding: var(--space-6) var(--space-5) var(--space-8); max-width: 1100px; margin: 0 auto; }
main.prose { max-width: var(--measure); }
.hero { text-align: center; padding: var(--space-7) 0 var(--space-6); }
.hero-icon { border-radius: 28px; box-shadow: 0 8px 30px rgba(0,0,0,0.18); }
.tagline { font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--text-secondary); margin-top: var(--space-2); }
.lead { max-width: var(--measure); margin: var(--space-4) auto; }
.cta { display: inline-block; margin-top: var(--space-4); padding: var(--space-3) var(--space-5); border-radius: 999px; font-weight: 600; }
.cta-pending { border: 1px solid var(--line); color: var(--text-secondary); }
/* Apple's badge carries its own shape and colour; the page adds nothing to it but room and a
   focus ring. Its height is Apple's minimum of 40 pt — never scaled below that. */
.cta-store { display: inline-block; margin-top: var(--space-4); line-height: 0; }
.cta-store img { height: 40px; width: auto; }
.cta-store:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }

.feature-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature { background: var(--surface-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); }
.feature p { margin: 0; color: var(--text-secondary); }
.screen-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.screen-grid figure { margin: 0; }
/* The pictures carry their own dark ground and rounded corners; the page adds only the hairline
   every other block on this site uses, so a screenshot does not float. */
.screen-grid img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--radius); }
.facts ul { padding-left: 1.2em; }
.facts li { margin-bottom: var(--space-2); }

.prose ul { padding-left: 1.2em; }
details { border: 1px solid var(--line); border-radius: 10px; padding: var(--space-3) var(--space-4); margin-bottom: var(--space-3); background: var(--surface-elevated); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: var(--space-3) 0 0; }

mark.placeholder {
  background: #FFE8A3; color: #4A3600; padding: 0 0.3em; border-radius: 4px;
  outline: 2px dashed #B3261E;
}

.site-footer { border-top: 1px solid var(--line); padding: var(--space-5); color: var(--text-secondary); font-size: 0.95rem; text-align: center; }
.site-footer nav { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { padding: var(--space-3) var(--space-4); }
  .languages { margin-left: 0; }
  main { padding: var(--space-5) var(--space-4) var(--space-7); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
