@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #ebeced;
  --surface: #ffffff;
  --text: #1b1b1b;
  --text-muted: #6b7280;
  --border: #dfe2e6;
  --border-subtle: #e8eaed;
  --link: #1863dc;
  --link-hover: #0f4eb5;
  --accent: #1863dc;
  --accent-dark: #0f4eb5;
  --footer-bg: #ffffff;
  --footer-text: #6b7280;
  --logo-dark: #1b1b1b;
  --logo-muted: #6b7280;
  --shadow-sm: 0 1px 3px rgba(27, 27, 27, 0.04);
  --shadow-md: 0 8px 24px rgba(27, 27, 27, 0.06);
  --shadow-lg: 0 16px 48px rgba(27, 27, 27, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
  padding: 0.9rem 0;
  position: relative;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 0 1 auto;
  text-decoration: none;
  color: var(--logo-dark);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.navbar-brand:hover {
  text-decoration: none;
  color: var(--logo-dark);
}

.logo-mark,
.navbar-logo {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-tld {
  font-weight: 500;
  color: var(--logo-muted);
}

.navbar-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.navbar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.navbar-toggle-icon {
  position: relative;
  display: block;
  width: 1.25rem;
  height: 1rem;
}

.navbar-toggle-icon::before,
.navbar-toggle-icon::after,
.navbar-toggle-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.navbar-toggle-bar {
  top: 50%;
  transform: translateY(-50%);
}

.navbar-toggle-icon::before {
  content: "";
  top: 0;
}

.navbar-toggle-icon::after {
  content: "";
  bottom: 0;
}

.navbar-toggle.is-open .navbar-toggle-bar {
  opacity: 0;
}

.navbar-toggle.is-open .navbar-toggle-icon::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.navbar-toggle.is-open .navbar-toggle-icon::after {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.navbar-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.navbar-menu li {
  display: flex;
  align-items: center;
  margin: 0;
}

.navbar-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.4rem 0.85rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.navbar-menu a:hover {
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
}

.navbar-menu a[aria-current="page"] {
  background: rgba(24, 99, 220, 0.1);
  color: var(--accent);
}

@media screen and (max-width: 768px) {
  .navbar {
    padding: 0.85rem 0;
  }

  .navbar-brand {
    max-width: calc(100% - 3.5rem);
  }

  .navbar-title,
  .navbar-brand {
    font-size: 1.125rem;
  }

  .navbar-toggle {
    display: inline-flex;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    background: var(--surface);
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu a {
    justify-content: center;
    width: 100%;
    border-radius: 10px;
  }
}

.hero {
  padding: 4rem 0 2.5rem;
  text-align: center;
}

.hero .container {
  max-width: 40rem;
}

.hero h1 {
  margin: 0 auto 1rem;
  font-size: clamp(2.125rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
}

.lead {
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 40ch;
  line-height: 1.7;
}

section {
  padding-block: 2rem;
}

.resources {
  padding-top: 0;
  padding-bottom: 3rem;
}

.guide-group + .guide-group {
  margin-top: 2.75rem;
}

.guide-group-title {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1rem;
}

.card-meta {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: 6px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.4rem 1.25rem;
  background: var(--surface);
  border: none;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  text-decoration: none;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}

.card p {
  margin: 0;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.card-link {
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--link);
}

.card:hover .card-link {
  text-decoration: underline;
}

.brands {
  padding-top: 0;
  padding-bottom: 2.5rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.375rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-intro {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 52ch;
}

.brand-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand-grid a {
  padding: 0.5rem 0.95rem;
  background: var(--surface);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, color 0.15s ease;
}

.brand-grid a:hover {
  box-shadow: var(--shadow-md);
  color: var(--link);
  text-decoration: none;
}

.cta {
  padding-bottom: 4rem;
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  background: var(--surface);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.cta-panel h2 {
  margin-bottom: 0.5rem;
}

.cta-panel p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(24, 99, 220, 0.25);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(24, 99, 220, 0.3);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: #c8ccd4;
  color: var(--text);
  text-decoration: none;
}

.page-hero {
  padding: 2rem 0 1.5rem;
  background: var(--surface);
}

.page-hero h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text);
  max-width: 28ch;
}

.breadcrumbs {
  margin: 0;
  font-size: 0.875rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: #b0b5bd;
}

.breadcrumbs a {
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--link);
  text-decoration: none;
}

.breadcrumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

.article-tag {
  display: inline-block;
  margin: 1rem 0 0;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: 6px;
}

.page-content {
  padding-top: 0.5rem;
  padding-bottom: 4rem;
  background: var(--surface);
}

.prose {
  max-width: 62ch;
}

.prose p,
.prose ul,
.prose ol {
  color: var(--text-muted);
  line-height: 1.75;
}

.prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose a {
  color: var(--link);
  font-weight: 500;
}

.prose-wide {
  max-width: 48rem;
}

.page-intro {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 52ch;
  font-size: 1.0625rem;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.prose figcaption {
  margin: -0.5rem 0 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 1.25rem 0 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.disclaimer {
  margin-top: 2.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.site-footer {
  margin-top: 0;
  padding: 3rem 0 2rem;
  background: var(--footer-bg);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--footer-text);
  line-height: 1.65;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem 3rem;
  padding-bottom: 2rem;
}

.footer-logo {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-tagline {
  margin: 0;
  max-width: 26ch;
  color: var(--text-muted);
}

.footer-heading {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--link);
  text-decoration: none;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--link);
}

@media screen and (max-width: 768px) {
  .cta-panel {
    padding: 1.5rem;
  }

  .page-hero h1 {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}
