:root {
  color-scheme: light;
  --bg: #f5f2ea;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --text: #241f18;
  --muted: #6a6359;
  --line: #d9d0c3;
  --accent: #8c4f1e;
  --accent-dark: #6f3d16;
  --success-bg: #edf7ec;
  --success-text: #245930;
  --shadow: 0 18px 42px rgba(36, 31, 24, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(140, 79, 30, 0.12), transparent 32%),
    linear-gradient(180deg, #faf6ef 0%, var(--bg) 100%);
  line-height: 1.7;
}

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

a:hover {
  color: var(--accent-dark);
}

.shell {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
  padding: 32px 0 64px;
}

.panel {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  padding: 40px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

p {
  margin: 0 0 16px;
}

.lede {
  max-width: 44rem;
  font-size: 1.06rem;
  color: var(--muted);
}

.actions,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

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

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

.button.primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.card p:last-child,
.policy-section p:last-child {
  margin-bottom: 0;
}

.stack {
  display: grid;
  gap: 20px;
}

.content {
  padding: 32px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

input[type="email"]:focus {
  outline: 2px solid rgba(140, 79, 30, 0.25);
  border-color: var(--accent);
}

.muted {
  color: var(--muted);
}

.status {
  display: none;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--success-bg);
  color: var(--success-text);
  font-weight: 700;
}

.status.is-visible {
  display: block;
}

.policy-section {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.footnote {
  margin-top: 24px;
  font-size: 0.94rem;
  color: var(--muted);
}

footer {
  margin-top: 24px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 20px, 960px);
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .hero,
  .content {
    padding: 24px 18px;
  }
}
