/* iSoccer — página de apresentação (marketing / funcionalidades) */
/* Tokens alinhados com lib/theme/isoccer_theme.dart */
:root {
  --bg: #0e0f0f;
  --bg-elevated: #131516;
  --surface: #1a1c1d;
  --surface-2: #232323;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f5;
  --muted: #c8c8c8;
  --muted-dim: rgba(255, 255, 255, 0.55);
  --accent: #00ff41;
  --accent-strong: #1aff5a;
  --accent-dim: rgba(0, 255, 65, 0.14);
  --accent-glow: rgba(0, 255, 65, 0.32);
  --radius-card: 12px;
  --radius-input: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-mockup: 0 24px 60px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(255, 255, 255, 0.04) inset;
  --max: 1080px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(0, 255, 65, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent-dim);
  color: var(--text);
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.pres-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 15, 15, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.pres-top-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 16px;
  padding: 4px max(12px, env(safe-area-inset-left)) 4px max(12px, env(safe-area-inset-right));
  min-height: 40px;
  box-sizing: border-box;
}

.pres-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  flex-shrink: 0;
  border-radius: 8px;
}

.pres-logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.pres-logo:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.pres-logo img {
  height: 22px;
  width: auto;
  display: block;
}

.pres-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 0;
}

.pres-nav::-webkit-scrollbar {
  display: none;
}

.pres-nav a {
  flex: 0 0 auto;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}

.pres-nav a:hover,
.pres-nav a:focus-visible {
  color: var(--accent);
  text-decoration: none;
  background: var(--accent-dim);
  outline: none;
}

@media (min-width: 1024px) {
  .pres-top-inner {
    min-height: 44px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .pres-logo img {
    height: 26px;
  }

  .pres-nav a {
    font-size: 13px;
    padding: 5px 10px;
  }
}

.pres-top-ctas {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.pres-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 11px 20px;
  border-radius: var(--radius-input);
  background: var(--accent);
  color: #000 !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: transform 0.12s ease, filter 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 8px 22px rgba(0, 255, 65, 0.18);
}

button.pres-cta {
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.pres-cta-ico {
  font-size: 20px !important;
  line-height: 1 !important;
}

.pres-cta-label {
  line-height: 1.1;
}

.pres-cta--sm {
  padding: 6px 12px;
  font-size: 12.5px;
  box-shadow: 0 4px 14px rgba(0, 255, 65, 0.14);
}

.pres-cta--sm .pres-cta-ico {
  font-size: 16px !important;
}

.pres-cta--lg {
  padding: 14px 24px;
  font-size: 15px;
  box-shadow: 0 12px 32px rgba(0, 255, 65, 0.22);
}

.pres-cta--lg .pres-cta-ico {
  font-size: 22px !important;
}

.pres-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.pres-cta:active {
  transform: translateY(0);
}

.pres-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.pres-cta--secondary,
button.pres-cta.pres-cta--secondary {
  background: transparent !important;
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  box-shadow: none;
}

.pres-cta--secondary:hover {
  background: var(--accent-dim) !important;
  filter: none;
}

.pres-cta--ghost {
  background: transparent !important;
  color: var(--accent) !important;
  border: 1px solid rgba(0, 255, 65, 0.35) !important;
  box-shadow: none;
}

.pres-cta--ghost:hover {
  background: var(--accent-dim) !important;
  border-color: var(--accent) !important;
  filter: none;
}

body.pres-lightbox-open {
  overflow: hidden;
}

.pres-lightbox[hidden] {
  display: none !important;
}

.pres-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px 16px;
  box-sizing: border-box;
}

.pres-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.pres-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--accent-dim);
  overflow: hidden;
}

.pres-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: rgba(14, 15, 15, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.pres-lightbox__close:hover {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(0, 255, 65, 0.4);
}

.pres-lightbox__close .material-symbols-outlined {
  font-size: 26px !important;
}

.pres-lightbox__img-wrap {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px 20px;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(0, 255, 65, 0.05), transparent 70%),
    var(--bg);
}

