/*
 * squadapp.gg landing page (app/views/landing/show.html.erb).
 * Figma: Desktop 513:844 (1440 wide) and Mobile 496:702 (390 wide), file
 * Design-System-SquadApp. Tokens below are the Figma variables.
 *
 * Breakpoints: > 1024 desktop frame · 641–1024 stacked (tablet / narrow window)
 * · <= 640 mobile frame. The two phone mock-ups keep their exact Figma geometry
 * and scale with --s (desktop = mobile × 1.25 for the hero, × 1.4 for chat).
 */

/* <FONTS> */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Outfit-Bold.woff2") format("woff2"); }

/* <TOKENS> */
:root {
  color-scheme: dark;
  --surface-page: #0f0f11;
  --surface-default: #1e1e23;
  --surface-action: #ff8a3d;
  --surface-action-light: #331c0c;
  --surface-secondary: #9b7ede;
  --border-default: #2e2e34;
  --text-headings: #eeeeef;
  --text-body: #dbdbdd;
  --text-placeholder: #94949a;
  --text-disabled: #707079;
  --text-action: #ff8a3d;
  --text-on-action: #000;
  --neutral-300: #94949a;
  --neutral-600: #3d3d46;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-headings: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-lg: 8px;
  --radius-xl: 24px;

  --gutter: 120px;
  --header-h: 81px;
}

@media (max-width: 1279px) { :root { --gutter: 64px; } }
@media (max-width: 1024px) { :root { --gutter: 40px; } }
@media (max-width: 640px)  { :root { --gutter: 20px; --header-h: 56px; } }

/* <BASE> */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--surface-action); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.accent { color: var(--text-action); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 8px 16px; border-radius: var(--radius-lg);
  background: var(--surface-action); color: var(--text-on-action); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.mobile-only { display: none !important; }
@media (max-width: 640px) {
  .mobile-only { display: flex !important; }
  .desktop-only { display: none !important; }
}

/* <TYPE> */
.h1 { font-family: var(--font-headings); font-weight: 700; font-size: 60px; line-height: 72px; color: var(--text-body); }
.h3 { font-family: var(--font-headings); font-weight: 700; font-size: 40px; line-height: 48px; color: var(--text-headings); }
.h4 { font-family: var(--font-headings); font-weight: 700; font-size: 32px; line-height: 40px; color: var(--text-headings); }
.eyebrow { font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: 1.68px; color: var(--text-action); }
@media (max-width: 640px) {
  .h1 { font-size: 48px; line-height: 56px; }
  .h3, .h4 { font-size: 28px; line-height: 32px; }
}

/* <GLOWS> decorative radial gradients from Figma */
.glow { position: absolute; z-index: 0; pointer-events: none; }
.glow img { width: 100%; height: 100%; }

/* <BUTTON> Figma "Button" (primary) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 4px 12px;
  background: var(--surface-action); border: 1px solid var(--surface-action);
  border-radius: var(--radius-xl);
  color: var(--text-on-action); font-weight: 500; font-size: 16px; line-height: 20px;
  white-space: nowrap;
  transition: filter 0.15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn--sm { height: 40px; }
.btn--md { height: 48px; padding-inline: 32px; border-radius: 40px; font-size: 18px; line-height: 22px; }
@media (max-width: 640px) { .btn--sm { height: 32px; } }

/* <LOGO> SquadApp wordmark: two vector halves placed by percentage */
.logo { position: relative; display: block; overflow: hidden; }
.logo--m { width: 160px; height: 32px; }
.logo--xs { width: 90px; height: 18px; }
.logo__left, .logo__right { position: absolute; }
.logo__left { top: 1.17%; left: 0.35%; width: 57.8%; height: 97.49%; }
.logo__right { top: 3.32%; left: 61.95%; width: 37.6%; height: 91.98%; }
@media (max-width: 640px) { .site-header .logo--m { width: 120px; height: 24px; } }

/* <HEADER> Figma "LP / Header": sticky */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 17, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-default);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.site-nav { display: flex; gap: 40px; font-weight: 500; color: var(--text-body); }
.site-nav a { transition: color 0.15s ease; }
.site-nav a:hover { color: var(--text-headings); }
@media (max-width: 640px) { .site-header__inner { height: 55px; padding-block: 12px; } }

/* <STORE BADGES> Figma "LP / Store badge" */
/* Grid so both badges share the widest one's width: stacked = one column,
   side by side = equal 1fr columns. */
