/*
  BEARSCAR public site
  Product-first landing page aligned with the dark gold app interface.
*/

:root {
  --bg: #080807;
  --bg-2: #0f1112;
  --surface: #151719;
  --surface-2: #1d2023;
  --ink: #f6f2ea;
  --muted: #b7b0a3;
  --quiet: #7d766c;
  --line: rgba(246, 242, 234, 0.12);
  --line-strong: rgba(246, 242, 234, 0.22);
  --gold: #d0a957;
  --gold-2: #f0c86d;
  --steel: #7aa3c8;
  --green: #90b97f;
  --rose: #be7d86;
  --danger: #ff706a;
  --max: 1240px;
  --pad: 48px;
  --display: 'Archivo Black', Impact, sans-serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(208, 169, 87, 0.06), transparent 520px),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--gold);
  color: #090807;
}

.topnav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(100%, var(--max));
  min-height: 78px;
  margin: 0 auto;
  padding: 18px var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(208, 169, 87, 0.3);
}

.brand-word,
.foot-mark {
  font-family: var(--display);
  letter-spacing: 0;
}

.brand-word {
  font-size: 20px;
}

.topnav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.topnav-links a,
.foot-col a {
  transition: color 180ms var(--ease);
}

.topnav-links a:hover,
.foot-col a:hover,
.foot-bottom a:hover {
  color: var(--gold-2);
}

.topnav-cta,
.ghost-link,
.invite-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
}

.topnav-cta,
.invite-primary {
  background: var(--gold);
  color: #11100d;
  padding: 10px 17px;
}

.topnav-cta:hover,
.invite-primary:hover,
.appstore:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: calc(100svh - 132px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  isolation: isolate;
}

.hero-media,
.hero-video,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background:
    linear-gradient(90deg, #060606 0%, #0b0b0a 42%, #14110d 100%),
    url('/videos/bearscar-live-hero-poster.jpg') center / cover;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.96) 0%, rgba(8, 8, 7, 0.86) 32%, rgba(8, 8, 7, 0.5) 68%, rgba(8, 8, 7, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.1), rgba(8, 8, 7, 0.94));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(410px, 0.78fr);
  gap: 46px;
  align-items: center;
  width: min(100%, var(--max));
  min-height: inherit;
  margin: 0 auto;
  padding: 42px var(--pad) 78px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  font-family: var(--display);
  font-size: 104px;
  letter-spacing: 0;
  line-height: 0.88;
}

.hero-title span:first-child {
  color: var(--ink);
}

.hero-title span:last-child {
  color: var(--gold);
}

.hero-lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.ghost-link {
  border: 1px solid var(--line-strong);
  background: rgba(246, 242, 234, 0.06);
  color: var(--ink);
  padding: 11px 18px;
}

.hero-product {
  position: relative;
  min-height: 610px;
}

.hero-phone {
  position: absolute;
  width: 300px;
  border-radius: 8px;
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(246, 242, 234, 0.12);
}

.hero-phone-main {
  right: 120px;
  top: 0;
  z-index: 2;
}

.hero-phone-side {
  right: 0;
  top: 116px;
  z-index: 1;
  opacity: 0.88;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, var(--max));
  margin: -44px auto 0;
  padding: 0 var(--pad);
  position: relative;
  z-index: 3;
}

.signal-strip div {
  min-height: 88px;
  border: 1px solid var(--line);
  border-right: 0;
  background: rgba(15, 17, 18, 0.9);
  padding: 16px;
  backdrop-filter: blur(16px);
}

.signal-strip div:first-child {
  border-radius: 8px 0 0 8px;
}

.signal-strip div:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 8px 8px 0;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0;
}

.signal-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.challenge-loop,
.product-showcase,
.mode-section,
.badge-section,
.pro-section,
.foot {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 100px var(--pad);
}

.section-copy {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-copy.compact {
  max-width: 620px;
}

.section-copy h2,
.badge-copy h2,
.pro-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 50px;
  letter-spacing: 0;
  line-height: 1;
}

