/* ============================================
   FON Marketplace — Master Stylesheet
   ============================================
   1. Custom Properties
   2. Reset & Base
   3. Typography
   4. Layout
   5. Navigation
   6. Buttons
   7. Heroes
   8. Sections & Dividers
   9. Cards
   10. Stats Bar
   11. Forms
   12. Footer
   13. Scroll Animations
   14. Utilities
   15. Media Queries
   ============================================ */

/* ---------- 1. Custom Properties ---------- */
:root {
  /* Brand */
  --navy:       #0b2555;
  --navy-light: #143a7a;
  --navy-dark:  #071a3d;
  --gold:       #c9a84c;
  --gold-light: #d4b96a;
  --gold-dark:  #b8943e;

  /* Neutrals */
  --white:    #ffffff;
  --gray-50:  #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #adb5bd;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --gray-700: #343a40;
  --gray-800: #212529;

  /* Semantic */
  --text:       #2d3436;
  --text-light: #636e72;
  --success:    #2ecc71;
  --error:      #e74c3c;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --container:   1200px;
  --gap:         clamp(1.5rem, 3vw, 2.5rem);
  --radius:      14px;
  --radius-lg:   20px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(11,37,85,.06), 0 1px 2px rgba(11,37,85,.04);
  --shadow-md:   0 4px 16px rgba(11,37,85,.08);
  --shadow-lg:   0 12px 40px rgba(11,37,85,.12);
  --shadow-lift: 0 16px 48px rgba(11,37,85,.16);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  .35s;
}

/* ---------- 2. Reset & Base ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--navy); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.heading-xl {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  letter-spacing: -.02em;
}
.heading-lg {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.015em;
}
.heading-md {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.heading-sm {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-light);
}

.kicker {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
}

.body-lg { font-size: 1.125rem; line-height: 1.8; }
.body-sm { font-size: .875rem; line-height: 1.7; }
.body-xs { font-size: .8rem; line-height: 1.6; }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1400px; }

.grid  { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--col { flex-direction: column; }
.flex--gap { gap: var(--gap); }
.flex--wrap { flex-wrap: wrap; }

.text-center { text-align: center; }

/* ---------- 5. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 37, 85, .85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: padding var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height var(--dur) var(--ease);
}
.nav.scrolled { background: rgba(7, 26, 61, .95); }
.nav.scrolled .nav__inner { height: 64px; }

.nav__logo .logo-svg {
  height: 44px;
  width: auto;
  transition: height var(--dur) var(--ease);
}
.nav.scrolled .nav__logo .logo-svg { height: 36px; }

.nav__links {
  display: none;
  align-items: center;
  gap: .25rem;
}
.nav__link {
  padding: .5rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  border-radius: 8px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover,
.nav__link--active {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.nav__link--active { color: var(--gold); }

.nav__cta {
  margin-left: .75rem;
  padding: .6rem 1.5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gold);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav__cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .4s var(--ease), visibility .4s var(--ease), transform .4s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: rgba(255,255,255,.8);
  padding: .4rem 1rem;
  transition: color var(--dur) var(--ease);
}
.mobile-menu a:hover,
.mobile-menu a.nav__link--active { color: var(--gold); }
.mobile-menu .btn { margin-top: 1rem; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all var(--dur) var(--ease);
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.3);
}
.btn--secondary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--secondary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,37,85,.2);
}
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--outline:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: #fff;
}
.btn--sm { padding: .6rem 1.4rem; font-size: .85rem; }
.btn--lg { padding: 1.1rem 2.8rem; font-size: 1.05rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- 7. Heroes ---------- */
.hero {
  position: relative;
  padding: clamp(5rem, 12vw, 10rem) 0 clamp(6rem, 14vw, 12rem);
  background: var(--navy);
  overflow: hidden;
}
.hero--short { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero--alt::after { background: var(--gray-50); }
.hero--flat::after { display: none; }

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .12;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  opacity: .9;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
  pointer-events: none;
}
.hero__orb--1 { width: 500px; height: 500px; background: var(--gold); top: -10%; right: -5%; }
.hero__orb--2 { width: 350px; height: 350px; background: var(--navy-light); bottom: -10%; left: 10%; }

