:root {
  --bg: #fffaf6;
  --surface: #ffffff;
  --text: #1f1b2e;
  --muted: #6b6478;
  --border: #f0e6e0;
  --accent: #e5487a;
  --accent-soft: #fde8ef;
  --brand: linear-gradient(135deg, #ff9a4d 0%, #f2557e 50%, #6e56ff 100%);
  --radius: 18px;
  --max: 920px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141220;
    --surface: #1e1b2c;
    --text: #f4f1fa;
    --muted: #a8a1b8;
    --border: #2e2a40;
    --accent: #ff7aa2;
    --accent-soft: #3a2233;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand img { height: 46px; width: auto; display: block; }


.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.site-nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 56px 0 40px; }

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}

/* Sections */
section { padding: 32px 0; }

h2 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.app {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app .emoji {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: var(--accent-soft);
}

.app h3 { margin: 4px 0 0; font-size: 19px; }

.app p { margin: 0; color: var(--muted); font-size: 15.5px; flex: 1; }

.badge {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 10px;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.contact-box p { margin: 0 0 6px; }

.contact-box .email {
  font-size: 20px;
  font-weight: 700;
  word-break: break-all;
}

.muted { color: var(--muted); }

/* Legal pages */
.doc { padding: 32px 0 24px; max-width: 72ch; }

.doc h1 {
  font-size: clamp(30px, 5vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.doc h2 { font-size: 21px; margin: 34px 0 10px; }

.doc h3 { font-size: 17px; margin: 22px 0 6px; }

.doc ul { padding-left: 22px; }

.doc li { margin: 4px 0; }

.doc .updated { color: var(--muted); margin: 0 0 24px; }

.note {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 14px 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 14.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

.site-footer a { color: var(--muted); }

@media (max-width: 560px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 28px; }
}
