:root {
  color-scheme: light dark;
  --background: #f6f7f9;
  --surface: #ffffff;
  --text: #15171a;
  --muted: #626873;
  --accent: #0b6e5c;
  --accent-strong: #075749;
  --border: #dfe3e8;
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f1114;
    --surface: #181b20;
    --text: #f4f5f7;
    --muted: #aeb4bf;
    --accent: #55c7aa;
    --accent-strong: #8adbc5;
    --border: #2d323a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 3px;
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand span,
.muted {
  color: var(--muted);
}

.panel {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 7vw, 48px);
}

h2 {
  margin: 38px 0 10px;
  font-size: 25px;
}

h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

p,
ul {
  margin: 0 0 18px;
}

ul {
  padding-left: 24px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 4px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.button.secondary {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--accent);
}

.divider {
  height: 1px;
  margin: 42px 0;
  background: var(--border);
}

footer {
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 20px, 760px);
    padding-top: 16px;
  }

  .panel {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .actions,
  .button {
    width: 100%;
  }
}
