:root {
  color-scheme: light dark;
  --bg: #fff4d6;
  --surface: #ffffff;
  --ink: #13233f;
  --muted: #657087;
  --coral: #df4053;
  --teal: #35a9a3;
  --border: #e3d8c0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
}

a { color: #146fa3; }

.page {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 32px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 42px;
}

.app-icon {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 12px 28px rgb(19 35 63 / 20%);
}

h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.18; margin-bottom: 8px; }
h2 { margin-top: 36px; line-height: 1.4; }

.eyebrow { color: var(--coral); font-size: .82rem; font-weight: 900; letter-spacing: .14em; margin-bottom: 6px; }
.updated { color: var(--muted); }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 132px;
  padding: 24px;
  background: var(--surface);
  border: 3px solid var(--teal);
  border-radius: 24px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 0 rgb(19 35 63 / 9%);
}
.card:hover { transform: translateY(-2px); }
.card-icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--coral); color: white; font-size: 1.6rem; font-weight: 900; }
.card strong, .card small { display: block; }
.card strong { font-size: 1.12rem; }
.card small { color: var(--muted); margin-top: 4px; }

.english-block, .article {
  background: var(--surface);
  border-radius: 28px;
}
.english-block { margin-top: 28px; padding: 28px; }
.article { margin-top: 24px; padding: 40px clamp(24px, 7vw, 68px); }
.back { display: inline-block; margin-bottom: 24px; font-weight: 800; text-decoration: none; }
.button { display: inline-block; padding: 13px 20px; border-radius: 14px; background: var(--coral); color: white; font-weight: 900; text-decoration: none; }
li + li { margin-top: 8px; }
hr { border: 0; border-top: 2px solid var(--border); margin: 54px 0; }
footer { color: var(--muted); margin-top: 42px; text-align: center; font-size: .85rem; }

@media (max-width: 650px) {
  .page { padding-top: 28px; }
  .hero { align-items: flex-start; gap: 18px; }
  .app-icon { width: 86px; height: 86px; border-radius: 20px; }
  .cards { grid-template-columns: 1fr; }
  .article { border-radius: 20px; }
}

@media (prefers-color-scheme: dark) {
  :root { --bg: #1e2942; --surface: #273754; --ink: #fff4d6; --muted: #c4cad6; --border: #495873; }
  a { color: #78d8d3; }
}
