.content-page {
  background: #f4fbf8;
}

.app-theme {
  --app-accent: var(--mint);
  --app-accent-dark: var(--mint-dark);
  --app-accent-rgb: 0, 201, 154;
  --app-tint: #effcf7;
  --app-contrast: #fff;
}
.app-theme.vocab-theme { --app-accent: #f49a18; --app-accent-dark: #a84b00; --app-accent-rgb: 244, 154, 24; --app-tint: #fff7e8; --app-contrast: #17191d; }
.app-theme.wolf-theme { --app-accent: #25ca75; --app-accent-dark: #087647; --app-accent-rgb: 37, 202, 117; --app-tint: #edf9f2; --app-contrast: #07130e; }
.app-theme.board-theme { --app-accent: #17191d; --app-accent-dark: #17191d; --app-accent-rgb: 23, 25, 29; --app-tint: #f1f2f3; --app-contrast: #fff; }

.content-page .site-shell { overflow: visible; }
.content-page .site-header { border-bottom: 1px solid #d6e5df; }
.content-page .site-header nav { align-items: center; }
.content-page .site-header nav a[aria-current="page"] { color: var(--mint-dark); }
.app-theme .section-label,
.app-theme .breadcrumb a { color: var(--app-accent-dark); }
.app-theme .app-nameplate { border-color: rgba(var(--app-accent-rgb), .42); }

.content-main {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding-bottom: 7rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 2rem 0;
  color: #62716b;
  font-size: .88rem;
}
.breadcrumb a { color: var(--mint-dark); }
.breadcrumb span[aria-hidden="true"] { color: #9baaa4; }

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding: 4rem 0 5rem;
}
.app-theme .app-hero {
  position: relative;
  margin-top: 1.5rem;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  background: linear-gradient(145deg, var(--app-tint), #fff 64%);
  border: 1px solid rgba(var(--app-accent-rgb), .42);
  border-top: 4px solid var(--app-accent);
  border-radius: 1.45rem;
  box-shadow: 0 26px 70px rgba(var(--app-accent-rgb), .09);
}
.board-theme .app-hero { box-shadow: inset 0 3px 0 #cbd1d5, 0 26px 70px rgba(23,25,29,.11); }
.app-hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 6.7rem);
  line-height: .92;
  letter-spacing: -.065em;
}
.app-hero-copy .lede,
.page-hero .lede {
  max-width: 720px;
  margin: 1.5rem 0 0;
  color: #52615b;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}
.app-nameplate {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.2rem;
  padding: .55rem .85rem .55rem .55rem;
  color: #173128;
  background: #fff;
  border: 1px solid #d8e6e0;
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(20,32,49,.08);
  font-size: .84rem;
  font-weight: 850;
}
.app-nameplate .product-app-icon { width: 3.5rem; height: 3.5rem; box-shadow: none; }
.platform-line {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.5rem 0 0;
}
.platform-line span {
  padding: .35rem .65rem;
  color: #154c40;
  background: #dcf9ef;
  border: 1px solid #9ce6d0;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 750;
}
.app-theme .platform-line span { color: var(--app-accent-dark); background: var(--app-tint); border-color: rgba(var(--app-accent-rgb), .42); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 3.2rem;
  padding: .75rem 1.1rem;
  border: 2px solid #173128;
  border-radius: .55rem;
  font-weight: 850;
  text-decoration: none;
}
.button-primary { color: #09251e; background: var(--mint); }
.button-primary:hover { background: var(--mint-light); }
.app-theme .button-primary:not(.button-disabled) { color: var(--app-contrast); background: var(--app-accent); border-color: var(--app-accent); }
.app-theme .button-primary:not(.button-disabled):hover { background: var(--app-accent-dark); border-color: var(--app-accent-dark); }
.button-secondary { color: #173128; background: #fff; }
.button-secondary:hover { border-color: var(--mint); }
.app-theme .button-secondary:hover { border-color: var(--app-accent); }
.button-disabled { color: #647069; background: #e7efec; cursor: default; }

.app-hero-art {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #d8e6e0;
  border-radius: 1.4rem;
  box-shadow: 0 28px 70px rgba(20,32,49,.12);
}
.app-theme .app-hero-art { border-color: rgba(var(--app-accent-rgb), .55); box-shadow: 0 28px 70px rgba(var(--app-accent-rgb), .15); }
.app-hero-art.dark { background: #06110e; }
.app-hero-art img { width: auto; max-width: 100%; max-height: 520px; }
.app-hero-art.mintyboard-icon-art { background: radial-gradient(circle at 35% 22%, #373737, #050505 72%); }
.app-hero-art.mintyboard-icon-art img { width: min(360px, 90%); border-radius: 22%; box-shadow: 0 24px 65px rgba(0,0,0,.38); }
.app-hero-art.placeholder-art {
  color: #0c342b;
  background: linear-gradient(145deg, #d9fff3, #9be8cf);
  border: 2px dashed #159375;
  text-align: center;
}
.placeholder-mark { font-size: clamp(4rem, 10vw, 7rem); font-weight: 950; letter-spacing: -.08em; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 6rem;
  overflow: hidden;
  color: #fff;
  background: #2f463f;
  border-radius: 1rem;
}
.app-theme .trust-strip { background: var(--app-accent); box-shadow: inset 0 0 0 1px rgba(var(--app-accent-rgb), .35); }
.app-theme .trust-strip strong { color: var(--app-accent); }
.board-theme .trust-strip { background: #aeb6bc; }
.board-theme .trust-strip strong { color: #dbe0e3; }
.trust-strip div { padding: 1.4rem; background: #17242f; }
.trust-strip strong { display: block; color: var(--mint-light); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.trust-strip span { display: block; margin-top: .3rem; }

.content-section { margin: 6rem 0; }
.content-section .section-label { margin-bottom: .7rem; }
.content-section h2 {
  max-width: 820px;
  margin: 0 0 2rem;
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: -.05em;
}
.content-section > p { max-width: 780px; color: #52615b; font-size: 1.08rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature-card {
  padding: 1.65rem;
  background: #fff;
  border: 1px solid #d8e6e0;
  border-radius: 1rem;
}
.app-theme .feature-card { border-top: 3px solid var(--app-accent); }
.app-theme .feature-card .feature-number { color: var(--app-accent-dark); }
.feature-card .feature-number { color: var(--mint-dark); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.feature-card h3 { margin: 1.5rem 0 .7rem; font-size: 1.45rem; }
.feature-card p { margin: 0; color: #5b6963; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.game-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 330px;
  padding: 1.4rem;
  overflow: hidden;
  background: linear-gradient(145deg, #f3fff8, #fff 72%);
  border: 1px solid rgba(var(--app-accent-rgb), .48);
  border-top: 4px solid var(--app-accent);
  border-radius: 1rem;
  box-shadow: 0 16px 38px rgba(var(--app-accent-rgb), .09);
}
.game-card-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9rem;
  gap: .5rem;
  align-items: start;
  min-height: 9.5rem;
}
.game-card h3 {
  margin: .2rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: .95;
  letter-spacing: -.045em;
}
.game-card-heading img {
  width: 9rem;
  height: 9rem;
  object-fit: contain;
  object-position: center top;
}
.game-card > p:not(.game-players) {
  margin: .65rem 0 1.1rem;
  color: #52615b;
  line-height: 1.55;
}
.game-players {
  margin: 0;
  padding-top: .8rem;
  color: #073f27;
  border-top: 1px solid rgba(var(--app-accent-rgb), .35);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2.5rem;
  color: #fff;
  background: #142031;
  border-radius: 1.2rem;
}
.step-number { color: var(--mint-light); font-weight: 900; }
.steps h3 { margin: .7rem 0 .5rem; }
.steps p { margin: 0; color: #c3d0cd; }

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.screenshot-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 2rem;
  color: #386259;
  background: repeating-linear-gradient(135deg, #eff9f5, #eff9f5 16px, #e8f4ef 16px, #e8f4ef 32px);
  border: 2px dashed #83b9a9;
  border-radius: 1rem;
  text-align: center;
}
.screenshot-placeholder strong { display: block; color: #173128; font-size: 1.05rem; }
.screenshot-placeholder span { display: block; max-width: 220px; margin-top: .45rem; font-size: .86rem; }
.screenshot-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8e6e0;
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(20,32,49,.09);
}
.app-theme .screenshot-card { border-color: rgba(var(--app-accent-rgb), .5); box-shadow: 0 18px 45px rgba(var(--app-accent-rgb), .12); }
.app-theme .screenshot-card figcaption { border-top: 3px solid var(--app-accent); }
.screenshot-card img {
  width: 100%;
  height: 560px;
  padding: .7rem;
  object-fit: contain;
  background: #f7f2e8;
}
.screenshot-card.dark img { background: #091410; }
.screenshot-card figcaption { padding: 1.2rem 1.25rem 1.4rem; }
.screenshot-card figcaption strong { display: block; color: #17202f; font-size: 1.05rem; }
.screenshot-card figcaption span { display: block; margin-top: .4rem; color: #5b6963; font-size: .9rem; }
.kiosk-theme .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kiosk-theme .screenshot-card:first-child { grid-column: 1 / -1; }
.kiosk-theme .screenshot-card img { height: 300px; background: #101326; }
.kiosk-theme .screenshot-card:first-child img { height: auto; max-height: 700px; }

.faq-list { max-width: 860px; }
.faq-list details { padding: 1.2rem 0; border-top: 1px solid #cdded7; }
.faq-list details:last-child { border-bottom: 1px solid #cdded7; }
.faq-list summary { cursor: pointer; color: #17202f; font-size: 1.08rem; font-weight: 800; }
.faq-list details p { margin: .8rem 0 0; color: #52615b; }

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 6rem;
  padding: 2.5rem;
  color: #fff;
  background: #142031;
  border-radius: 1.2rem;
}
.app-theme .final-cta { position: relative; overflow: hidden; border: 1px solid rgba(var(--app-accent-rgb), .75); }
.app-theme .final-cta::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--app-accent); }
.board-theme .final-cta { border-color: #899299; }
.board-theme .final-cta::before { background: #cbd1d5; }
.final-cta h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.final-cta p { margin: .7rem 0 0; color: #c3d0cd; }

.page-hero { padding: 5rem 0 4rem; border-bottom: 1px solid #d6e5df; }
.prose-layout { display: grid; grid-template-columns: .6fr 1.4fr; gap: 4rem; margin-top: 4rem; }
.prose-layout aside { color: var(--mint-dark); font-size: .8rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.prose { max-width: 760px; }
.prose h2 { margin: 0 0 1rem; font-size: 2rem; line-height: 1.1; }
.prose h2:not(:first-child) { margin-top: 3rem; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: #52615b; }
.prose a { color: var(--mint-dark); font-weight: 700; }

.app-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 4rem;
}
.directory-card { --card-accent: var(--mint); --card-accent-dark: var(--mint-dark); --card-tint: #f5fffb; position: relative; display: flex; flex-direction: column; padding: 1.4rem; overflow: hidden; background: linear-gradient(180deg, var(--card-tint), #fff 34%); border: 1px solid color-mix(in srgb, var(--card-accent) 48%, #d8e6e0); border-radius: 1rem; }
.directory-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--card-accent); }
.directory-card.vocab-card { --card-accent: #f49a18; --card-accent-dark: #a84b00; --card-tint: #fff8ec; }
.directory-card.golf-card { --card-accent: #25ca75; --card-accent-dark: #087647; --card-tint: #f0fcf5; }
.directory-card.board-card { --card-accent: #17191d; --card-accent-dark: #17191d; --card-tint: #f2f3f4; box-shadow: inset 0 7px 0 #c9d0d5; }
.directory-card .directory-image { width: 100%; height: 260px; object-fit: contain; background: #f7fbf9; border-radius: .7rem; }
.directory-card .directory-image.dark { background: #06110e; }
.directory-heading { display: flex; align-items: center; gap: .9rem; margin: 1.4rem 0 .5rem; }
.directory-heading .product-app-icon { width: 4rem; height: 4rem; box-shadow: 0 8px 18px rgba(20,32,49,.13); }
.directory-heading h2 { margin: 0; }
.directory-placeholder { display: grid; place-items: center; height: 260px; color: #0c342b; background: #d9fff3; border-radius: .7rem; font-size: 3.5rem; font-weight: 950; }
.directory-card h2 { font-size: 1.8rem; }
.directory-card p { color: #5b6963; }
.directory-card .button-secondary { margin-top: auto; justify-content: center; border-color: var(--card-accent-dark); }
.directory-card .button-secondary:hover { color: #fff; background: var(--card-accent-dark); border-color: var(--card-accent-dark); }
.directory-card .app-reassurance { margin-bottom: 1rem; }
.directory-card .app-reassurance span::before { background: var(--card-accent); }

.contact-box { margin-top: 2rem; padding: 2rem; background: #dcf9ef; border: 1px solid #9ce6d0; border-radius: 1rem; }
.contact-box a { font-size: clamp(1.15rem, 3vw, 1.7rem); overflow-wrap: anywhere; }

.webapp-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background: #142031;
  border-radius: 1.4rem;
}
.app-theme .webapp-panel { border: 1px solid rgba(var(--app-accent-rgb), .75); box-shadow: inset 5px 0 0 var(--app-accent); }
.app-theme .webapp-panel .section-label { color: var(--app-accent); }
.webapp-panel .section-label { color: var(--mint-light); }
.webapp-panel h2 { margin-bottom: 1.2rem; }
.webapp-panel > div > p { color: #c3d0cd; }
.webapp-panel strong { color: #fff; }
.device-recommendation {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  color: #0b332a !important;
  background: var(--mint-light);
  border-radius: .75rem;
  font-weight: 800;
}
.app-theme .device-recommendation { color: var(--app-accent-dark) !important; background: var(--app-tint); border: 1px solid rgba(var(--app-accent-rgb), .55); }
.app-theme .steps { border: 1px solid rgba(var(--app-accent-rgb), .7); box-shadow: inset 0 4px 0 var(--app-accent); }
.app-theme .step-number { color: var(--app-accent); }
.app-theme .phone-simulator { border-color: var(--app-accent); box-shadow: 0 28px 75px rgba(var(--app-accent-rgb), .2); }
.install-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: 1.5rem;
}
.install-step {
  padding: 1.15rem;
  color: #17202f;
  background: #fff;
  border-radius: .8rem;
}
.install-step h3 { margin: 0 0 .45rem; font-size: 1rem; }
.install-step p { margin: 0; color: #52615b; font-size: .9rem; }
.install-step strong { color: #17202f; }
.webapp-panel .hero-actions { margin-top: 1.5rem; }

.home-screen-demo {
  width: min(290px, 100%);
  margin: 0 auto;
  padding: 13px;
  background: #05090e;
  border: 2px solid #46515e;
  border-radius: 42px;
  box-shadow: 0 28px 65px rgba(0,0,0,.35);
}
.home-screen-display {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 3.4rem 1.15rem 1.5rem;
  background: radial-gradient(circle at 25% 10%, #39d3aa 0, #116c60 26%, #18283e 72%);
  border-radius: 31px;
}
.home-screen-display::before {
  content: "";
  position: absolute;
  top: .65rem;
  left: 50%;
  width: 82px;
  height: 22px;
  background: #05090e;
  border-radius: 999px;
  transform: translateX(-50%);
}
.home-screen-time { display: block; margin-bottom: 2.6rem; color: #fff; font-size: 2.6rem; font-weight: 750; text-align: center; }
.home-screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem .8rem; }
.phone-app { color: #fff; font-size: .65rem; text-align: center; }
.phone-app::before,
.phone-app-icon {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto .38rem;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf2ff, #7f91ac);
  border-radius: 13px;
  box-shadow: 0 5px 12px rgba(0,0,0,.18);
}
.phone-app::before { content: ""; }
.phone-app:nth-child(2)::before { background: linear-gradient(135deg, #ffd95b, #ff7b4c); }
.phone-app:nth-child(3)::before { background: linear-gradient(135deg, #d3b8ff, #7567ef); }
.phone-app:nth-child(4)::before { background: linear-gradient(135deg, #7de9ff, #1b70db); }
.phone-app-icon { object-fit: contain; background: #fff; }
.phone-app.featured { font-weight: 850; }
.home-screen-caption { margin: 1.4rem 0 0; color: #d7e2df; font-size: .82rem; text-align: center; }

.simulator-page .content-main { width: min(1240px, calc(100% - 2rem)); }
.simulator-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(380px, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding: 2rem 0 5rem;
}
.simulator-copy { position: sticky; top: 1.5rem; padding-top: 2rem; }
.simulator-copy h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.7rem); line-height: .92; letter-spacing: -.06em; }
.simulator-copy .lede { color: #52615b; font-size: 1.15rem; }
.simulator-note { padding: 1rem; color: #154c40; background: #dcf9ef; border: 1px solid #9ce6d0; border-radius: .75rem; }
.phone-simulator-wrap { display: grid; place-items: center; min-width: 0; }
.phone-simulator {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 430 / 860;
  padding: 15px;
  background: #05090e;
  border: 2px solid #3c4652;
  border-radius: 58px;
  box-shadow: 0 35px 90px rgba(20,32,49,.24);
}
.phone-simulator::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 25px;
  left: 50%;
  width: 110px;
  height: 28px;
  background: #05090e;
  border-radius: 999px;
  pointer-events: none;
  transform: translateX(-50%);
}
.phone-simulator iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  border-radius: 43px;
  opacity: 0;
  transition: opacity .3s ease;
}
.phone-simulator.is-ready iframe { opacity: 1; background: #fff; }
.simulator-placeholder {
  position: absolute;
  inset: 15px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #142031;
  border-radius: 43px;
  transition: opacity .3s ease;
}
.simulator-placeholder img { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .74; filter: saturate(.8); }
.simulator-placeholder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(5,9,14,.88)); }
.simulator-placeholder span {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1.5rem;
  left: 1.25rem;
  padding: .8rem 1rem;
  color: #fff;
  background: rgba(5,9,14,.82);
  border-radius: .75rem;
  font-weight: 800;
  text-align: center;
}
.phone-simulator.is-ready .simulator-placeholder { opacity: 0; pointer-events: none; }
.simulator-status { margin: 1rem 0 0; color: #62716b; font-size: .86rem; text-align: center; }

.install-demo-section > p { max-width: 760px; }
.install-walkthrough {
  margin-top: 2rem;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  background: #fff;
  border: 1px solid #d8e6e0;
  border-radius: 1.4rem;
  box-shadow: 0 24px 65px rgba(20,32,49,.1);
}
.walkthrough-controls { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.platform-toggle { display: inline-flex; padding: .3rem; background: #eaf4f0; border-radius: 999px; }
.platform-toggle button,
.animation-toggle {
  min-height: 2.75rem;
  padding: .6rem 1rem;
  color: #173128;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.platform-toggle button[aria-pressed="true"] { color: #fff; background: #142031; box-shadow: 0 5px 14px rgba(20,32,49,.18); }
.animation-toggle { border: 2px solid #173128; }
.platform-toggle button:focus-visible,
.animation-toggle:focus-visible,
.walkthrough-progress button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.walkthrough-layout { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(300px, 1.28fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.walkthrough-phone {
  width: min(300px, 100%);
  aspect-ratio: 300 / 610;
  margin: 0 auto;
  padding: 11px;
  background: #05090e;
  border: 2px solid #3c4652;
  border-radius: 43px;
  box-shadow: 0 25px 60px rgba(20,32,49,.24);
}
.walkthrough-screen { position: relative; height: 100%; overflow: hidden; background: #f4f5f7; border-radius: 32px; }
.walkthrough-screen::before { content: ""; position: absolute; z-index: 10; top: .55rem; left: 50%; width: 76px; height: 20px; background: #05090e; border-radius: 999px; transform: translateX(-50%); }
.demo-screen-inner { position: relative; height: 100%; overflow: hidden; animation: walkthrough-in .34s ease both; }
@keyframes walkthrough-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.demo-browser { padding-top: 2.4rem; background: #f4fbf8; }
.demo-browser-bar,
.demo-chrome-bar { display: flex; justify-content: space-between; align-items: center; gap: .4rem; min-height: 2.6rem; padding: .55rem .75rem; color: #34453f; background: #fff; border-bottom: 1px solid #d7e3df; font-size: .68rem; }
.demo-browser-bar span:nth-child(2), .demo-chrome-bar span:nth-child(2) { flex: 1; padding: .35rem .55rem; overflow: hidden; background: #eef3f1; border-radius: 999px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.demo-landing { display: grid; justify-items: center; padding: 3.2rem 1.1rem 1rem; text-align: center; }
.demo-landing img,
.demo-add-app > img,
.demo-install-offer > img,
.demo-confirm-card > img,
.demo-home-app > img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 15px; box-shadow: 0 7px 18px rgba(20,32,49,.18); }
.demo-landing strong { margin-top: 1rem; font-size: 1.35rem; }
.demo-landing small { margin-top: .25rem; color: #67746f; }
.demo-get { display: block; width: 100%; margin-top: 3rem; padding: .8rem; color: #08271f; background: var(--mint); border: 2px solid #173128; border-radius: .7rem; font-size: .82rem; font-weight: 900; }
.demo-running { padding: 2.4rem 0 3.5rem; background: #0b1412; }
.demo-preview-image { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.demo-preview-image.faded { opacity: .43; filter: blur(1px); }
.demo-safari-bar { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-around; align-items: center; min-height: 3.5rem; color: #1474d4; background: rgba(250,250,252,.96); border-top: 1px solid #cbd2d7; font-size: 1.35rem; }
.demo-safari-bar strong { font-size: 1.25rem; }
.demo-share-sheet { position: absolute; right: .4rem; bottom: .4rem; left: .4rem; padding: .55rem .8rem 1rem; background: rgba(246,246,248,.98); border-radius: 1.2rem; box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
.sheet-handle { display: block; width: 2.3rem; height: .25rem; margin: 0 auto .75rem; background: #b6bdc2; border-radius: 999px; }
.demo-share-sheet > strong { display: block; font-size: .9rem; text-align: center; }
.share-icons { display: flex; gap: .7rem; padding: .9rem 0; }
.share-icons i { width: 2.55rem; height: 2.55rem; background: linear-gradient(145deg, #69dba9, #1676df); border-radius: 50%; }
.share-icons i:nth-child(2) { background: linear-gradient(145deg, #ffd267, #ff7a59); }
.share-icons i:nth-child(3) { background: linear-gradient(145deg, #b7a1ff, #6758d7); }
.share-icons i:nth-child(4) { background: linear-gradient(145deg, #b8c6cd, #6e7b84); }
.demo-menu-row { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center; padding: .8rem .65rem; background: #fff; border-radius: .65rem; font-size: .78rem; }
.demo-add-screen { padding: 2.8rem .9rem 1rem; color: #1b2430; background: #f5f5f7; }
.demo-add-nav { display: grid; grid-template-columns: auto 1fr auto; gap: .5rem; align-items: center; padding: .5rem 0 1rem; color: #1474d4; font-size: .68rem; }
.demo-add-nav strong { color: #1b2430; font-size: .78rem; text-align: center; }
.demo-add-app { display: flex; gap: .75rem; align-items: center; padding: 1rem 0; border-top: 1px solid #d7dadd; border-bottom: 1px solid #d7dadd; }
.demo-add-app > img { width: 54px; height: 54px; }
.demo-add-app strong, .demo-add-app small { display: block; }
.demo-add-app small { max-width: 150px; margin-top: .25rem; overflow: hidden; color: #6e747b; font-size: .65rem; text-overflow: ellipsis; }
.demo-add-screen > p { color: #636a72; font-size: .7rem; line-height: 1.5; }
.demo-switch-row { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; padding: .8rem; background: #fff; border-radius: .7rem; font-size: .75rem; }
.demo-switch-row i { width: 2.45rem; height: 1.45rem; background: #28ca55; border-radius: 999px; }
.demo-switch-row i::after { content: ""; display: block; width: 1.18rem; height: 1.18rem; margin: .135rem .15rem .1rem auto; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.demo-running.android { padding: 2.4rem 0 0; background: #fff; }
.demo-running.android .demo-preview-image { height: calc(100% - 2.6rem); }
.demo-install-offer { position: absolute; right: .55rem; bottom: .7rem; left: .55rem; display: grid; grid-template-columns: auto 1fr auto; gap: .55rem; align-items: center; padding: .7rem; background: #fff; border-radius: .75rem; box-shadow: 0 5px 25px rgba(0,0,0,.25); }
.demo-install-offer > img { width: 40px; height: 40px; border-radius: 10px; }
.demo-install-offer strong, .demo-install-offer small { display: block; }
.demo-install-offer strong { font-size: .7rem; }
.demo-install-offer small { margin-top: .2rem; color: #6a746f; font-size: .58rem; }
.demo-install-offer > b { color: #087c61; font-size: .7rem; }
.demo-android-confirm { display: grid; place-items: center; padding: 2.4rem 1rem 1rem; background: rgba(20,32,49,.56); }
.demo-confirm-card { width: 100%; padding: 1.3rem; background: #fff; border-radius: 1rem; box-shadow: 0 16px 38px rgba(0,0,0,.24); text-align: center; }
.demo-confirm-card > img { width: 58px; height: 58px; margin: 0 auto; }
.demo-confirm-card h4 { margin: .8rem 0 .35rem; }
.demo-confirm-card p { margin: 0; color: #657069; font-size: .7rem; }
.demo-confirm-card > div { display: flex; justify-content: flex-end; gap: 1.2rem; margin-top: 1.4rem; color: #087c61; font-size: .75rem; }
.demo-home-screen { padding: 3.6rem 1rem 1rem; color: #fff; background: radial-gradient(circle at 22% 12%, #43d8b1, #17685f 29%, #1b283d 78%); }
.demo-home-time { display: block; margin-bottom: 2.4rem; font-size: 2rem; font-weight: 800; text-align: center; }
.demo-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem .65rem; }
.generic-app { width: 54px; height: 54px; margin: 0 auto; background: linear-gradient(145deg, #b8c8dc, #63758b); border-radius: 14px; box-shadow: 0 5px 12px rgba(0,0,0,.17); }
.generic-app.orange { background: linear-gradient(145deg, #ffd55e, #ff744e); }
.generic-app.violet { background: linear-gradient(145deg, #c2adff, #6d5ce1); }
.generic-app.cyan { background: linear-gradient(145deg, #7de9ff, #1b70db); }
.demo-home-app { color: #fff; font-size: .62rem; text-align: center; }
.demo-home-app > img { display: block; width: 54px; height: 54px; margin: 0 auto .35rem; }
.demo-home-app small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-home-dock { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; display: flex; justify-content: space-around; padding: .65rem; background: rgba(255,255,255,.24); border-radius: 1rem; backdrop-filter: blur(8px); }
.demo-home-dock i { width: 42px; height: 42px; background: linear-gradient(145deg, #e7eef8, #8c9bae); border-radius: 11px; }
.demo-tap { position: absolute; z-index: 20; width: 1.4rem; height: 1.4rem; background: rgba(0,201,154,.32); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 5px rgba(0,201,154,.35); animation: demo-tap 1.15s ease-in-out infinite; }
@keyframes demo-tap { 0%, 100% { transform: scale(.75); opacity: .65; } 50% { transform: scale(1); opacity: 1; } }
.tap-get { right: 2rem; top: 15.7rem; }
.tap-share { left: calc(50% - .7rem); bottom: 1rem; }
.tap-menu-row { right: 2.5rem; bottom: 2rem; }
.tap-add { right: 1rem; top: 3rem; }
.tap-install-offer { right: 1.7rem; bottom: 1.9rem; }
.tap-confirm { right: 2rem; top: 22rem; }
.walkthrough-count { margin: 0; color: var(--mint-dark); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.walkthrough-copy h3 { margin: .55rem 0 .7rem; color: #17202f; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1; }
.walkthrough-copy > p:not(.walkthrough-count):not(.walkthrough-hint) { max-width: 620px; color: #52615b; font-size: 1.05rem; }
.walkthrough-progress { display: grid; gap: .4rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.walkthrough-progress button { display: flex; gap: .7rem; align-items: center; width: 100%; padding: .55rem .7rem; color: #5a6862; background: transparent; border: 0; border-radius: .6rem; font: inherit; font-size: .8rem; text-align: left; cursor: pointer; }
.walkthrough-progress button span { display: grid; flex: 0 0 auto; place-items: center; width: 1.55rem; height: 1.55rem; color: #173128; background: #e2eee9; border-radius: 50%; font-weight: 900; }
.walkthrough-progress button[aria-current="step"] { color: #0d332a; background: #dcf9ef; font-weight: 850; }
.walkthrough-progress button[aria-current="step"] span { color: #fff; background: var(--mint-dark); }
.walkthrough-hint { margin: 1.2rem 0 0; color: #77837e; font-size: .75rem; }

.app-theme .install-demo-section {
  padding: clamp(1.4rem, 4vw, 3rem);
  background: linear-gradient(145deg, var(--app-tint), rgba(255,255,255,.88));
  border: 1px solid rgba(var(--app-accent-rgb), .38);
  border-left: 4px solid var(--app-accent);
  border-radius: 1.35rem;
}
.app-theme .install-walkthrough { border-color: rgba(var(--app-accent-rgb), .45); }
.app-theme .platform-toggle button[aria-pressed="true"] { color: var(--app-contrast); background: var(--app-accent-dark); }
.app-theme .animation-toggle { border-color: var(--app-accent-dark); }
.app-theme .walkthrough-count { color: var(--app-accent-dark); }
.app-theme .walkthrough-progress button[aria-current="step"] { color: var(--app-accent-dark); background: var(--app-tint); }
.app-theme .walkthrough-progress button[aria-current="step"] span { color: var(--app-contrast); background: var(--app-accent-dark); }
.app-theme :is(a, button, summary):focus-visible { outline-color: var(--app-accent); }

.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: .9rem 0 0;
  color: #5b6963;
  font-size: .78rem;
  font-weight: 750;
}
.hero-reassurance span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-reassurance span::before { content: "✓"; color: var(--app-accent-dark, var(--mint-dark)); font-weight: 950; }

.mobile-install-bar {
  position: fixed;
  z-index: 45;
  right: .65rem;
  bottom: .65rem;
  left: .65rem;
  display: none;
  grid-template-columns: auto 1fr auto;
  gap: .7rem;
  align-items: center;
  max-width: 620px;
  margin-inline: auto;
  padding: .7rem;
  color: #fff;
  background: #121923;
  border: 2px solid var(--app-accent, var(--mint));
  border-radius: 1rem;
  box-shadow: 0 16px 45px rgba(0,0,0,.28);
}
.mobile-install-bar img { width: 2.7rem; height: 2.7rem; object-fit: cover; background: #fff; border-radius: 22%; }
.mobile-install-bar strong, .mobile-install-bar small { display: block; }
.mobile-install-bar strong { font-size: .82rem; line-height: 1.2; }
.mobile-install-bar small { margin-top: .12rem; color: #c7d2ce; font-size: .67rem; }
.mobile-install-bar a { min-height: 2.6rem; padding: .62rem .72rem; color: var(--app-contrast, #09251e); background: var(--app-accent, var(--mint)); border-radius: .55rem; font-size: .73rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.board-theme .mobile-install-bar { border-color: #c9d0d5; }
.board-theme .mobile-install-bar a { color: #111; background: #d5dade; }

.content-page footer { margin-top: 0; }

@media (max-width: 900px) {
  .content-main { width: calc(100% - 2rem); }
  .app-hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .app-hero-art { min-height: 300px; }
  .feature-grid, .screenshot-grid, .app-directory { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .prose-layout { grid-template-columns: 1fr; gap: 1rem; }
  .final-cta { grid-template-columns: 1fr; }
  .directory-card .directory-image, .directory-placeholder { height: 300px; }
  .webapp-panel, .simulator-layout, .walkthrough-layout { grid-template-columns: 1fr; }
  .simulator-copy { position: static; }
}

@media (max-width: 620px) {
  .content-page .site-header { align-items: flex-start; }
  .content-page .site-header nav { flex-wrap: wrap; justify-content: flex-end; gap: .35rem .8rem; }
  .app-hero-copy h1, .page-hero h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .hero-actions { display: grid; }
  .button-primary, .button-secondary { justify-content: center; }
  .screenshot-placeholder { min-height: 280px; }
  .screenshot-card img { height: min(680px, 135vw); }
  .final-cta, .steps { padding: 1.6rem; }
  .webapp-panel { padding: 1.5rem; }
  .install-steps { grid-template-columns: 1fr; }
  .phone-simulator { border-radius: 44px; }
  .phone-simulator iframe { border-radius: 32px; }
  .walkthrough-controls { align-items: stretch; flex-direction: column; }
  .platform-toggle { display: grid; grid-template-columns: 1fr 1fr; }
  .animation-toggle { width: 100%; }
  .install-walkthrough { padding: 1rem; }
  .app-theme .app-hero { padding: 1.4rem; }
  .hero-reassurance { display: grid; gap: .35rem; }
  .mobile-install-bar { display: grid; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 310px; }
}

.is-mobile-device .mobile-install-bar { display: grid; }

@media (prefers-reduced-motion: reduce) {
  .demo-screen-inner, .demo-tap { animation: none; }
  .phone-simulator iframe, .simulator-placeholder { transition: none; }
}

/* Compact product introductions keep the next action in view. */
.app-theme.kiosk-theme { --app-accent: #4fc4ad; --app-accent-dark: #146d63; --app-accent-rgb: 79, 196, 173; --app-tint: #effaf7; --app-contrast: #092c26; }
.app-theme .app-hero { gap: 2rem; margin-top: .5rem; padding: clamp(1.4rem, 3vw, 2.5rem); }
.app-hero-copy h1 { font-size: clamp(2.8rem, 4.4vw, 4.6rem); line-height: .98; }
.app-hero-copy .lede { margin-top: .9rem; font-size: 1.05rem; }
.app-hero .platform-line { margin-top: 1rem; }
.app-hero .hero-actions { margin-top: 1.25rem; }
.app-hero-art { min-height: 260px; }
.app-hero-art img { max-height: 320px; }
.app-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.app-hero .hero-actions { order: 1; width: 100%; }
.app-hero .platform-line { order: 2; }
.app-hero .care-note, .app-hero .release-note { order: 3; }
.directory-card.kiosk-card { --card-accent: #4fc4ad; --card-accent-dark: #146d63; --card-tint: #effaf7; }
.app-directory { margin-top: 2rem; }
.app-directory .directory-card { min-height: 480px; }
.app-directory .directory-image { height: 210px; }
.page-hero { padding: 2rem 0 1.5rem; }
.page-hero h1 { font-size: clamp(3rem, 5vw, 5rem); }
.care-note, .release-note { max-width: 62ch; margin: 1rem 0 0; color: #4e655f; font-size: .87rem; }
.shared-integration { padding: 2rem; background: #e6f5f0; border-radius: 1rem; }
.shared-integration a { color: #09675c; font-weight: 800; }
.more-apps { margin: 4rem 0 2rem; padding: 1.5rem; background: #e9f7f1; border: 1px solid #bfdfd1; border-radius: 1rem; }
.more-apps h2 { margin: 0; font-size: 1.6rem; }
.more-apps p { margin: .25rem 0 1rem; color: #52615b; }
.more-app-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.more-app-links a { display: inline-flex; flex-wrap: wrap; gap: .35rem; padding: .55rem .75rem; background: #fff; border: 1px solid #b8d5c9; border-radius: .6rem; font-weight: 800; text-decoration: none; }
.more-app-links a span { color: #5f7169; font-weight: 500; }
.installation-help { margin: 2rem 0; }
.installation-help > summary { padding: 1rem 1.2rem; color: #143c31; background: #e2f8ef; border: 1px solid #a4d9c4; border-radius: .7rem; cursor: pointer; font-weight: 850; }
.installation-help[open] > summary { margin-bottom: 1.5rem; }
.installation-help .content-section { margin: 2rem 0; }
.simulator-layout { gap: 2rem; padding-top: 0; }
.simulator-copy { padding-top: 0; }
.simulator-copy h1 { font-size: clamp(2.7rem, 4.5vw, 4rem); }
.simulator-note { font-size: .9rem; }
.simulator-feedback { margin: .8rem 0; padding: .8rem; color: #173128; background: #e8f8f1; border-radius: .6rem; font-size: .88rem; }
.simulator-feedback[hidden] { display: none; }

@media (max-width: 900px) {
  .app-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .simulator-copy { display: contents; }
  .simulator-intro { order: 1; }
  .phone-simulator-wrap { order: 2; }
  .simulator-actions { order: 3; }
  .simulator-layout { display: flex; flex-direction: column; align-items: stretch; }
}
@media (max-width: 620px) {
  .content-page .site-header { align-items: center; }
  .app-theme .app-hero { padding: 1.2rem; }
  .app-hero-copy h1 { font-size: clamp(2.65rem, 12vw, 3.5rem); }
  .app-hero-art { min-height: 190px; }
  .app-hero-art img { max-height: 220px; }
  .app-directory { grid-template-columns: 1fr; }
  .app-directory .directory-card { min-height: 0; }
  .app-directory .directory-image { height: 190px; }
  .simulator-layout { margin-top: 0; }
  .simulator-intro .lede { margin: .5rem 0; }
  .simulator-note { margin: .7rem 0; }
  .phone-simulator { width: min(320px, 100%); }
  .mobile-install-bar { left: .4rem; right: .4rem; bottom: .4rem; }
  .kiosk-theme .screenshot-grid { grid-template-columns: 1fr; }
  .kiosk-theme .screenshot-card:first-child { grid-column: auto; }
  .kiosk-theme .screenshot-card img { height: 240px; }
  .kiosk-theme .screenshot-card:first-child img { height: auto; }
}