.section-copy p:not(.eyebrow),
.badge-copy p,
.pro-copy p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(21, 23, 25, 0.72);
}

.loop-step {
  min-height: 238px;
  border-right: 1px solid var(--line);
  padding: 24px;
}

.loop-step:last-child {
  border-right: 0;
}

.loop-step span {
  display: block;
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 36px;
  line-height: 1;
}

.loop-step h3,
.mode-band h3 {
  margin: 24px 0 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.08;
}

.loop-step p,
.mode-band p,
.phone-card figcaption {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.product-showcase {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.phone-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

.phone-card {
  margin: 0;
}

.phone-card img {
  width: 100%;
  border-radius: 8px;
  background: #000;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(246, 242, 234, 0.12);
}

.phone-card.raised {
  transform: translateY(-48px);
}

.phone-card figcaption {
  padding: 14px 4px 0;
  color: var(--ink);
  font-weight: 900;
}

.mode-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mode-band article {
  position: relative;
  min-height: 284px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(208, 169, 87, 0.09), rgba(246, 242, 234, 0.025)),
    var(--surface);
  padding: 24px;
  overflow: hidden;
}

.mode-band article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(122, 163, 200, 0.13), rgba(246, 242, 234, 0.025)),
    var(--surface);
}

.mode-band article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(144, 185, 127, 0.12), rgba(246, 242, 234, 0.025)),
    var(--surface);
}

.mode-video,
.mode-scrim {
  position: absolute;
  inset: 0;
}

.mode-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transform: scale(1.04);
}

.mode-scrim {
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.54), rgba(8, 8, 7, 0.88)),
    linear-gradient(90deg, rgba(8, 8, 7, 0.92), rgba(8, 8, 7, 0.34));
}

.mode-band span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
}

.mode-band h3,
.mode-band p {
  position: relative;
  z-index: 1;
}

.badge-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.badge-copy {
  max-width: 560px;
}

.badge-vault {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(208, 169, 87, 0.12), transparent 46%),
    #0e1011;
}

.badge-vault img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid rgba(208, 169, 87, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  padding: 16px;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.42));
}

.pro-section {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.pro-bear {
  width: min(100%, 500px);
  margin: 0 auto;
  filter: drop-shadow(0 32px 80px rgba(208, 169, 87, 0.18));
}

.pro-copy {
  max-width: 560px;
}

.pro-copy .appstore {
  margin-top: 30px;
}

.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid rgba(246, 242, 234, 0.88);
  border-radius: 8px;
  background: var(--ink);
  color: #090807;
  padding: 12px 22px 12px 17px;
  transition: transform 180ms var(--ease), box-shadow 220ms var(--ease);
}

.appstore-glyph {
  width: 28px;
  height: 28px;
}

.appstore-stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.appstore-pre {
  margin-bottom: 4px;
  color: rgba(9, 8, 7, 0.62);
  font-size: 11px;
  font-weight: 800;
}

.appstore-name {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: 0;
}

.appstore--lg {
  min-height: 64px;
  padding: 14px 26px 14px 20px;
}

.appstore--lg .appstore-name {
  font-size: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.foot {
  border-top: 1px solid var(--line);
  padding-top: 56px;
  padding-bottom: 32px;
}

.foot-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.foot-col h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 13px;
}

.foot-col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  padding: 3px 0;
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-mark {
  font-size: 24px;
}

.foot-tag,
.foot-bottom {
  color: var(--quiet);
  font-size: 13px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
}

.foot-bottom a {
  color: var(--gold);
  font-weight: 900;
}

.invite-fallback-page .topnav {
  max-width: 980px;
}

.invite-fallback-page main {
  min-height: calc(100svh - 290px);
  display: grid;
  place-items: center;
  padding: 72px var(--pad) 80px;
}

.invite-fallback {
  width: min(100%, 720px);
  text-align: center;
}

