/* kepdesk.app landing. Same rules as the app: flat, no shadows, one muted sage accent,
   headings weight 500 max, outline icons, cards 14px / controls 10px radius. */
:root {
  --bg: #fafaf7;
  --card: #ffffff;
  --text: #1f2a28;
  --muted: #5d6b68;
  --accent: #5e8b7e;
  --accent-soft: #e6efeb;
  --border: #dfe4e1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1e1d;
    --card: #242827;
    --text: #e6ebea;
    --muted: #a3b0ad;
    --accent: #8fbcaf;
    --accent-soft: #2c3633;
    --border: #353d3a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
h1, h2, h3, b, strong { font-weight: 500; }
img, svg { display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

header.top { padding: 16px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 18px; font-weight: 500; }
.brand img { width: 26px; height: 32px; }
.lang { font-size: 14px; }

.hero { padding: 40px 0 32px; }
.hero h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.2; margin: 0 0 16px; max-width: 760px; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; max-width: 680px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.badge {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 500;
}
.cta .note { color: var(--muted); font-size: 14px; }

section { padding: 32px 0; }
section > .wrap > h2 { font-size: 26px; margin: 0 0 8px; }
section > .wrap > p.sub { color: var(--muted); margin: 0 0 24px; max-width: 680px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.card h3 { font-size: 18px; margin: 12px 0 6px; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

ul.plain { margin: 0; padding-left: 20px; }
ul.plain li { margin: 0 0 8px; }

.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 20px; margin: 0 0 12px; }
.faq summary { cursor: pointer; font-weight: 500; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

footer { padding: 32px 0 40px; border-top: 1px solid var(--border); margin-top: 24px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.notfound { padding: 80px 0; }
.notfound h1 { font-size: 32px; margin: 0 0 12px; }
