:root {
  color-scheme: dark;
  --background: #07090e;
  --surface: #171c26;
  --text: #f5f7fb;
  --muted: #aab3c1;
  --teal: #57d4d4;
  --lavender: #cfadff;
  --amber: #ffc770;
  font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgb(48 102 111 / 20%), transparent 42rem),
    var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--teal); text-underline-offset: 0.22em; }
a:hover { color: #a3eeee; }

.shell { width: min(100% - 40px, 980px); margin-inline: auto; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
}

.brand {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
}

nav { display: flex; flex-wrap: wrap; gap: 20px; }
nav a { color: var(--muted); font-size: 0.9rem; text-decoration: none; }
nav a[aria-current="page"] { color: var(--teal); }

main { padding-block: clamp(64px, 12vw, 132px); }

.eyebrow {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }
h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 8vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

h2 { margin-top: 2.2em; font-size: 1.22rem; letter-spacing: -0.02em; }
.lead { max-width: 660px; color: var(--muted); font-size: clamp(1.1rem, 2.6vw, 1.3rem); }
.accent { color: var(--teal); }

.formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-block: 42px;
}

.format, .card {
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 20px;
  background: linear-gradient(145deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 2%));
}

.format { min-height: 150px; padding: 22px; }
.format strong { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.format span, .muted { color: var(--muted); }
.format:first-child { box-shadow: inset 0 2px var(--teal); }
.format:last-child { box-shadow: inset 0 2px var(--lavender); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--teal);
  color: #071011;
  font-weight: 750;
  text-decoration: none;
}

.button:hover { background: #a3eeee; color: #071011; }
.text-link { color: var(--muted); }
.card { max-width: 680px; padding: clamp(22px, 5vw, 38px); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
ul { padding-left: 1.3rem; }
li + li { margin-top: 8px; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px;
  border-top: 1px solid rgb(255 255 255 / 9%);
  color: var(--muted);
  font-size: 0.88rem;
}

footer p { margin: 0; }
footer nav a { font-size: 0.88rem; }

@media (max-width: 560px) {
  .shell { width: min(100% - 32px, 980px); }
  header { align-items: flex-start; flex-direction: column; gap: 12px; }
  nav { gap: 14px; }
  .formats { grid-template-columns: 1fr; }
  .format { min-height: 0; }
}
