:root {
  --blue-900: #083567;
  --blue-700: #0b5fc3;
  --blue-100: #e8f2ff;
  --gold: #d7ae55;
  --gold-soft: #f7e5bd;
  --ink: #172033;
  --muted: #5b6475;
  --line: #dce5f1;
  --paper: #ffffff;
  --wash: #f6f9fd;
  --shadow: 0 18px 45px rgba(8, 53, 103, 0.12);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue-700);
  color: white;
  font-size: 26px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--blue-900);
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

.site-nav a {
  padding: 9px 10px;
  border-radius: 8px;
}

.site-nav a:hover {
  background: var(--blue-100);
  color: var(--blue-900);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue-900);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 5vw, 64px);
  min-height: 640px;
  padding: clamp(54px, 9vw, 110px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 48%, rgba(232,242,255,0.58) 100%),
    url("../assets/israel-learning.svg") center right / cover no-repeat;
}

.hero-media {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(46vw, 620px);
  height: 82%;
  pointer-events: none;
  opacity: 0.18;
}

.hebrew-pattern {
  direction: rtl;
  color: var(--blue-700);
  font-size: clamp(46px, 8vw, 112px);
  font-weight: 800;
  line-height: 1.05;
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  color: var(--blue-900);
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 82px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.global-search,
.filters {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 760px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.global-search input,
.filters input,
.filters select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: white;
}

.global-search input {
  border: 0;
}

.global-search button,
.contact-form button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease;
}

.global-search button,
.button.primary,
.contact-form button {
  background: var(--blue-700);
  color: white;
}

.button:hover,
button:hover,
.global-search button:hover,
.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(8, 53, 103, 0.16);
}

.button:active,
button:active,
.global-search button:active,
.contact-form button:active {
  transform: translateY(0);
  box-shadow: none;
}

.button[disabled],
button[disabled],
.is-loading {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none !important;
}

.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.button.secondary {
  background: var(--gold-soft);
  color: #6c4a09;
}

.button.ghost {
  border-color: var(--line);
  background: white;
  color: var(--blue-900);
}

