*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #ff6b35;
  --orange-light: #fff3ed;
  --orange-glow: rgba(255, 107, 53, 0.15);
  --bg: #f8f6f3;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-sub: #6b6560;
  --line: #efe8e1;
}

html {
  color-scheme: light;
}

body {
  min-height: 100vh;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 0%, var(--orange-glow) 0%, transparent 42%),
    radial-gradient(circle at 92% 100%, rgba(255, 180, 130, 0.12) 0%, transparent 46%);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

a {
  color: var(--orange);
}

a:hover {
  color: #d45224;
}

.site-header,
.site-footer {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  padding: 28px 0 8px;
}

.site-footer {
  padding: 32px 0 48px;
  color: var(--text-sub);
  font-size: 13px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo,
.hero-icon {
  display: block;
  border-radius: 22.5%;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.08);
}

.brand-logo {
  width: 36px;
  height: 36px;
}

.brand:hover {
  color: var(--orange);
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 500;
}

nav a {
  color: var(--text-sub);
  text-decoration: none;
}

nav a:hover {
  color: var(--orange);
}

.hero {
  width: min(760px, calc(100% - 40px));
  margin: 28px auto 0;
  text-align: center;
}

.hero-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
}

.hero h1 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: 36px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero-lead {
  max-width: 34em;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-sub);
}

.store {
  margin-top: 24px;
  cursor: default;
}

.store-badge {
  display: block;
  height: 40px;
  width: auto;
  margin: 0 auto;
}

.store-note {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-sub);
}

.footer-maker {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #a39c96;
}

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

.footer-maker a:hover {
  color: var(--orange);
}

.footer-legal {
  max-width: 28em;
  text-align: right;
  line-height: 1.6;
}

.prose {
  width: min(760px, calc(100% - 40px));
  margin: 24px auto 0;
  background: var(--card);
  border-radius: 20px;
  padding: 40px 44px 48px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.05);
}

.prose h1,
.prose h2,
.prose h3 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  line-height: 1.35;
}

.prose h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.prose h2 {
  font-size: 22px;
  margin: 36px 0 12px;
}

.prose h3 {
  font-size: 18px;
  margin: 28px 0 10px;
}

.prose p,
.prose li {
  font-size: 16px;
  line-height: 1.85;
  color: #2a2623;
}

.prose p + p {
  margin-top: 14px;
}

.prose ul {
  margin: 12px 0 16px 1.2em;
}

.prose li + li {
  margin-top: 6px;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: var(--orange-light);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}

.blank {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.blank h1 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: 40px;
  margin-bottom: 8px;
}

.blank p {
  color: var(--text-sub);
  margin-bottom: 20px;
}

.blank a {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .prose {
    padding: 28px 22px 36px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    text-align: left;
  }
}