.invite-fallback-icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 28px;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

.invite-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.invite-fallback h1 {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--display);
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.invite-copy {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 20px;
}

.invite-actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.invite-primary {
  min-height: 58px;
  padding: 14px 24px;
}

.appstore--invite {
  min-height: 58px;
}

.invite-note {
  max-width: 520px;
  margin: 22px auto 0;
  color: var(--quiet);
  font-size: 14px;
}

.auth-confirm-page {
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(208, 169, 87, 0.1), transparent 340px),
    linear-gradient(135deg, rgba(122, 163, 200, 0.08), transparent 48%),
    var(--bg);
}

.auth-topnav {
  max-width: 1120px;
}

.auth-confirm-main {
  min-height: calc(100svh - 206px);
  display: grid;
  place-items: center;
  padding: 62px var(--pad) 76px;
}

.auth-confirm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
  gap: 34px;
  align-items: stretch;
  width: min(100%, 980px);
}

.auth-confirm-copy {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 242, 234, 0.08), rgba(208, 169, 87, 0.08) 46%, rgba(122, 163, 200, 0.08)),
    rgba(15, 17, 18, 0.86);
  padding: 44px;
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.44);
}

.auth-confirm-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 84px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-confirm-lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.22;
  font-weight: 800;
}

.auth-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.auth-open-app {
  min-height: 58px;
  padding: 14px 24px;
}

.auth-confirm-panel {
  position: relative;
  display: grid;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.18), rgba(8, 8, 7, 0.42)),
    var(--surface);
  padding: 26px;
  overflow: hidden;
}

.auth-confirm-panel::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.14;
  content: '';
}

.auth-score-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 8, 7, 0.72);
  padding: 18px;
}

.auth-score-card--done {
  border-color: rgba(208, 169, 87, 0.44);
  background: rgba(208, 169, 87, 0.13);
}

.auth-score-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-score-card strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
  text-align: right;
}

.auth-score-card--done strong {
  color: var(--gold-2);
}

.auth-confirm-icon {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  margin: 16px auto 0;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.auth-foot {
  max-width: 1120px;
  padding-top: 0;
  padding-bottom: 28px;
}

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px var(--pad) 96px;
}

.doc-eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.doc h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0;
}

.doc-meta {
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font-size: 13px;
}

.doc h2 {
  margin: 36px 0 12px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0;
}

.doc p,
.doc ul li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.doc p {
  margin: 0 0 16px;
}

.doc ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.doc ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.doc ul li::before {
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: '';
}

