:root {
  color-scheme: light dark;
  --page: #f7f8fc;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --text: #111a2d;
  --muted: #526078;
  --line: rgba(17, 26, 45, 0.12);
  --blue: #0969da;
  --cyan: #00a9d6;
  --coral: #ef5f7a;
  --focus: #005fcc;
  --shadow: 0 20px 60px rgba(15, 35, 70, 0.10);
  --max: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #050b18;
    --surface: rgba(12, 23, 43, 0.82);
    --surface-solid: #0c172b;
    --text: #f4f7ff;
    --muted: #adb9cf;
    --line: rgba(218, 228, 255, 0.16);
    --blue: #66aaff;
    --cyan: #45d7ef;
    --coral: #ff8a9e;
    --focus: #77b7ff;
    --shadow: 0 24px 72px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--cyan) 13%, transparent), transparent 32rem),
    radial-gradient(circle at 95% 20%, color-mix(in srgb, var(--coral) 11%, transparent), transparent 28rem),
    var(--page);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 0.13em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  border-radius: 0.25rem;
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.2rem;
}
img { display: block; max-width: 100%; height: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  padding: 0.65rem 0.9rem;
  background: var(--surface-solid);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
}
.skip-link:focus { transform: none; }
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: blur(18px);
}
.nav-shell {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 4.7rem;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img { width: 2.15rem; height: 2.15rem; border-radius: 0.7rem; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; margin-left: auto; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; color: var(--muted); font-size: 0.92rem; font-weight: 650; text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
:lang(ko) .howto-step h2::before { content: "단계 " counter(howto, decimal-leading-zero); }
main { min-height: 70vh; }
.hero, .page-hero, .content, .footer-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  min-height: 40rem;
  padding-block: 5rem;
}
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.035em; }
h1 { max-width: 14ch; margin: 0; font-size: clamp(2.8rem, 5vw, 4.5rem); text-wrap: balance; }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.35rem, 6vw, 4.7rem); }
h2 { margin: 3.5rem 0 1rem; font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { margin: 0.5rem 0; font-size: 1.12rem; }
.lede { max-width: 39rem; margin: 1.5rem 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.app-icon-wrap { position: relative; width: min(100%, 24rem); margin: auto; }
.app-icon-wrap::before {
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 38%;
  background: linear-gradient(135deg, var(--cyan), var(--coral));
  filter: blur(3.5rem);
  opacity: 0.42;
  content: "";
}
.app-icon { border-radius: 22%; box-shadow: var(--shadow); }
.content { padding-bottom: 6rem; }
.section-intro { max-width: 45rem; color: var(--muted); }
.feature-grid, .fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 4rem;
}
.card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(15, 35, 70, 0.05);
}
.card p { margin: 0.55rem 0 0; color: var(--muted); }
.card .number { color: var(--coral); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.12em; }
.callout {
  margin: 3rem 0;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid color-mix(in srgb, var(--cyan) 40%, var(--line));
  border-radius: 1.4rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cyan) 10%, var(--surface)), color-mix(in srgb, var(--coral) 7%, var(--surface)));
}
.callout h2 { margin-top: 0; }
.page-hero { padding: 5.2rem 0 2.4rem; }
.content-narrow { max-width: 49rem; }
.content-narrow p, .content-narrow li { color: var(--muted); }
.content-narrow strong { color: var(--text); }
.meta { margin-top: 1rem; color: var(--muted); font-size: 0.92rem; }
.toc { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin: 1.5rem 0 2.5rem; padding: 1rem 0; border-block: 1px solid var(--line); }
.toc a { font-size: 0.9rem; font-weight: 650; }
.data-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 2rem; }
.data-table th, .data-table td { padding: 0.85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: var(--text); font-size: 0.88rem; }
.data-table td { color: var(--muted); }
.faq { margin: 1rem 0; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--text); font-weight: 720; }
.faq p { margin: 0.8rem 0 0; }
.contact-box { margin-top: 3rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--surface); }
.contact-box a { font-size: 1.08rem; font-weight: 750; }
.site-footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface-solid) 54%, transparent); }
.footer-shell { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding-block: 2.5rem; }
.footer-shell p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; justify-content: flex-end; }
.footer-links a { color: var(--muted); font-size: 0.88rem; }
.not-found { display: grid; place-content: center; min-height: 65vh; text-align: center; }
.not-found h1 { max-width: none; font-size: clamp(4rem, 18vw, 10rem); color: var(--blue); }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 3.5rem; }
  .app-icon-wrap { width: min(66vw, 17rem); }
  .feature-grid, .fact-grid { grid-template-columns: 1fr; }
  .footer-shell { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 30rem) {
  .nav-links a { font-size: 0.9rem; }
  .data-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  .card, .callout, .contact-box, .steps li { border: 1px solid CanvasText; }
}

