/* Boluga */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
}

:root {
  --navy: #24324d;
  --navy-2: #364562;      /* logo navy */
  --navy-3: #182134;
  --ink: #141b2b;
  --muted: #5a6476;
  --bg: #f5f6fa;
  --card: #ffffff;
  --line: rgba(20, 27, 43, 0.1);
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.78);
  --accent: #364562;
  --accent-deep: color-mix(in srgb, var(--accent) 62%, #05070d);
  --gold: #f5b301;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  --max: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(20, 27, 43, 0.06), 0 8px 24px rgba(20, 27, 43, 0.06);
  --shadow-lg: 0 2px 6px rgba(20, 27, 43, 0.08), 0 24px 48px rgba(20, 27, 43, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid #6aa0ff; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); }
.tagline { font-weight: 600; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 0.95rem/1 var(--sans); text-decoration: none;
  padding: 15px 22px; border-radius: 999px; border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef1f7; color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.badge img { height: 44px; width: auto; }
.badge { border-radius: 8px; transition: transform .2s; }
.badge:hover { transform: translateY(-1px); }

.link-more { font-weight: 700; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23364562' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* No background colour behind icons: it bleeds through the smoothed rounded corners as a pale rim. */
.app-icon { border-radius: 22.37%; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.12); }

/* ---------- Header ---------- */

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: background-color .3s, box-shadow .3s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 34px; width: auto; }
.brand .logo-dark { display: none; }
.nav { display: flex; gap: 6px; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 9px 14px; border-radius: 999px; }
.nav a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; color: #fff; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; display: block; }

.site-header.scrolled, .site-header.open { background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .logo-light, .site-header.open .logo-light { display: none; }
.site-header.scrolled .logo-dark, .site-header.open .logo-dark { display: block; }
.site-header.scrolled .nav a, .site-header.open .nav a, .site-header.scrolled .menu-btn, .site-header.open .menu-btn { color: var(--ink); }
.site-header.scrolled .nav a:hover, .site-header.open .nav a:hover { background: rgba(20, 27, 43, 0.06); }

@media (max-width: 720px) {
  :root { --header-h: 62px; }
  .brand img { height: 28px; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: 6px var(--gutter) 14px; border-bottom: 1px solid var(--line); display: none; }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
}

/* ---------- Heroes ---------- */

.hero { position: relative; color: var(--on-dark); background: var(--navy); overflow: hidden; }
.hero .lede { color: var(--on-dark-muted); }
.hero .eyebrow { color: #9fc3ff; }
.hero a:not(.btn):not(.badge) { color: #fff; }

.hero-home {
  padding: calc(var(--header-h) + clamp(48px, 9vw, 110px)) 0 clamp(64px, 10vw, 130px);
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(106, 160, 255, 0.28), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--navy-3));
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-home h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.035em; max-width: 13ch; }
.hero-home .lede { margin-top: 22px; max-width: 34rem; }

.icon-cloud { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 26px); max-width: 420px; justify-self: end; width: 100%; }
.icon-cloud a { display: block; animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.7s); }
.icon-cloud a:nth-child(3n+2) { transform: translateY(26px); }
.icon-cloud img { width: 100%; height: auto; border-radius: 22.37%; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .icon-cloud { grid-template-columns: repeat(9, 1fr); max-width: none; justify-self: stretch; gap: 8px; order: -1; margin-bottom: 8px; }
  .icon-cloud a:nth-child(3n+2) { transform: none; }
  .icon-cloud img { border-radius: 22%; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
}

.hero-app {
  padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 0;
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(160deg, var(--accent), var(--accent-deep));
}
.app-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.app-hero-copy { padding-bottom: clamp(48px, 7vw, 96px); }
.crumb { display: inline-flex; gap: 6px; font-weight: 600; font-size: 0.92rem; text-decoration: none; opacity: 0.85; margin-bottom: 28px; }
.crumb:hover { opacity: 1; text-decoration: underline; }
.app-icon-lg { width: 112px; height: 112px; margin-bottom: 24px; }
.hero-app h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); letter-spacing: -0.03em; }
.hero-app .tagline { color: var(--on-dark-muted); font-size: clamp(1.1rem, 1.8vw, 1.35rem); margin: 8px 0 18px; }
.hero-app .meta { margin-top: 18px; font-size: 0.9rem; color: var(--on-dark-muted); }
.stars-inline { color: var(--gold); }
.app-hero-shot { align-self: end; justify-self: center; width: min(330px, 100%); }
.app-hero-shot img { width: 100%; border-radius: 28px 28px 0 0; box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.35); }
.is-landscape .app-hero { grid-template-columns: 1fr 1fr; align-items: center; }
.is-landscape .app-hero-shot { width: 100%; align-self: center; margin-bottom: clamp(48px, 7vw, 96px); }
.is-landscape .app-hero-shot img { border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
@media (max-width: 860px) {
  .app-hero, .is-landscape .app-hero { grid-template-columns: 1fr; }
  .app-hero-shot { width: min(280px, 80%); }
  .app-hero-copy { padding-bottom: 8px; }
}

.hero-page {
  padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(106, 160, 255, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--navy-3));
}
.hero-page h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); letter-spacing: -0.03em; }
.hero-page .lede { margin-top: 14px; max-width: 40rem; }
.hero-tall { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.hero-tall .wrap { display: flex; flex-direction: column; align-items: center; }
.hero-tall .actions { justify-content: center; }

/* ---------- Sections ---------- */

section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }

