:root {
  --pink: #cf7b79;
  --pink-dark: #a55856;
  --pink-soft: #f9e2e5;
  --cream: #fff8f2;
  --paper: #fffdf9;
  --ink: #241434;
  --muted: #5d5269;
  --line: #f0cdd2;
  --sage: #2f766d;
  --sage-soft: #e4f3ef;
  --gold: #f4c96a;
  --gold-soft: #fff3d5;
  --blue-soft: #e8f1fb;
  --shadow: 0 18px 42px rgba(118, 60, 74, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 247, 247, 0.86), rgba(255, 250, 244, 0.96)),
    var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body,
button,
input {
  font: 16px/1.5 Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-face {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 8px 22px rgba(165, 88, 86, 0.18);
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-weight: 900;
  line-height: 1.1;
}

.brand-title img {
  width: 58px;
  height: auto;
  flex: 0 0 auto;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.install-button,
.icon-link,
.button,
.text-button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.install-button,
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  background: #fff;
  border-color: var(--line);
}

.install-button {
  background: var(--ink);
  color: #fff;
}

.button:hover,
.install-button:hover,
.icon-link:hover,
.text-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(118, 60, 74, 0.14);
}

.app-nav {
  position: sticky;
  top: 73px;
  z-index: 25;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 242, 0.96);
  scrollbar-width: none;
}

.app-nav::-webkit-scrollbar {
  display: none;
}

.app-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.app-nav a.is-active,
.app-nav a:hover {
  border-color: var(--line);
  background: #fff;
  color: var(--pink-dark);
}

.announcement-ticker {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.ticker-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 28px;
}

.ticker-label {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-window {
  min-width: 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: tickerScroll 38s linear infinite;
}

.announcement-ticker:hover .ticker-track,
.announcement-ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 420px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.ticker-item:hover,
.ticker-item:focus {
  text-decoration: underline;
}

.ticker-badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker-title {
  font-weight: 900;
}

.ticker-copy {
  color: rgba(255, 255, 255, 0.76);
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

main {
  overflow: hidden;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 32px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 28px 24px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: 4.4rem;
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.55rem;
  line-height: 1.04;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  line-height: 1.15;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 620px;
  font-size: 1.18rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 12px 18px;
  overflow-wrap: anywhere;
}

.button.primary {
  background: var(--pink);
  color: #fff;
}

.button.primary:hover {
  background: var(--pink-dark);
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.button.sage {
  background: var(--sage);
  color: #fff;
}

.hero-media {
  min-height: 430px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, var(--pink-soft));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img {
  width: min(78%, 420px);
  max-height: 510px;
  object-fit: contain;
}

.overview-strip,
.section-block {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 28px;
}

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

.quick-tile,
.book-card,
.sign-card,
.activity-card,
.lesson-card,
.event-card,
.resource-card,
.reading-panel,
.progress-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(118, 60, 74, 0.08);
}

.quick-tile {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 18px;
  text-decoration: none;
}

.quick-tile strong {
  line-height: 1.25;
}

.tile-kicker {
  color: var(--pink-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-block {
  scroll-margin-top: 136px;
}

.alt-band,
.events-band,
.resource-band {
  max-width: none;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.alt-band {
  background: linear-gradient(180deg, var(--sage-soft), rgba(255, 253, 249, 0.86));
}

.events-band {
  background: linear-gradient(180deg, var(--gold-soft), rgba(255, 253, 249, 0.86));
}

.resource-band {
  background: linear-gradient(180deg, var(--blue-soft), rgba(255, 253, 249, 0.86));
}

.alt-band > *,
.events-band > *,
.resource-band > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.55fr);
  gap: 18px 32px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading .eyebrow,
.section-heading h2 {
  grid-column: 1;
}

.section-heading p:not(.eyebrow) {
  grid-column: 2;
  margin-bottom: 0;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
  margin-bottom: 22px;
}

.book-grid,
.sign-grid,
.activity-grid,
.lesson-grid,
.event-grid,
.resource-grid {
  display: grid;
  gap: 16px;
}

.book-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.book-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.book-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--pink-soft), var(--gold-soft));
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.book-body,
.sign-card,
.activity-card,
.lesson-card,
.event-card,
.resource-card {
  padding: 18px;
}

.book-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.book-meta,
.sign-theme {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.small-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.small-link:hover {
  color: var(--pink-dark);
}

.reading-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
  background: #fff;
}

.progress-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin-bottom: 16px;
  padding: 16px 18px;
}

.progress-panel div {
  display: grid;
  gap: 2px;
}

.progress-panel span {
  color: var(--muted);
  font-size: 0.92rem;
}

.text-button {
  padding: 9px 13px;
  background: #fff;
  border-color: var(--line);
  color: var(--pink-dark);
}

.sign-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sign-card {
  display: grid;
  gap: 10px;
  min-height: 230px;
}

.sign-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
}

