:root {
  --bg: #f3f5ee;
  --surface: #fffdf7;
  --surface-strong: #ffffff;
  --text: #1f241c;
  --muted: #66705d;
  --line: rgba(65, 83, 54, 0.16);
  --accent: #2f7d50;
  --accent-strong: #1f5f3c;
  --accent-soft: #e1f0df;
  --warm: #c9782e;
  --warm-soft: #f6e4cf;
  --shadow: 0 24px 70px rgba(39, 59, 34, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(211, 139, 57, 0.18), transparent 30rem),
    radial-gradient(circle at 84% 8%, rgba(64, 135, 91, 0.18), transparent 28rem),
    linear-gradient(180deg, #fbf8ef 0%, var(--bg) 100%);
  line-height: 1.65;
}

a {
  color: var(--accent-strong);
}

.wrap {
  width: min(100% - 40px, 940px);
  margin: 0 auto;
  padding: 48px 0 76px;
}

.toplink {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.76);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero,
.panel,
.card {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.8fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  border-radius: 32px;
  padding: clamp(28px, 6vw, 52px);
}

.hero-copy {
  min-width: 0;
}

.kicker {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.96;
}

h2 {
  margin-top: 30px;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.08;
}

h3 {
  margin-top: 22px;
  font-size: 18px;
}

.lead {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.meta,
.muted,
p,
li {
  color: var(--muted);
}

.meta {
  margin: 12px 0 0;
  font-size: 14px;
}

.status {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(47, 125, 80, 0.16);
  border-radius: 18px;
  background: rgba(225, 240, 223, 0.62);
  color: #31412e;
}

.icon-stage {
  display: grid;
  place-items: center;
  min-height: 300px;
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(145deg, #253f28, #5a8c4d 48%, #d79540);
  background-size: 26px 26px, 26px 26px, auto;
  overflow: hidden;
}

.app-icon {
  width: min(70%, 220px);
  height: auto;
  border-radius: 29%;
  box-shadow: 0 26px 64px rgba(16, 33, 15, 0.28);
}

.actions,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--text);
  color: #fffdf7;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  background: var(--surface);
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  border-radius: 22px;
  padding: 22px;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card p {
  margin: 10px 0 0;
}

.panel {
  border-radius: 30px;
  padding: clamp(24px, 5vw, 38px);
}

.panel > p:first-of-type {
  margin-top: 18px;
}

ul {
  padding-left: 21px;
}

code {
  padding: 2px 5px;
  border-radius: 6px;
  background: rgba(47, 125, 80, 0.1);
  color: var(--accent-strong);
  font: 0.94em ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.note {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(201, 120, 46, 0.2);
  border-radius: 18px;
  background: var(--warm-soft);
  color: #68451f;
}

footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

footer a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 28px, 940px);
    padding: 32px 0 60px;
  }

  .hero {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .icon-stage {
    min-height: 250px;
  }

  .actions,
  .quick-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