.button.danger {
  background: #b42318;
  color: white;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-panel {
  align-self: end;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel strong {
  color: var(--blue-900);
  font-size: 20px;
}

.hero-panel p,
.hero-panel ul {
  color: var(--muted);
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.band {
  background: var(--wash);
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.compact {
  margin-left: 0;
  text-align: left;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.dictionary-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.filters {
  grid-template-columns: minmax(220px, 1fr) 220px 190px;
  max-width: none;
  margin-bottom: 22px;
}

.word-grid,
.category-grid,
.course-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.word-card,
.category-card,
.course-card,
.resource-card,
.guide-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(8, 53, 103, 0.06);
}

.hebrew-word {
  direction: rtl;
  display: block;
  color: var(--blue-900);
  font-size: 34px;
  font-weight: 850;
}

.word-meta,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 12px;
  font-weight: 800;
}

.pill.gold {
  background: var(--gold-soft);
  color: #6c4a09;
}

.example {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-card span {
  color: var(--blue-700);
  font-weight: 850;
}

.split,
.contact,
.visual-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.visual-split {
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  align-items: center;
}

.image-frame {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: white;
}

.image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tight-top {
  padding-top: 0;
}

.alphabet-actions {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  margin-top: 22px;
}

.alphabet-actions input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
}

.alphabet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.letter-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(8, 53, 103, 0.06);
}

.letter-glyph {
  display: grid;
  place-items: center;
  min-height: 72px;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 40px;
  font-weight: 900;
}

.letter-card h3 {
  margin-bottom: 6px;
}

.letter-card p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  color: var(--blue-700);
  font-weight: 850;
}

.lesson-viewer {
  display: grid;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.pdf-shell {
  overflow: hidden;
  min-height: 72vh;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3fa;
  box-shadow: var(--shadow);
}

.pdf-shell iframe,
.pdf-shell object {
  display: block;
  width: 100%;
  height: 72vh;
  border: 0;
}

.notice {
  padding: 16px;
  border: 1px solid var(--gold-soft);
  border-radius: 8px;
  background: #fff9eb;
  color: #6c4a09;
}

.notice.success {
  border-color: #b8e3c2;
  background: #effaf1;
  color: #226b35;
}

.notice.error {
  border-color: #f0b8b8;
  background: #fff0f0;
  color: #9b1c1c;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-form,
.code-output {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 22px rgba(8, 53, 103, 0.06);
}

.admin-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.code-output pre {
  overflow: auto;
  max-height: 330px;
  padding: 14px;
  border-radius: 8px;
  background: #0c1728;
  color: #eaf2ff;
}

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

.admin-list {
  display: grid;
  gap: 14px;
  max-height: 760px;
  overflow: auto;
}

.admin-list-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.lesson-detail {
  overflow: hidden;
}

.lesson-cover {
  display: block;
  width: calc(100% + 44px);
  max-height: 420px;
  margin: -22px -22px 22px;
  object-fit: cover;
  aspect-ratio: 16 / 7;
}

.lesson-video {
  width: 100%;
  max-height: 520px;
  margin: 18px 0;
  border-radius: 8px;
  background: #08192e;
}

.lesson-content {
  margin: 18px 0;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: var(--wash);
  color: var(--ink);
}

.print-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 0 18px;
}

.print-sheet {
  background: #f1f5fb;
}

.letters-printable {
  max-width: 1120px;
  margin: 28px auto;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.print-title {
  text-align: center;
  margin-bottom: 20px;
}

.print-title h1 {
  font-size: clamp(28px, 4vw, 44px);
}

.print-letters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.print-letter-card {
  display: grid;
  gap: 4px;
  min-height: 132px;
  padding: 12px;
  border: 1px solid #111;
  border-radius: 6px;
  text-align: center;
}

.print-letter {
  direction: rtl;
  color: #000;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.print-letter-card strong {
  color: #000;
  font-size: 16px;
}

.print-letter-card small,
.print-letter-card em {
  color: #222;
  font-size: 11px;
}

.stack-list {
  display: grid;
  gap: 14px;
}

.guide-card h3,
.course-card h3,
.resource-card h3 {
  margin-bottom: 10px;
}

.guide-card p,
.course-card p,
.resource-card p,
.category-card p,
.contact p {
  color: var(--muted);
}

.course-card {
  border-top: 4px solid var(--blue-700);
}

.resource-card {
  min-height: 210px;
}

.contact {
  background: var(--blue-900);
  color: white;
}

.contact h2,
.contact .eyebrow {
  color: white;
}

.contact p {
  color: #d6e6fb;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-links a {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 8px;
  color: white;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: white;
  color: var(--ink);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
}

.auth-panel {
  max-width: 760px;
  margin-inline: auto;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}

.checkbox-line input {
  width: auto;
  margin-top: 5px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-700);
  font-weight: 750;
}


@media (max-width: 940px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav.open-on-page {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-basis: 100%;
    order: 3;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .hero,
  .split,
  .contact,
  .visual-split,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    align-self: start;
  }

  .word-grid,
  .category-grid,
  .course-grid,
  .resource-grid,
  .alphabet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .print-letters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .global-search {
    grid-template-columns: 1fr;
  }

  .global-search input {
    border: 1px solid var(--line);
  }

  .word-grid,
  .category-grid,
  .course-grid,
  .resource-grid,
  .alphabet-grid {
    grid-template-columns: 1fr;
  }

  .alphabet-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 8mm;
  }

  * {
    box-shadow: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .print-hide,
  .site-header,
  .site-footer {
    display: none !important;
  }

  .print-sheet,
  .letters-printable {
    margin: 0;
    padding: 0;
    border: 0;
    background: white;
  }

  .print-title {
    margin-bottom: 4mm;
  }

  .print-title h1 {
    font-size: 18pt;
  }

  .print-title p {
    font-size: 9pt;
  }

  .print-letters-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5mm;
  }

  .print-letter-card {
    min-height: 29mm;
    padding: 2mm;
    break-inside: avoid;
  }

  .print-letter {
    font-size: 26pt;
  }

  .print-letter-card strong {
    font-size: 9pt;
  }

  .print-letter-card small,
  .print-letter-card em {
    font-size: 7pt;
  }
}

/* Platform-style homepage upgrades */
.hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.85fr);
  align-items: center;
  min-height: 720px;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 48%, rgba(232,242,255,0.74) 100%),
    var(--wash);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 520px;
}

