:root {
  color-scheme: dark;
  --bg: #0f172a;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --line: #1e293b;
  --line-strong: #334155;
  --panel: rgba(30, 41, 59, 0.7);
  --panel-soft: rgba(30, 41, 59, 0.4);
  --emerald: #34d399;
  --emerald-bright: #10b981;
  --emerald-dark: #064e3b;
  --white: #ffffff;
  --ink: #020617;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 0%, rgba(49, 46, 129, 0.24), transparent 34%),
    radial-gradient(circle at 95% 96%, rgba(6, 95, 70, 0.22), transparent 32%),
    var(--bg);
}

.glow {
  position: absolute;
  width: 40vw;
  height: 40vw;
  filter: blur(120px);
  opacity: 0.32;
}

.glow-indigo {
  top: -10vw;
  left: -10vw;
  background: #312e81;
}

.glow-emerald {
  right: -10vw;
  bottom: -10vw;
  background: #064e3b;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 28px 28px;
}

.page {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 40px 24px 48px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 160ms ease;
}

.back-link:hover {
  color: var(--white);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.hero {
  display: grid;
  gap: 28px;
}

.pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.headline-group {
  display: grid;
  gap: 20px;
}

h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 11vw, 6rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

h1 span {
  color: transparent;
  background: linear-gradient(90deg, #818cf8, #c084fc, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
}

.headline-group p {
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(1.1rem, 3.8vw, 1.25rem);
  line-height: 1.6;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.1);
  color: #ecfdf5;
  font-size: 0.9rem;
  line-height: 1.55;
}

.notice svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #6ee7b7;
}

.notice p {
  margin: 0;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.action-card {
  min-width: 0;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--panel);
  color: #f1f5f9;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.action-card:hover {
  border-color: #64748b;
  background: rgba(30, 41, 59, 0.92);
}

.action-card:hover .arrow {
  transform: translateX(4px);
}

.action-primary {
  border-color: #6ee7b7;
  background: var(--emerald);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.18);
}

.action-primary:hover {
  border-color: #a7f3d0;
  background: #6ee7b7;
}

.action-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--emerald);
}

.action-primary .action-icon {
  color: var(--ink);
}

.action-copy strong,
.action-copy small {
  display: block;
  min-width: 0;
  white-space: nowrap;
}

.action-copy strong {
  font-size: 1rem;
}

.action-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.875rem;
}

.action-primary small {
  color: #1f2937;
}

.arrow {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  transition: transform 160ms ease;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: #64748b;
  font-size: 0.875rem;
}

.footer nav {
  display: flex;
  gap: 16px;
}

.footer a {
  color: #64748b;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer a:hover {
  color: var(--muted-strong);
}

@media (max-width: 720px) {
  .page {
    padding-top: 40px;
  }

  .actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .back-link {
    margin-bottom: 42px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