.doc a {
  color: var(--gold);
  font-weight: 900;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-video {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (max-width: 1080px) {
  :root {
    --pad: 32px;
  }

  .topnav-links {
    gap: 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: 92px;
  }

  .hero-product {
    min-height: 500px;
    max-width: 620px;
  }

  .hero-phone {
    width: 270px;
  }

  .hero-phone-main {
    left: 0;
    right: auto;
  }

  .hero-phone-side {
    left: 220px;
    right: auto;
  }

  .loop-grid,
  .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-strip div,
  .signal-strip div:first-child,
  .signal-strip div:last-child {
    border-radius: 0;
  }

  .signal-strip div:nth-child(odd) {
    border-right: 0;
  }

  .signal-strip div:nth-child(1) {
    border-radius: 8px 0 0 0;
  }

  .signal-strip div:nth-child(2) {
    border-radius: 0 8px 0 0;
    border-right: 1px solid var(--line);
  }

  .signal-strip div:nth-child(3) {
    border-radius: 0 0 0 8px;
  }

  .signal-strip div:nth-child(4) {
    border-radius: 0 0 8px 0;
    border-right: 1px solid var(--line);
  }

  .loop-step:nth-child(2) {
    border-right: 0;
  }

  .loop-step:nth-child(1),
  .loop-step:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .phone-stage,
  .mode-band {
    grid-template-columns: 1fr;
  }

  .phone-card {
    max-width: 390px;
  }

  .phone-card.raised {
    transform: none;
    justify-self: end;
  }

  .badge-section,
  .pro-section,
  .auth-confirm {
    grid-template-columns: 1fr;
  }

  .pro-bear {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  :root {
    --pad: 20px;
  }

  body {
    font-size: 16px;
  }

  .topnav {
    min-height: 68px;
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand-word {
    font-size: 18px;
  }

  .topnav-links {
    display: none;
  }

  .topnav-cta {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .hero {
    min-height: calc(100svh - 116px);
  }

  .hero-inner {
    gap: 22px;
    align-items: end;
    padding-top: 38px;
    padding-bottom: 70px;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(8, 8, 7, 0.38) 0%, rgba(8, 8, 7, 0.82) 52%, rgba(8, 8, 7, 0.98) 100%),
      linear-gradient(90deg, rgba(8, 8, 7, 0.62), rgba(8, 8, 7, 0.26));
  }

  .hero-title {
    font-size: 58px;
  }

  .hero-lead {
    font-size: 25px;
    margin-top: 18px;
  }

  .hero-product {
    min-height: 300px;
  }

  .hero-phone {
    width: 176px;
  }

  .hero-phone-side {
    left: 136px;
    top: 68px;
  }

  .signal-strip {
    margin-top: -26px;
  }

  .signal-strip,
  .loop-grid,
  .badge-vault {
    grid-template-columns: 1fr;
  }

  .signal-strip div,
  .signal-strip div:nth-child(1),
  .signal-strip div:nth-child(2),
  .signal-strip div:nth-child(3),
  .signal-strip div:nth-child(4) {
    border-right: 1px solid var(--line);
    border-radius: 0;
  }

  .signal-strip div:first-child {
    border-radius: 8px 8px 0 0;
  }

  .signal-strip div:last-child {
    border-radius: 0 0 8px 8px;
  }

  .challenge-loop,
  .product-showcase,
  .mode-section,
  .badge-section,
  .pro-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-copy h2,
  .badge-copy h2,
  .pro-copy h2,
  .doc h1 {
    font-size: 34px;
  }

  .section-copy p:not(.eyebrow),
  .badge-copy p,
  .pro-copy p {
    font-size: 16px;
  }

  .loop-step,
  .loop-step:nth-child(1),
  .loop-step:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .loop-step:last-child {
    border-bottom: 0;
  }

  .phone-card,
  .phone-card.raised {
    justify-self: stretch;
    max-width: none;
  }

  .mode-band article {
    min-height: 0;
  }

  .badge-section {
    gap: 30px;
  }

  .badge-vault img {
    max-width: 210px;
    margin: 0 auto;
  }

  .pro-section {
    min-height: 0;
  }

  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }

  .invite-actions {
    flex-direction: column;
  }

  .invite-primary,
  .appstore--invite {
    width: 100%;
  }

  .invite-fallback h1 {
    font-size: 36px;
  }

  .auth-confirm-main {
    padding-top: 32px;
    padding-bottom: 46px;
  }

  .auth-confirm-copy {
    min-height: 0;
    padding: 28px 22px;
  }

  .auth-confirm-lead {
    font-size: 18px;
  }

  .auth-confirm-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-open-app {
    width: 100%;
  }

  .auth-confirm-panel {
    padding: 16px;
  }

  .auth-score-card {
    min-height: 68px;
  }

  .auth-score-card strong {
    font-size: 19px;
  }
}

@media (max-width: 430px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-lead {
    font-size: 22px;
  }

  .hero-product {
    min-height: 260px;
  }

  .hero-phone {
    width: 154px;
  }

  .hero-phone-side {
    left: 112px;
    top: 58px;
  }

  .appstore {
    width: 100%;
    justify-content: center;
  }

  .ghost-link {
    width: 100%;
  }

  .foot-cols {
    grid-template-columns: 1fr;
  }
}
