:root {
  color-scheme: light;
  --paper: #fffaf1;
  --ivory: #fff4de;
  --paper-ink: #42180d;
  --paper-muted: #69412e;
  --paper-line: #ecd4bb;
  --accent-ink: #8c240c;
  --orange: #b8410a;
  --gold: #ffba13;
  --ink: #49170f;
  --panel: #691b11;
  --muted: #ffdfbd;
  --line: #a95832;
  --header: #790b07;
  --focus: var(--accent-ink);
  --action-gradient: linear-gradient(180deg, #ffc630, #ffba13);
  --action-border: #ffcb4a;
  --paper-shadow: 0 14px 32px #741d0b12;
  --max: 1160px;
  font-family: Arial, "Nirmala UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--paper); color: var(--paper-ink); font-size: 1rem; line-height: 1.65; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; }
a:hover { color: var(--accent-ink); }
:where(a, button, summary, input, select):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--paper-ink);
}
.skip-link:focus { top: 10px; }

.site-header, .site-footer { --focus: var(--gold); color: var(--ivory); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header);
  border-bottom: 1px solid #e48e5554;
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; align-items: center; gap: 25px; min-height: 76px; }
.brand { display: flex; align-items: center; flex-shrink: 0; gap: 12px; }
.brand:hover { color: var(--ivory); }
.brand-icon { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; }
.brand-name { color: var(--ivory); font-weight: 900; font-size: clamp(1.12rem, 2.1vw, 1.4rem); line-height: 1.05; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: 25px; margin-left: auto; font-size: .925rem; font-weight: 700; }
.site-header nav>a { position: relative; padding-block: 24px; white-space: nowrap; }
.site-header nav>a[aria-current] { color: var(--gold); }
.site-header nav>a[aria-current]::after {
  content: "";
  height: 2px;
  background: var(--gold);
  position: absolute;
  bottom: 13px;
  inset-inline: 0;
}
.site-header a:hover, .site-footer a:hover { color: var(--gold); }
.language-switch { display: flex; align-items: center; gap: 9px; font-size: .875rem; white-space: nowrap; }
.language-current { color: var(--gold); }
.language-unavailable { opacity: .62; cursor: not-allowed; }
.menu-toggle { display: none; }

