:root {
  --md-status--upcoming: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px"><path d="M200-120q-51 0-72.5-45.5T138-250l222-270v-240h-40q-17 0-28.5-11.5T280-800q0-17 11.5-28.5T320-840h320q17 0 28.5 11.5T680-800q0-17-11.5 28.5T640-760h-40v240l222 270q32 39 10.5 84.5T760-120H200Zm80-120h400L544-400H416L280-240Zm-80 40h560L520-492v-268h-80v268L200-200Zm280-280Z"/></svg>');
}

.md-status--upcoming::after {
  mask-image: var(--md-status--upcoming);
  -webkit-mask-image: var(--md-status--upcoming);
}

/* 
 * Override Material's responsive breakpoints
 * Default mobile breakpoint is ~1220px, changing to 769px
 * This keeps desktop navigation for tablets and smaller laptops
 */

/* Force desktop layout for screens between 769px and 1219px */
@media screen and (min-width: 48.0625em) and (max-width: 76.1875em) {
  /* Hide mobile navigation elements */
  .md-header__button {
    display: none !important;
  }
  
  .md-overlay {
    display: none !important;
  }
  
  /* Show desktop navigation */
  .md-nav--primary .md-nav__title {
    display: none !important;
  }
  
  .md-nav--primary .md-nav__list {
    display: block !important;
  }
  
  .md-nav--secondary {
    display: block !important;
  }
  
  /* Keep sidebar navigation visible */
  .md-sidebar--primary {
    display: block !important;
  }
  
  .md-sidebar--secondary {
    display: block !important;
  }
}

/* 
 * Override Material's tab navigation breakpoint 
 * Material hides tabs at 1220px, we want them visible until 769px
 */

/* Keep tabs visible above 769px (override Material's 1220px breakpoint) */
@media screen and (min-width: 48.0625em) {
  .md-tabs {
    display: block !important;
    justify-content: flex-start !important;
  }
}

/* Hide tabs and show mobile menu below 769px */
@media screen and (max-width: 48.0625em) {
  .md-tabs {
    display: none !important;
  }
}

/* Hero text styling for landing page only */
h1.hero-title {
  font-size: 64px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  margin-bottom: 1.0rem !important;
}

/* Responsive hero text for mobile - landing page only */
@media screen and (max-width: 48.0625em) {
  h1.hero-title {
    font-size: 48px !important;
  }
}

@media screen and (max-width: 30em) {
  h1.hero-title {
    font-size: 36px !important;
  }
}

/* Larger icons in tables */
table .twemoji {
  font-size: 32px !important;
}

/* ── Homepage feature sections ─────────────────────────────────────────── */

.feature-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 3rem 0;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-row .feature-image {
  flex: 1 1 55%;
  min-width: 0;
}

.feature-row .feature-image.feature-image--phone {
  flex: 0 0 26%;
  max-width: 280px;
}

.feature-row .feature-image img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--md-default-fg-color--lightest);
}

.feature-row .feature-text {
  flex: 1 1 45%;
  min-width: 0;
}

.feature-row .feature-text h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.feature-row .feature-text p {
  color: var(--md-default-fg-color--light);
  line-height: 1.7;
}

@media screen and (max-width: 48.0625em) {
  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
  }
}

/* ── Hero CTA columns ───────────────────────────────────────────────────── */

.hero-ctas {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}

.hero-cta {
  flex: 1;
}

.hero-cta .md-button {
  margin-bottom: 0.75rem;
}

.hero-cta blockquote {
  margin: 0;
  font-size: 0.9rem;
}

@media screen and (max-width: 48.0625em) {
  .hero-ctas {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ── Homepage value prop card grid ─────────────────────────────────────── */

.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.prop-card {
  background: var(--md-code-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 8px;
  padding: 1.5rem;
}

.prop-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.prop-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--md-default-fg-color--light);
  line-height: 1.6;
}
