:root {
  --ink: #22285a;
  --paper: #eef0f5;
  --kerria: #f2b705;
  --muted: #5b6185;
  --line: #c9cddb;
  --white: #ffffff;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
}

a { color: inherit; text-underline-offset: 0.2em; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--kerria);
  outline-offset: 3px;
}

.bar,
main,
.foot {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.75rem;
}

.wordmark {
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.intro {
  padding-block: clamp(3rem, 10vw, 7rem) clamp(2.5rem, 7vw, 5rem);
  max-width: 50rem;
}

.intro h1 {
  margin: 0 0 1.5rem;
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.intro p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.1875rem;
}

.products {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding-bottom: 5rem;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 1.25rem;
}

.product h2 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.product-text p { margin: 0 0 1.5rem; max-width: 34rem; }
.product-text p:last-child { margin-bottom: 0; }

.status {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.apkbox {
  background: var(--ink);
  color: var(--paper);
}

.apkbox .status { background: var(--kerria); color: var(--ink); }

.apkbox .artifact {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  background: #171b40;
  border: 1px solid #3a4078;
  font: 0.9375rem/1.7 var(--mono);
  overflow-x: auto;
}

.dim { color: #8f95c4; }

.minwa {
  background: var(--white);
  border: 1px solid var(--line);
}

.minwa .status { border: 1px solid var(--line); color: var(--muted); }

.jp {
  margin: 0;
  font-family: var(--jp);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 2.1;
}

.jp rt {
  font-size: 0.45em;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 0.8rem 1.25rem;
  border: 0;
  border-radius: 0.6rem;
  background: var(--kerria);
  color: var(--ink);
  font: 700 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
}

.button:hover { background: #ffc81f; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.foot p { margin: 0; }

@media (max-width: 760px) {
  .product { grid-template-columns: minmax(0, 1fr); }
}
