/* Daily Wander design system, 2026. One stylesheet for pages rendered by the
   shared Site layout. Tokens first, then base, chrome, components. */

:root {
  --ink: #10261e;
  --ink-soft: #3f5a4d;
  --stone: #66756c;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --mist: #f1f5f0;
  --mist-2: #e4efe6;
  --line: #dde5df;
  --line-strong: #c2d0c6;
  --green: #1f6b47;
  --green-deep: #15503a;
  --leaf: #c9ecb9;
  --amber: #f0893a;
  --amber-deep: #d8711f;
  --focus: #2a7fb3;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(16, 38, 30, .08);
  --nav-height: 68px;
  --gutter: 20px;
  /* Legacy names used by inline page styles and the generated content sheet. */
  --cyan: var(--green);
  --cyan-deep: var(--green-deep);
  --paper-2: var(--mist);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-soft);
  --accent-teal: var(--green);
  --accent-teal-dark: var(--green-deep);
  --glass-bg: var(--surface);
  --glass-border: var(--line);
  --gradient-start: var(--green);
  --gradient-end: var(--green-deep);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a:not(.btn), li a:not(.btn), td a, figcaption a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
p a:not(.btn):hover, li a:not(.btn):hover { color: var(--green-deep); }
:is(a, button, input, select, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--nav-height) + 16px); }
.container { width: min(1120px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 750; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding-left: 1.25em; }
li + li { margin-top: .35em; }
small { font-size: .875rem; }
blockquote { margin: 0; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: .875rem; color: var(--ink-soft); font-weight: 650; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:lang(ja) :is(h1, h2, h3), :lang(ko) :is(h1, h2, h3), :lang(th) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; line-break: strict; }
:lang(ja) h1, :lang(ko) h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); }