.pres-lightbox__img {
  max-width: 100%;
  max-height: min(70vh, 640px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: var(--shadow-mockup);
}

.pres-lightbox__caption {
  flex-shrink: 0;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.pres-lightbox__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.pres-lightbox__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.pres-shot--zoomable {
  cursor: zoom-in;
}

.pres-shot--zoomable img {
  cursor: zoom-in;
}

.pres-shot--zoomable img:focus {
  outline: none;
}

.pres-shot--zoomable img:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .pres-lightbox__backdrop {
    transition: none;
  }
}

.pres-hero {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 80px 20px 88px;
  text-align: center;
  overflow: hidden;
}

.pres-hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 90%;
  max-height: 520px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 150vw);
  background: radial-gradient(ellipse 60% 55% at 50% 0%, var(--accent-dim), transparent 72%);
  pointer-events: none;
}

.pres-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  pointer-events: none;
}

.pres-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}

.pres-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 255, 65, 0.32);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pres-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.pres-hero-lead {
  margin: 0 auto 32px;
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.55;
}

.pres-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 32px;
}

.pres-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pres-badge {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pres-badge:hover {
  border-color: rgba(0, 255, 65, 0.3);
  color: var(--text);
}

.pres-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 20px 72px;
  border-top: 1px solid var(--border);
}

.pres-section--alt {
  background: linear-gradient(180deg, rgba(26, 28, 29, 0.45) 0%, transparent 100%);
  border-top-color: var(--border);
}

.pres-section-head {
  margin-bottom: 32px;
}

.pres-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.pres-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.pres-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pres-section-desc {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.pres-grid {
  display: grid;
  gap: 24px;
}

.pres-grid--1 {
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .pres-grid--2 {
    grid-template-columns: 1fr 1fr;
  }

  .pres-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 799px) {
  .pres-grid--3 {
    grid-template-columns: 1fr;
  }
}

.pres-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pres-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--accent-dim);
    border-color: rgba(0, 255, 65, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pres-card {
    transition: none;
  }

  .pres-card:hover {
    transform: none;
  }
}

.pres-card--feature .pres-shot--hero {
  min-height: 320px;
  padding: 32px 24px 36px;
}

.pres-card--text {
  justify-content: center;
}

.pres-card-body--center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: 100%;
  padding-top: 28px;
  padding-bottom: 28px;
}

