/* Kinnon marketing site. Mirrors the app's palette and typeface so the two
   read as one product: cyan #0088b0, magenta #d6006c, Source Serif 4. */
:root {
  --ink: #1c1b1a;
  --ink-soft: #55504c;
  --bg: #faf8f5;
  --surface: #ffffff;
  --line: #e6e0d8;
  --cyan: #0088b0;
  --cyan-deep: #006d8d;
  --magenta: #d6006c;
  --radius: 14px;
  --measure: 62ch;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(1040px, 100% - 2.5rem); margin-inline: auto; }

/* ---- header ---- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }

nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--ink-soft); text-decoration: none; font-size: 1rem; }
nav a:hover, nav a:focus-visible { color: var(--cyan-deep); text-decoration: underline; }
nav a[aria-current="page"] { color: var(--cyan-deep); font-weight: 600; }

/* ---- hero ---- */
.hero { padding: 5rem 0 3.5rem; text-align: center; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.1; margin: 0 0 1rem; letter-spacing: -0.02em;
}
.hero p.lede {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--ink-soft); max-width: 34ch; margin: 0 auto 2rem;
}
.cta {
  display: inline-block; background: var(--cyan); color: #fff;
  padding: .85rem 1.9rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 1.05rem;
}
.cta:hover, .cta:focus-visible { background: var(--cyan-deep); }
.cta-note { display: block; margin-top: .9rem; font-size: .95rem; color: var(--ink-soft); }

/* App Store button. Swap for Apple's official badge artwork once there's a
   listing — their marketing guidelines require the supplied badge, not a
   lookalike, on final marketing pages. */
.store-row { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.store-btn {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #000; color: #fff; text-decoration: none;
  padding: .7rem 1.5rem; border-radius: 12px; line-height: 1.15;
}
.store-btn:hover, .store-btn:focus-visible { background: #1c1b1a; }
.store-btn svg { width: 26px; height: 26px; flex: none; fill: #fff; }
.store-btn .small { display: block; font-size: .72rem; opacity: .85; }
.store-btn .big { display: block; font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
/* Not a link until there's somewhere to send people. */
.store-btn--soon { background: var(--surface); color: var(--ink); border: 1px solid var(--line); cursor: default; }
.store-btn--soon svg { fill: var(--ink); }
.store-btn--soon:hover { background: var(--surface); }

/* ---- features ---- */
.features { padding: 1rem 0 4.5rem; }
.grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  border-top: 3px solid var(--cyan);
}
.card:nth-child(even) { border-top-color: var(--magenta); }
.card h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ---- generic content pages ---- */
.page { padding: 3.5rem 0 4rem; }
.page h1 { font-size: clamp(2rem, 5vw, 2.6rem); margin: 0 0 .35rem; letter-spacing: -0.02em; }
.page .updated { color: var(--ink-soft); font-size: .95rem; margin: 0 0 2.5rem; }
.page h2 { font-size: 1.3rem; margin: 2.4rem 0 .6rem; }
.page p, .page li { max-width: var(--measure); color: var(--ink-soft); }
.page a { color: var(--cyan-deep); }

.faq { max-width: var(--measure); }
.faq details {
  border-bottom: 1px solid var(--line); padding: 1.1rem 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--cyan); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { margin: .7rem 0 0; }

.contact-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem; margin: 2rem 0 0;
  max-width: var(--measure);
}
.contact-box h2 { margin-top: 0; }

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--line); padding: 2.5rem 0; margin-top: 2rem;
  font-size: .95rem; color: var(--ink-soft);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.site-footer a { color: var(--ink-soft); }

@media (max-width: 560px) {
  nav ul { gap: 1.1rem; }
  .hero { padding: 3.5rem 0 2.5rem; }
}
