/* Koppig — koppig.app. Plain CSS, system fonts, light and dark. */

:root {
  color-scheme: light dark;
  --navy: #13213a;
  --amber: #f5a524;
  --cream: #f3ecdd;

  --bg: var(--cream);
  --ink: var(--navy);
  --muted: #565e6b;
  --card: #fbf7ef;
  --line: rgba(19, 33, 58, 0.14);
  --link: var(--navy);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--navy);
    --ink: var(--cream);
    --muted: #b0afac;
    --card: #1b2b48;
    --line: rgba(243, 236, 221, 0.14);
    --link: var(--amber);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 3px;
}

a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header on the inner pages */

.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 22.5%;
}

/* Home */

.home {
  padding-top: clamp(40px, 10vw, 88px);
  padding-bottom: 48px;
  text-align: center;
}

.app-icon {
  width: clamp(112px, 30vw, 160px);
  height: auto;
  border-radius: 22.5%;
  box-shadow: 0 10px 30px rgba(19, 33, 58, 0.25);
}

@media (prefers-color-scheme: dark) {
  /* The icon's navy tile matches the page; a faint ring keeps its shape. */
  .app-icon,
  .brand img {
    box-shadow: 0 0 0 1px rgba(243, 236, 221, 0.22), 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

h1 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.home h1 {
  margin-top: 24px;
  font-size: clamp(2.75rem, 12vw, 4.5rem);
}

.pronounce {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tagline {
  margin: 16px 0 0;
  font-size: clamp(1.3rem, 5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
}

.lede {
  max-width: 34rem;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.125rem;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

@media (min-width: 600px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.features li {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.features strong::before {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  margin-bottom: 10px;
  border-radius: 2px;
  background: var(--amber);
}

.features strong {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
}

.features span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.975rem;
}

.soon {
  display: inline-block;
  margin: 40px 0 0;
  padding: 12px 22px;
  background: var(--amber);
  color: var(--navy);
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
}

.contact {
  margin: 20px 0 0;
  font-size: 1.1rem;
}

/* Inner pages */

.page {
  padding-top: 36px;
  padding-bottom: 48px;
}

.page h1 {
  font-size: clamp(2rem, 8vw, 2.75rem);
}

.page h2 {
  margin: 32px 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}

.page p {
  margin: 14px 0 0;
}

.page h2 + p {
  margin-top: 8px;
}

.updated {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.925rem;
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  font-weight: 700;
}

.site-footer p {
  margin: 6px 0 0;
}
