:root {
  color-scheme: light;
  --bg: #fff8ec;
  --paper: #ffffff;
  --ink: #17315c;
  --muted: #52647f;
  --accent: #ff6856;
  --blue: #2d8cff;
  --line: rgba(31, 68, 132, 0.12);
  --shadow: 0 16px 34px rgba(43, 76, 123, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 226, 147, 0.45), transparent 28%),
    linear-gradient(180deg, #fff8ec 0%, #fffdf8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.topbar nav,
.footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: center;
  padding: 52px 0 34px;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.6rem, 7vw, 5.1rem);
  line-height: 0.96;
}

.hero p {
  margin: 18px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.5;
}

.preview {
  padding: 18px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.button.secondary {
  background: #fff;
  color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(43, 76, 123, 0.06);
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.card strong {
  font-size: 1rem;
}

.section {
  padding: 24px 0;
}

.section h2 {
  margin: 0;
  font-size: 2rem;
}

.footer {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .topbar,
  .footer,
  .hero {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
}
