/* Asylum MKE LLC — company site. Deliberately shares nothing with kinnly's
   palette; this is the parent entity, not one of its products. */

:root {
  --bg:          #FBFAF8;
  --surface:     #FFFFFF;
  --line:        rgba(18, 20, 22, 0.10);
  --line-strong: rgba(18, 20, 22, 0.18);
  --ink:         #16181A;
  --ink-soft:    #5A6168;
  --accent:      #1F6F5C;
  --accent-ink:  #14503F;
  --accent-soft: rgba(31, 111, 92, 0.09);
  --shadow:      0 1px 2px rgba(18,20,22,.04), 0 8px 24px rgba(18,20,22,.06);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #101214;
    --surface:     #171A1D;
    --line:        rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.18);
    --ink:         #ECEEF0;
    --ink-soft:    #99A2AA;
    --accent:      #57C2A3;
    --accent-ink:  #7FD6BC;
    --accent-soft: rgba(87, 194, 163, 0.13);
    --shadow:      0 1px 2px rgba(0,0,0,.30), 0 8px 24px rgba(0,0,0,.28);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

/* .shell owns the inline axis only. Sections own the block axis. Keeping
   them on separate longhands means neither can override the other, which
   a `padding`/`margin` shorthand here previously did. */
.shell {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* ── header ───────────────────────────────────────── */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-head .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; font-size: 19px; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.wordmark:hover { color: var(--accent); }
.site-head nav a {
  font-size: 15px; color: var(--ink-soft); text-decoration: none; margin-left: 20px;
}
.site-head nav a:hover { color: var(--accent); }

/* ── hero ─────────────────────────────────────────── */
.hero { padding-block: 64px 20px; }
.hero h1 {
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.08;
  margin: 0 0 18px;
}
.hero .lede {
  font-size: clamp(18px, 2.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 54ch;
}

/* ── sections ─────────────────────────────────────── */
section { padding-block: 56px; }
/* Extra air before a following section so the eyebrow never crowds the
   card grid above it. */
section + section {
  border-top: 1px solid var(--line);
  margin-block-start: 48px;
  padding-block-start: 72px;
}
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 24px;
}
section h2 { font-size: 15px; margin: 0; }

/* ── product cards ────────────────────────────────── */
.apps { display: grid; gap: 14px; }
.app {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
}
/* Cards lead with the app icon, the way the stores present an app. The icon is
   decorative: the heading beside it already names the app, so alt is empty
   rather than repeating it to a screen reader. */
.app-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 13px;          /* ~23%, close to the iOS squircle ratio */
  flex: none;
  display: block;
  background: var(--accent-soft);
}
.app-head-text { min-width: 0; }
.app-head h3 { margin: 0 0 2px; }
.app-head .meta { margin: 0; }

.app h3 { font-size: 21px; margin: 0 0 2px; }
.app .meta {
  font-size: 13px; color: var(--ink-soft);
  margin: 0 0 12px;
}
.app p { margin: 0 0 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.app p:last-child { margin-bottom: 0; }
.app .visit {
  display: inline-block;
  font-size: 14px; font-weight: 500;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
}
.app .visit:hover { background: var(--accent); color: #fff; }

/* ── company facts ────────────────────────────────── */
.facts { display: grid; gap: 0; }
.fact {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.fact:first-child { border-top: 1px solid var(--line); }
.fact dt { color: var(--ink-soft); }
.fact dd { margin: 0; }
dl { margin: 0; }

@media (max-width: 560px) {
  .fact { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .fact dt { font-size: 13px; }
  .hero { padding-block: 44px 12px; }
  section { padding-block: 44px; }
  .app-icon { width: 48px; height: 48px; border-radius: 11px; }
  .app-head { gap: 12px; }
  section + section { margin-block-start: 36px; padding-block-start: 56px; }
}

/* ── footer ───────────────────────────────────────── */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 56px;
  color: var(--ink-soft);
  font-size: 14px;
}
.site-foot .shell { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.site-foot a { color: var(--ink-soft); }
.site-foot a:hover { color: var(--accent); }
