:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --text: #f7fbff;
  --muted: #aebbd0;
  --accent: #72f2c8;
  --accent-2: #7aa8ff;
  --border: rgba(255, 255, 255, 0.15);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(114, 242, 200, 0.18), transparent 32rem),
    radial-gradient(circle at top right, rgba(122, 168, 255, 0.2), transparent 28rem),
    var(--bg);
  color: var(--text);
}

a { color: inherit; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0; }
.hero { padding: 40px; border: 1px solid var(--border); background: linear-gradient(135deg, var(--panel), rgba(255,255,255,0.03)); border-radius: 28px; box-shadow: 0 24px 90px rgba(0,0,0,0.28); }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 800; margin: 0 0 12px; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: .9; margin: 0 0 18px; }
.hero p:last-child { color: var(--muted); font-size: 1.1rem; max-width: 720px; margin: 0; }
.tabs { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 16px; }
.tab { text-decoration: none; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); background: rgba(255,255,255,.04); }
.tab.active { color: #001b16; background: var(--accent); border-color: transparent; font-weight: 800; }
.filters {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 28px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(114, 242, 200, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 48px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
}
.filters-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 174px;
  padding: 10px 14px 10px 8px;
  color: var(--text);
}
.filters-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(114, 242, 200, 0.12);
  border: 1px solid rgba(114, 242, 200, 0.22);
  line-height: 1;
}
.filters-icon::before {
  content: '';
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 5px;
  box-shadow: inset 0 4px 0 rgba(114, 242, 200, .18);
}
.filters-heading strong { display: block; font-size: .96rem; letter-spacing: .01em; }
.date-field {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 168px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.date-field:focus-within {
  border-color: rgba(114, 242, 200, 0.62);
  box-shadow: 0 0 0 3px rgba(114, 242, 200, 0.11), inset 0 1px 0 rgba(255,255,255,.08);
}
.date-field span { color: var(--accent-2); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.date-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.date-field input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .8;
  filter: invert(88%) sepia(20%) saturate(1090%) hue-rotate(104deg) brightness(101%) contrast(92%);
}
.filter-actions { display: flex; gap: 10px; align-items: stretch; margin-left: auto; }
.filters button, .filters .clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 18px;
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.filters button {
  border: 0;
  color: #001b16;
  background: linear-gradient(135deg, var(--accent), #9ff8df);
  box-shadow: 0 12px 28px rgba(114, 242, 200, .18);
}
.filters .clear { color: var(--muted); border: 1px solid var(--border); background: rgba(255,255,255,.045); }
.filters button:hover, .filters .clear:hover { transform: translateY(-1px); }
.filters .clear:hover { color: var(--text); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.075); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { padding: 24px; border: 1px solid var(--border); border-radius: 22px; background: var(--panel); backdrop-filter: blur(16px); }
.card:hover { background: var(--panel-strong); transform: translateY(-2px); transition: 180ms ease; }
.meta { display: flex; justify-content: space-between; gap: 12px; color: var(--accent-2); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
h2 { font-size: 1.25rem; line-height: 1.25; margin: 14px 0 10px; }
h2 a { text-decoration: none; }
h2 a:hover { color: var(--accent); }
.card p { color: var(--muted); line-height: 1.55; margin: 0 0 18px; }
.source { color: var(--accent); font-size: .88rem; }
.empty { color: var(--muted); }
@media (max-width: 760px) {
  .hero { padding: 28px; }
  .grid { grid-template-columns: 1fr; }
  .filters { display: grid; grid-template-columns: 1fr; padding: 12px; }
  .filters-heading, .date-field, .filter-actions { width: 100%; min-width: 0; }
  .filter-actions { margin-left: 0; }
  .filters button, .filters .clear { flex: 1; }
}
