/* Shared marketing and teaching presentation. Policies keep their original CSS. */
.games-site,
.guide-site {
  --paper: #f7f6f2;
  --ink: #173d36;
  --muted: #52655d;
  --green: #236658;
  --sage: #e6ece3;
  --line: #d9dfd5;
  --gold: #b28c4d;
}
.games-site,
.guide-site {
  background: var(--paper);
  color: #293c34;
}
.games-site h1,
.games-site h2,
.guide-site h1,
.guide-site h2 {
  color: var(--ink);
  letter-spacing: -0.035em;
}
.site-header,
.site-footer {
  max-width: 1320px;
  margin-inline: auto;
}
.site-header {
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  letter-spacing: -0.035em;
  font-size: 1.15rem;
}
.site-header .brand::before {
  content: '';
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: url('/brand-mark.svg') center / contain no-repeat;
}
.site-header nav {
  align-items: center;
  font-size: 0.9rem;
  gap: 1.35rem;
}
.site-header nav a {
  padding-block: 0.6rem;
}
.site-header nav a:last-child[href*='play.google.com'] {
  border: 1px solid #bdcfc2;
  border-radius: 6px;
  padding: 0.5rem 0.85rem;
}
.site-footer {
  padding-block: 1.7rem;
  gap: 1rem 1.8rem;
}
.primary-link {
  background: var(--green);
  padding: 0.9rem 1.25rem;
  border-radius: 7px;
  line-height: 1.4;
  min-height: 48px;
  justify-content: center;
}
.primary-link:hover {
  background: #174e43;
}
.secondary-link {
  color: var(--ink);
  text-decoration-thickness: 1px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.games-site .eyebrow,
.guide-site .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--green);
}
.games-site p,
.guide-site p {
  text-wrap: pretty;
}
.games-site a,
.guide-site a {
  text-underline-offset: 0.25em;
}
.games-site :focus-visible,
.guide-site :focus-visible {
  outline: 3px solid #277d69;
  outline-offset: 4px;
}
.brand-main {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.brand-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.brand-hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.4rem, 5.5vw, 5.7rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.055em;
  margin-block: 1.2rem 1.5rem;
}
.brand-hero h1 em {
  color: #377c66;
  font-weight: 400;
}
.brand-hero .lead {
  font-size: 1.08rem;
  max-width: 430px;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}