/* Featured (home) */
.featured { background: #fff; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.featured-title { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.featured-title .app-icon { width: 76px; height: 76px; }
.featured-title .tagline { margin-top: 4px; }
.featured .lede { margin-bottom: 22px; }
.rating { margin: 24px 0 0; font-weight: 600; color: var(--muted); font-size: 0.95rem; }
.stars { color: var(--gold); letter-spacing: 2px; margin-right: 6px; }
.featured .link-more { display: inline-block; margin-top: 22px; }
.featured-shots { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.featured-shots img { border-radius: 22px; box-shadow: var(--shadow-lg); }
.featured-shots img:last-child { margin-top: 48px; }
@media (max-width: 860px) { .featured-grid { grid-template-columns: 1fr; } .featured-shots { max-width: 520px; } }

/* App grid (home) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: 600 0.9rem/1 var(--sans); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--navy-2); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.no-js .chips, html:not(.js) .chips { display: none; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.app-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: var(--card); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; overflow: hidden;
}
.app-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); }
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.app-card .app-icon { width: 72px; height: 72px; margin-bottom: 14px; }
.app-card-cat { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.app-card h3 { font-size: 1.3rem; }
.app-card p { color: var(--muted); font-size: 0.97rem; flex: 1; margin-top: 4px; }
.app-card-more { font-weight: 700; color: var(--navy-2); font-size: 0.93rem; margin-top: 10px; }
.app-card[hidden] { display: none; }

/* About (home) */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about h2 { margin-bottom: 18px; }
.about .lede { margin-bottom: 14px; }
.stats { list-style: none; display: grid; gap: 14px; }
.stats li { background: var(--bg); border-radius: var(--radius-sm); padding: 20px 24px; display: flex; align-items: baseline; gap: 16px; }
.stats strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy-2); min-width: 4.2ch; }
.stats span { color: var(--muted); font-weight: 500; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta { background: linear-gradient(160deg, var(--navy-2), var(--navy-3)); color: #fff; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta p { color: var(--on-dark-muted); }
.cta .actions { margin-top: 0; }

/* App page: screenshots */
.shots-section { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 0; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 250px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px; scrollbar-width: thin; }
.shots img { scroll-snap-align: start; border-radius: 20px; box-shadow: var(--shadow); background: #fff; }
.shots.landscape { grid-auto-columns: minmax(300px, 520px); }
.shots.landscape img { border-radius: 12px; }

/* App page: features */
.features { padding-top: clamp(40px, 5vw, 64px); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
@media (min-width: 761px) { .feature-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.feature-card h3 { margin-bottom: 16px; }
.feature-card .ticks { font-size: 0.97rem; color: #2b3445; }
.closing { margin-top: 36px; text-align: center; font-size: 1.15rem; color: var(--muted); max-width: 46rem; margin-left: auto; margin-right: auto; }

/* App page: pricing */
.pricing { background: #fff; }
.pricing-inner { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 24px 64px; align-items: center; }
.pricing-inner .badges { justify-content: flex-end; margin-top: 0; }
.pricing h2 { margin-bottom: 14px; }
.note { margin-top: 18px; font-size: 0.9rem; color: var(--muted); padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--bg); border-radius: 0 10px 10px 0; }
@media (max-width: 760px) { .pricing-inner { grid-template-columns: 1fr; } .pricing-inner .badges { justify-content: flex-start; } }
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.edition { background: var(--bg); border-radius: var(--radius); padding: 30px; }
.edition h3 { font-size: 1.5rem; }
.edition-price { font-weight: 700; color: var(--accent); margin: 6px 0 14px; }
.edition p:not(.edition-price) { color: var(--muted); }
@media (max-width: 760px) { .editions { grid-template-columns: 1fr; } }

/* App page: help + more apps */
.app-help { padding-top: clamp(56px, 7vw, 88px); padding-bottom: 0; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.help-card { background: #fff; border-radius: var(--radius-sm); padding: 22px 24px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.help-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--ink); }
.help-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.help-card p { color: var(--muted); font-size: 0.92rem; overflow-wrap: anywhere; }
.more-apps h2 { font-size: 1.4rem; margin-bottom: 22px; }
.mini-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 18px; }
.mini-app { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.88rem; line-height: 1.25; }
.mini-app .app-icon { width: 72px; height: 72px; transition: transform .2s; }
.mini-app:hover .app-icon { transform: translateY(-3px); }

/* Support */
.support { padding-top: clamp(40px, 6vw, 72px); }
.snag-help { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border-left: 5px solid var(--accent); }
.snag-help:hover { box-shadow: var(--shadow-lg); color: var(--ink); }
.snag-help .app-icon { width: 60px; height: 60px; flex: none; }
.snag-help span { flex: 1; }
.snag-help .app-card-more { flex: none; font-size: 1.4rem; }
.support-h { font-size: 1.4rem; margin: 48px 0 18px; }
.support-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.support-app { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius-sm); padding: 14px 16px; text-decoration: none; color: var(--muted); font-size: 0.85rem; box-shadow: var(--shadow); }
.support-app:hover { box-shadow: var(--shadow-lg); color: var(--muted); }
.support-app .app-icon { width: 48px; height: 48px; flex: none; box-shadow: none; }
.support-app strong { display: block; color: var(--ink); font-size: 1rem; }
.support-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; margin-top: 56px; align-items: start; }
.support-cols > .prose { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.support-side { display: grid; gap: 16px; }
.side-card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.side-card h2 { font-size: 1.25rem; margin-bottom: 8px; }
.side-card p { color: var(--muted); }
.side-card .btn { margin-top: 6px; }
.warning { background: #fff6e5; border-radius: 10px; padding: 14px 16px; }
@media (max-width: 860px) { .support-cols { grid-template-columns: 1fr; } }

/* Text pages (privacy, terms, Snag List help) */
.text-page { padding-top: clamp(40px, 6vw, 72px); }
.text-grid { display: grid; grid-template-columns: minmax(0, 46rem); justify-content: center; }
.text-grid.has-toc { grid-template-columns: 260px minmax(0, 46rem); gap: clamp(28px, 5vw, 64px); justify-content: center; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; font-size: 0.88rem; }
.toc h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.toc a:hover { background: #fff; }
@media (max-width: 900px) {
  .text-grid.has-toc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; background: #fff; border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow); }
}
.prose { color: #2b3445; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); color: var(--ink); margin: 2.2em 0 0.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; color: var(--ink); margin: 1.8em 0 0.5em; }
.prose p { margin-bottom: 1em; }
.prose ins { text-decoration: none; }
.text-page .prose { background: #fff; border-radius: var(--radius); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow); overflow-wrap: break-word; }
.legal-copyright { margin-top: 2.5em; color: var(--muted); font-size: 0.88rem; }

/* Footer */
.site-footer { background: var(--navy-3); color: rgba(255, 255, 255, 0.72); padding: 64px 0 28px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 26rem; }
.site-footer h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .icon-cloud a { animation: none; }
  .btn, .badge, .app-card, .help-card, .mini-app .app-icon { transition: none; }
}

/* App page: FAQ */
.faq { padding-top: clamp(56px, 7vw, 88px); padding-bottom: 0; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.faq-item { background: #fff; border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.faq-item h3 { font-size: 1.08rem; margin-bottom: 10px; }
.faq-item p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; } }

/* Coming-soon apps */
.soon-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); vertical-align: 1px; margin-left: 6px; }
.app-card-cat .soon-tag { margin-left: 8px; }
.soon { margin-top: 24px; color: var(--on-dark-muted); max-width: 36rem; }
.soon .soon-tag { margin: 0 8px 0 0; background: rgba(255, 255, 255, 0.16); color: #fff; }
.hero-app.no-shot .app-hero { grid-template-columns: minmax(0, 46rem); }
.feature-card > p { color: #2b3445; font-size: 0.97rem; }

/* Condition support page Q&As */
.prose details { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
.prose summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.prose details p { margin: 10px 0 0; }