.hero-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.word-day-card {
  position: absolute;
  left: -34px;
  bottom: 28px;
  width: min(300px, 84%);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow);
}

.word-day-card strong {
  display: block;
  margin-top: 12px;
  color: var(--blue-900);
  font-size: 56px;
  line-height: 1;
}

.word-day-card p {
  margin: 7px 0;
  color: var(--muted);
}

.word-day-translit {
  color: var(--blue-700) !important;
  font-weight: 900;
  font-size: 21px;
}

.word-day-card button {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--blue-700);
  color: white;
  font-weight: 850;
  cursor: pointer;
}

.search-examples,
.popular-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
}

.search-examples button,
.popular-searches a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: white;
  color: var(--blue-900);
  font-weight: 750;
  cursor: pointer;
}

.popular-searches strong {
  color: var(--ink);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(38px, 5vw, 60px);
  background: var(--wash);
}

.stats-strip div {
  display: grid;
  gap: 4px;
  place-items: center;
  min-height: 120px;
  background: white;
  border: 1px solid var(--line);
}

.stats-strip strong {
  color: var(--blue-900);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.stats-strip span {
  color: var(--muted);
  font-weight: 800;
}

.situation-section {
  padding-top: clamp(48px, 6vw, 76px);
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.situation-grid a {
  display: grid;
  gap: 8px;
  min-height: 172px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 22px rgba(8, 53, 103, 0.06);
}

.situation-grid span {
  font-size: 32px;
}

.situation-grid strong {
  color: var(--blue-900);
  font-size: 20px;
}

.situation-grid small {
  color: var(--muted);
  font-weight: 650;
}

.category-card {
  border-top: 4px solid var(--gold);
}

.image-frame-small img {
  aspect-ratio: 16 / 8.5;
}

.below-media {
  margin-top: 18px;
}

.featured-lessons {
  background: linear-gradient(180deg, white 0%, var(--wash) 100%);
}

.netflix-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lesson-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.lesson-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lesson-card > div,
.lesson-card h3,
.lesson-card p,
.lesson-card .button {
  margin-left: 20px;
  margin-right: 20px;
}

.lesson-card > div {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.lesson-card h3 {
  margin-top: 12px;
}

.lesson-card p {
  color: var(--muted);
}

.lesson-card .button {
  margin-bottom: 20px;
}

.mega-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(140px, 1fr));
  align-items: start;
  background: var(--blue-900);
  color: white;
  border-top: 0;
}

.mega-footer p {
  color: #d6e6fb;
}

.mega-footer h3 {
  margin-bottom: 12px;
  color: white;
  font-size: 16px;
}

.mega-footer nav {
  display: grid;
  gap: 8px;
}

.mega-footer a {
  color: #d6e6fb;
}

.lesson-content {
  margin: 18px 0 22px;
  padding: 22px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 14px;
  background: #fffaf0;
  color: #172033;
  line-height: 1.85;
  font-size: 18px;
  box-shadow: 0 16px 34px rgba(11, 30, 54, 0.08);
}

.lesson-content::before {
  content: "Contenido de la leccion";
  display: block;
  margin-bottom: 10px;
  color: var(--gold-700);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .situation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual > img {
    min-height: 420px;
  }

  .word-day-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .netflix-row {
    grid-template-columns: 1fr;
  }

  .mega-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 42px;
  }

  .hero-visual,
  .hero-visual > img {
    min-height: 360px;
  }

  .stats-strip,
  .situation-grid,
  .mega-footer {
    grid-template-columns: 1fr;
  }

  .stats-strip div {
    min-height: 96px;
  }
}