/* Type helpers */
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lead { margin-top: 18px; max-width: 36em; color: var(--ink-soft); font-size: 1.15rem; line-height: 1.6; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading h2 + p, .section-heading p:not(.eyebrow) { margin-top: 12px; color: var(--ink-soft); font-size: 1.05rem; }
.section-heading.compact { margin-bottom: 28px; }
.updated-note, .author { color: var(--stone); font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 22px;
  border: 1px solid transparent; border-radius: 12px;
  font-weight: 700; font-size: .98rem; line-height: 1.3; text-align: center; white-space: normal;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #f49a55; border-color: #f49a55; }
.btn-secondary { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:hover { background: var(--mist); }
.btn-light { background: var(--surface); border-color: var(--surface); color: var(--ink); }
.btn-light:hover { background: var(--mist); }
.android-ineligible-cta { pointer-events: none; cursor: default; opacity: .7; }
/* On Android scripts.js disables the App Store button and appends a notice with the same text; show the notice once. */
.hero-actions:has(.platform-notice) .android-ineligible-cta { display: none; }
.platform-notice { flex-basis: 100%; margin: 6px 0 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); color: var(--ink-soft); font-size: .92rem; }

/* Header */
.site-nav { position: sticky; top: 0; z-index: 30; background: rgba(251, 250, 246, .92); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }
.nav-container { min-height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1.15rem; font-weight: 780; letter-spacing: -.02em; color: var(--ink); }
.logo-icon { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a { padding: 8px 12px; border-radius: 10px; color: var(--ink-soft); font-size: .93rem; font-weight: 620; }
.nav-links > a:hover { background: var(--mist); color: var(--ink); }
.nav-links > a[aria-current="page"] { color: var(--green); }
.nav-links > a.nav-cta { margin-left: 8px; background: var(--ink); color: #fff; }
.nav-links > a.nav-cta:hover { background: var(--green-deep); color: #fff; }
.site-nav .language-switcher { position: relative; margin-left: 4px; padding: 0; border: 0; }
.language-switcher summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink-soft); font-size: .88rem; font-weight: 620; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.language-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 240px; max-height: min(65vh, 540px); overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.language-menu a { padding: 9px 10px; border-radius: 8px; font-size: .92rem; }
.language-menu a:hover { background: var(--mist); }
.language-menu a[aria-current="true"] { background: var(--mist-2); color: var(--green-deep); font-weight: 650; }
/* Inline download band at the end of help and guide articles. */
.article-cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 40px 0; padding: 28px; border-radius: var(--radius-lg); background: var(--green-deep); color: #fff; }
.article-cta-inline div h2 { margin: 4px 0 8px; color: #fff; font-size: 1.5rem; }
.article-cta-inline p:not(.eyebrow) { margin: 0; color: rgba(255, 255, 255, .84); }
.article-cta-inline .eyebrow { margin: 0; color: var(--leaf); background: none; }
.article-cta-inline .btn { flex: none; }
@media (max-width: 600px) { .article-cta-inline { flex-direction: column; align-items: flex-start; padding: 22px; } }
/* Long unbroken strings (photo-credit filenames, URLs) wrap instead of widening the page. */
.dw-2026 :is(p, li, dd, td, figcaption) { overflow-wrap: break-word; }
/* Skip links stay hidden until focused. */
.skip, .skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus, .skip-link:focus { top: 12px; }
.site-nav .mobile-menu-btn { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.mobile-menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Hero */
.hero { padding: 56px 0 48px; background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 48px; align-items: center; }
.hero-copy > * { min-width: 0; }
.hero h1 { max-width: 14em; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-actions > p { flex-basis: 100%; margin: 2px 0 0; color: var(--stone); font-size: .9rem; }
.hero-trust-list, .proof-list, .hero-proof-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero-trust-list li, .proof-list li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size: .92rem; }
.hero-trust-list li::before, .proof-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.hero-showcase { position: relative; display: grid; place-items: center; min-height: 480px; padding: 32px; border-radius: var(--radius-lg); background: var(--mist-2); overflow: hidden; isolation: isolate; }
.hero-lifestyle .hero-showcase, .hero-showcase.with-photo { background: linear-gradient(180deg, rgba(16, 38, 30, .12), rgba(16, 38, 30, .38)), url("/assets/marketing/dailywander-hero-walk-2026-1600.webp") 62% center / cover no-repeat; }
.showcase-phone { width: min(236px, 100%); padding: 4px; border: 6px solid #0e1b16; border-radius: 34px; background: #0e1b16; box-shadow: 0 24px 50px rgba(6, 30, 20, .3); }
/* Product heroes: map artwork with one loop route behind the phone (scripts/generate-hero-art.py). */
.hero-product .hero-showcase { background: var(--green-deep) url("/assets/marketing/hero-map-grid.svg") center / cover no-repeat; }
[data-hero-art="park"] .hero-product .hero-showcase { background-image: url("/assets/marketing/hero-map-park.svg"); }
[data-hero-art="canal"] .hero-product .hero-showcase { background-image: url("/assets/marketing/hero-map-canal.svg"); }
.hero-product .showcase-phone { box-shadow: 0 30px 70px rgba(4, 18, 12, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.showcase-phone img { border-radius: 26px; }
.showcase-routes, .showcase-mini-panel, .hero-proof-list.showcase-proof { display: none; }
.dw-demo-preview { margin: 0; justify-self: center; text-align: center; }
.dw-demo-preview img { width: min(236px, 100%); margin-inline: auto; padding: 4px; border: 6px solid #0e1b16; border-radius: 34px; background: #0e1b16; box-shadow: 0 24px 50px rgba(6, 30, 20, .22); }
.dw-demo-preview figcaption { margin-top: 14px; color: var(--stone); font-size: .875rem; max-width: 28em; margin-inline: auto; }

/* Sections */
.section { padding: 64px 0; }
.section.muted { background: var(--mist); border-block: 1px solid var(--line); }
.section + .section:not(.muted) { padding-top: 0; }
.section.muted + .section { padding-top: 64px; }
.split-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.split-section > div > p:not(.eyebrow) { margin-top: 12px; color: var(--ink-soft); font-size: 1.02rem; }
.split-section > div > a:not(.btn) { display: inline-block; margin-top: 14px; color: var(--green); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* Cards */
.card-surface, .workflow-card, .plan-card, .intent-card, .screenshot-proof-card, .feature-grid > article, .conversion-product-cards > article, .use-case-grid > article, .trust-panel, .habit-panel, .qr-card, .feature-gallery-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.workflow-card { padding: 24px; }
.workflow-card span { display: inline-block; margin-bottom: 12px; color: var(--green); font-size: .85rem; font-weight: 750; letter-spacing: .06em; }
.workflow-card h3 { margin-bottom: 8px; }
.workflow-card p { color: var(--ink-soft); }
.workflow-card .phone-frame { margin: 0 auto 20px; }

.screenshot-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.screenshot-proof-card { display: grid; justify-items: center; gap: 18px; padding: 28px 24px; text-align: center; }
.screenshot-proof-card h3 { margin-bottom: 6px; }
.screenshot-proof-card p { color: var(--ink-soft); font-size: .98rem; }
.phone-frame { width: 150px; padding: 3px; border: 4px solid #0e1b16; border-radius: 24px; background: #0e1b16; }
.phone-frame img { border-radius: 18px; }

.feature-gallery-section .section-heading p:not(.eyebrow) { color: var(--ink-soft); }
.feature-gallery-hint { display: none; }
.feature-gallery-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.feature-gallery-card { overflow: hidden; }
.feature-gallery-media { display: grid; place-items: center; padding: 18px 18px 0; background: var(--mist); }
.feature-gallery-media img { width: min(150px, 100%); border-radius: 16px 16px 0 0; box-shadow: 0 -4px 18px rgba(16, 38, 30, .12); }
.feature-gallery-copy { padding: 16px 18px 20px; }
.feature-gallery-kicker { display: block; margin-bottom: 6px; color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.feature-gallery-copy h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature-gallery-copy p { color: var(--ink-soft); font-size: .92rem; }
.feature-gallery-footnote { margin-top: 20px; color: var(--stone); font-size: .92rem; }

.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan-card { padding: 26px; }
.plan-card.featured { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.plan-card > span { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--mist-2); color: var(--green-deep); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plan-card h3 { margin-bottom: 14px; }
.plan-card ul { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.plan-card li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.plan-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan-card > p { margin-top: 16px; color: var(--stone); font-size: .88rem; }
.premium-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.premium-grid > div:first-child p:not(.eyebrow) { margin-top: 12px; color: var(--ink-soft); font-size: 1.02rem; }

.conversion-strip { padding: 20px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.conversion-strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.conversion-strip-grid strong { display: block; font-size: .95rem; }
.conversion-strip-grid span { color: var(--ink-soft); font-size: .88rem; }

.feature-grid, .conversion-product-cards, .use-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-grid > article, .conversion-product-cards > article, .use-case-grid > article { padding: 22px; }
.feature-grid h3, .conversion-product-cards h3, .use-case-grid h3 { margin-bottom: 8px; }
.feature-grid p, .conversion-product-cards p, .use-case-grid p { color: var(--ink-soft); font-size: .97rem; }
.conversion-product-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.conversion-product-grid > div:first-child p:not(.eyebrow) { margin-top: 12px; color: var(--ink-soft); font-size: 1.02rem; }
.conversion-product-cards { grid-template-columns: 1fr; }
.benefit-list { display: grid; gap: 10px; padding-left: 0; list-style: none; counter-reset: benefit; }
.benefit-list li { position: relative; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink-soft); }
ul.benefit-list li::before { content: "✓"; position: absolute; left: 16px; top: 13px; color: var(--green); font-weight: 750; }
ol.benefit-list li::before { counter-increment: benefit; content: counter(benefit); position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--mist-2); color: var(--green-deep); font-size: .8rem; font-weight: 750; }

.intent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.intent-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.intent-card { display: block; padding: 18px 20px; transition: border-color .15s ease, background-color .15s ease; }
.intent-card:hover { border-color: var(--green); background: #f7fbf7; }
.intent-card > span { display: block; font-weight: 700; color: var(--ink); }
.intent-card > p { margin-top: 6px; color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.country-route-hub > .container > h2 { margin-bottom: 10px; }
.country-route-hub > .container > p:not(.eyebrow) { margin-bottom: 24px; max-width: 720px; color: var(--ink-soft); }

/* Explore link hub (homepage) */
.explore-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.explore-group h3 { margin-bottom: 12px; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }
.link-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.link-list li { margin: 0; }
.link-list a { display: inline-block; padding: 3px 0; color: var(--ink-soft); font-size: .95rem; text-decoration: none; }
.link-list a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* Desktop download / handoff */
.desktop-download-section { background: var(--mist); border-block: 1px solid var(--line); }
.desktop-download-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.desktop-download-grid p:not(.eyebrow) { margin: 12px 0 20px; max-width: 34em; color: var(--ink-soft); font-size: 1.02rem; }
.qr-card { display: grid; place-items: center; padding: 14px; }
.qr-card.large { width: 200px; }
.qr-card img { width: 100%; }

/* Trust, health, FAQ */
.trust-grid, .health-grid, .faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.trust-grid p:not(.eyebrow), .health-grid > div > p:not(.eyebrow), .faq-grid > div:first-child > p:not(.eyebrow) { margin-top: 12px; color: var(--ink-soft); font-size: 1.02rem; }
.trust-panel, .habit-panel { padding: 24px; }
.habit-panel h3 { margin-bottom: 12px; }
.fact-list, .habit-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.fact-list li, .habit-list li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.fact-list li::before, .habit-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.authority-quote { margin: 20px 0 0; padding: 16px 20px; border-left: 3px solid var(--green); background: var(--mist); border-radius: 0 12px 12px 0; }
.authority-quote p { color: var(--ink); font-size: 1.02rem; font-style: italic; }
.authority-quote cite { display: block; margin-top: 8px; color: var(--stone); font-size: .88rem; font-style: normal; }
.source-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.source-links a { color: var(--green); font-size: .92rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq-list { display: grid; }
.faq-list details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 14px 36px 14px 0; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 10px; color: var(--green); font-size: 1.4rem; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 0 16px; color: var(--ink-soft); }

/* CTA band */
.cta-band { padding: 56px 0; background: var(--green-deep); color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { color: #fff; max-width: 16em; }
.cta-band .cta-aside { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-band .cta-aside .qr-card { width: 96px; padding: 8px; border-color: transparent; }
.cta-band .cta-aside a:not(.btn):not(.qr-card) { color: #d9eadf; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { padding: 48px 0 32px; background: var(--surface); border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-footer .footer-grid h2 { margin-bottom: 12px; line-height: 1.4; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.footer-grid a:not(.logo) { display: block; padding: 4px 0; }
.footer-grid a:not(.logo):hover { color: var(--green); }
.footer-logo { margin-bottom: 12px; }
.footer-grid > div:first-child p { max-width: 30em; }
.footer-meta { margin-top: 12px; color: var(--stone); font-size: .85rem; }
.footer-directories { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.site-footer .footer-directories h2 { margin-bottom: 14px; line-height: 1.4; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.footer-directory-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-directory-badges a { display: flex; align-items: center; min-height: 48px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); line-height: 0; }
.footer-directory-badges img { height: 32px; width: auto; }
/* SubmitMySaas requires its badge at 150x44 or larger. */
.footer-directory-badges a[href="https://submitmysaas.com"] img { height: 46px; }
.footer-directory-badges a:hover { border-color: var(--line-strong); }

/* Sticky App Store bar inserted by scripts.js on phones */
.mobile-app-store-bar { display: none; }

/* Legal and long-form prose */
.legal-shell { padding: 40px 0 64px; }
.legal-shell .content-box { max-width: 760px; }
.legal-shell h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.legal-shell .meta { margin-bottom: 28px; color: var(--stone); font-size: .9rem; }
.legal-shell h2 { margin: 36px 0 12px; font-size: 1.45rem; }
.legal-shell h3 { margin: 24px 0 8px; }
.legal-shell p, .legal-shell li { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }
.legal-shell ul, .legal-shell ol { margin: 12px 0; }
.legal-shell :is(.cta-section, .cta-box, .card) { margin-top: 32px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.legal-shell .back-link, .legal-shell .cta-button { display: inline-flex; align-items: center; min-height: 46px; margin-top: 8px; padding: 10px 18px; border-radius: 10px; background: var(--green); color: #fff; font-weight: 650; text-decoration: none; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); }
  .feature-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .conversion-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --nav-height: 60px; }
  .site-nav .nav-links { display: none; }
  .site-nav .mobile-menu-btn { display: block; }
  .mobile-menu.active { display: grid; gap: 6px; padding: 12px var(--gutter) 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .mobile-menu > a { padding: 12px 14px; border-radius: 10px; background: var(--mist); color: var(--ink); font-weight: 650; }
  .mobile-language { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); font-weight: 650; }
  .mobile-language summary { list-style: none; cursor: pointer; }
  .mobile-language summary::-webkit-details-marker { display: none; }
  .mobile-language-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 12px; max-height: 60vh; overflow-y: auto; overscroll-behavior: contain; }
  .mobile-language-grid a { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: .9rem; font-weight: 500; }
  .mobile-language-grid a[aria-current="true"] { background: var(--mist-2); color: var(--green-deep); font-weight: 650; }
  .hero { padding: 36px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-showcase { min-height: 0; padding: 24px; }
  .hero-lifestyle .hero-showcase, .hero-showcase.with-photo { background-image: none !important; background-color: var(--mist-2); }
  .showcase-phone, .dw-demo-preview img { width: min(200px, 70%); }
  .hero-actions .btn { flex: 1 1 100%; }
  .section { padding: 48px 0; }
  .section.muted + .section { padding-top: 48px; }
  .split-section, .premium-grid, .conversion-product-grid, .trust-grid, .health-grid, .faq-grid, .desktop-download-grid { grid-template-columns: 1fr; gap: 24px; }
  .workflow-grid, .screenshot-proof-grid, .feature-grid, .use-case-grid, .plan-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .cta-band .cta-aside .qr-card { display: none; }
  .mobile-app-store-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16, 38, 30, .08); }
  .mobile-app-store-bar img { width: 40px; height: 40px; border-radius: 9px; }
  .mobile-app-store-copy { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
  .mobile-app-store-copy strong { font-size: .95rem; }
  .mobile-app-store-copy small { color: var(--ink-soft); font-size: .8rem; }
  .mobile-app-store-badge { padding: 9px 14px; border-radius: 10px; background: var(--amber); color: var(--ink); font-size: .88rem; font-weight: 700; white-space: nowrap; }
  body.has-mobile-app-store-bar { padding-bottom: 76px; }
  body.platform-android .mobile-app-store-bar { display: none; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.55rem; }
  .feature-gallery-grid, .intent-grid, .intent-grid.two, .explore-grid, .conversion-strip-grid { grid-template-columns: 1fr; }
  .feature-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-gallery-media img { width: min(120px, 100%); }
  .footer-grid { grid-template-columns: 1fr; }
  .phone-frame { width: 132px; }
  table { display: block; max-width: 100%; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .intent-card, .mobile-menu-btn span { transition: none; }
}

/* Shared chrome wins over legacy inline page styles that target bare nav,
   .container and .logo (older blog posts). */
nav.site-nav { padding: 0; background: rgba(251, 250, 246, .92); border-bottom: 1px solid var(--line); }
.site-nav .nav-container, .site-footer .container { width: min(1120px, calc(100% - 2 * var(--gutter))); max-width: none; margin-inline: auto; padding: 0; }
.site-nav .nav-container { flex-direction: row; gap: 20px; }
.site-nav .logo, .site-footer .logo { font-size: 1.15rem; font-weight: 780; color: var(--ink); text-decoration: none; }