/* Product story */
.brand img[src*="eightmo-wordmark"] { width: 10.6rem; height: auto; border-radius: 0; }
.hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 0;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 45%);
  padding: 0;
  overflow: hidden;
  background: #001535;
  color: #f8fbff;
}
.hero-copy { position: relative; z-index: 1; width: min(100%, 47rem); justify-self: end; padding: clamp(2rem, 5vw, 5rem); }
.hero .eyebrow { color: #73eaf3; }
.hero h1 { max-width: 17ch; font-size: clamp(2.6rem, 3.6vw, 3.8rem); font-weight: 850; line-height: 1.08; letter-spacing: -0.06em; }
.hero h1 em { color: #ffc699; font-style: normal; }
.hero .lede { max-width: 35rem; color: #d9e3f1; font-size: clamp(1rem, 1.6vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.3rem; margin-top: 2.2rem; }
.hero-link { display: inline-flex; align-items: center; gap: 1.5rem; padding: 0.85rem 1.2rem; border-radius: 0.5rem; background: #00c9e9; color: #001535; font-weight: 800; text-decoration: none; }
.hero-link:hover { background: #7df0f8; }
.hero-secondary { color: #d9e3f1; font-weight: 700; }
.content > section:first-child { padding-top: 4.5rem; }
.content > section:first-child h2 { max-width: 100%; font-size: clamp(2.1rem, 4vw, 3.4rem); }
.feature-grid { gap: 1.1rem; }
.feature-grid .card { min-height: 15rem; padding: 1.7rem; border-radius: 0.7rem; box-shadow: none; }
.card .number { color: #c44462; font-size: 0.85rem; }
.screen-frame { width: min(100%, 19rem); justify-self: center; overflow: hidden; border: 0.45rem solid #162a45; border-radius: 2.2rem; box-shadow: 1.5rem 1.5rem 0 #103556; }
.screen-frame img { width: 100%; }
.callout { border-radius: 0.7rem; }
.hero .definition { max-width: 35rem; margin: 0 0 1.5rem; color: #c3d0e2; font-size: 0.95rem; }
.price-note { margin: 0.9rem 0 0; color: #73eaf3; font-size: 0.88rem; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin: 2rem 0 4rem; padding: 0; list-style: none; }
.steps li { padding: 1.7rem; border: 1px solid var(--line); border-top: 0.25rem solid var(--cyan); border-radius: 0.7rem; background: var(--surface); }
.steps .number { color: #c44462; font-size: 0.85rem; font-weight: 850; letter-spacing: 0.12em; }
.steps p { margin: 0.55rem 0 0; color: var(--muted); }
.audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.audience-grid .card { min-height: 0; }
.faq-list { max-width: 49rem; }
.faq p { color: var(--muted); }
.faq-more { margin-top: 1.5rem; }

@media (max-width: 52rem) {
  .audience-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { width: 100%; padding: 3.5rem max(1.2rem, 5vw) 2.5rem; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 30rem) {
  .brand img[src*="eightmo-wordmark"] { width: 9rem; }
  .hero h1 { font-size: clamp(2.8rem, 11vw, 4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero { isolation: isolate; }
  .hero-copy { padding-top: 2.5rem; padding-bottom: 3rem; }
}
@media (forced-colors: active) {
  .hero-link { border: 1px solid LinkText; }
}
.footer-shell .updated { grid-column: 1 / -1; font-size: 0.8rem; }

/* Content pages: guide, use cases, features */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; margin: 0 0 1.4rem; padding: 0; list-style: none; color: var(--muted); font-size: 0.86rem; }
.crumbs li + li::before { margin-right: 0.5rem; content: "/"; color: var(--line); }
.crumbs li[aria-current="page"] { color: var(--text); }
.section-more { margin: 1rem 0 3rem; font-weight: 700; }
.card .card-link { margin-top: 0.9rem; font-weight: 700; }
.link-list { padding-left: 1.2rem; }
.content-narrow .steps { grid-template-columns: 1fr; margin-bottom: 2rem; }
.howto { counter-reset: howto; }
.howto-step h2 { counter-increment: howto; }
.howto-step h2::before { display: block; margin-bottom: 0.4rem; color: #c44462; font-size: 0.85rem; font-weight: 850; letter-spacing: 0.12em; content: "STEP " counter(howto, decimal-leading-zero); }
.feature-table th[scope="row"] { width: 38%; font-size: 0.95rem; }
@media (max-width: 30rem) {
  .feature-table { display: table; }
  .feature-table th, .feature-table td { padding: 0.7rem 0.4rem; overflow-wrap: anywhere; }
}

/* Actual app screens and actionable practice examples */
.practice-example, .closing-cta { margin: 4rem 0; padding: clamp(1.5rem, 5vw, 4rem); border-radius: 1rem; background: #061a37; color: #f8fbff; }
.practice-example .eyebrow, .closing-cta .eyebrow { color: #73eaf3; }
.practice-example > p:not(.eyebrow), .closing-cta > p:not(.eyebrow) { max-width: 44rem; color: #d3dfed; }
.practice-example > a { color: #73eaf3; }
.practice-example h2, .closing-cta h2 { margin-top: 0; }
.practice-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.practice-values div { border-top: 1px solid #56718e; padding-top: 1rem; }
.practice-values dt { color: #d3dfed; font-size: 0.9rem; }
.practice-values dd { margin: 0.5rem 0 0; font-size: clamp(1.5rem, 4vw, 2.6rem); font-weight: 800; }
.guide-figure { margin: 2rem 0; display: grid; justify-items: center; gap: 1rem; padding: 1.5rem; border-radius: 1rem; background: var(--surface-solid); border: 1px solid var(--line); }
.guide-figure picture { width: min(100%, 19rem); }
.guide-figure img { width: 100%; height: auto; border-radius: 1.5rem; }
.guide-figure figcaption { max-width: 34rem; font-size: 0.9rem; color: var(--muted); }
.guide-actions { padding-left: 1.4rem; }
.guide-actions li + li { margin-top: 0.75rem; }
@media (max-width: 52rem) {
  .hero-copy { padding-bottom: 1rem; }
  .page-hero { padding-top: 2.5rem; }
}
@media (max-width: 30rem) {
  .hero h1 { font-size: clamp(2rem, 8.8vw, 2.7rem); }
  .hero-copy { padding-top: 1.8rem; }
  .hero .definition { font-size: 0.9rem; }
  .hero-actions { margin-top: 1.3rem; align-items: stretch; }
  .hero-link { justify-content: space-between; gap: 0.75rem; line-height: 1.5; min-height: 48px; }
  .hero-secondary { display: inline-flex; align-items: center; min-height: 44px; }
  .closing-cta .hero-link { display: flex; }
  .content > section:first-child { padding-top: 2.8rem; }
  .content > section:first-child h2 { font-size: 1.9rem; }
  .feature-grid .card, .steps li { padding: 1.3rem; }
  .guide-figure { padding: 1rem; }
  h2 { text-wrap: balance; }
  .practice-values { gap: 0.7rem; }
}
@media (forced-colors: active) {
  .hero, .practice-example, .closing-cta { border: 1px solid CanvasText; }
}

/* Landing: value and store link precede the screen in mobile reading order. */
.landing .hero { width: 100%; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; padding: 3rem max(1rem, calc((100vw - 72rem) / 2)); background: radial-gradient(ellipse at 85% 45%, #12436b, #001535 70%); }
.landing .hero-copy { width: 100%; padding: 0; }
.landing .hero h1 { max-width: 20ch; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.3; letter-spacing: -.035em; }
.landing .hero h1 span { display: inline-block; max-width: 100%; }
.landing .hero .eyebrow { text-transform: none; }
.landing .hero .definition { font-size: 1.05rem; margin-top: 1.5rem; }
.hero-app { margin: 0; display: grid; justify-items: center; gap: 1rem; }
.hero-app .screen-frame { width: min(100%, 16rem); box-shadow: 0 1rem 3rem #0006; }
.hero-app figcaption { max-width: 22rem; color: #d3dfed; font-size: .85rem; text-align: center; }
.device-note { font-size: .9rem; color: #d3dfed; margin: 1rem 0 0; }
.landing .feature-grid .card { min-height: 0; }
.landing .card .eyebrow { color: var(--blue); font-size: .85rem; }
.landing .practice-example { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2rem; }
.practice-copy > p { color: #d3dfed; }
.practice-example .guide-figure { margin: 0; }
.practice-example .guide-figure picture { max-width: 14rem; }
.landing .faq summary, .landing .link-list a { min-height: 44px; padding-block: .5rem; }
.landing .link-list a { display: inline-block; }
.landing .hero-link { min-height: 48px; }
.landing .nav-links a, .landing .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.landing .hero-link:focus-visible { outline-color: #ffffff; }
@media (max-width: 52rem) {
 .landing .hero { grid-template-columns: 1fr; padding: 2rem 6vw; }
 .landing .hero-app .screen-frame { width: min(70vw, 17rem); }
 .landing .practice-example { grid-template-columns: 1fr; }
 .landing .hero-actions { margin-top: 1.3rem; }
}

/* Website analytics and advertising settings. Native buttons keep keyboard behavior intact. */
.analytics-settings { max-width: 72rem; margin: 2rem auto 0; padding: 0 1rem; text-align: right; }
.analytics-settings button { border: 0; background: transparent; color: var(--text); text-decoration: underline; cursor: pointer; min-height: 44px; }
html { scroll-padding-bottom: calc(var(--analytics-banner-height, 0px) + 1rem); }
body { padding-bottom: var(--analytics-banner-height, 0px); }
.analytics-choice {
  position: fixed; z-index: 90; inset: auto 0 0;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem 2rem;
  padding: 1rem max(1rem, calc((100vw - 72rem) / 2));
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  max-height: 50vh; max-height: 50dvh; overflow-y: auto;
  border-top: 1px solid var(--line); background: var(--surface-solid); color: var(--text);
  box-shadow: 0 -4px 24px rgba(15, 35, 70, .12);
}
.analytics-view { display: contents; }
.analytics-choice[hidden], .analytics-choice [hidden] { display: none; }
.analytics-choice h2 { font-size: 1rem; margin: 0 0 .25rem; }
.analytics-choice p { font-size: .875rem; line-height: 1.6; margin: 0; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
#analytics-status:empty { display: none; }
#analytics-status { grid-column: 1 / -1; }
@media (max-width: 48rem) {
  .analytics-choice { grid-template-columns: minmax(0, 1fr); gap: .75rem; padding-top: .75rem; }
  .analytics-actions button { flex: 1; }
}
.analytics-actions button { min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--surface-solid); color: var(--text); cursor: pointer; }
.analytics-actions button[aria-pressed="true"] { background: #053978; color: #fff; }
.analytics-choice :focus-visible, .analytics-settings :focus-visible { outline: 3px solid #f19729; outline-offset: 2px; }

.premium-feature { background: rgba(202, 161, 82, .10); }
.premium-feature-name { display: inline-flex; align-items: center; gap: .4rem; }
.premium-icon { flex: 0 0 24px; width: 24px; height: 24px; }
.premium-note { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }



/* Keep the mobile header to one row; native disclosures work without scripts. */
.nav-shell { position: relative; gap: 1rem; flex-wrap: wrap; }
.desktop-navigation { margin-left: auto; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-left: auto; max-width: 100%; }
.header-actions details { position: relative; }
.header-actions summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: .65rem; color: var(--text); background: var(--surface-solid); font-size: .85rem; font-weight: 650; cursor: pointer; white-space: nowrap; }
.header-actions summary::-webkit-details-marker { display: none; }
.header-actions summary svg { flex-shrink: 0; }
.header-actions details[open] > summary { border-color: var(--blue); }
.disclosure-chevron { font-size: 1rem; }
.header-actions details[open] .disclosure-chevron { transform: rotate(180deg); }
.mobile-navigation { display: none; }
.header-panel { position: absolute; top: calc(100% + .6rem); right: 0; width: 19rem; max-width: calc(100vw - 2rem); max-height: calc(100dvh - 6rem); overflow-y: auto; padding: .6rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface-solid); box-shadow: 0 .8rem 2rem #0003; }
.language { display: flex; flex-direction: column; }
.language a, .language-reset { display: flex; align-items: center; justify-content: space-between; gap: .8rem; width: 100%; min-height: 48px; padding: .7rem .8rem; color: var(--text); text-decoration: none; border-radius: .45rem; }
.language a:hover, .language a[aria-current], .header-panel .nav-links a:hover { background: color-mix(in srgb, var(--blue) 12%, transparent); }
.language small { font-size: .75rem; color: var(--muted); }
.language-check { color: var(--blue); }
.language-reset { border: 0; border-top: 1px solid var(--line); margin-top: .5rem; background: transparent; font: inherit; font-size: .85rem; text-align: left; cursor: pointer; }
.language-notice { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem max(1rem, calc((100vw - 72rem) / 2)); border-bottom: 1px solid var(--line); background: var(--surface-solid); }
.language-recovery { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
.language-dismiss { min-width: 44px; min-height: 44px; padding: .25rem; border: 0; background: transparent; color: var(--text); font-size: 1.5rem; cursor: pointer; }
.language-notice[hidden], .language-reset[hidden] { display: none; }
.not-found { padding: 2rem 1rem; }
.not-found h1 { margin: 0; }
.not-found .hero-link { margin-top: 1rem; }
@media (max-width: 64rem) {
  .desktop-navigation { display: none; }
  .mobile-navigation { display: block; }
  .nav-shell { min-height: 4.5rem; gap: .5rem; }
  .header-actions details { position: static; }
  .header-panel { top: calc(100% + .25rem); width: auto; left: 0; right: 0; }
  .header-panel .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: .15rem; margin: 0; }
  .header-panel .nav-links a { display: flex; min-height: 48px; padding: .7rem .8rem; border-radius: .45rem; white-space: normal; }
}
@media (max-width: 23rem) {
  .nav-shell { width: calc(100% - 1.5rem); }
  .brand { font-size: 1rem; gap: .4rem; }
  .brand img { width: 1.8rem; height: 1.8rem; }
  .header-actions { gap: .3rem; }
  .header-actions summary { padding-inline: .5rem; }
  .disclosure-chevron { display: none; }
}

/* Store CTAs: one badge per platform, both deliberately tappable and distinct on the dark hero/showcase backgrounds. */
.store-badges { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin-top: 2rem; }
.store-badge { display: inline-flex; align-items: center; gap: .85rem; min-height: 60px; padding: .7rem 1.15rem .7rem 1rem; border-radius: .9rem; border: 1px solid transparent; text-decoration: none; line-height: 1.2; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.store-badge-ios { background: linear-gradient(135deg, #8df3fa, #00c9e9 55%, #00b0d6); color: #001535; }
.store-badge-mac { background: rgba(255, 255, 255, .09); color: #f8fbff; border-color: rgba(255, 255, 255, .38); }
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .38), 0 0 0 4px rgba(125, 240, 248, .18); }
.store-badge-ios:hover { background: linear-gradient(135deg, #adf7fc, #33d8f1 55%, #00c9e9); }
.store-badge-mac:hover { background: rgba(255, 255, 255, .17); border-color: rgba(255, 255, 255, .75); }
.store-badge:active { transform: translateY(-1px); }
.store-badge:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.store-badge-icon { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.store-badge-text { display: flex; flex-direction: column; gap: .15rem; text-align: left; }
.store-badge-caption { font-size: .74rem; font-weight: 600; letter-spacing: .04em; opacity: .82; }
.store-badge-label { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.store-badge-arrow { margin-left: .3rem; font-size: 1.25rem; font-weight: 700; transition: transform .2s ease; }
.store-badge:hover .store-badge-arrow { transform: translateX(4px); }
.practice-copy .store-badges { margin-top: 1.6rem; }
.closing-cta .store-badges { margin-top: 1.6rem; }
@media (max-width: 30rem) {
  .store-badges { flex-direction: column; align-items: stretch; }
  .store-badge-arrow { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .store-badge, .store-badge-arrow { transition: none; }
  .store-badge:hover, .store-badge:active, .store-badge:hover .store-badge-arrow { transform: none; }
}
@media (forced-colors: active) {
  .store-badge { border: 1px solid LinkText; }
}

/* Browser trial: a quieter third path under the store badges, still a 44px target. */
.web-trial { margin: 1.1rem 0 0; max-width: 36rem; color: #d3dfed; font-size: .92rem; line-height: 1.6; }
.web-trial-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-height: 44px; color: #ffffff; font-weight: 700; text-decoration: none; }
.web-trial-link > span:first-of-type { text-decoration: underline; text-decoration-color: rgba(125, 240, 248, .6); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.web-trial-link:hover > span:first-of-type { text-decoration-color: #7df0f8; color: #7df0f8; }
.web-trial-icon { flex: none; width: 20px; height: 20px; fill: none; stroke: #7df0f8; stroke-width: 1.6; }
.web-trial-tag { font-size: .7rem; font-weight: 700; letter-spacing: .04em; padding: .15rem .55rem; border-radius: 999px; color: #7df0f8; background: rgba(125, 240, 248, .14); border: 1px solid rgba(125, 240, 248, .5); }
.web-trial-arrow { transition: transform .2s ease; }
.web-trial-link:hover .web-trial-arrow { transform: translateX(3px); }
.web-trial-note { display: block; margin-top: .3rem; }
.web-trial-note a { color: #ffffff; }
.closing-cta .web-trial { margin-top: 1rem; }
@media (prefers-reduced-motion: reduce) {
  .web-trial-arrow { transition: none; }
  .web-trial-link:hover .web-trial-arrow { transform: none; }
}

/* Readable product examples use the existing app captures, with no autoplay or new script. */
.hero-shortcuts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.4rem 0 0; }
.hero-shortcuts a { display: inline-flex; align-items: center; min-height: 44px; color: #b8f6ff; font-size: .9rem; }
.walkthrough { align-items: stretch; }
.step-visual { margin: 1.5rem 0 0; padding: 1rem; border-radius: .8rem; background: #061a37; }
.step-visual img { width: 100%; height: 18rem; object-fit: contain; }
.media-note { max-width: 52rem; color: var(--muted); font-size: .85rem; }
.reading-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 3rem; }
.reading-grid a { display: inline-block; padding-block: .4rem; line-height: 1.6; }
.reading-grid .card { box-shadow: none; }
.landing .practice-example { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.practice-example h2 { line-height: 1.4; }
.practice-values { grid-template-columns: 1fr; margin: 0; }
.practice-values dd { font-variant-numeric: tabular-nums; }
.text-on-dark { display: inline-block; min-height: 44px; padding-block: .6rem; color: #b8f6ff; }
.choose-edition { padding-block: 1rem; }
.edition-table { table-layout: fixed; }
.edition-table caption { text-align: left; font-size: .9rem; color: var(--muted); margin-block: 1rem; }
.edition-table th, .edition-table td { overflow-wrap: anywhere; }
.edition-table thead th { width: 38%; background: var(--surface-solid); }
.edition-table thead th:first-child { width: 24%; }
.edition-note { padding: 1rem 1.3rem; border-left: 3px solid var(--cyan); background: var(--surface); }
.edition-note p { margin: .5rem 0; }
.article-hero h1 { max-width: 28ch; line-height: 1.3; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.article-hero .lede { max-width: 50rem; }
.article-steps { padding-left: 1.5rem; }
.article-steps > li { padding-left: .5rem; margin-block: 2rem; }
.article-steps > li::marker { color: var(--blue); font-weight: 750; }
.article-steps h3 { line-height: 1.5; font-size: 1.2rem; }
.article-next { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.article-next a { display: inline-block; min-height: 44px; padding-block: .4rem; }
.article-trial { font-weight: 700; }
@media (max-width: 52rem) {
  .landing .practice-example { grid-template-columns: minmax(0, 1fr); }
  .practice-values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .practice-values dd { font-size: clamp(1.15rem, 4vw, 1.8rem); overflow-wrap: anywhere; }
  .walkthrough li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); column-gap: 1rem; }
  .walkthrough li > .number, .walkthrough li > h3, .walkthrough li > p { grid-column: 1; }
  .walkthrough .step-visual { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0; padding: .5rem; }
  .step-visual img { height: auto; }
}
@media (max-width: 35rem) {
  .reading-grid { grid-template-columns: minmax(0, 1fr); }
  .edition-table { display: table; }
  .edition-table th, .edition-table td { padding: .65rem .35rem; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 30rem) {
  .store-badge { min-width: 0; max-width: 100%; flex-wrap: wrap; gap: .5rem; padding-inline: .6rem; }
  .store-badge-text { min-width: 0; flex: 1; overflow-wrap: anywhere; }
  .practice-example, .closing-cta { padding-inline: 1rem; }
}

.analytics-actions button[aria-pressed="true"] { outline: 3px solid currentColor; outline-offset: 2px; }
