:root {
  color-scheme: dark;
  --bg: #0b1214;
  --panel: #132024;
  --line: rgba(255,255,255,.14);
  --text: #f7f1e7;
  --muted: #aebdc0;
  --teal: #4fd3bf;
  --amber: #f2c94c;
  --coral: #ef6f6c;
  --blue: #65a9ff;
  --green: #6fdc8c;
  --lilac: #9b7cf6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(79,211,191,.14), transparent 34%),
    linear-gradient(225deg, rgba(239,111,108,.12), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.shell {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 22px 14px 36px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
}

.mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--amber), var(--coral));
  color: #0b1214;
  font-weight: 950;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
}

.translate-select {
  max-width: 180px;
  min-height: 36px;
  background: rgba(255,255,255,.06);
  outline: none;
}

.hero,
.section,
.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(19,32,36,.86);
}

.hero {
  padding: 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 10vw, 4.4rem);
  line-height: .94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.22rem, 5vw, 1.85rem);
}

p {
  color: var(--muted);
  line-height: 1.5;
}

.actions,
.chips,
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 9px;
  padding: 0 14px;
  background: var(--teal);
  color: #071416;
  text-decoration: none;
  font-weight: 900;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
  color: var(--text);
}

.section {
  margin-top: 14px;
  padding: 16px;
}

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

.card {
  position: relative;
  overflow: hidden;
  min-height: 100px;
  padding: 16px 14px 14px;
  text-decoration: none;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--teal);
}

.card.health::before { background: linear-gradient(90deg, var(--blue), var(--green)); }
.card.travel::before { background: linear-gradient(90deg, var(--amber), var(--teal)); }
.card.gay::before { background: linear-gradient(90deg, #ff4d4d, #ffb84d, #f2e94e, #57d66d, #4aa3ff, #9b7cf6); }
.card.post::before { background: var(--amber); }

.card strong {
  display: block;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
  font-size: 1.02rem;
}

.card span,
.chip {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 760;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255,255,255,.06);
}

.note {
  border-left: 4px solid var(--amber);
  padding-left: 12px;
}

@media (max-width: 620px) {
  .shell { padding-top: 14px; }
  .top { align-items: flex-start; flex-direction: column; }
  .top-links { justify-content: flex-start; }
  .hero { padding: 18px; }
  .grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }
  .card {
    flex: 0 0 168px;
    scroll-snap-align: start;
  }
}
