/* ═══ VARIABLES ═══ */
:root {
  --color-bg: #0f172a;
  --color-card: #1e293b;
  --color-primary: #16a34a;
  --color-secondary: #f97316;
  --color-text: #e2e8f0;
  --color-muted: #94a3b8;
  --color-border: #334155;
  --font-main: "Poppins", sans-serif;
  --radius: 12px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --header-h: 72px;
  --header-h-shrink: 60px;
  --container: 1140px;
  --section-pad: 80px;
  --section-pad-m: 40px;
}

/* ═══ RESET ═══ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #22c55e;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 1.8rem;
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ═══ UTILITIES ═══ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose code {
  font-size: 0.9em;
  background: var(--color-card);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

/* ═══ HEADER ═══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-h);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: min-height 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  min-height: var(--header-h-shrink);
  box-shadow: var(--shadow);
  border-bottom-color: var(--color-border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  transition: min-height 0.3s ease;
}

.site-header.is-scrolled .header-inner {
  min-height: var(--header-h-shrink);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--color-text);
}

.logo-image {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.logo:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-right: -10px;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
  animation: slideDown 0.35s ease;
}

.nav.is-open {
  display: flex;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-list a {
  color: var(--color-muted);
  font-weight: 600;
}

.nav-list a:hover {
  color: var(--color-primary);
}

.btn.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 12px;
  background: var(--color-primary);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.25;
}

.btn.btn-header i {
  font-size: 0.75rem;
}

.btn.btn-header:hover {
  background: #15803d;
  color: #fff !important;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    width: auto;
    padding-bottom: 0;
    margin-left: auto;
    gap: 24px;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
  }
}

/* ═══ SECTIONS ═══ */
.section {
  padding: var(--section-pad) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.35) 0%, transparent 100%);
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-pad-m) 0;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.45rem;
  }
}

.section-intro {
  color: var(--color-muted);
  max-width: 800px;
  margin-bottom: 28px;
}

.heading-anchor {
  font-size: 0.6em;
  color: var(--color-border);
  margin-left: 6px;
  vertical-align: middle;
}

.heading-anchor:hover {
  color: var(--color-primary);
}

/* ═══ HERO ═══ */
.section.hero {
  padding-top: 36px;
  padding-bottom: 44px;
}

@media (min-width: 769px) {
  .section.hero {
    padding-top: 40px;
    padding-bottom: 52px;
  }
}

@media (max-width: 768px) {
  .section.hero {
    padding-top: 28px;
    padding-bottom: 36px;
  }
}