.download-button, .hero-download-primary, .outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 45px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: background-color .18s, box-shadow .18s, transform .18s;
}
.apk-button, .hero-download-primary, .store-button.hero-download-primary, .header-action, .footer-action {
  background: var(--action-gradient);
  color: var(--paper-ink);
  border-color: var(--action-border);
  box-shadow: inset 0 1px #ffe294, 0 4px 12px #49170f26;
}
.apk-button:hover, .hero-download-primary:hover, .store-button.hero-download-primary:hover, .site-header .header-action:hover, .site-header .header-download:hover, .footer-action:hover {
  background: #ffd060;
  color: var(--paper-ink);
  transform: translateY(-1px);
  box-shadow: inset 0 1px #fff9c2, 0 7px 17px #49170f38;
}
.store-button { border-color: #ffba136b; background: #311614; color: #fff; }
.store-button:hover, .site-header .store-button.header-download:hover { border-color: var(--gold); background: #491e17; color: #fff; }
.store-button img { width: 24px; height: 26px; object-fit: contain; }
.header-download, .header-action { min-height: 41px; padding-inline: 15px; font-size: .875rem; white-space: nowrap; }

.home-section { padding-block: clamp(52px, 6.5vw, 90px); }
.eyebrow { margin: 0 0 9px; color: var(--accent-ink); font-size: .8125rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.section-heading h2, .how-grid h2, .app-access h2, .faq-section h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.65vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.section-heading p:not(.eyebrow), .how-intro, .faq-section p { color: var(--paper-muted); }
.section-heading p:not(.eyebrow) { margin-bottom: 0; }
.text-link { color: var(--accent-ink); font-weight: 700; text-underline-offset: 3px; }
.text-link:hover { color: #681008; text-decoration: underline; }
.outline-link {
  align-self: end;
  border-color: #d7a177;
  background: #fff9eb;
  color: var(--accent-ink);
  white-space: nowrap;
}
.outline-link:hover { background: #ffedd7; border-color: #b96f44; color: #782303; }

.poster-hero {
  --focus: #ffedd9;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ivory);
  border-bottom: 1px solid #d37133;
  background:
    repeating-linear-gradient(122deg, #ffbf7707 0 1px, transparent 1px 6px),
    radial-gradient(ellipse at 50% 47%, #b43c09 0%, #a93405 45%, #791c0c 100%);
}
.poster-background,
.poster-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.poster-background { z-index: -2; opacity: .10; }
.poster-background img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65); }
.poster-atmosphere {
  z-index: -1;
  background: radial-gradient(ellipse at center, transparent 53%, #45090653 100%);
}
.poster-atmosphere::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(91%, 1360px);
  height: 77%;
  transform: translate(-50%, -50%);
  border: 1px solid #ffdb9d2b;
  border-radius: 999px;
  box-shadow: inset 0 0 0 9px #ffdb9d0a, 0 0 0 8px #ffdb9d0a;
}
.poster-atmosphere span {
  position: absolute;
  color: #ffd79b25;
  font: clamp(3.6rem, 8.6vw, 8rem)/1 Georgia, "Segoe UI Symbol", serif;
}
.poster-atmosphere span:nth-child(1) { top: 13%; left: 7%; transform: rotate(-16deg); }
.poster-atmosphere span:nth-child(2) { top: 11%; right: 10%; transform: rotate(13deg); }
.poster-atmosphere span:nth-child(3) { bottom: 10%; right: 6%; transform: rotate(17deg); }
.poster-atmosphere span:nth-child(4) { bottom: 8%; left: 12%; transform: rotate(-14deg); }
.poster-inner {
  padding-block: clamp(43px, 6vw, 81px);
  text-align: center;
}
.poster-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin-inline: auto;
}
.poster-copy h1 {
  margin: 0 0 21px;
  font-family: "Arial Black", Arial, "Nirmala UI", sans-serif;
  font-size: clamp(3.1rem, 5.6vw, 5.9rem);
  font-weight: 900;
  font-style: italic;
  line-height: .99;
  letter-spacing: -.057em;
  color: #fff9eb;
  text-shadow: 0 2px 0 #711e0b80;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.poster-title-accent {
  display: block;
  margin-top: .2em;
  color: #ffdf9d;
  font-size: clamp(1.56rem, 3.05vw, 2.92rem);
  letter-spacing: -.035em;
  line-height: 1.11;
  text-shadow: 0 2px 0 #711e0b80;
}
.poster-lead {
  max-width: 59ch;
  margin: 0 auto 25px;
  color: #fff4de;
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
  line-height: 1.55;
  text-shadow: 0 1px 2px #711e0b60;
}
.poster-downloads { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.poster-downloads>a { max-width: 100%; overflow-wrap: anywhere; }
.hero-download-primary { min-width: min(100%, 240px); min-height: 54px; padding-inline: 23px; font-size: 1.09rem; font-weight: 800; }
.hero-download-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff4de;
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #ffdd9fa8;
  text-underline-offset: 4px;
}
.hero-download-secondary:hover { color: #fff4de; text-decoration-color: currentColor; }
.hero-download-status { max-width: 46ch; margin: 0; color: var(--ivory); font-size: .9375rem; line-height: 1.45; }
.poster-app-options { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; }
.app-qr { width: 70px; height: 70px; padding: 3px; border-radius: 7px; background: #fff9ed; object-fit: contain; }
.poster-support { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 7px 12px; border: 1px solid #ffde92; border-radius: 8px; background: #790b07; color: #fff5d9; }
.poster-support:hover { color: #fff5d9; background: #5c100c; }
.release-note { margin: 0; font-size: .875rem; line-height: 1.45; }
html[lang="hi"] .poster-copy h1 { font-family: "Nirmala UI", Arial, sans-serif; font-style: normal; letter-spacing: 0; line-height: 1.2; font-size: clamp(2.6rem, 5.4vw, 5.2rem); }
html[lang="hi"] .poster-title-accent { letter-spacing: 0; line-height: 1.25; }

.format-section {
  background: radial-gradient(ellipse at 100% 3%, #f8dfc763, transparent 56%), var(--paper);
}
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.format-card, .home-article-card, .screenshot-grid figure {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  background: #fffdf7;
  box-shadow: var(--paper-shadow);
}
.format-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  align-content: start;
  column-gap: 13px;
  padding: clamp(16px, 2.4vw, 26px);
  border-top: 3px solid #c76731;
}
.format-suit {
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  width: 38px;
  height: 44px;
  border: 1px solid #e4bb94;
  border-radius: 7px;
  background: #fff0d9;
  color: var(--paper-ink);
  font-size: 1.45rem;
  line-height: 1;
}
.format-card:nth-child(n + 2) .format-suit { color: #a42c15; }
.format-card h3 { margin: 0 0 4px; font-size: clamp(1.13rem, 2.1vw, 1.46rem); }
.format-card p { grid-column: 1 / -1; margin: 14px 0 0; color: var(--paper-muted); }
.format-card .format-meta { grid-column: 2; margin: 0; color: var(--accent-ink); font-size: .875rem; font-weight: 700; line-height: 1.35; }

.how-section {
  border-block: 1px solid var(--paper-line);
  background: linear-gradient(115deg, #fff7e9, #f8e7d4);
  padding-block: clamp(48px, 6vw, 82px);
}
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(22px, 5vw, 70px); align-items: center; }
.how-grid>div { min-width: 0; }
.how-grid h2 { margin-bottom: 12px; }
.how-intro { max-width: 46ch; }
.how-visual {
  overflow: hidden;
  justify-self: center;
  width: min(100%, 430px);
  border-radius: 14px;
  background: #ead1b7;
  border: 1px solid #dab28e;
  box-shadow: 0 12px 24px #652c1618;
}
.how-visual img { width: 100%; object-fit: contain; filter: saturate(.74); }
.table-note {
  margin: 18px 0;
  padding: 12px 14px;
  border: 1px solid #f0c183;
  border-inline-start: 3px solid #d46a1a;
  border-radius: 8px;
  background: #fff9e9;
  color: var(--paper-ink);
  font-weight: 600;
}
.table-actions { display: flex; flex-wrap: wrap; gap: 7px 20px; }
.table-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.table-actions a+a { padding-inline-start: 20px; border-inline-start: 1px solid #e5bc87; }

.app-access {
  padding-block: clamp(28px, 4.5vw, 54px);
  background: #fff5e4;
}
.app-access-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: clamp(19px, 3.6vw, 38px);
  border: 1px solid #deb38a;
  border-inline-start: 4px solid #a93405;
  border-radius: 15px;
  background: linear-gradient(115deg, #fffaf1, #fbe6ce);
  box-shadow: var(--paper-shadow);
}
.app-access-copy { min-width: 0; }
.app-access h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.app-access-copy p { margin: 0; color: var(--paper-muted); }
.app-access-copy p+p { margin-top: 9px; }
.app-access-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; }

.article-preview-section { background: #fff7e7; border-bottom: 1px solid var(--paper-line); }
.home-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.home-article-card { display: flex; flex-direction: column; }
.home-card-image { aspect-ratio: 16 / 9; overflow: hidden; background: #965022; }
.home-card-image img { width: 100%; height: 100%; object-fit: cover; }
.home-card-image img[src^="/assets/guides/"][src$=".svg"] { object-fit: contain; padding: 10px; background: #fff0cf; }

/* Shared editorial diagrams for the scoring example and Playbook covers. */
:is(.home-card-image, .how-visual, .journal-card-cover, .journal-detail-cover):has(> .card-plate) {
  container-type: inline-size;
  background: #29131a;
}
.card-plate {
  --plate-card-width: clamp(33px, 17.6cqi, 76px);
  --plate-amber: #f2ce89;
  --plate-soft-ink: #eed8b7;
  --plate-bg: #341a23;
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(5px, 2.5cqi, 14px);
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: clamp(8px, 4cqi, 25px);
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(128deg, #edb96806 0 1px, transparent 1px 5px),
    radial-gradient(ellipse at 50% 26%, var(--plate-bg), #1e1018 73%);
  color: var(--plate-soft-ink);
  line-height: 1.2;
  text-align: center;
}
.home-card-image > .card-plate,
.journal-card-cover > .card-plate { height: 100%; }
.journal-detail-cover > .card-plate {
  --plate-card-width: clamp(45px, 16cqi, 122px);
}
.card-plate::before {
  position: absolute;
  z-index: -1;
  inset: clamp(5px, 2.6cqi, 14px);
  border: 1px solid #d9af6a4d;
  border-radius: 7px;
  content: "";
  pointer-events: none;
}
.card-plate--score { --plate-bg: #4a2326; }
.card-plate--sequence { --plate-bg: #462329; }
.card-plate--set { --plate-bg: #3d2335; }
.card-plate--feature {
  --plate-card-width: clamp(45px, 19cqi, 84px);
  gap: clamp(10px, 3cqi, 17px);
  padding: clamp(13px, 5cqi, 26px);
  aspect-ratio: 4 / 3;
}
.card-plate-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2.5cqi, 14px);
  max-width: 100%;
  margin: 0;
  color: var(--plate-amber);
  font-size: clamp(.75rem, 3.5cqi, .875rem);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.card-plate-kicker::before,
.card-plate-kicker::after {
  flex: 0 0 clamp(10px, 4.8cqi, 35px);
  height: 1px;
  background: #d7aa645c;
  content: "";
}
html[lang="hi"] .card-plate-kicker { letter-spacing: 0; }
.card-plate-layout,
.card-plate-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 2.5cqi, 14px);
  max-width: 100%;
}
.card-plate-cards:has(> :nth-child(5)) { --plate-card-width: clamp(24px, 13.8cqi, 68px); }
.card-plate-item { display: grid; justify-items: center; min-width: 0; gap: 4px; }
.card-face {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: var(--plate-card-width);
  aspect-ratio: 5 / 7;
  border: 1px solid #d9b983;
  border-radius: clamp(4px, 1.65cqi, 9px);
  background: linear-gradient(155deg, #fffcf3, #fff0d0 79%, #edd6aa);
  color: #25181c;
  box-shadow: inset 0 0 0 1px #fffef0b3, 0 4px 9px #12070cad;
  font-family: Georgia, "Segoe UI Symbol", serif;
  line-height: 1;
}
.card-face--red { color: #a42327; }
.card-face-index {
  position: absolute;
  inset: 7% auto auto 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: max(.625rem, calc(var(--plate-card-width) * .24));
  font-weight: 800;
  line-height: .88;
}
.card-face-index > :nth-child(2) { font-size: .78em; }
.card-face-index--bottom { inset: auto 10% 7% auto; transform: rotate(180deg); }
.card-face-suit {
  font-size: calc(var(--plate-card-width) * .67);
  font-weight: 700;
  line-height: 1;
}
.card-plate-value {
  color: var(--plate-soft-ink);
  font-size: clamp(.75rem, 3.4cqi, .875rem);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.card-plate-operation {
  align-self: center;
  color: var(--plate-amber);
  font-family: Georgia, serif;
  font-size: clamp(1rem, 6.4cqi, 1.7rem);
  line-height: 1;
}
.card-plate-result {
  display: grid;
  justify-items: center;
  min-width: clamp(39px, 18cqi, 81px);
  gap: 2px;
  padding: clamp(4px, 1.6cqi, 8px) clamp(5px, 2cqi, 13px);
  border: 1px solid #c494526e;
  border-radius: 8px;
  background: linear-gradient(155deg, #61352f, #45232b);
  color: var(--plate-amber);
}
.card-plate-result strong {
  font-family: Georgia, serif;
  font-size: clamp(1.42rem, 9.4cqi, 3rem);
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}
.card-plate-result > :is(span, small) {
  color: var(--plate-soft-ink);
  font-size: clamp(.75rem, 3.4cqi, .875rem);
}
.card-plate-caption {
  margin: 0;
  color: var(--plate-soft-ink);
  font-size: clamp(.75rem, 3.4cqi, .9rem);
  text-wrap: balance;
}

.home-card-content { display: flex; flex: 1; flex-direction: column; align-items: start; min-width: 0; padding: 18px 17px 20px; }
.home-card-content .eyebrow { margin-bottom: 0; font-size: .75rem; overflow-wrap: anywhere; }
.home-card-date { color: var(--paper-muted); font-size: .8125rem; margin-top: 3px; }
.home-card-content h3 { margin: 8px 0; font-size: clamp(1.05rem, 1.7vw, 1.21rem); line-height: 1.25; overflow-wrap: anywhere; }
.home-card-content p {
  margin-bottom: 13px;
  color: var(--paper-muted);
  font-size: .9375rem;
  line-height: 1.55;
}
.home-card-content .text-link { margin-top: auto; font-size: .9375rem; }
.guide-art { display: flex; align-items: center; justify-content: center; gap: 4px; height: 100%; background: radial-gradient(ellipse at 45% 25%, #ffd680, #e26b20 70%, #a13b0d); }
.guide-art>span { width: 49px; height: 76px; padding: 6px; border: 1px solid #f5be63; border-radius: 6px; background: #fff9e9; color: #a62218; font-size: 1.125rem; box-shadow: 0 5px 8px #6f240d45; }
.guide-art>span:first-child { transform: rotate(-12deg) translateY(4px); }
.guide-art>span:last-child { transform: rotate(12deg) translateY(4px); }
.guide-art>span>span { display: block; text-align: center; }
.empty-guides { grid-column: 1 / -1; padding: 22px; border: 1px dashed #c78547; border-radius: 12px; background: #fff8e8; }
.empty-guides p { color: var(--paper-muted); }

.faq-section { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(24px, 6vw, 82px); }
.faq-section>div:first-child { min-width: 0; }
.faq-section a { overflow-wrap: anywhere; }
.faq-items { border: 1px solid var(--paper-line); border-radius: 16px; background: #fffdf8; box-shadow: var(--paper-shadow); }
.faq-items details { padding: 14px 19px; }
.faq-items details+details { border-top: 1px solid var(--paper-line); }
.faq-items summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; min-height: 42px; cursor: pointer; font-weight: 700; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffe7b5;
  color: #913a11;
  font-size: 1.05rem;
}
.faq-items details[open] summary::after { content: "−"; }
.faq-items details p { margin: 5px 36px 5px 0; }

.bottom-cta {
  border-block: 1px solid #dfa45e;
  background: linear-gradient(110deg, #fff0d0, #ffda88);
  color: var(--paper-ink);
}
.cta-inner { display: flex; align-items: center; gap: 22px; padding-block: 24px; }
.cta-suit {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 63px;
  transform: rotate(-9deg);
  border-radius: 8px;
  border: 1px solid #fff5d2;
  background: #fff7dd;
  box-shadow: 0 5px 8px #74320626;
  color: #9e3b0d;
  font-size: 2.1rem;
  line-height: 1;
}
.cta-inner h2 { margin: 0 0 5px; font-size: clamp(1.3rem, 2.45vw, 1.86rem); letter-spacing: -.02em; }
.cta-inner p { margin: 0; }
.footer-download, .footer-action { margin-left: auto; flex: none; padding-inline: 18px; }
.footer-download[hidden] { display: none !important; }

.site-footer { padding: 32px 0 20px; background: var(--header); }
.footer-top { display: flex; justify-content: space-between; gap: 28px; }
.footer-brand { min-width: 0; max-width: 310px; font-size: 1.22rem; font-weight: 800; }
.footer-brand span { display: block; margin-top: 6px; color: var(--muted); font-size: .875rem; font-weight: 400; }
.footer-top nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: start; gap: 9px 17px; max-width: 620px; font-size: .875rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 13px; border-top: 1px solid #ffc46854; color: var(--muted); font-size: .8125rem; }
.footer-bottom a { overflow-wrap: anywhere; }
.download-notice {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 14px 19px;
  border: 1px solid #ecb05c;
  border-radius: 10px;
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 8px 25px #5f24074f;
}

.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.screenshot-grid figure { margin: 0; padding: 15px; }
.screenshot-grid img { width: 100%; height: 320px; object-fit: contain; border-radius: 8px; }
.screenshot-grid figcaption { margin-top: 11px; color: var(--paper-muted); overflow-wrap: anywhere; }

.rules-intro { max-width: 900px; padding-block: clamp(31px, 6vw, 65px); }
.rules-intro h1, .public-error h1 { margin-bottom: 12px; font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.025em; text-wrap: balance; }
.rules-intro p:not(.eyebrow), .public-error>p:not(.public-error-code) { max-width: 68ch; color: var(--paper-muted); }
.rules-paper { background: #fffdf8; border-block: 1px solid var(--paper-line); }
.rules-content { max-width: 820px; padding-block: clamp(32px, 6vw, 62px); }
.rule-block, .info-content>section { margin-bottom: 32px; }
.rule-block h2, .info-content h2 { font-size: clamp(1.35rem, 2.4vw, 1.62rem); }
.info-content h3 { font-size: 1.125rem; }
.rule-block p { line-height: 1.75; }
.info-content li { margin-bottom: 10px; }
.rule-block a, .info-content a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.rules-note { margin-block: 0 24px; padding: 15px 17px; border-inline-start: 3px solid #e0781b; background: #fff0cb; }
.public-error { max-width: 780px; min-height: 380px; text-align: center; }
.public-error-code { color: var(--accent-ink); margin: 0 0 8px; font-size: clamp(4rem, 13vw, 7rem); font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.public-error>p:not(.public-error-code) { margin-inline: auto; }
.public-error-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.public-error-actions a { padding: 8px 12px; border: 1px solid #da9a5f; border-radius: 8px; }
.public-error-page .bottom-cta, .public-error-page .header-download { display: none; }

@media (max-width: 1050px) {
  .header-inner, .site-header nav { gap: 17px; }
  .footer-top { flex-direction: column; gap: 17px; }
  .footer-top nav { justify-content: flex-start; }
  .home-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .header-inner { gap: 12px; }
  .site-header nav { gap: 12px; }
  .site-header nav>a { font-size: .875rem; }
  .header-action, .header-download { padding-inline: 11px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .container { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; min-height: 65px; gap: 8px; }
  .brand { gap: 7px; }
  .brand-icon { width: 38px; height: 38px; border-radius: 8px; }
  .brand-name { font-size: 1.05rem; }
  .header-language { order: 2; margin-left: auto; gap: 5px; font-size: .8125rem; }
  .header-action, .header-download { order: 3; min-height: 38px; padding: 6px 9px; gap: 4px; border-radius: 8px; font-size: .8125rem; }
  .header-download img { width: 18px; height: 20px; }
  .site-header:not(:has(.header-language)) :is(.header-action, .header-download) { margin-left: auto; }
  .menu-toggle {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    height: 42px;
    margin-left: auto;
    gap: 4px;
    padding: 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ivory);
  }
  .header-inner:has(.header-language) .menu-toggle, .header-inner:has(.header-action) .menu-toggle, .header-inner:has(.header-download) .menu-toggle { margin-left: 0; }
  .menu-toggle span { width: 22px; height: 2px; background: currentColor; }
  .site-header nav { order: 5; display: none; flex: 0 0 100%; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding-bottom: 12px; }
  .site-header nav.open { display: flex; }
  .site-header nav>a { padding-block: 6px; }
  .site-header nav>a[aria-current]::after { bottom: 1px; }
  .site-header nav .language-switch { gap: 8px; }

  .poster-atmosphere::before { width: 128%; height: 85%; }
  .poster-atmosphere span { color: #ffd79b19; }
  .poster-atmosphere span:nth-child(1) { left: -1%; }
  .poster-atmosphere span:nth-child(2) { right: 0; }
  .poster-atmosphere span:nth-child(3) { right: 0; }
  .poster-atmosphere span:nth-child(4) { left: 1%; }
  .poster-inner { padding-block: 38px 27px; }
  .poster-copy h1 { margin-bottom: 14px; font-size: clamp(2.6rem, 11vw, 4.7rem); }
  .poster-lead { max-width: 47ch; margin-bottom: 18px; }
  .poster-downloads { gap: 7px; }
  .hero-download-primary { min-height: 49px; padding-inline: 16px; }
  .poster-title-accent { font-size: clamp(1.31rem, 5.6vw, 2.47rem); }
  html[lang="hi"] .poster-copy h1 { max-width: none; font-size: clamp(2.2rem, 8.4vw, 3.65rem); }

  .section-heading { display: block; margin-bottom: 18px; }
  .section-heading>a { margin-top: 12px; }
  .how-grid, .faq-section { grid-template-columns: 1fr; gap: 16px; }
  .how-visual { width: min(100%, 320px); justify-self: start; }
  .format-grid { grid-template-columns: 1fr; }
  .format-card p { grid-column: 2; margin-top: 8px; }
  .table-actions { gap: 0 14px; }
  .table-actions a+a { padding-inline-start: 0; border: 0; }
  .app-access-inner { align-items: start; flex-direction: column; }
  .home-article-grid, .screenshot-grid { grid-template-columns: 1fr; gap: 12px; }
  .screenshot-grid img { height: auto; max-height: 340px; }
  .faq-items details { padding: 10px 12px; }
  .cta-inner { flex-wrap: wrap; gap: 11px 14px; }
  .cta-suit { flex-basis: 39px; width: 39px; height: 46px; font-size: 1.6rem; }
  .cta-inner>div { flex: 1 1 calc(100% - 72px); }
  .footer-download, .footer-action { margin-left: 0; }
  .mobile-cta {
    position: fixed;
    z-index: 25;
    inset-inline: 14px;
    bottom: max(12px, env(safe-area-inset-bottom));
    box-shadow: 0 4px 22px #5b210a66;
  }
  .site-footer { padding-bottom: 64px; }
  .footer-bottom { flex-direction: column; }
  .download-notice { bottom: 68px; }
}

@media (max-width: 440px) {
  .header-inner { width: calc(100% - 24px); gap: 6px; min-height: 60px; }
  .header-action, .header-download { padding-inline: 6px; font-size: .75rem; }
  .header-download { max-width: 86px; white-space: normal; }
  .brand-icon { width: 32px; height: 32px; }
  .brand-name { font-size: .94rem; }
  .menu-toggle { flex-basis: 34px; padding-inline: 4px; }
}

@media (max-width: 355px) {
  .brand-name { font-size: .8125rem; }
  .header-language { gap: 4px; font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
