:root {
  --bg: #f4efe7;
  --ink: #1f261f;
  --muted: #617067;
  --card: rgba(255, 252, 247, 0.9);
  --card-strong: #ffffff;
  --line: rgba(31, 38, 31, 0.1);
  --green: #21563a;
  --green-soft: #d8eadc;
  --amber: #d59d2a;
  --amber-soft: #fff1d1;
  --alert: #b55339;
  --alert-soft: #fde2da;
  --shadow: 0 24px 70px rgba(52, 61, 54, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(180, 214, 191, 0.45), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 228, 179, 0.7), transparent 28%),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 100%);
}

code {
  font-family: "SFMono-Regular", Consolas, monospace;
}

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

.hero {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-copy,
.feature-panel,
.feature-list,
.assets-section,
.phone-shell {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy,
.feature-panel,
.feature-list,
.assets-section {
  border-radius: 32px;
  padding: 28px;
}

.eyebrow,
.panel-label,
.summary-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-copy h1,
.assets-section h2,
.feature-panel h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.assets-section h2,
.feature-panel h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.05;
}

.lead,
.feature-panel p,
.feature-list p,
.asset-list {
  margin: 18px 0 0;
  max-width: 58ch;
  line-height: 1.75;
  color: var(--muted);
}

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

.button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  font-weight: 700;
}

.mini-button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button:hover,
.mini-button:hover,
.button:focus-visible,
.mini-button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}

.meta-strip div {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.meta-strip dt {
  font-size: 0.78rem;
  color: var(--muted);
}

.meta-strip dd {
  margin: 6px 0 0;
  font-weight: 700;
}

.phone-shell {
  width: min(100%, 420px);
  margin: 0 auto;
  border-radius: 42px;
  padding: 18px 18px 16px;
  background:
    linear-gradient(180deg, rgba(246, 248, 244, 0.98) 0%, rgba(233, 240, 235, 0.98) 100%);
}

.phone-top,
.phone-nav,
.timeline-header,
.timeline-row,
.chips {
  display: flex;
  align-items: center;
}

.phone-top,
.phone-nav {
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.phone-body {
  display: grid;
  gap: 14px;
  margin: 14px 0;
}

.phone-card {
  border-radius: 26px;
  background: var(--card-strong);
  border: 1px solid rgba(33, 86, 58, 0.08);
  padding: 16px;
}

.summary-card strong,
.timeline-header strong,
.feature-list strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

.summary-card p:last-child,
.feature-list strong + p {
  margin-bottom: 0;
}

.chips {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.chip.stable {
  background: var(--green-soft);
  color: var(--green);
}

.chip.watch {
  background: var(--amber-soft);
  color: #936300;
}

.chip.attention {
  background: var(--alert-soft);
  color: var(--alert);
}

.preview-card {
  padding: 10px;
}

.preview-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.timeline-header {
  justify-content: space-between;
  gap: 12px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.timeline-row {
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.timeline-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-meta {
  min-width: 0;
}

.timeline-meta strong,
.timeline-meta span {
  display: block;
}

.timeline-meta span {
  font-size: 0.88rem;
  color: var(--muted);
}

.timeline-status {
  min-width: 86px;
  text-align: right;
  font-size: 0.84rem;
  font-weight: 700;
}

.grid-section {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list > div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.feature-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.assets-section {
  margin-top: 24px;
}

.asset-list {
  padding-left: 20px;
}

.phone-nav .active {
  color: var(--green);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 420px);
  }

  .grid-section {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 20px, 1120px);
    padding-top: 20px;
  }

  .hero-copy,
  .feature-panel,
  .feature-list,
  .assets-section {
    padding: 22px;
    border-radius: 28px;
  }

  .meta-strip {
    grid-template-columns: 1fr;
  }
}
