/* Kledd website — same design tokens as the app */
:root {
  --cream: #FAF6F0;
  --cream-dark: #EDEAE4;
  --blue: #7FA8C9;
  --coral: #F2A48C;
  --pine: #5E7C6A;
  --mustard: #E8B04B;
  --ink: #2A3B33;
  --ink-soft: #5C6B62;
  --ink-muted: #8A9088;
  --sand: #E5DCC8;
  --card: #FFFFFF;
  --coral-ink: #3A2A20;
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #0F1A22;
    --cream-dark: #0B141B;
    --ink: #F2EFE6;
    --ink-soft: rgba(235,235,245,0.72);
    --ink-muted: rgba(235,235,245,0.55);
    --sand: rgba(255,255,255,0.14);
    --card: #16232D;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Nunito', -apple-system, system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand { font-family: 'Quicksand', 'Nunito', sans-serif; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
header.site {
  padding: 18px 0;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--sand);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; letter-spacing: -0.5px; }
.brand svg { width: 34px; height: 34px; }
nav.links { display: flex; gap: 18px; flex-wrap: wrap; }
nav.links a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 14px; }
nav.links a:hover { color: var(--pine); }
main { padding: 48px 0 72px; }
.hero {
  text-align: center;
  padding: 64px 24px 56px;
  background: linear-gradient(180deg, var(--blue) 0%, #DCE8F2 55%, var(--cream) 100%);
}
@media (prefers-color-scheme: dark) {
  .hero { background: linear-gradient(180deg, #26445E 0%, #152736 55%, var(--cream) 100%); }
}
.hero .sheep { width: 140px; height: 140px; margin: 0 auto 8px; animation: float 3.2s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-6px);} }
.hero h1 { font-size: 44px; font-weight: 700; letter-spacing: -0.5px; color: #2A3B33; }
.hero p.tag { font-size: 17px; font-weight: 700; color: #425048; margin-top: 6px; }
@media (prefers-color-scheme: dark) {
  .hero h1 { color: #F2EFE6; }
  .hero p.tag { color: rgba(235,235,245,0.8); }
}
.badges { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--cream);
  border-radius: 14px; padding: 12px 20px; font-weight: 800; font-size: 15px;
  text-decoration: none;
}
@media (prefers-color-scheme: dark) { .badge { background: #F2EFE6; color: #0F1A22; } }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 40px; }
.card {
  background: var(--card); border-radius: 22px; padding: 22px 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}
.card .emoji { font-size: 30px; }
.card h3 { font-size: 17px; margin: 8px 0 4px; }
.card p { font-size: 14px; color: var(--ink-soft); }
article h1 { font-size: 32px; margin-bottom: 6px; }
article .updated { color: var(--ink-muted); font-weight: 700; font-size: 13.5px; margin-bottom: 28px; }
article h2 { font-size: 21px; margin: 30px 0 8px; }
article p, article li { color: var(--ink-soft); font-size: 15.5px; }
article ul { padding-left: 22px; margin: 8px 0; }
article a { color: var(--pine); font-weight: 700; }
.note {
  background: #FBEFD9; border-radius: 16px; padding: 14px 16px; margin: 18px 0;
  font-weight: 700; font-size: 14px; color: #2A3B33;
}
@media (prefers-color-scheme: dark) { .note { background: rgba(232,176,75,0.12); color: #F2EFE6; } }
.lang-switch { margin-bottom: 22px; display: flex; gap: 8px; }
.lang-switch a {
  font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 10px;
  background: rgba(127,168,201,0.14); color: var(--ink-soft); text-decoration: none;
}
.lang-switch a.active { background: var(--blue); color: #fff; }
footer.site .lang-switch { margin: 0; }
footer.site .lang-switch a { margin-right: 0; }
footer.site {
  border-top: 1px solid var(--sand); padding: 28px 0 48px; color: var(--ink-muted);
  font-size: 13.5px; font-weight: 600;
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--ink-soft); text-decoration: none; font-weight: 700; margin-right: 14px; }
.btn-coral {
  display: inline-block; background: var(--coral); color: var(--coral-ink);
  border-radius: 18px; padding: 14px 28px; font-weight: 800; font-size: 16px; text-decoration: none;
  box-shadow: 0 8px 20px rgba(242,164,140,0.4);
}
code { background: var(--cream-dark); border-radius: 6px; padding: 1px 6px; font-size: 14px; }
.steps { counter-reset: step; margin: 14px 0; padding: 0; list-style: none; }
.steps li {
  counter-increment: step; position: relative; padding: 10px 0 10px 44px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 8px;
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
