:root {
  color-scheme: light dark;
  --bg: #f7f6f0;
  --ink: #1d211f;
  --muted: #6c746f;
  --line: rgba(29, 33, 31, 0.14);
  --panel: rgba(255, 255, 255, 0.86);
  --icon-strategy: #eef5ed;
  --icon-overlay: #eef2fb;
  --green: #315f49;
  --blue: #356bca;
  --glow-green: rgba(49, 95, 73, 0.14);
  --glow-blue: rgba(53, 107, 202, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151515;
    --ink: #e8ebe9;
    --muted: #9aa39d;
    --line: rgba(232, 235, 233, 0.12);
    --panel: rgba(28, 28, 28, 0.92);
    --icon-strategy: rgba(49, 95, 73, 0.22);
    --icon-overlay: rgba(53, 107, 202, 0.22);
    --green: #6db892;
    --blue: #7aa8f0;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  margin: 0;
  padding: clamp(22px, 5vw, 64px);
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  line-height: 1.5;
}

@media (prefers-color-scheme: light) {
  body {
    background:
      radial-gradient(circle at 12% 8%, var(--glow-green), transparent 28rem),
      radial-gradient(circle at 88% 18%, var(--glow-blue), transparent 26rem),
      var(--bg);
  }
}

a {
  color: inherit;
}

.shell {
  width: min(100%, 760px);
}

.destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.destination {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.destination:hover,
.destination:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.destination--strategy:hover,
.destination--strategy:focus-visible {
  border-color: var(--green);
}

.destination--overlay:hover,
.destination--overlay:focus-visible {
  border-color: var(--blue);
}

.destination-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--icon-strategy);
  color: var(--green);
}

.destination--overlay .destination-icon {
  background: var(--icon-overlay);
  color: var(--blue);
}

.destination-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.destination-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.destination-copy strong {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.15;
}

.destination-copy span {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.arrow {
  color: var(--muted);
  font-size: 22px;
  transition:
    transform 160ms ease,
    color 160ms ease;
}

.destination:hover .arrow,
.destination:focus-visible .arrow {
  transform: translate(4px, -4px);
}

.destination--strategy:hover .arrow,
.destination--strategy:focus-visible .arrow {
  color: var(--green);
}

.destination--overlay:hover .arrow,
.destination--overlay:focus-visible .arrow {
  color: var(--blue);
}

@media (max-width: 760px) {
  .destinations {
    grid-template-columns: 1fr;
  }

  .destination {
    min-height: 112px;
    padding: 16px;
  }
}
