/* Layout for the kuzumi.dev landing and privacy pages. Colors come from kuzumi-theme.css only. */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--link); }
a:focus-visible, .button:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}

header {
  border-bottom: 1px solid var(--line);
  position: relative;
}
/* the one gradient detail allowed per page */
header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .7;
}
.bar {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
}
.brand span { color: var(--accent); }

main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero {
  padding: 14vh 0 10vh;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 9vw, 4.2rem);
  margin: 0 0 .2em;
  letter-spacing: .03em;
}
.hero p {
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto 2em;
}
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background .15s, box-shadow .15s;
}
.button:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 18px rgb(214 83 143 / .35);
}
.note { font-size: .9rem; color: var(--muted); margin-top: 1.4em; text-align: center; }

/* app cards on the landing page: the whole card is the link */
.hero + .apps { margin-top: -6vh; }
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.app {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.app:hover { border-color: var(--accent); box-shadow: 0 0 18px rgb(214 83 143 / .18); }
.app:hover .button { background: var(--accent-hover); }
.app:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.app svg {
  width: 30px; height: 30px;
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round;
}
.app h2 { margin: .5em 0 .2em; font-size: 1.3rem; display: flex; align-items: center; gap: 8px; }
.app p { color: var(--muted); margin: 0 0 1.4em; flex: 1; }
.app .button { padding: 9px 20px; }
.tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px;
}

.doc { padding: 40px 0 56px; }
.doc h1 { margin: 0 0 .1em; font-size: 2rem; }
.doc h2 {
  margin: 2em 0 .5em;
  font-size: 1.15rem;
  padding-bottom: .3em;
  border-bottom: 1px solid var(--line);
}
.doc .updated { color: var(--muted); margin: 0 0 1.5em; }
.doc li { margin: .3em 0; }
.doc strong { color: var(--text); }
.doc code { font-size: .95em; color: var(--text); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
footer .bar { justify-content: center; gap: 18px; flex-wrap: wrap; }
