:root {
  color-scheme: light;
  --bg: #f7f1e8;
  --panel: rgba(255, 252, 247, 0.88);
  --panel-strong: #fffdf9;
  --text: #2c2522;
  --muted: #6e625a;
  --border: rgba(95, 75, 62, 0.14);
  --accent: #2f2724;
  --accent-soft: #efe4d6;
  --danger: #8d3a3a;
  --shadow: 0 18px 50px rgba(52, 38, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(223, 206, 188, 0.6), transparent 28%),
    radial-gradient(circle at bottom right, rgba(214, 187, 152, 0.3), transparent 26%),
    linear-gradient(180deg, #fbf7f2 0%, var(--bg) 100%);
  color: var(--text);
}

body {
  padding: 32px 16px 64px;
}

.shell {
  margin: 0 auto;
  max-width: 920px;
}

.hero {
  margin-bottom: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 242, 233, 0.92));
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a776a;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
}

.subtitle {
  max-width: 640px;
  margin: 16px 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
  cursor: pointer;
}

.button:hover,
.link-button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary,
.link-button {
  background: var(--panel-strong);
  color: var(--text);
  border-color: var(--border);
}

.button.danger {
  background: var(--danger);
  color: #fff;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.grid {
  display: grid;
  gap: 20px;
}

.card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.card p,
.card li {
  line-height: 1.7;
  color: var(--muted);
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.notice {
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--text);
}

.status {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.status[data-tone="error"] {
  border-color: rgba(141, 58, 58, 0.2);
  background: rgba(255, 240, 240, 0.92);
  color: var(--danger);
}

.status[data-tone="success"] {
  border-color: rgba(67, 128, 82, 0.18);
  background: rgba(240, 252, 243, 0.92);
  color: #2d6d3d;
}

.meta {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #8b7d73;
}

.split {
  display: grid;
  gap: 20px;
}

.muted {
  color: var(--muted);
}

code {
  padding: 0.18rem 0.4rem;
  border-radius: 10px;
  background: rgba(47, 39, 36, 0.08);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.92em;
}

@media (min-width: 760px) {
  body {
    padding: 40px 24px 72px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