.hero__content { position: relative; z-index: 2; }
.hero__title { color: #fff; }
.hero__title span { color: var(--gold); }
.hero__subtitle {
  color: rgba(255,255,255,.65);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 600px;
}

/* ---------- 8. Sections & Dividers ---------- */
.section {
  position: relative;
  padding: var(--section-pad) 0;
}
.section--light { background: var(--gray-50); }
.section--dark  {
  background: var(--navy);
  color: rgba(255,255,255,.75);
}
.section--dark h2,
.section--dark h3 { color: #fff; }

.section__header {
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section__header .kicker { margin-bottom: .75rem; }
.section__header .subtitle { margin-top: .75rem; }

/* Wave divider top */
.wave-top { position: relative; }
.wave-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}
.wave-top--gray::before { background: var(--gray-50); }

/* Diagonal */
.angle-top { position: relative; }
.angle-top::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ---------- 9. Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,.25);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(11,37,85,.06), rgba(11,37,85,.12));
  transition: background var(--dur) var(--ease);
}
.card:hover .card__icon { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.card__icon svg { width: 26px; height: 26px; color: var(--navy); transition: color var(--dur) var(--ease); }
.card:hover .card__icon svg { color: #fff; }

.card__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.card__text {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.card__link:hover { color: var(--gold); gap: .6rem; }
.card__link svg { width: 16px; height: 16px; }

/* Accent bar on top of card */
.card--accent { border-top: 3px solid var(--navy); border-radius: 0 0 var(--radius) var(--radius); }
.card--gold   { border-top-color: var(--gold); }

/* Glass card (for dark backgrounds) */
.card--glass {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
}
.card--glass:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(201,168,76,.3);
  transform: translateY(-4px);
}
.card--glass .card__title { color: #fff; }
.card--glass .card__text  { color: rgba(255,255,255,.6); }
.card--glass .card__icon  { background: rgba(201,168,76,.15); }
.card--glass .card__icon svg { color: var(--gold); }

/* Pricing card */
.card--pricing { text-align: center; padding: 2.5rem 2rem; }
.card--featured {
  border: 2px solid var(--gold);
  position: relative;
  box-shadow: var(--shadow-md);
}
.card__badge {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: .45rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
}
.card__price {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  margin: 1.25rem 0;
}
.card__price small { font-size: .85rem; font-weight: 500; color: var(--gray-500); }

.card__list { margin: 1.5rem 0; text-align: left; }
.card__list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .45rem 0;
  font-size: .9rem;
  color: var(--text-light);
}
.card__list svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* ---------- 10. Stats Bar ---------- */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  position: relative;
  z-index: 3;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.stats-bar__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  transition: background var(--dur) var(--ease);
}
.stats-bar__item:hover { background: var(--gray-50); }
.stats-bar__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,168,76,.1), rgba(201,168,76,.2));
  flex-shrink: 0;
}
.stats-bar__icon svg { width: 24px; height: 24px; color: var(--gold); }
.stats-bar__label { font-weight: 700; color: var(--navy); font-size: 1rem; line-height: 1.3; }
.stats-bar__sub { font-size: .78rem; color: var(--gray-500); margin-top: 1px; }

/* ---------- 11. Forms ---------- */
.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; gap: 1.5rem; }
.form__group { position: relative; }

.form__label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .4rem;
}
.form__label .required { color: var(--error); }

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: .8rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,37,85,.1);
}
.form__input.error,
.form__select.error,
.form__textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(231,76,60,.1);
}
.form__textarea { resize: vertical; min-height: 120px; }
.form__select { background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236c757d' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form__checkboxes { display: grid; gap: .6rem; }
.form__checkbox {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  color: var(--text-light);
  cursor: pointer;
}
.form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.field-error { color: var(--error); font-size: .8rem; margin-top: .35rem; }

.form__honeypot { position: absolute; left: -9999px; opacity: 0; }

.form-message {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 1rem;
}
.form-message--success {
  background: rgba(46,204,113,.08);
  border: 1px solid rgba(46,204,113,.25);
  color: #1e8449;
}
.form-message--error {
  background: rgba(231,76,60,.08);
  border: 1px solid rgba(231,76,60,.25);
  color: #c0392b;
}

/* Success state replaces form */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(46,204,113,.05);
  border: 1px solid rgba(46,204,113,.2);
  border-radius: var(--radius-lg);
}
.form-success svg { width: 64px; height: 64px; color: var(--success); margin: 0 auto 1rem; }
.form-success h3 { color: #1e8449; margin-bottom: .5rem; }
.form-success p  { color: #27ae60; }

/* ---------- 12. Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.6); }
.footer__inner { padding: clamp(3rem, 6vw, 5rem) 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.footer__brand p { margin-top: .75rem; font-size: .875rem; line-height: 1.7; }
.footer__brand .logo-svg { height: 38px; width: auto; }
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.footer__links li + li { margin-top: .5rem; }
.footer__links a {
  font-size: .875rem;
  transition: color var(--dur) var(--ease);
}
.footer__links a:hover { color: var(--gold); }

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .875rem;
}
.footer__contact li + li { margin-top: .75rem; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer__contact a { transition: color var(--dur) var(--ease); }
.footer__contact a:hover { color: var(--gold); }

.footer__social { display: flex; gap: .6rem; margin-top: .5rem; }
.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer__social a:hover { background: var(--gold); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }

.footer__bar {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

/* ---------- 13. Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal--up    { transform: translateY(40px); }
.reveal--left  { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(.92); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: .1s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: .2s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: .3s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: .4s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: .5s; }

/* Animated bars */
.bar-fill { width: 0; transition: width 1.2s var(--ease); }
.bar-fill.animate { width: var(--w); }

/* Pulse ring for stat cards */
@keyframes pulse-soft {
  0%,100% { transform: scale(1); opacity: .4; }
  50%     { transform: scale(1.15); opacity: .15; }
}

/* ---------- 14. Utilities ---------- */
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }

.text-navy  { color: var(--navy); }
.text-gold  { color: var(--gold); }
.text-white { color: #fff; }
.text-muted { color: var(--text-light); }

.bg-navy { background: var(--navy); }
.bg-gold { background: var(--gold); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ---------- 15. Media Queries ---------- */
@media (min-width: 640px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .form__checkboxes--2 { grid-template-columns: 1fr 1fr; }
  .form__checkboxes--3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .stats-bar__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .nav__links  { display: flex; }
  .nav__toggle { display: none; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--aside { grid-template-columns: 2fr 1fr; }
  .form__checkboxes--4 { grid-template-columns: repeat(4, 1fr); }
}
