/* ESCALE FITNESS — vitrine publique (roadmap v2, itération 2). Feuille autonome, mobile d'abord, sans framework. */
:root {
  --brand: #db956a;
  --brand-dark: #c8845a;
  --brand-soft: #dbb6ac;
  --brand-tint: #f6e9e3;
  --ink: #1f1f1f;
  --muted: #6b6b6b;
  --surface: #ffffff;
  --surface-2: #faf6f3;
  --kids: #5aa9d6;
  --kids-tint: #e6f3fa;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 30px rgba(31, 31, 31, .07);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .08), 0 22px 48px rgba(31, 31, 31, .14);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.public { margin: 0; font-family: var(--font); color: var(--ink); background: var(--surface); line-height: 1.55; }
a { color: var(--brand-dark); }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------------------- boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 20px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(219, 149, 106, .35); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--brand-tint); color: var(--ink); }
.btn-secondary:hover { background: #f0dccd; }
.btn-outline { background: transparent; border-color: rgba(31, 31, 31, .18); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- header */
.pub-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0, 0, 0, .05); }
.pub-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; }
.pub-logo img { height: 46px; }
.pub-nav { display: none; gap: 20px; font-size: 14px; font-weight: 600; }
.pub-nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.pub-nav a:hover, .pub-nav a[aria-current="page"] { color: var(--brand-dark); border-bottom-color: var(--brand); }
.pub-actions { display: flex; gap: 8px; align-items: center; }
.pub-menu-toggle { display: inline-flex; background: none; border: 0; font-size: 26px; line-height: 1; padding: 4px; color: var(--ink); }
.pub-mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 8px 18px 14px; border-top: 1px solid rgba(0, 0, 0, .06); background: #fff; }
.pub-mobile-nav a { padding: 11px 8px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: 10px; }
.pub-mobile-nav a:hover { background: var(--brand-tint); }
.pub-mobile-nav.open { display: flex; }
@media (min-width: 960px) { .pub-nav { display: flex; } .pub-menu-toggle { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 31, 31, .25) 0%, rgba(31, 31, 31, .62) 60%, rgba(31, 31, 31, .78) 100%); }
.hero .container { min-height: 78vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 72px 18px 40px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffe9db; margin-bottom: 14px; }
.hero-kicker::before { content: ''; width: 28px; height: 2px; background: var(--brand); }
.hero h1 { font-size: clamp(32px, 6.5vw, 58px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -.02em; max-width: 14ch; text-wrap: balance; }
.hero p.lead { font-size: clamp(16px, 2.2vw, 19px); color: rgba(255, 255, 255, .88); margin: 0 0 22px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.stat { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); border-radius: 14px; padding: 10px 14px; min-width: 110px; }
.stat b { display: block; font-size: 22px; line-height: 1.1; }
.stat span { font-size: 12px; color: rgba(255, 255, 255, .85); }
@media (min-width: 900px) { .hero .container { min-height: 70vh; padding-bottom: 56px; } }

/* ---------------------------------------------------------------- sections */
.section { padding: 48px 0; }
.section-alt { background: var(--surface-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(24px, 3.6vw, 34px); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 560px; }
.section-head a { white-space: nowrap; font-weight: 700; text-decoration: none; }
.universe-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.universe-tag::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.universe-tag.kids { color: #2a6f94; }

/* ---------------------------------------------------------------- cartes activités */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card { position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--card-color, var(--brand-tint)); overflow: hidden; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card-media.is-icon img { object-fit: contain; padding: 14%; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .tag { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 5px 10px; }
.card-media .tag.kids { background: rgba(42, 111, 148, .92); color: #fff; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 19px; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.card-text { margin: 0; color: var(--muted); font-size: 14px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; background: var(--card-color, var(--brand-tint)); border-radius: 999px; padding: 5px 10px; color: var(--ink); }
.slots { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.slots li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--surface-2); }
.slots li b { font-weight: 700; }
.slots .full { color: #c62828; font-weight: 700; }
.slots .ok { color: #2e7d32; font-weight: 600; }
.card-footer { margin-top: auto; padding-top: 10px; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.price { font-weight: 800; font-size: 16px; }
.price small { font-weight: 500; color: var(--muted); font-size: 12px; }

/* ---------------------------------------------------------------- tarifs */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.plan { position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.plan::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--card-color, var(--brand)); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(35deg); background: var(--brand); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 40px; }
.plan h3 { margin: 4px 0 0; font-size: 17px; letter-spacing: -.01em; }
.plan .activity { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan .price { font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.plan .price small { font-size: 13px; letter-spacing: 0; }
.plan ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.plan li { padding-left: 20px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-dark); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* ---------------------------------------------------------------- infos pratiques */
.info-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.info { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.info .ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: var(--brand-tint); margin-bottom: 10px; }
.info h3 { margin: 0 0 6px; font-size: 16px; }
.info p { margin: 0; color: var(--muted); font-size: 14px; }
.info a { font-weight: 700; }

/* ---------------------------------------------------------------- bandeau CTA */
.cta { background: linear-gradient(135deg, #db956a 0%, #c8845a 100%); color: #fff; border-radius: 24px; padding: 32px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; box-shadow: 0 20px 40px rgba(219, 149, 106, .35); }
.cta h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; }
.cta p { margin: 0; color: rgba(255, 255, 255, .9); }

/* ---------------------------------------------------------------- planning */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.filter { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(0, 0, 0, .1); background: #fff; border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; transition: transform .1s; }
.filter .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--card-color, var(--brand-tint)); }
.filter:hover { transform: translateY(-1px); }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter.kids.active { background: var(--kids); border-color: var(--kids); }
.filter.adults.active { background: var(--brand); border-color: var(--brand); }
.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.week-nav h2 { font-size: 18px; margin: 0; }
.day { margin-bottom: 22px; }
.day h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; color: var(--muted); }
.day h3 .today { color: var(--brand-dark); }
.session { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px 12px 0; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden; }
.session .time { font-weight: 800; font-size: 15px; text-align: center; padding: 10px 0; border-radius: 0 14px 14px 0; background: var(--card-color, var(--brand-tint)); }
.session .time small { display: block; font-weight: 600; color: rgba(31, 31, 31, .6); font-size: 11px; }
.session .what { min-width: 0; }
.session .what b { display: block; font-size: 15px; }
.session .what span { font-size: 13px; color: var(--muted); }
.session .seats { font-size: 12px; font-weight: 700; color: #2e7d32; white-space: nowrap; text-align: right; }
.session .seats.full { color: #c62828; }
.session .seats.few { color: #c77700; }
.empty { padding: 28px; text-align: center; color: var(--muted); background: var(--surface-2); border-radius: var(--radius); }
@media (max-width: 480px) { .session { grid-template-columns: 58px 1fr; } .session > div:last-child { grid-column: 2; display: flex; align-items: center; gap: 10px; } .session .seats { text-align: left; } }

/* ---------------------------------------------------------------- planning : carrousel d'activités, calendrier (îlot React) */
.filters-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cal-toggle { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s; }
.cal-toggle.active, .cal-toggle:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips { position: relative; margin: 0 0 16px; }
.chips-track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 36px; scrollbar-width: none; }
.chips-track::-webkit-scrollbar { display: none; }
.chip-activity { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; border: 2px solid transparent; border-radius: 999px; padding: 4px 14px 4px 4px; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; transition: transform .1s, filter .15s; }
.chip-activity:hover { filter: brightness(.96); transform: translateY(-1px); }
.chip-activity.active { border-color: var(--ink); }
.chip-icon { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .85); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; font-size: 10px; }
.chip-icon img { width: 24px; height: 24px; object-fit: contain; }
.chips-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); background: #fff; box-shadow: var(--shadow); font-size: 20px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.chips-arrow-left { left: 0; } .chips-arrow-right { right: 0; }
.cal { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; margin: 0 0 18px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px 0; }
.cal-weekdays { color: var(--muted); font-size: 11px; font-weight: 700; text-align: center; margin-bottom: 4px; }
.cal-day { margin: 0 auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 14px; color: var(--ink); cursor: pointer; transition: background .12s; }
.cal-day:hover:not(:disabled) { background: var(--surface-2); }
.cal-day.today { background: var(--brand-tint); font-weight: 800; }
.cal-day.selected { background: var(--ink); color: #fff; }
.cal-day.out { opacity: .18; } .cal-day.past { opacity: .35; cursor: default; }
.cal-dots { display: flex; gap: 3px; height: 8px; margin-top: 2px; }
.cal-dots i { width: 6px; height: 6px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.cal-day.selected .cal-dots i { background: #fff !important; box-shadow: none; }
.cal-help { margin: 8px 0 0; font-size: 11px; color: var(--muted); }

/* ---------------------------------------------------------------- page activité */
.activity-hero { position: relative; isolation: isolate; color: #fff; border-radius: 0 0 32px 32px; overflow: hidden; background: var(--card-color, var(--brand)); }
.activity-hero .hero-bg { object-fit: cover; }
.activity-hero.is-icon .hero-bg { object-fit: contain; padding: 8% 20%; opacity: .95; }
.activity-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 31, 31, .05) 0%, rgba(31, 31, 31, .55) 70%, rgba(31, 31, 31, .75) 100%); }
.activity-hero .container { min-height: 56vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 18px 28px; }
.activity-hero h1 { margin: 6px 0 8px; font-size: clamp(30px, 6vw, 50px); letter-spacing: -.02em; line-height: 1.05; }
.activity-hero .lead { color: rgba(255, 255, 255, .9); margin: 0 0 16px; font-size: 17px; max-width: 560px; }
.activity-hero .back { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; opacity: .9; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.fact { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); border-radius: 14px; padding: 8px 12px; }
.fact small { display: block; color: rgba(255, 255, 255, .8); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.fact b { font-size: 15px; }
.activity-body { display: grid; gap: 28px; padding-top: 28px; }
.desc { white-space: pre-line; color: var(--muted); font-size: 16px; }
.desc h2 { color: var(--ink); font-size: 22px; margin: 0 0 10px; }
.sticky-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.sticky-card .price { font-size: 28px; }
@media (min-width: 900px) { .activity-body { grid-template-columns: 1.4fr .8fr; align-items: start; } .sticky-card { position: sticky; top: 84px; } }

/* ---------------------------------------------------------------- footer */
.pub-footer { background: #1f1f1f; color: #ddd; padding: 40px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 24px; font-size: 14px; }
.pub-footer a { color: #fff; text-decoration: none; }
.pub-footer .cols { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pub-footer h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
.pub-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.pub-footer .legal { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); color: #999; font-size: 12px; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }

/* ---------------------------------------------------------------- messages */
.messages { position: fixed; top: 78px; right: 16px; left: 16px; z-index: 60; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.message { pointer-events: auto; background: #fff; border-left: 4px solid var(--brand); box-shadow: var(--shadow); padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.message.error { border-left-color: #c62828; }
.message.success { border-left-color: #2e7d32; }
@media (min-width: 600px) { .messages { left: auto; width: 360px; } }

/* ---------------------------------------------------------------- animations d'apparition */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: reveal .6s ease forwards; }
  .reveal:nth-child(2) { animation-delay: .06s; } .reveal:nth-child(3) { animation-delay: .12s; } .reveal:nth-child(4) { animation-delay: .18s; }
  @keyframes reveal { to { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------- page « Installer l'application » */
.inst-hero { position: relative; overflow: hidden; background: radial-gradient(90% 120% at 85% 10%, #f8dccb 0%, rgba(248, 220, 203, 0) 60%), linear-gradient(180deg, var(--surface-2), #fff); }
.inst-hero-grid { display: grid; gap: 28px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.inst-hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 12px; text-wrap: balance; }
.inst-hero .lead { color: var(--muted); font-size: 17px; margin: 0 0 20px; max-width: 520px; }
.inst-status { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.inst-status-dot { width: 10px; height: 10px; border-radius: 50%; background: #c9c9c9; flex: 0 0 auto; }
.inst-status[data-state="todo"] .inst-status-dot { background: var(--brand); box-shadow: 0 0 0 4px rgba(219, 149, 106, .2); }
.inst-status[data-state="ok"] { color: #1e7a46; }
.inst-status[data-state="ok"] .inst-status-dot { background: #2fa463; box-shadow: 0 0 0 4px rgba(47, 164, 99, .18); }
.inst-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.inst-cta [hidden] { display: none; }

.inst-phone { justify-self: center; width: 220px; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 9px; background: #1f1f1f; box-shadow: var(--shadow-lg); transform: rotate(4deg); }
.inst-phone-screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; padding: 30px 16px 0; background: linear-gradient(160deg, #f3c9b0, #db956a 55%, #a86a4a); }
.inst-phone-time { position: absolute; top: 9px; left: 22px; font-size: 11px; font-weight: 700; color: #fff; }
.inst-phone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 12px; }
.inst-phone-grid > span { aspect-ratio: 1; border-radius: 11px; background: rgba(255, 255, 255, .28); }
.inst-phone-app { position: relative; background: none !important; animation: inst-pop 2.8s ease-in-out infinite; }
.inst-phone-app img { width: 100%; border-radius: 11px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.inst-phone-app small { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); font-size: 8px; color: #fff; font-weight: 600; margin-top: 2px; }
.inst-phone-dock { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, .3); }
.inst-phone-dock span { aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, .45); }
@keyframes inst-pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.12); } 90% { transform: scale(.97); } }
@media (min-width: 820px) { .inst-hero-grid { grid-template-columns: 1.3fr 1fr; padding-top: 64px; padding-bottom: 64px; } .inst-phone { width: 250px; } }

.inst-narrow { max-width: 760px; }
.inst-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); margin-bottom: 18px; max-width: 100%; overflow-x: auto; }
.inst-tabs button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; }
.inst-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .06); }
.inst-tabs button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.inst-panel-note { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.inst-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: inst; }
.inst-steps li { counter-increment: inst; position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px 16px 16px 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.inst-steps li::before { content: counter(inst); position: absolute; top: -8px; left: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff; }
.inst-steps li div { display: flex; flex-direction: column; gap: 3px; }
.inst-steps li span:not(.inst-ico) { color: var(--muted); font-size: 14px; }
.inst-ico { flex: 0 0 auto; width: 46px; height: 46px; padding: 10px; border-radius: 13px; background: #f2f2f7; color: #007aff; }
.inst-steps.is-android .inst-ico { background: #eef3fd; color: #1a73e8; }
.inst-ico svg, .inst-perk-ico svg { width: 100%; height: 100%; display: block; }
.inst-foot-note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 13px; margin: 16px 0 0; }
.inst-foot-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--brand-dark); }

.inst-perks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.inst-perks > div { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.inst-perks b { display: block; margin: 10px 0 4px; }
.inst-perks p { margin: 0; color: var(--muted); font-size: 14px; }
.inst-perk-ico { display: block; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-dark); }
@media (prefers-reduced-motion: reduce) { .inst-phone-app { animation: none; } }