.pres-benefit-list {
  margin: 14px 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pres-benefit-list li {
  margin-bottom: 10px;
}

.pres-benefit-list li:last-child {
  margin-bottom: 0;
}

.pres-benefit-list li::marker {
  color: var(--accent);
}

.pres-card-body {
  padding: 20px 22px 24px;
  flex: 1;
}

.pres-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.pres-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* "Mockup" do celular: shot ganha fundo escuro, screenshot vira card flutuante */
.pres-shot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  min-height: 280px;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(0, 255, 65, 0.05), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.pres-shot img {
  max-width: 100%;
  max-height: min(72vh, 620px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
  border-radius: 18px;
  box-shadow: var(--shadow-mockup);
}

.pres-card--feature .pres-shot img {
  max-height: min(80vh, 720px);
}

.pres-shot-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.pres-shot-ph .material-symbols-outlined {
  font-size: 48px !important;
  opacity: 0.35;
  color: var(--accent);
}

.pres-shot-ph code {
  font-size: 11px;
  word-break: break-all;
  color: rgba(255, 255, 255, 0.45);
}

.pres-foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.pres-foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.pres-foot-print {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.pres-foot-print:hover {
  color: var(--accent);
  border-color: rgba(0, 255, 65, 0.35);
  background: var(--accent-dim);
}

.pres-closing {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px 56px;
  border-top: 1px solid var(--border);
}

.pres-closing-inner {
  position: relative;
  text-align: center;
  padding: 44px 32px;
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0, 255, 65, 0.08), transparent 65%),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.pres-closing h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pres-closing-lead {
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.pres-closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}

.pres-closing-actions .pres-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pres-closing-actions--stores {
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.pres-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* Réplica fiel dos badges oficiais "App Store" e "Google Play":
   fundo preto sólido, borda branca sutil, ícone oficial à esquerda
   e tipografia hierárquica (pre pequeno + nome grande) à direita. */
.pres-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  width: 200px;
  max-width: calc(50vw - 24px);
  min-height: 60px;
  padding: 8px 16px;
  box-sizing: border-box;
  border-radius: 10px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff !important;
  text-decoration: none !important;
  font-family: var(--font);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.pres-store-btn:hover {
  background: #0a0a0a;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.pres-store-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.pres-store-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.pres-store-btn__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pres-store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  text-align: left;
  font-family: var(--font);
  color: inherit;
}

.pres-store-btn__pre {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff !important;
  text-transform: none;
}

.pres-store-btn__name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff !important;
}

.pres-store-btn--apple .pres-store-btn__icon {
  color: #fff;
}

/* Apple usa SF Pro; aproximamos com a stack do sistema pra dar a "cara" oficial */
.pres-store-btn--apple .pres-store-btn__text {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", var(--font);
}

/* Google Play usa Roboto/Product Sans; Roboto cobre bem a hierarquia */
.pres-store-btn--google .pres-store-btn__text {
  font-family: "Roboto", var(--font);
}

.pres-store-hint {
  margin: 0 auto;
  max-width: 520px;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 65, 0.25);
  border-radius: var(--radius-card);
}

.pres-store-hint code {
  font-size: 0.82em;
  word-break: break-word;
}

/* ——— Tablet / celular: header em duas linhas (logo+CTA, depois nav) ——— */
@media (max-width: 1023px) {
  .pres-top-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "logo . cta"
      "nav nav nav";
    align-items: center;
    gap: 2px 10px;
    padding-top: max(4px, env(safe-area-inset-top));
    padding-bottom: 2px;
    min-height: 0;
  }

  .pres-logo {
    grid-area: logo;
    justify-self: start;
  }

  .pres-logo img {
    height: 26px;
  }

  .pres-nav {
    grid-area: nav;
    width: 100%;
    max-width: 100%;
    padding: 2px 0 4px;
    margin: 0;
    border-top: 1px solid var(--border);
    scroll-snap-type: x proximity;
    justify-content: flex-start;
  }

  .pres-nav a {
    scroll-snap-align: start;
    padding: 5px 9px;
    font-size: 12px;
  }

  .pres-top-ctas {
    grid-area: cta;
    justify-self: end;
  }

  .pres-top-ctas .pres-cta {
    min-height: 32px;
    box-sizing: border-box;
  }
}

@media (max-width: 520px) {
  .pres-top-ctas .pres-cta-label {
    display: none;
  }

  .pres-top-ctas .pres-cta {
    padding: 6px;
    min-width: 32px;
    min-height: 32px;
  }
}

