:root {
  color-scheme: light dark;
  --ink: #12211d;
  --muted: #5c6e68;
  --paper: #f6faf8;
  --card: rgba(255, 255, 255, 0.86);
  --accent: #087f68;
  --accent-dark: #056451;
  --line: rgba(18, 33, 29, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(39, 190, 157, 0.20), transparent 34rem),
    radial-gradient(circle at 90% 85%, rgba(50, 126, 194, 0.16), transparent 32rem),
    var(--paper);
}

main {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, #0b9f82, #176eaa);
  box-shadow: 0 8px 24px rgba(8, 127, 104, 0.22);
}

.card {
  padding: clamp(26px, 6vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 24px 80px rgba(20, 56, 47, 0.10);
  backdrop-filter: blur(18px);
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.35rem, 8vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 { margin: 0 0 10px; font-size: 1.2rem; }
p { color: var(--muted); line-height: 1.65; }
.lede { max-width: 52ch; margin: 24px 0 30px; font-size: 1.1rem; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.feature-icon { margin-bottom: 12px; font-size: 1.55rem; }
.content-section { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.content-section p { max-width: 62ch; }
.content-section a, .legal a { color: var(--accent-dark); font-weight: 650; }
.delivery-list { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: delivery; }
.delivery-list li { display: grid; grid-template-columns: minmax(120px, 0.35fr) 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.delivery-list span { color: var(--muted); line-height: 1.55; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: var(--accent);
  cursor: pointer;
  font: inherit;
  font-weight: 720;
  text-decoration: none;
}
.button:hover { background: var(--accent-dark); }
.button.secondary { color: var(--ink); background: rgba(18, 33, 29, 0.07); }

.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.detail { padding: 18px; border: 1px solid var(--line); border-radius: 18px; }
.detail p { margin: 0; font-size: 0.92rem; }

.token {
  overflow: hidden;
  margin: 22px 0 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(18, 33, 29, 0.04);
  font: 0.78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice { margin-top: 14px; min-height: 1.4em; color: var(--accent-dark); font-weight: 650; }
footer { padding: 24px 8px; color: var(--muted); font-size: 0.88rem; }
footer a { color: inherit; }

.legal-page { width: min(860px, calc(100% - 32px)); }
.legal h1 { max-width: none; margin-bottom: 24px; font-size: clamp(2.4rem, 7vw, 4.4rem); }
.legal h2 { margin: 40px 0 12px; padding-top: 8px; font-size: 1.35rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.72; }
.legal li { margin: 8px 0; }
.legal code { padding: 0.1em 0.35em; border-radius: 6px; background: rgba(18, 33, 29, 0.06); font-size: 0.9em; }
.legal .summary { margin: 28px 0; padding: 20px; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: rgba(8, 127, 104, 0.07); }

@media (max-width: 560px) {
  .delivery-list li { grid-template-columns: 1fr; gap: 4px; }
  .legal ul { padding-left: 20px; }
}

@media (prefers-color-scheme: dark) {
  :root { --ink: #ecf8f3; --muted: #aac0b8; --paper: #071410; --card: rgba(13, 31, 25, 0.88); --line: rgba(236, 248, 243, 0.12); }
  .button.secondary, .token { background: rgba(236, 248, 243, 0.08); }
  .legal code { background: rgba(236, 248, 243, 0.08); }
}