.brand-hero .home-links {
  gap: 1.25rem;
}
.hero-footnote {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 1.5rem;
}
.hero-artboard {
  margin: 0;
  min-width: 0;
  position: relative;
  padding: 2.8rem 1.6rem 1.6rem;
  background: #e7e9dd;
  border-radius: 48% 48% 8px 8px;
}
.hero-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 0;
}
.hero-phones a {
  display: block;
  width: 45%;
  max-width: 196px;
}
.hero-phones a + a img {
  transform: rotate(7deg) translateY(16px);
}
.hero-phones img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 30px #173d3626;
  transform: rotate(-6deg);
}
.hero-artboard figcaption {
  text-align: center;
  color: #445b4e;
  font-size: 0.72rem;
  margin-top: 2.4rem;
}
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  padding-block: 2.4rem 1.8rem;
  border-top: 1px solid var(--line);
}
.section-intro h2,
.brand-story h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 3.5vw, 3.3rem);
  line-height: 1.12;
  margin: 0.65rem 0 0;
}
.section-intro > p {
  max-width: 350px;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.game-feature {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  background: var(--sage);
  border-radius: 12px;
}
.game-feature h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0.8rem 0 1rem;
}
.game-feature p {
  max-width: 460px;
}
.game-feature .feature-lead {
  font-size: 1.1rem;
  line-height: 1.65;
}
.feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  list-style: none;
  padding: 0;
  margin-block: 1.5rem 2rem;
  font-size: 0.8rem;
  color: #355548;
}
.feature-points li {
  border-top: 1px solid #b9cabd;
  padding-top: 0.6rem;
}
.feature-visual {
  margin: 0;
  text-align: center;
}
.feature-visual img {
  width: min(100%, 230px);
  height: auto;
  display: block;
  margin-inline: auto;
  border-radius: 13px;
  box-shadow: 0 18px 35px #122d3226;
}
.feature-visual figcaption {
  color: #50675a;
  font-size: 0.72rem;
  margin-top: 0.9rem;
}
.game-feature .language-picker {
  width: min(100%, 255px);
  margin-top: 1.4rem;
}
.game-feature .language-picker summary {
  background: transparent;
  border-color: #a9beb0;
}
.bottle-feature {
  background: #101f2e;
  color: #d5dee2;
}
.bottle-feature h3 {
  color: #f0e8d6;
}
.bottle-feature .eyebrow {
  color: #c5b58e;
}
.bottle-feature .feature-points {
  color: #bdcfcf;
}
.bottle-feature .feature-points li {
  border-color: #405261;
}
.bottle-feature .primary-link {
  color: #142a2b;
  background: #dbdfc9;
}
.bottle-feature .primary-link:hover {
  background: #edf0e2;
}
.bottle-feature .secondary-link {
  color: #dce4dd;
}
.bottle-feature .feature-visual figcaption {
  color: #b0c0c5;
}
.bottle-feature .availability {
  color: #b4c4c8;
  font-size: 0.8rem;
}
.brand-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-block: 2.5rem 4rem;
}
.brand-principles article {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.brand-principles h3 {
  font-size: 1.1rem;
  margin: 0.6rem 0;
  letter-spacing: -0.02em;
}
.brand-principles p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 0;
}
.section-index {
  font-size: 0.72rem;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.learning-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-block: 0.5rem 2.5rem;
}
.learning-path {
  display: block;
  padding: 1.5rem 0;
  color: var(--ink);
  text-decoration: none;
  border-top: 2px solid #b8cbb9;
}
.learning-path h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}
.learning-path p {
  color: var(--muted);
  font-size: 0.93rem;
}
.learning-path .path-link {
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: underline;
}
.learning-path:hover h3 {
  color: #28735d;
}
.learning-path:hover {
  border-color: #28735d;
}
.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  border-top: 1px solid var(--line);
  padding-block: 3rem 4.5rem;
}
.brand-story p {
  color: var(--muted);
  font-size: 0.98rem;
}
.brand-story h3 {
  font-size: 1rem;
  color: var(--ink);
  margin-top: 1.8rem;
}
.sudoku-product .game-main {
  max-width: 1200px;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.sudoku-product .breadcrumbs {
  display: inline-block;
  max-width: 65%;
  vertical-align: middle;
}
.sudoku-product .breadcrumbs ol {
  margin-block: 1.3rem;
  font-size: 0.75rem;
}
.sudoku-product .game-main > .language-picker {
  float: inline-end;
  margin-block: 0.75rem;
  width: auto;
  min-width: 140px;
  max-width: 45%;
}
.sudoku-product .game-main > .language-picker > summary {
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border-color: #c2cec0;
  font-size: 0.8rem;
}
.sudoku-product .game-main > .language-picker .language-options {
  width: 250px;
  inset-inline-start: auto;
  inset-inline-end: 0;
}
.sudoku-product .game-hero {
  clear: both;
  grid-template-columns: 1.25fr 0.8fr;
  grid-template-rows: auto auto;
  column-gap: 4rem;
  row-gap: 1.2rem;
  padding-block: 2.8rem 4.5rem;
}
.sudoku-product .hero-copy {
  grid-column: 1;
  grid-row: 1;
}
.sudoku-product .hero-copy h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 4.7vw, 4.8rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-top: 1rem;
}
.sudoku-product .hero-copy .lead {
  font-size: 1.08rem;
  margin-bottom: 1.4rem;
}
.sudoku-product .hero-detail {
  border: 0;
  padding-top: 0;
  margin-block: 1.2rem 1.5rem;
  color: #38594a;
  font-size: 0.83rem;
}
.sudoku-product .hero-shot {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 2rem 1.2rem 1.2rem;
  background: #e5eadf;
  border-radius: 46% 46% 10px 10px;
}
.sudoku-product .hero-shot img {
  width: min(100%, 260px);
  border-radius: 11px;
  box-shadow: 0 16px 35px #173a3429;
}
.sudoku-product .hero-shot figcaption {
  font-size: 0.72rem;
  margin-top: 1rem;
}
.sudoku-product .game-hero > .store-qr {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  gap: 0.85rem;
}
.sudoku-product .store-qr img {
  width: 144px;
  height: 144px;
}
.sudoku-product .store-qr figcaption {
  font-size: 0.77rem;
  max-width: 200px;
}
.sudoku-product .game-section {
  padding-block: 3.8rem;
}
.sudoku-product .game-section h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.sudoku-product .screenshot-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.sudoku-product .screenshot-gallery figure {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 2.5rem 3rem;
  background: #eceee6;
  border-radius: 10px;
  max-width: none;
  margin: 0;
}
.sudoku-product .screenshot-gallery figure:nth-child(2) {
  background: #e2eae3;
}
.sudoku-product .screenshot-gallery figure:nth-child(2) > picture {
  order: 2;
}
.sudoku-product .screenshot-gallery img {
  width: min(100%, 210px);
  margin: 0 auto;
}
.sudoku-product .screenshot-gallery h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.2;
  margin-block: 0.8rem 1rem;
}
.sudoku-product .screenshot-gallery p {
  max-width: 440px;
}
.sudoku-product .choices-section {
  gap: 3rem;
}
.sudoku-product .choices-copy h3 {
  font-size: 1.1rem;
}
.sudoku-product .choices-copy p {
  font-size: 0.95rem;
}
.sudoku-product .faq-list {
  max-width: none;
}
.sudoku-product .faq-list summary {
  padding-block: 0.25rem;
}
.sudoku-product .final-cta {
  text-align: center;
  background: var(--sage);
  padding: 3rem 1.5rem;
  margin-block: 0 3rem;
  border-radius: 10px;
  border: 0;
}
.guide-site .guide-main {
  max-width: 1160px;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.guide-site .guide-intro {
  padding-top: 1.8rem;
  padding-bottom: 1.5rem;
}
.guide-site .guide-intro h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.12;
  max-width: 900px;
}
.guide-site .guide-intro .lead {
  font-size: 1.03rem;
  line-height: 1.7;
  max-width: 800px;
  margin-bottom: 1rem;
}
.guide-site .guide-intro .course-source {
  font-size: 0.83rem;
  max-width: 760px;
}
.guide-site .guide-intro > .primary-link {
  background: transparent;
  color: var(--green);
  padding: 0.35rem 0;
  min-height: 44px;
  border-radius: 0;
  text-decoration: underline;
  font-size: 0.85rem;
}
.course-site .guide-main > .breadcrumbs {
  display: inline-block;
  max-width: 76%;
  margin-block: 1.3rem;
  font-size: 0.75rem;
}
.course-site .guide-main > .language-picker {
  float: inline-end;
  margin-block: 1rem;
  max-width: 22%;
}
.course-site .guide-main > .language-picker summary {
  background: transparent;
  padding: 0.45rem 0.6rem;
  font-size: 0.8rem;
}
.course-site .language-options {
  inset-inline-start: auto;
  inset-inline-end: 0;
}
.course-site article {
  clear: both;
}
.course-site .contents {
  background: #e9ede4;
  border: 0;
  border-radius: 8px;
  padding: 1rem 1.3rem;
}
.course-site .contents ul {
  margin: 0;
}
.course-site .guide-main section {
  margin-top: 2rem;
  padding-top: 1.4rem;
}
.course-site .guide-main section h2 {
  font-size: 1.75rem;
}
.course-site .course-board img {
  width: min(100%, 540px);
}
.course-site .course-step {
  border-radius: 8px;
}
.course-site .course-step > summary {
  padding-block: 0.9rem;
  min-height: 44px;
}
.course-site .guide-next {
  padding-bottom: 2.5rem;
}
.course-site .study-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-block: 0.4rem 2rem;
}
.course-site .study-paths a {
  display: flex;
  align-items: center;
  min-height: 80px;
  border-top: 2px solid #9cb8a4;
  padding: 1rem 0.4rem;
  font-weight: 650;
  text-decoration: none;
  gap: 0.75rem;
}
.course-site .study-paths span {
  color: #618170;
  font-size: 0.8rem;
}
.course-site .course-links li {
  margin-block: 0.2rem;
}
.course-site .course-links a {
  min-height: 44px;
}
.course-site .study-directory > section {
  padding-top: 1.5rem;
}
.bottle-brandbar {
  border-bottom: 1px solid #ffffff1a;
  color: #c6d3cf;
}
.bottle-brandbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 0.65rem;
  font: 0.75rem/1.5 system-ui, sans-serif;
}
.bottle-brandbar a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 32px;
}
.bottle-brandbar a:hover {
  text-decoration: underline;
}
.bottle-brandbar img {
  width: 23px;
  height: 23px;
}
.bottle-brandbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.4rem 1.5rem;
  }
  .site-header nav {
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
  }
  .brand-hero {
    gap: 1.5rem;
  }
  .brand-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
  }
  .sudoku-product .game-hero {
    column-gap: 2rem;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 0.8rem 1.25rem 0.6rem;
  }
  .site-header .brand {
    font-size: 1.05rem;
  }
  .site-header nav {
    font-size: 0.8rem;
    width: 100%;
    justify-content: space-between;
    gap: 0.2rem 0.7rem;
  }
  .site-header nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-block: 0.4rem;
  }
  .sudoku-product .site-header nav > a:last-child[href*='play.google.com'] {
    display: none;
  }
  .brand-hero {
    grid-template-columns: 1fr;
    padding-block: 2.6rem 2rem;
    gap: 2rem;
  }
  .brand-hero h1 {
    font-size: clamp(3.2rem, 12vw, 4.8rem);
    max-width: 520px;
    margin-block: 0.8rem 1.1rem;
  }
  .brand-hero .lead {
    font-size: 1rem;
    margin-bottom: 1.3rem;
  }
  .hero-footnote {
    margin-top: 0.9rem;
  }
  .hero-artboard {
    padding: 2rem 1.5rem 1.1rem;
    max-width: 480px;
    width: 100%;
    box-sizing: border-box;
    margin-inline: auto;
  }
  .hero-phones a {
    max-width: 150px;
  }
  .hero-artboard figcaption {
    margin-top: 1.8rem;
  }
  .section-intro {
    display: block;
    padding-block: 2rem 1.5rem;
  }
  .section-intro > p {
    margin-top: 1rem;
  }
  .game-feature {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 1.5rem;
  }
  .game-feature h3 {
    font-size: 2.5rem;
  }
  .game-feature .feature-lead {
    font-size: 1rem;
  }
  .feature-points {
    margin-block: 1rem 1.4rem;
  }
  .feature-visual img {
    width: min(65%, 200px);
  }
  .brand-principles,
  .learning-paths {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .brand-principles {
    padding-block: 1.5rem 2.5rem;
  }
  .learning-paths {
    margin-bottom: 2rem;
  }
  .learning-path {
    padding-block: 1rem;
  }
  .learning-path p {
    margin-block: 0.6rem;
  }
  .brand-story {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding-block: 2rem 2.5rem;
  }
  .sudoku-product .game-hero {
    grid-template-columns: 1fr;
    gap: 1.7rem;
    padding-block: 1.8rem 2.5rem;
  }
  .sudoku-product .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }
  .sudoku-product .hero-copy h1 {
    font-size: clamp(2.5rem, 9.5vw, 3.8rem);
  }
  .sudoku-product .hero-copy .lead {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .sudoku-product .hero-shot {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 350px);
    box-sizing: border-box;
    margin-inline: auto;
    padding-top: 1.5rem;
  }
  .sudoku-product .hero-shot img {
    width: min(65vw, 220px);
  }
  .sudoku-product .game-hero > .store-qr {
    display: none;
  }
  .sudoku-product .hero-detail {
    margin-block: 1rem;
  }
  .sudoku-product .game-section {
    padding-block: 2.5rem;
  }
  .sudoku-product .choices-section {
    gap: 0.5rem;
  }
  .sudoku-product .screenshot-gallery figure {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 1.7rem 1.4rem;
  }
  .sudoku-product .screenshot-gallery figure:nth-child(2) > picture {
    order: 0;
  }
  .sudoku-product .screenshot-gallery img {
    width: min(55vw, 190px);
  }
  .sudoku-product .screenshot-gallery h3 {
    font-size: 1.8rem;
  }
  .sudoku-product .section-heading {
    margin-bottom: 1.5rem;
  }
  .sudoku-product .game-main > .language-picker {
    min-width: 100px;
  }
  .sudoku-product .breadcrumbs {
    max-width: 57%;
  }
  .guide-site .guide-intro {
    padding-top: 1rem;
  }
  .guide-site .guide-intro h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }
  .course-site .guide-main > .breadcrumbs {
    max-width: 100%;
    display: block;
    margin-block: 1rem 0.4rem;
  }
  .course-site .guide-main > .language-picker {
    float: none;
    margin-block: 0.4rem 0.8rem;
    max-width: 100%;
  }
  .course-site .language-options {
    inset-inline-start: 0;
    inset-inline-end: auto;
  }
  .course-site .study-paths {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .course-site .study-paths a {
    min-height: 58px;
    padding-block: 0.7rem;
  }
  .bottle-brandbar .wrap {
    padding-block: 0.4rem;
  }
  .bottle-brandbar nav {
    gap: 0.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
:lang(ar) h1,
:lang(ar) h2,
:lang(hi) h1,
:lang(hi) h2,
:lang(th) h1,
:lang(th) h2 {
  letter-spacing: normal;
  line-height: 1.4;
}
