:root {
  --ink: #102033;
  --muted: #526071;
  --line: #dbe7f3;
  --surface: #ffffff;
  --soft: #f4f9ff;
  --blue: #245cff;
  --indigo: #4a35c9;
  --mint: #1bbfa6;
  --coral: #ff705f;
  --shadow: 0 14px 40px rgba(16, 32, 51, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  background: #fbfdff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.wrap {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  color: white;
  font-size: 1rem;
}

.main-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.main-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--blue);
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(27, 191, 166, 0.32), transparent 30%),
    radial-gradient(circle at 12% 18%, rgba(255, 112, 95, 0.18), transparent 28%),
    linear-gradient(135deg, #eef6ff 0%, #f7fbff 44%, #eefbfa 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  min-height: 520px;
  display: grid;
  align-content: center;
  padding: 72px 0 84px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 14vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 7vw, 3.2rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-slogan {
  margin: 12px 0 0;
  color: var(--indigo);
  font-size: clamp(1.35rem, 6vw, 2.3rem);
  font-weight: 800;
  line-height: 1.16;
}

.hero-copy,
.page-hero p,
.article-hero p,
.section-heading p,
.why-list p,
.content-body p,
.post-card p,
.discovery-card p,
.category-card p {
  color: var(--muted);
}

.hero-copy {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 22px rgba(36, 92, 255, 0.24);
}

.button-secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.section {
  padding: 64px 0;
}

.section-soft {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading p {
  margin-top: 10px;
}

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

.category-card,
.post-card,
.discovery-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.category-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  text-decoration: none;
}

.category-card img,
.post-card img,
.page-hero-image,
.article-cover {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #eef6ff;
}

.category-card span {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
}

.category-card p,
.discovery-card p,
.post-card p {
  margin: 0;
}

.discovery-card {
  padding: 20px;
}

.discovery-card h3 {
  margin-bottom: 10px;
}

.why-grid {
  display: grid;
  gap: 26px;
}

.why-list {
  display: grid;
  gap: 14px;
}

.why-list p {
  margin: 0;
  padding: 18px;
  border-left: 4px solid var(--mint);
  background: var(--soft);
  border-radius: 8px;
}

.page-hero,
.article-hero {
  background: linear-gradient(135deg, #f2f7ff, #effdf9);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner,
.article-hero-inner {
  display: grid;
  gap: 24px;
  padding: 52px 0;
}

.page-hero h1,
.article-hero h1 {
  font-size: clamp(2.3rem, 10vw, 4.6rem);
}

.page-hero p,
.article-hero p {
  max-width: 720px;
  margin: 12px 0 0;
}

.page-hero-image {
  width: min(100%, 360px);
}

.content-body {
  max-width: 780px;
}

.content-body h2 {
  margin-top: 32px;
  font-size: clamp(1.6rem, 6vw, 2.2rem);
}

.content-body h3 {
  margin-top: 24px;
}

.content-body ul {
  padding-left: 1.2rem;
}

.content-body li + li {
  margin-top: 8px;
}

.post-card {
  overflow: hidden;
}

.post-card-body {
  padding: 18px;
}

.post-card h2 {
  margin: 6px 0 10px;
  font-size: 1.35rem;
}

.post-card h2 a,
.text-link {
  color: var(--ink);
  text-decoration: none;
}

.post-card h2 a:hover,
.text-link:hover {
  color: var(--blue);
}

.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 800;
}

.article-cover {
  margin-top: 20px;
  width: 100%;
}

.article-layout {
  padding: 56px 0 72px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0f2034;
  color: white;
  padding: 36px 0;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .footer-brand {
  color: white;
}

.footer-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 760px) {
  .header-inner {
    min-height: 74px;
  }

  .page-hero-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .why-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .main-nav {
    gap: 8px 12px;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .hero-inner {
    min-height: auto;
    padding: 56px 0 64px;
  }
}