@media (max-width: 640px) {
  .pres-hero {
    padding: 44px max(16px, env(safe-area-inset-left)) 56px max(16px, env(safe-area-inset-right));
  }

  .pres-hero-lead {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .pres-hero-badges {
    gap: 8px;
  }

  .pres-badge {
    font-size: 11px;
    padding: 7px 12px;
    line-height: 1.3;
  }

  .pres-section {
    padding: 36px max(16px, env(safe-area-inset-left)) 48px max(16px, env(safe-area-inset-right));
  }

  .pres-section-head {
    margin-bottom: 24px;
  }

  .pres-section-desc {
    font-size: 0.93rem;
  }

  .pres-grid {
    gap: 18px;
  }

  .pres-card-body {
    padding: 18px 16px 20px;
  }

  .pres-card--feature .pres-shot--hero {
    min-height: 240px;
    padding: 20px 14px 24px;
  }

  .pres-shot {
    min-height: 220px;
    padding: 18px 14px;
  }

  .pres-shot img {
    max-height: min(56vh, 420px);
    border-radius: 14px;
  }

  .pres-closing {
    padding: 36px max(16px, env(safe-area-inset-left)) 48px max(16px, env(safe-area-inset-right));
  }

  .pres-closing-inner {
    padding: 28px 18px 30px;
  }

  .pres-closing-lead {
    font-size: 0.95rem;
  }

  .pres-closing-actions--stores {
    gap: 16px;
    width: 100%;
  }

  .pres-closing-actions .pres-cta {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    box-sizing: border-box;
  }

  .pres-store-badges {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 12px;
  }

  .pres-store-btn {
    width: 100%;
    max-width: 100%;
    min-height: 56px;
  }

  .pres-hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .pres-hero-ctas .pres-cta {
    width: 100%;
    justify-content: center;
  }

  .pres-store-hint {
    font-size: 0.8rem;
    padding: 10px 12px;
    text-align: left;
  }

  .pres-foot {
    padding: 24px max(14px, env(safe-area-inset-left)) max(40px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-right));
  }

  .pres-foot-links {
    flex-direction: column;
    gap: 10px;
  }

  .pres-foot-print {
    min-height: 44px;
    width: 100%;
    max-width: 320px;
  }

  .pres-lightbox {
    padding: max(6px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    align-items: center;
  }

  .pres-lightbox__panel {
    width: 100%;
    max-width: 100%;
    max-height: min(94dvh, 100%);
    border-radius: 12px;
  }

  .pres-lightbox__img-wrap {
    padding: 50px max(10px, env(safe-area-inset-left)) 12px max(10px, env(safe-area-inset-right));
  }

  .pres-lightbox__img {
    max-height: min(48dvh, 340px);
  }

  .pres-lightbox__caption {
    padding: 14px 16px 18px;
  }

  .pres-lightbox__title {
    font-size: 1rem;
  }

  .pres-lightbox__text {
    font-size: 0.88rem;
  }

  .pres-lightbox__close {
    width: 48px;
    height: 48px;
    top: max(8px, env(safe-area-inset-top));
    right: max(8px, env(safe-area-inset-right));
  }
}

@media print {
  .no-print,
  .pres-lightbox {
    display: none !important;
  }

  body.pres-lightbox-open {
    overflow: visible !important;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    background: #fff !important;
    color: #111 !important;
  }

  h1,
  h2,
  h3,
  .pres-section h2,
  .pres-card h3,
  .pres-closing h2 {
    color: #111 !important;
  }

  .pres-hero-lead,
  .pres-section-desc,
  .pres-card p,
  .pres-closing-lead,
  .pres-foot,
  .pres-foot span,
  .pres-benefit-list {
    color: #333 !important;
  }

  .pres-badge {
    background: #f0f0f0 !important;
    border-color: #ccc !important;
    color: #444 !important;
  }

  a {
    color: #0a5c1f;
  }

  .pres-hero::before {
    display: none;
  }

  .pres-hero {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .pres-section,
  .pres-closing,
  .pres-foot {
    border-color: #ddd;
    break-inside: avoid;
  }

  .pres-section {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .pres-section--alt {
    background: #f6f6f6 !important;
  }

  .pres-card {
    break-inside: avoid;
    box-shadow: none !important;
    border-color: #ccc !important;
    transform: none !important;
    background: #fff !important;
  }

  .pres-shot {
    background: #eee !important;
    border-bottom-color: #ddd;
  }

  .pres-kicker {
    color: #0a5c1f !important;
  }

  .pres-cta {
    border: 1px solid #0a5c1f;
    color: #111 !important;
  }

  .pres-closing-inner {
    background: #f9f9f9 !important;
    border-color: #ddd;
    box-shadow: none;
  }

  .pres-cta--secondary {
    border-color: #0a5c1f;
    color: #0a5c1f !important;
  }

  .pres-hero-eyebrow {
    background: #f0f0f0 !important;
    border-color: #ccc !important;
    color: #0a5c1f !important;
  }

  .pres-shot img {
    box-shadow: 0 0 0 1px #ddd !important;
  }

  .pres-store-btn {
    background: #fff !important;
    border-color: #111 !important;
    color: #111 !important;
  }

  .pres-store-btn__pre,
  .pres-store-btn__name {
    color: #111 !important;
  }

  .pres-store-btn--apple .pres-store-btn__icon {
    color: #111 !important;
  }
}
