:root {
  color-scheme: light;
  --bg: #f1f4e8;
  --surface: #fffdf2;
  --surface-strong: #e8efd8;
  --text: #253126;
  --subtle: #66705f;
  --accent: #2f7d4f;
  --accent-strong: #205a39;
  --accent-warm: #e59a35;
  --accent-warm-strong: #b86f17;
  --border: #d2dbc0;
  --success: #25744b;
  --warning: #c47b1d;
  --shadow: 0 12px 28px rgba(57, 88, 47, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "BIZ UDPGothic", "Yu Gothic", sans-serif;
  background:
    radial-gradient(circle at 14% 10%, rgba(229, 154, 53, 0.24), transparent 28%),
    radial-gradient(circle at 86% 4%, rgba(47, 125, 79, 0.18), transparent 30%),
    linear-gradient(180deg, #fbf6df 0%, var(--bg) 100%);
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

.shell {
  display: grid;
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  gap: 24px;
}

.hero__lead {
  color: var(--subtle);
  margin: 0;
  line-height: 1.8;
}

.hero__title {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
}

.hero__sub {
  margin: 0 0 12px;
  color: var(--accent-warm-strong);
  font-weight: 700;
  font-size: 15px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface-strong);
  color: var(--accent-strong);
  font-size: 14px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.button:hover {
  background: var(--accent-strong);
  text-decoration: none;
}

.button--ghost {
  background: rgba(229, 154, 53, 0.1);
  border-color: rgba(229, 154, 53, 0.44);
  color: var(--accent-warm-strong);
}

.button--warm {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: #2d1c06;
}

.button--warm:hover {
  background: var(--accent-warm-strong);
  color: #fff;
}

.muted {
  color: var(--subtle);
}

.list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.topnav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(47, 125, 79, 0.1);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.meta {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--subtle);
}

.app-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 14px;
  border-radius: 22px;
  box-shadow: 0 12px 24px rgba(18, 38, 48, 0.18);
}

.brand-art {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(47, 125, 79, 0.22);
  box-shadow: var(--shadow);
  background: #183143;
}

.brand-art img {
  display: block;
  width: 100%;
  height: auto;
}

.publisher-banner {
  overflow: hidden;
  aspect-ratio: 3 / 1;
  max-height: 360px;
  border-radius: 28px;
  border: 1px solid rgba(47, 125, 79, 0.24);
  box-shadow: 0 18px 40px rgba(30, 62, 44, 0.2);
  background: #102b24;
}

.publisher-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.note {
  border-left: 4px solid var(--warning);
  padding-left: 14px;
  color: var(--subtle);
}

.download-box {
  display: grid;
  gap: 16px;
  border: 1px dashed var(--border);
  border-radius: 18px;
  padding: 20px;
  background: #fff8e5;
}

.support-box {
  display: grid;
  gap: 16px;
  border-color: rgba(229, 154, 53, 0.46);
  background: linear-gradient(135deg, #fff8e5 0%, var(--surface) 72%);
}

.screenshot-strip {
  display: grid;
  gap: 14px;
}

.screenshots {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  scroll-snap-type: x mandatory;
}

.screenshot-card {
  flex: 0 0 190px;
  scroll-snap-align: start;
  display: grid;
  gap: 10px;
}

.screenshot-card img {
  width: 100%;
  height: 342px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(57, 88, 47, 0.14);
}

.screenshot-card figcaption {
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.5;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-item {
  display: grid;
  gap: 10px;
}

.news-item h2 {
  margin: 0;
}

.news-item p {
  margin: 0;
  line-height: 1.8;
}

.news-date {
  color: var(--accent-warm-strong);
  font-size: 13px;
  font-weight: 700;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.steps li {
  list-style: none;
  position: relative;
  padding-left: 52px;
  line-height: 1.7;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.status {
  min-height: 24px;
  font-size: 14px;
}

.status--ok {
  color: var(--success);
}

.status--error {
  color: #b42318;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}
