:root {
  --amber: #d65e1e;
  --amber-deep: #9b3410;
  --amber-soft: #fef4ec;
  --paper: #fffbf5;
  --ink: #1b1410;
  --ink-muted: #6b5a4d;
  --ink-soft: #9b8b7d;
  --line: rgba(27, 20, 16, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #120b07;
    --ink: #faf4ea;
    --ink-muted: #c3b4a4;
    --ink-soft: #8a7a6a;
    --amber-soft: #2a1a10;
    --line: rgba(250, 244, 234, 0.1);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Inter", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.hero {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
  color: white;
  padding: 64px 24px 72px;
  text-align: center;
  border-radius: 0 0 32px 32px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(255, 220, 170, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.icon {
  width: 124px;
  height: 124px;
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", system-ui, sans-serif;
}

.hero p {
  font-size: 18px;
  margin: 0;
  opacity: 0.94;
  line-height: 1.5;
}

.brand-mini {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 28px;
}

nav.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
nav.top a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
nav.top a:hover { color: var(--amber-deep); }
nav.top .brand {
  color: var(--ink);
  font-weight: 700;
}

h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 44px 0 14px;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", system-ui, sans-serif;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--ink);
}

p, li {
  font-size: 16px;
  color: var(--ink-muted);
  margin: 0 0 14px;
}

strong { color: var(--ink); }

a { color: var(--amber-deep); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 30px 0 10px;
}
.feature {
  background: var(--amber-soft);
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.feature .symbol {
  font-size: 24px;
  margin-bottom: 8px;
}
.feature h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}
.feature p {
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}
.cta {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.08s ease;
}
.cta:active { transform: scale(0.97); }
.cta.primary {
  background: white;
  color: var(--amber-deep);
}
.cta.ghost {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.policy h1 {
  font-size: 34px;
  margin: 0 0 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", system-ui, sans-serif;
  letter-spacing: -0.02em;
}
.policy .updated {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  display: block;
}
.policy h2 { margin-top: 36px; }

ul.callouts {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
ul.callouts li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}
ul.callouts li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--amber-deep);
  font-weight: 700;
}

footer {
  max-width: 780px;
  margin: 60px auto 0;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}
footer a {
  color: var(--ink-muted);
  text-decoration: none;
  margin-right: 14px;
}
footer a:hover { color: var(--amber-deep); }

.app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.app-card {
  background: var(--amber-soft);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}
.app-card img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex-shrink: 0;
}
.app-card .app-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.app-card .app-tag {
  font-size: 14px;
  color: var(--ink-muted);
}

@media (max-width: 520px) {
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  h2 { font-size: 22px; }
}
