:root {
  /* From the Kymelon logo: deep green line work, watermelon coral, warm cream */
  --bg: #fbf7f3;
  --surface: #ffffff;
  --text: #1b2a23;
  --muted: #5e6b64;
  --line: #e9e2da;
  --green: #204739;
  --green-soft: #e4eee8;
  --pink: #e2725b;
  --pink-soft: #fbe6df;
  --shadow: 0 1px 2px rgba(23, 32, 26, 0.05), 0 8px 24px rgba(23, 32, 26, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1713;
    --surface: #15211b;
    --text: #f1eee9;
    --muted: #9fada6;
    --line: #24332b;
    --green: #8cc7a6;
    --green-soft: #1c3027;
    --pink: #f08a72;
    --pink-soft: #3a211b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

* { box-sizing: border-box; }

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

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

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { height: 36px; width: 36px; border-radius: 9px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 64px; text-align: center; }
.hero-mark { width: 132px; height: 132px; border-radius: 30px; box-shadow: var(--shadow); margin-bottom: 26px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 auto 18px; max-width: 760px; }
.hero h1 .accent { color: var(--pink); }
.hero p { font-size: 19px; color: var(--muted); max-width: 600px; margin: 0 auto; }

/* Sections */
section { padding: 56px 0; }
.section-title { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 6px; }
.section-lead { color: var(--muted); margin: 0 0 28px; }

/* App cards */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.app-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px; box-shadow: var(--shadow); color: var(--text); text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.app-card:hover { transform: translateY(-2px); }
.app-card .top { display: flex; align-items: center; gap: 14px; }
.app-card img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.app-card h3 { margin: 0; font-size: 20px; }
.app-card .platform { font-size: 13px; color: var(--muted); }
.app-card p { margin: 0; color: var(--muted); font-size: 15px; }
.app-card .more { font-size: 15px; font-weight: 600; color: var(--green); margin-top: auto; }
.app-card.soon { border-style: dashed; box-shadow: none; background: transparent; justify-content: center; align-items: center; text-align: center; min-height: 200px; }
.app-card.soon .dot { width: 64px; height: 64px; border-radius: 15px; background: var(--pink-soft); display: grid; place-items: center; font-size: 28px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.value .icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-weight: 700; margin-bottom: 12px; }
.value h3 { margin: 0 0 6px; font-size: 17px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 12px;
}
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* App page */
.app-hero { padding: 72px 0 40px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.app-hero img { width: 128px; height: 128px; border-radius: 29px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22); }
.app-hero h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; margin: 0 0 8px; line-height: 1.1; }
.app-hero p { color: var(--muted); font-size: 19px; margin: 0 0 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fact { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 640px) {
  .app-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .actions, .facts { justify-content: center; }
  .nav { gap: 14px; }
}

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