:root {
  color-scheme: light;
  --bg: #f4efe5;
  --ink: #17120d;
  --muted: #6a5b4d;
  --line: rgba(23, 18, 13, 0.12);
  --panel: rgba(255, 250, 242, 0.88);
  --accent: #d9672f;
  --accent-dark: #a6471c;
  --olive: #314634;
  --shadow: 0 28px 80px rgba(45, 26, 10, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(217, 103, 47, 0.24), transparent 30%),
    radial-gradient(circle at top left, rgba(49, 70, 52, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 100%);
}

.store-shell {
  width: min(1080px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.hero,
.featured-app,
.panel,
.catalog-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero {
  padding: 44px;
}

.kicker,
.section-label {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.intro,
.workbench-note,
.app-lede,
.fine-print,
.catalog-card p,
li,
pre {
  color: var(--muted);
}

.intro {
  max-width: 44rem;
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.75;
}

.workbench-note {
  max-width: 42rem;
  margin: 16px 0 0;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff8f3;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.button.compact {
  min-width: 116px;
}

.featured-app {
  display: grid;
  grid-template-columns: 120px 1.3fr 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
}

.app-mark {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 32px;
  background:
    linear-gradient(145deg, var(--accent) 0%, #ffb36a 100%);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 700;
}

.app-copy h2,
.catalog-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.app-copy h2 {
  font-size: 2.4rem;
}

.app-lede {
  margin: 12px 0 0;
  line-height: 1.7;
}

.app-meta p {
  margin: 0 0 10px;
  line-height: 1.6;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.panel {
  padding: 26px;
}

ul {
  margin: 0;
  padding-left: 18px;
}

li {
  margin: 10px 0;
  line-height: 1.6;
}

pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  border-radius: 18px;
  background: #fffaf3;
  border: 1px solid rgba(23, 18, 13, 0.08);
}

code {
  font-family: "Courier New", monospace;
}

.catalog {
  margin-top: 24px;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 14px;
}

.catalog-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-card p {
  margin: 8px 0 0;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .store-shell {
    width: min(100vw - 24px, 1080px);
    padding-top: 24px;
  }

  .hero {
    padding: 28px 22px;
  }

  .featured-app,
  .store-grid,
  .catalog-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .app-mark {
    width: 92px;
    height: 92px;
    border-radius: 24px;
    font-size: 2rem;
  }

  .catalog-header {
    display: block;
  }
}
