:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --panel: #151820;
  --line: #2b303b;
  --text: #f6f7fb;
  --muted: #adb3c0;
  --yellow: #ffca18;
  --pink: #ff4ca6;
  --cyan: #18d9e7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(24, 217, 231, .10), transparent 28rem),
    radial-gradient(circle at 90% 5%, rgba(255, 76, 166, .09), transparent 26rem),
    var(--bg);
}

a { color: inherit; }

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.intro {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(28, 32, 42, .92), rgba(17, 19, 25, .95));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.card img,
.feature img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
}

.card p {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.card-link,
.primary-link,
.back-link {
  width: fit-content;
  margin-top: 20px;
  color: var(--text);
  font-weight: 750;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.card-link:hover,
.card-link:focus-visible,
.primary-link:hover,
.primary-link:focus-visible,
.back-link:hover,
.back-link:focus-visible { color: var(--yellow); }

.feature {
  margin-top: 38px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.feature h2 {
  margin: 30px 0 0;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  letter-spacing: -.03em;
}

.feature p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--yellow);
  color: var(--muted);
  background: rgba(255, 202, 24, .06);
}

footer {
  margin-top: 48px;
  color: #7f8795;
  font-size: .9rem;
}

@media (max-width: 680px) {
  .shell { padding-top: 36px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 200px; }
}
