/* Kotokoi's site: the app's paper, ink and pond, in light and dark. */
:root {
  --paper: #ffffff;
  --card: #ffffff;
  --ink: #3340c7;
  --text: #1f212e;
  --muted: #5d6070;
  --rule: #e4e6f2;
  --wash: #f3f4fc;
  --deep: #0b1846;
  --shallow: #0b8ccd;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c0f17;
    --card: #171c29;
    --ink: #9eb0ff;
    --text: #e8edf5;
    --muted: #a3a9ba;
    --rule: #242a3a;
    --wash: #141927;
    --deep: #030916;
    --shallow: #0d4f7a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c0f17;
  --card: #171c29;
  --ink: #9eb0ff;
  --text: #e8edf5;
  --muted: #a3a9ba;
  --rule: #242a3a;
  --wash: #141927;
  --deep: #030916;
  --shallow: #0d4f7a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 "Outfit", system-ui, -apple-system, sans-serif;
}
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

/* The pond at the top of every page. */
.pond {
  background: linear-gradient(180deg, var(--deep) 0%, var(--shallow) 78%, var(--paper) 100%);
  color: #eef4ff;
  padding: 28px 16px 64px;
}
.pond nav {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.pond nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 19px;
  margin-inline-end: auto;
}
.pond nav .brand img { width: 34px; height: 34px; border-radius: 9px; }
.pond nav a { color: #eef4ff; opacity: 0.88; font-size: 15px; }
.pond nav a[aria-current="page"] { opacity: 1; font-weight: 600; }

main {
  max-width: 720px;
  margin: -40px auto 0;
  padding: 0 16px 64px;
}
.sheet {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 28px 24px 32px;
  box-shadow: 0 10px 30px rgba(16, 20, 64, 0.08);
}
h1 { font-size: 34px; line-height: 1.15; margin: 0 0 6px; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 21px; margin: 30px 0 6px; font-weight: 600; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.lead { font-size: 19px; }
.short {
  background: var(--wash);
  border-inline-start: 3px solid var(--ink);
  padding: 12px 16px;
  border-radius: 4px;
  margin: 18px 0;
}
ul { padding-inline-start: 22px; }
li { margin: 4px 0; }
dt { font-weight: 600; margin-top: 18px; }
dd { margin: 4px 0 0; color: var(--text); }

/* Home */
.hero { text-align: center; padding: 8px 0 4px; }
.hero img { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 14px 34px rgba(5, 20, 70, 0.35); }
.hero h1 { font-size: 44px; margin-top: 18px; }
.hero .tagline { font-size: 21px; color: var(--muted); margin: 0 0 18px; }
.soon {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  margin: 8px 0 4px;
}
.points { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 28px 0 8px; }
.point { background: var(--wash); border-radius: 8px; padding: 14px 16px; }
.point strong { display: block; font-size: 17px; }
.point span { color: var(--muted); font-size: 15px; }
.languages { color: var(--muted); font-size: 15px; text-align: center; margin-top: 22px; }

footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 40px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
footer a { color: var(--muted); }

@media (max-width: 480px) {
  h1 { font-size: 29px; }
  .hero h1 { font-size: 36px; }
  .sheet { padding: 22px 18px 26px; }
}