.sign-card .sign-word {
  overflow-wrap: anywhere;
}

.practice-toggle {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.practice-toggle.is-done {
  border-color: var(--sage);
  background: var(--sage);
  color: #fff;
}

.sign-card p,
.activity-card p,
.lesson-card p,
.event-card p,
.resource-card p,
.book-body p {
  margin-bottom: 12px;
}

.sign-card footer,
.activity-card footer,
.event-card footer,
.resource-card footer {
  margin-top: auto;
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#aslResourceGrid {
  margin-top: 16px;
}

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

.activity-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.activity-card img {
  width: 150px;
  height: 190px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.lesson-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.lesson-card {
  background: #fff;
}

.lesson-card .prompt {
  color: var(--ink);
  font-weight: 800;
}

.event-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-card {
  background: #fff;
}

.event-date {
  color: var(--sage);
  font-weight: 900;
  text-transform: uppercase;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 28px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a {
  font-weight: 900;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus {
  text-decoration: underline;
}

.seo-content {
  background: rgba(255, 253, 249, 0.78);
}

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

.seo-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(118, 60, 74, 0.08);
}

.seo-grid article {
  padding: 18px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.faq-list details {
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.25rem;
  }

  .hero-section,
  .section-heading,
  .reading-panel {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading p:not(.eyebrow) {
    grid-column: auto;
  }

  .hero-media {
    min-height: 340px;
  }

  .overview-strip,
  .book-grid,
  .sign-grid,
  .resource-grid,
  .seo-grid,
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar {
    align-items: flex-start;
    padding: 10px 16px;
  }

  .brand-face {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: 0.94rem;
  }

  .brand-title img {
    width: 48px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .icon-link,
  .install-button {
    padding: 9px 11px;
    font-size: 0.86rem;
  }

  .app-nav {
    top: 65px;
    padding: 9px 16px;
  }

  .ticker-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 16px;
  }

  .ticker-label {
    width: max-content;
  }

  .ticker-item {
    max-width: 340px;
  }

  .hero-section,
  .overview-strip,
  .section-block {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-section {
    padding-top: 28px;
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-media img {
    width: min(86%, 320px);
    max-height: 340px;
  }

  .overview-strip,
  .book-grid,
  .sign-grid,
  .activity-grid,
  .lesson-grid,
  .event-grid,
  .resource-grid,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .activity-card {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .activity-card img {
    width: 110px;
    height: 146px;
  }

  .button,
  .button-row,
  .hero-actions {
    width: 100%;
  }

  .button-row .button,
  .hero-actions .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 420px) {
  .brand-subtitle {
    display: none;
  }

  .topbar {
    gap: 10px;
  }

  .app-nav a {
    min-width: 72px;
  }

  .ticker-copy {
    display: none;
  }

  .activity-card {
    grid-template-columns: 1fr;
  }

  .activity-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .ticker-track {
    width: auto;
    flex-wrap: wrap;
    animation: none;
  }

  .ticker-item {
    white-space: normal;
  }
}