.hero h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  margin-bottom: 0.65em;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.65rem;
  }
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    flex-direction: row;
    align-items: center;
    gap: 36px;
  }

  .hero-copy {
    flex: 1 1 45%;
  }

  .hero-media {
    flex: 1 1 50%;
  }
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.hero-lead {
  color: var(--color-muted);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.hero-cta-row {
  margin-bottom: 12px;
}

.trust-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.trust-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-pills i {
  color: var(--color-primary);
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 0;
  padding: 12px 14px;
  background: var(--color-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.trust-bar div {
  min-width: 100px;
}

.trust-bar dt {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.trust-bar dd {
  margin: 4px 0 0;
  font-weight: 700;
  font-size: 1.1rem;
}

.counter-reserve {
  display: inline-block;
  min-width: 4ch;
  min-height: 1.2em;
}

.hero-more {
  margin: 12px 0 0;
  font-size: 0.88rem;
}

@keyframes hero-img-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-img {
  animation: hero-img-enter 0.65s ease forwards;
  background-color: var(--color-bg);
  /* border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow); */
  display: block;
  width: auto;
  max-width: min(100%, 440px);
  max-height: clamp(340px, 62vh, 680px);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-download {
  background: var(--color-primary);
  color: #fff !important;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pulseGlow 2.2s ease-in-out infinite;
}

.btn-download:hover {
  background: #15803d;
  color: #fff !important;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  }
  50% {
    box-shadow: 0 0 24px 4px rgba(22, 163, 74, 0.35);
  }
}

.btn-download-main {
  width: 100%;
  text-align: center;
}

@media (min-width: 480px) {
  .btn-download-main {
    width: auto;
  }
}

.btn-download-panel {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  padding: 18px 32px;
}

/* ═══ FEATURES ═══ */
.app-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .app-categories {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
}

.category-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.category-card h3 i {
  color: var(--color-primary);
}

.category-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.feature-icon .sport-svg {
  flex-shrink: 0;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ═══ TABLES ═══ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-card);
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.data-table th {
  background: rgba(22, 163, 74, 0.12);
  color: var(--color-text);
  font-weight: 600;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td {
  color: var(--color-muted);
}

.info-desk {
  margin-top: 32px;
}

.info-desk-title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 600;
}

.info-desk-table th[scope="row"] {
  width: 32%;
  background: rgba(15, 23, 42, 0.65);
  color: var(--color-text);
  font-weight: 600;
  border-right: 1px solid var(--color-border);
}

.info-desk-table tr:last-child th,
.info-desk-table tr:last-child td {
  border-bottom: none;
}

/* ═══ DOWNLOAD PANEL ═══ */
.download-panel {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.download-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  margin: 24px 0;
  padding: 0;
  color: var(--color-muted);
}

.download-meta i {
  color: var(--color-primary);
  margin-right: 6px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.download-note {
  max-width: 560px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.download-note i {
  color: var(--color-secondary);
  margin-right: 8px;
}

.download-extra {
  max-width: 800px;
  margin: 32px auto 0;
  color: var(--color-muted);
}

.download-extra p {
  margin: 0 0 16px;
}

.download-extra p:last-child {
  margin-bottom: 0;
}

/* ═══ HOW TO INSTALL ═══ */
.steps-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}

.steps-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  margin-bottom: 12px;
  background: var(--color-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.step-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.15);
  color: var(--color-secondary);
  border-radius: 10px;
}

.alert-box {
  margin-top: 24px;
  padding: 20px;
  background: rgba(249, 115, 22, 0.1);
  border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius);
}

.alert-box p {
  margin: 0;
  color: var(--color-text);
}

/* ═══ SCREENSHOTS ═══ */
.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .screenshot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.screenshot-grid figure {
  margin: 0;
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.screenshot-grid figcaption {
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* ═══ FAQ ═══ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0 16px;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--color-primary);
  transition: var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding-bottom: 16px;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}

.faq-body p {
  margin: 0;
}

/* ═══ AUTHOR ═══ */
.author-box {
  margin-top: 32px;
  padding: 20px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.author-box p {
  margin: 0 0 8px;
}

.author-box .freshness {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* ═══ FOOTER ═══ */
.site-footer {
  padding: 40px 20px;
  background: #1a252f;
  border-top: none;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer-line {
  margin: 0 0 14px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #bdc3c7;
}

.footer-line:last-child {
  margin-bottom: 0;
}

/* ═══ BACK TO TOP ═══ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #15803d;
  transform: translateY(-3px);
}

/* ═══ DOWNLOAD MODAL ═══ */
body.modal-open {
  overflow: hidden;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.download-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.download-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.download-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #fff;
  color: #1e293b;
  border-radius: 14px;
  border: 1px solid rgba(22, 163, 74, 0.2);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(22, 163, 74, 0.08);
  animation: download-modal-in 0.35s ease;
}

@keyframes download-modal-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.download-modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid rgba(22, 163, 74, 0.15);
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.06) 0%, #fff 100%);
}

.download-modal__header-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.download-modal__title {
  flex: 1;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.download-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #94a3b8;
  transition: background 0.2s ease, color 0.2s ease;
}

.download-modal__close:hover {
  background: rgba(22, 163, 74, 0.1);
  color: #0f172a;
}

.download-modal__body {
  padding: 18px 20px 20px;
}

.download-modal__intro {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1e293b;
}

.download-modal__progress-wrap {
  margin-bottom: 18px;
}

.download-modal__progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  overflow: hidden;
}

.download-modal__progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), #15803d);
  transition: width 0.12s linear;
}

.download-modal__status {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.download-modal__cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(22, 163, 74, 0.35);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.download-modal__cta:hover:not(:disabled) {
  background: #15803d;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.4);
}

.download-modal__cta:active:not(:disabled) {
  transform: scale(0.99);
}

.download-modal__cta:disabled {
  opacity: 0.85;
  cursor: wait;
}

.download-modal__footer {
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(22, 163, 74, 0.12);
  background: #f0fdf4;
  border-radius: 0 0 14px 14px;
}

.download-modal__tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #475569;
}

.download-modal__tip:last-child {
  margin-bottom: 0;
}

.download-modal__tip-badge {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  margin-top: 1px;
}

.download-modal__tip-badge--shield {
  font-size: 0.7rem;
}

@media (max-width: 480px) {
  .download-modal__title {
    font-size: 0.95rem;
  }
}

/* ═══ INNER PAGES (About, Blog, Legal, etc.) ═══ */
.page-wrap {
  padding-top: calc(var(--header-h) + 16px);
  padding-bottom: var(--section-pad-m);
  min-height: 60vh;
}

.page-hero-inner {
  padding: 24px 0 32px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.page-hero-inner h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.page-hero-inner .page-lead {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 720px;
}

.page-inner .prose {
  max-width: 760px;
}

.page-inner .prose h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.page-inner .prose h2:first-child {
  margin-top: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: rgba(22, 163, 74, 0.35);
}

.blog-card h2 {
  font-size: 1.15rem;
  margin: 0 0 12px;
}

.blog-card h2 a {
  color: var(--color-text);
}

.blog-card h2 a:hover {
  color: var(--color-primary);
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0 0 12px;
}

.contact-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .form-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: -8px;
}

