:root {
  --primary: #1a73a7;
  --primary-light: #2196d4;
  --primary-dark: #145a82;
  --accent: #ff6b35;
  --ink: #0f2a3e;
  --ink-soft: #2c4458;
  --paper: #f6f8fb;
  --border: #e3e8ef;
  --muted: #5d728a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Hero === */
.hero {
  background:
    radial-gradient(80% 60% at 20% 0%, rgba(33, 150, 212, 0.25), transparent 70%),
    radial-gradient(60% 50% at 90% 10%, rgba(255, 107, 53, 0.18), transparent 70%),
    linear-gradient(180deg, #0f2a3e 0%, #163b55 100%);
  color: white;
  padding: 56px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
  opacity: 0.95;
  transition: opacity 0.15s ease;
}
.brand:hover { opacity: 1; }
.brand-mark { width: 32px; height: 32px; }
.brand-name { font-size: 17px; }

h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 720px;
}

.hl {
  background: linear-gradient(120deg, #7dd3fc 0%, #fcd34d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.lede {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}

/* === Grid === */
main.container {
  margin-top: -44px;
  padding-bottom: 64px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition:
    transform 0.18s cubic-bezier(0.3, 0, 0, 1),
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  box-shadow: 0 1px 0 rgba(15, 42, 62, 0.04);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(15, 42, 62, 0.25);
  border-color: var(--primary);
}

.card-tag {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

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

.card-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s cubic-bezier(0.3, 0, 0, 1);
}

.card:hover .card-cta svg {
  transform: translateX(3px);
}

/* === Meta strip === */
.meta {
  margin-top: 32px;
  padding: 16px 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
}

.meta-value {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.link {
  color: var(--primary);
  text-decoration: none;
}
.link:hover { text-decoration: underline; }

/* === Footer === */
footer {
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot { opacity: 0.5; }

/* === Responsive === */
@media (max-width: 640px) {
  .hero { padding: 40px 0 64px; }
  main.container { margin-top: -36px; }
  .brand { margin-bottom: 24px; }
}
