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

:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --soft: #f8fafc;
  --panel: #ffffff;
  --line: #e5e7eb;
  --dark: #0a0a0a;
  --green: #16a34a;
  --blue: #2563eb;
  --accent: #22d3ee;
  --accent-ink: #0a2b30;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f3f6fa;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  color: white;
  background: var(--dark);
}

.nav-bar {
  background: rgba(10, 10, 10, 0.92);
}

nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-tabs {
  flex: 1;
}

.nav-tabs.nav-tabs-left {
  justify-content: flex-start;
}

.nav-tabs.nav-tabs-right {
  justify-content: flex-end;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: white;
  text-decoration: none;
  font-family: 'Anton', Arial, sans-serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
}

.logo-mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.nav-tabs a {
  padding: 4px 0;
  color: #e5edf7;
  text-decoration: none;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.nav-tabs a:hover {
  color: white;
}

.nav-tabs a[aria-current="page"] {
  color: white;
  font-weight: 700;
  border-bottom-color: var(--accent);
}

.logo-text {
  display: inline-block;
}

.nav-toggle-input,
.nav-toggle {
  display: none;
}

.hero {
  padding: 58px 0 68px;
}

.breadcrumb {
  margin: 0 0 18px;
  color: #cbd5e1;
  font-size: 14px;
}

.breadcrumb a {
  color: white;
}

h1 {
  max-width: 830px;
  margin: 0 0 18px;
  font-family: 'Anton', Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero p {
  max-width: 730px;
  margin: 0;
  color: #d6deea;
  font-size: 19px;
}

main {
  padding: 14px 0 46px;
}

.section {
  margin-top: 28px;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.section h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
}

.section-intro {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 21px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.resource-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: var(--accent);
  background: #1a1a1a;
  border-radius: 12px;
}

.resource-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resource-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.18;
}

.resource-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.resource-card a,
.text-link {
  color: #0e7490;
  font-weight: 900;
  text-decoration: none;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps li::before {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  content: counter(step);
  counter-increment: step;
  font-size: 24px;
  font-weight: 900;
}

.ad-slot {
  display: none;
  min-height: 90px;
  margin-top: 28px;
}

footer {
  padding: 26px 0 38px;
  color: #64748b;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 800px) {
  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .logo {
    position: static;
    transform: none;
    order: 1;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
  }

  .nav-toggle svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
  }

  .nav-tabs {
    order: 3;
    display: none;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-toggle-input:checked ~ .nav-tabs {
    display: flex;
  }

  .nav-tabs a {
    width: 100%;
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 24px, 680px);
  }

  nav {
    padding: 20px 0;
  }

  .logo {
    gap: 8px;
    font-size: 15px;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding: 38px 0 48px;
  }

  h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 17px;
  }

  .section {
    padding: 19px;
  }
}