.badges { display: inline-grid; gap: 12px; }
.badges--column, .badges--responsive { grid-auto-flow: row; }
@media (max-width: 640px) {
  .badges--responsive { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .badges--responsive .badge { padding-inline: 12px; } /* fits two equal badges on a 375px screen */
}
.badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 16px 8px 12px;
  background: #000; border: 1px solid var(--neutral-300); border-radius: var(--radius-lg);
  color: #fff; white-space: nowrap;
  transition: border-color 0.15s ease;
}
.badge:hover { border-color: #fff; }
.badge__logo--apple { width: 24px; height: 24px; }
.badge__logo--google { width: 22px; height: 24px; }
.badge__text { display: flex; flex-direction: column; align-items: flex-start; }
.badge__small { font-weight: 500; font-size: 10px; line-height: 12px; }
.badge__small--google { letter-spacing: 0.6px; }
.badge__big { font-weight: 600; font-size: 18px; line-height: 22px; }

/* <QR CARD> Figma "LP / QR card" (desktop only) */
.qr-card {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 12px 24px 12px 12px;
  background: var(--surface-default); border: 1px solid var(--border-default); border-radius: var(--radius-xl);
}
.qr-card__code { padding: 8px; background: #fff; border-radius: var(--radius-lg); }
.qr-card__code svg { display: block; width: 88px; height: 88px; }
.qr-card__text { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.qr-card__title { font-weight: 600; color: var(--text-headings); white-space: nowrap; }
.qr-card__body { width: 168px; font-size: 14px; line-height: 16px; color: var(--text-placeholder); }

/* <HERO> */
.hero { position: relative; overflow: hidden; }
.hero__inner { position: relative; display: flex; align-items: flex-start; gap: 64px; padding-top: 32px; padding-bottom: 96px; }
.hero__copy { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 40px; }
.hero__eyebrow { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: 1.68px; color: var(--text-body); }
.hero__eyebrow img { width: 12.81px; height: 9.33px; margin: 3.33px 1.6px; } /* 16px sports_esports frame */
.hero__title span { display: block; }
.hero__lead { max-width: 520px; font-size: 20px; line-height: 24px; color: var(--text-body); }
.hero__cta { display: flex; align-items: center; gap: 24px; padding-top: 56px; }
.platforms { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 16px; }
.platforms img { width: 14px; height: 14px; }
.platforms__label { color: var(--text-placeholder); }
.platforms__name { font-weight: 500; color: var(--text-body); }

.glow--hero-right { left: 700px; top: 60px; width: 960px; height: 960px; }
.glow--hero-left { left: -260px; top: -300px; width: 900px; height: 700px; }

/* <PHONE> Figma "LP / Phone". Every measure is a ratio of the width --pw. */
.phone {
  position: relative; overflow: hidden; flex: none;
  width: var(--pw);
  height: calc(var(--pw) * 2.108);
  background: #000;
  border: calc(var(--pw) * 0.006) solid var(--neutral-600);
  border-radius: calc(var(--pw) * 0.16);
  box-shadow: 0 calc(var(--pw) * 0.112) calc(var(--pw) * 0.224) rgba(0, 0, 0, 0.6);
}
.phone__screen {
  position: absolute;
  top: calc(var(--pw) * 0.0222); left: calc(var(--pw) * 0.0222);
  width: calc(100% - var(--pw) * 0.0444); height: calc(100% - var(--pw) * 0.0444);
  object-fit: cover;
  border-radius: calc(var(--pw) * 0.132);
}
.phone--tilt-left { transform: rotate(-5deg); }
.phone--tilt-right { transform: rotate(5deg); }

/* <HERO VISUAL> two tilted phones + "Session locked." toast (Figma "LP / Toast") */
.hero-visual { --s: 1.25; position: relative; z-index: 1; flex: none; width: calc(350px * var(--s)); height: calc(530px * var(--s)); }
.hero-visual .phone { --pw: calc(215px * var(--s)); }
.hero-visual__slot { position: absolute; display: flex; align-items: center; justify-content: center; width: calc(253.683px * var(--s)); height: calc(470.234px * var(--s)); }
.hero-visual__slot--back { left: 0; top: calc(21.26px * var(--s)); }
.hero-visual__slot--front { left: calc(110.5px * var(--s)); top: calc(16px * var(--s)); }
.toast {
  position: absolute; left: calc(74px * var(--s)); top: calc(380px * var(--s));
  display: flex; align-items: center; gap: calc(12px * var(--s));
  padding: calc(12px * var(--s)) calc(20px * var(--s)) calc(12px * var(--s)) calc(12px * var(--s));
  background: var(--surface-default);
  border: calc(1px * var(--s)) solid var(--border-default);
  border-radius: calc(16px * var(--s));
  filter: drop-shadow(0 calc(16px * var(--s)) calc(16px * var(--s)) rgba(0, 0, 0, 0.5));
  white-space: nowrap;
}
.toast__check { display: flex; align-items: center; justify-content: center; flex: none; width: calc(34px * var(--s)); height: calc(34px * var(--s)); border-radius: 50%; background: var(--surface-action); }
.toast__check img { width: calc(20px * var(--s)); height: calc(20px * var(--s)); }
.toast__text { display: flex; flex-direction: column; gap: calc(4px * var(--s)); }
.toast__title { font-weight: 600; font-size: calc(16px * var(--s)); line-height: calc(20px * var(--s)); color: var(--text-headings); }
.toast__body { font-size: calc(14px * var(--s)); line-height: calc(16px * var(--s)); color: var(--text-placeholder); }

/* <FEATURES> */
.features { position: relative; overflow: hidden; }
.features__inner { display: flex; flex-direction: column; gap: 128px; padding-top: 96px; padding-bottom: 120px; }
.feature { display: flex; align-items: center; gap: 96px; }
.feature--reverse { flex-direction: row-reverse; }
.feature__copy { flex: 0 1 480px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.feature__body { font-size: 20px; line-height: 24px; color: var(--text-placeholder); }
.feature__visual { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; }
.icon-tile { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-lg); background: var(--surface-action-light); }
.icon-tile img { width: 22px; height: 22px; }

/* UI cards (Figma "UI — availability settings" / "UI — suggested slots") */
.ui-card {
  width: 480px; max-width: 100%;
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px;
  background: var(--surface-default); border: 1px solid var(--border-default); border-radius: var(--radius-xl);
}
.ui-card__image { width: 100%; height: auto; border-radius: 12px; }
.ui-card__context { display: flex; align-items: center; gap: 8px; }
.ui-card__context img { width: 16px; height: 16px; }
.ui-card__context-title { flex: 1 1 0; min-width: 0; font-weight: 600; font-size: 14px; line-height: 16px; color: var(--text-headings); }
.chip {
  flex: none; padding: 4px 8px;
  background: var(--surface-secondary); border: 1px solid var(--surface-secondary); border-radius: var(--radius-xl);
  font-weight: 600; font-size: 12px; line-height: 16px; color: var(--text-on-action); white-space: nowrap;
}
.ui-card__crop { position: relative; overflow: hidden; aspect-ratio: 446 / 303; border: 1px solid var(--border-default); border-radius: 12px; }
.ui-card__crop img { position: absolute; left: -0.1%; top: -178.04%; width: 100%; height: auto; }

/* Chat visual: two phones + labels. Desktop = mobile frame × 1.4. */
.chat-visual { --s: 1.4; position: relative; flex: none; width: calc(350px * var(--s)); height: calc(440px * var(--s)); }
.chat-visual .phone { --pw: calc(175px * var(--s)); position: absolute; }
.chat-visual__inbox { left: calc(4px * var(--s)); top: 0; }
.chat-visual__session { left: calc(171px * var(--s)); top: calc(56px * var(--s)); }
.glow--chat { left: calc(-45px * var(--s)); top: calc(20px * var(--s)); width: calc(440px * var(--s)); height: calc(420px * var(--s)); }
.pill-label {
  position: absolute; z-index: 1; overflow: hidden;
  display: flex; align-items: center; gap: calc(8px * var(--s));
  padding: calc(8px * var(--s)) calc(12px * var(--s)) calc(8px * var(--s)) calc(8px * var(--s));
  background: var(--surface-default);
  border: calc(1px * var(--s)) solid var(--border-default);
  border-radius: calc(40px * var(--s));
  box-shadow: 0 calc(10px * var(--s)) calc(24px * var(--s)) rgba(0, 0, 0, 0.5);
  font-weight: 600; font-size: calc(12px * var(--s)); line-height: calc(16px * var(--s));
  color: var(--text-headings); white-space: nowrap;
}
.pill-label__icon { display: flex; align-items: center; justify-content: center; flex: none; width: calc(24px * var(--s)); height: calc(24px * var(--s)); border-radius: 50%; background: var(--surface-action); }
.pill-label__icon img { width: calc(14px * var(--s)); height: calc(14px * var(--s)); }
.pill-label__icon img.pill-label__esports { width: calc(11.21px * var(--s)); height: calc(8.17px * var(--s)); } /* glyph inside the 14px frame */
.chat-visual__label-direct { left: 0; top: calc(300px * var(--s)); }
.chat-visual__label-session { left: calc(139px * var(--s)); top: calc(392px * var(--s)); }

/* <SECTION COPY> shared by comparison + FAQ */
.section-copy { flex: 0 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.section-copy__body { font-size: 20px; line-height: 24px; color: var(--text-placeholder); }

/* <COMPARISON> */
.comparison { background: var(--surface-default); }
.comparison__inner { display: flex; align-items: center; gap: 96px; padding-block: 96px; }
.compare { flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--surface-page); border: 1px solid var(--border-default); border-radius: var(--radius-xl); }
.compare__table { width: 100%; border-collapse: collapse; }
.compare__table th, .compare__table td { border-bottom: 1px solid var(--border-default); }
.compare__table tbody tr:last-child th, .compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__table thead th { height: 100px; padding: 12px 8px; font-weight: 600; font-size: 12px; line-height: 16px; text-align: center; vertical-align: middle; }
.compare__table thead th:first-child { padding: 12px 12px 12px 16px; }
.compare__table tbody th { padding: 12px 12px 12px 16px; text-align: left; font-weight: 500; font-size: 16px; line-height: 20px; color: var(--text-body); }
.compare__table td { padding: 12px 8px; text-align: center; vertical-align: middle; }
.compare__table td img { width: 20px; height: 20px; margin: 0 auto; }
.compare__col-group { width: 160px; color: var(--text-placeholder); }
.compare__col-us { width: 200px; background: var(--surface-action-light); color: var(--text-action); }
.compare__dash { font-size: 14px; line-height: 16px; color: var(--text-disabled); }

/* <FAQ> Figma "LP / FAQ item" */
.faq__inner { display: flex; align-items: flex-start; gap: 96px; padding-block: 96px; }
.faq__list { flex: 1 1 0; min-width: 0; }
.faq-item { padding: 16px 0; border-bottom: 1px solid var(--border-default); }
.faq-item__q { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; font-weight: 600; color: var(--text-headings); }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q span { flex: 1 1 0; min-width: 0; }
.faq-item__chevron { width: 24px; height: 24px; flex: none; transform: rotate(180deg); transition: transform 0.2s ease; }
.faq-item[open] .faq-item__chevron { transform: none; }
.faq-item__a { margin-top: 8px; color: var(--text-placeholder); }

/* <FINAL CTA> */
.final .wrap { padding-bottom: 96px; }
.final__panel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding: 80px;
  background: var(--surface-default); border: 1px solid var(--border-default); border-radius: var(--radius-xl);
  text-align: center;
}
.final__panel > *:not(.glow) { position: relative; z-index: 1; }
.glow--cta { left: 99px; top: 159px; width: 1000px; height: 600px; }
.final__title { font-family: var(--font-headings); font-weight: 700; font-size: 60px; line-height: 66px; color: var(--text-headings); }
.final__title span { display: block; }
.final__body { font-size: 20px; line-height: 24px; color: var(--text-body); }
.final__cta { display: flex; align-items: center; gap: 24px; padding-top: 16px; }

/* <FOOTER> */
.site-footer { border-top: 1px solid var(--border-default); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; padding-bottom: 40px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 32px; font-size: 14px; line-height: 16px; color: var(--text-placeholder); }
.site-footer__links a { transition: color 0.15s ease; }
.site-footer__links a:hover { color: var(--text-headings); }
.site-footer__copy { font-size: 14px; line-height: 16px; color: var(--text-disabled); }

/* ───────────── 1025–1279: same layout, tighter ───────────── */
@media (max-width: 1279px) {
  .hero__inner { gap: 40px; }
  .feature, .comparison__inner, .faq__inner { gap: 56px; }
  .compare__col-group { width: 120px; }
  .compare__col-us { width: 150px; }
}

/* ───────────── <= 1024: stacked ───────────── */
@media (max-width: 1024px) {
  .hero__inner { flex-direction: column; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 72px; }
  .hero__copy { align-items: center; text-align: center; width: 100%; padding-top: 0; }
  .hero__cta { flex-wrap: wrap; justify-content: center; padding-top: 8px; }
  .hero-visual { --s: 1.1; }
  .glow--hero-right { left: auto; right: -300px; top: 320px; }

  .features__inner { gap: 96px; padding-top: 72px; padding-bottom: 96px; }
  .feature, .feature--reverse { flex-direction: column; align-items: stretch; gap: 32px; }
  .feature__copy { flex: none; max-width: 640px; }
  .feature__visual { flex: none; }

  .comparison__inner, .faq__inner { flex-direction: column; align-items: stretch; gap: 40px; padding-block: 72px; }
  .section-copy { flex: none; max-width: 640px; }
  .compare, .faq__list { flex: none; }

  .final .wrap { padding-bottom: 72px; }
  .final__panel { padding: 56px 32px; }
  .final__cta { flex-wrap: wrap; justify-content: center; }
  .glow--cta { left: 50%; transform: translateX(-50%); }

  /* pt-BR punchline is ~10.3em wide: shrink it so it never wraps (see <= 640). */
  .hero__copy, .final__panel { container-type: inline-size; }
  html[lang="pt-BR"] .hero__title, html[lang="pt-BR"] .final__title { font-size: min(60px, 100cqi / 10.6); }
}

/* ───────────── <= 640: mobile frame (496:702) ───────────── */
@media (max-width: 640px) {
  .hero__inner { gap: 20px; padding-top: 40px; padding-bottom: 16px; }
  .hero__copy { gap: 20px; }
  .hero__lead { font-size: 16px; line-height: 20px; }
  .hero-visual { --s: 1; height: 470px; margin-inline: auto; }
  .glow--hero-right { left: 60px; right: auto; top: 420px; width: 560px; height: 560px; }
  .glow--hero-left { left: -260px; top: -200px; width: 520px; height: 460px; }

  .features__inner { gap: 48px; padding-top: 16px; padding-bottom: 56px; }
  .feature, .feature--reverse { gap: 20px; }
  .feature__body { font-size: 16px; line-height: 20px; }
  .ui-card { width: 100%; }
  .chat-visual { --s: 1; }

  .comparison__inner { gap: 20px; padding-block: 56px; }
  .section-copy__body { font-size: 16px; line-height: 20px; }
  .compare__table tbody th { font-size: 14px; line-height: 16px; }
  .compare__col-group { width: 76px; }
  .compare__col-us { width: 92px; }

  .faq__inner { gap: 8px; padding-top: 56px; padding-bottom: 40px; }
  .faq .section-copy { gap: 8px; }

  .final { position: relative; overflow: hidden; }
  .final .wrap { padding-bottom: 56px; }
  .final__panel { overflow: visible; gap: 16px; padding: 40px 0 0; background: none; border: 0; border-radius: 0; }
  .glow--cta { left: -85px; top: 120px; transform: none; width: 520px; height: 420px; }
  .final__title { font-size: 48px; line-height: 52px; }

  /* Punchline titles: each sentence stays on one line. The size follows the
     column width (cqi); the divisor is the longest line's width in em, so
     pt-BR (“bora marcar” is ~10.3em) gets smaller letters than en (~6.5em). */
  .hero__copy, .final__panel { container-type: inline-size; }
  .hero__title, .final__title { font-size: min(48px, 100cqi / 6.8); line-height: 1.15; }
  html[lang="pt-BR"] .hero__title, html[lang="pt-BR"] .final__title { font-size: min(48px, 100cqi / 10.6); }
  .final__body { font-size: 16px; line-height: 20px; }
  .final__cta { padding-top: 8px; }

  .site-footer__inner { flex-direction: column; gap: 12px; padding-top: 24px; padding-bottom: 40px; }
  .site-footer__links { justify-content: center; gap: 0; font-size: 12px; line-height: 16px; }
  .site-footer__links a + a::before { content: "·"; margin: 0 6px; color: var(--text-placeholder); }
  .site-footer__copy { font-size: 12px; line-height: 16px; }
}

/* Phones narrower than the 390 frame: shrink the mock-ups to fit. */
@media (max-width: 389px) {
  .hero-visual, .chat-visual { --s: 0.86; }
  .hero-visual { height: 410px; }
}
