body { min-width: 0; }

.hero {
  min-height: auto;
  gap: clamp(28px, 5vw, 72px);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) 0;
}

.hero-copy,
.hero-visual,
.phone-content,
.section,
.trust-strip div,
.legal-main {
  text-align: center;
}

.hero-copy h1,
.hero-text,
.hero-note,
.section h2,
.legal-intro,
.legal-main section p {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy h1 { font-size: clamp(2.75rem, 6.5vw, 5.8rem); }
.hero-text { margin-top: 20px; line-height: 1.6; }
.hero-actions { justify-content: center; margin-top: 24px; }
.eyebrow { justify-content: center; margin-bottom: 14px; }
.phone-frame { width: min(100%, 440px); transform: none; }
.phone-bar { height: 44px; }
.phone-content { gap: 7px; padding: 18px 16px 20px; }
.trust-strip { margin-bottom: 44px; }
.trust-strip div { padding-block: 18px; }
.section { padding: 56px 0; }
.section h2 { font-size: clamp(2rem, 5vw, 3.5rem); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  justify-items: center;
  gap: 14px;
  margin-bottom: 28px;
  text-align: center;
}

.section-heading > p { max-width: 620px; line-height: 1.6; }
.mode-grid,
.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mode-card,
.steps-grid li { padding: 24px; text-align: center; }
.mode-icon { margin: 0 auto 22px; }
.steps-grid li > span { margin-bottom: 22px; }

.download-section {
  grid-template-columns: minmax(220px, .68fr) minmax(0, 1.32fr);
  gap: clamp(30px, 7vw, 84px);
}

.app-preview { width: min(100%, 300px); }
.download-copy { display: grid; justify-items: center; text-align: center; }
.download-copy > p:not(.eyebrow) { line-height: 1.65; }
.download-copy .button { margin: 12px 0; }
.download-copy .button-primary { background: var(--orange); color: #160b02; cursor: pointer; }
.download-section { grid-template-columns: minmax(0, 1fr); }
.tournament-preview { border: 1px solid var(--line); border-radius: 20px; padding: 32px 24px; background: linear-gradient(145deg, #28190f, var(--surface) 65%); }
.tournament-preview > strong { display: block; font-size: clamp(1.4rem, 3vw, 2rem); }
.preview-formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0; }
.preview-formats span { padding: 10px 18px; border: 1px solid #76411f; border-radius: 10px; color: var(--amber); }
.preview-features { display: grid; gap: 12px; color: var(--muted); }
.device-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: 100%; margin-top: 24px; }
.device-downloads article { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.device-downloads p { color: var(--muted); line-height: 1.6; }
@media (max-width: 600px) { .device-downloads { grid-template-columns: minmax(0, 1fr); } .tournament-preview { padding: 24px 16px; } }
.download-copy small { max-width: 600px; }

.site-footer {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  padding: 28px 0 38px;
  text-align: center;
}

.site-footer nav { justify-content: center; }
.legal-main { padding: 56px 0 72px; }
.legal-main section { padding: 26px 0; }
.legal-main section:first-of-type { margin-top: 42px; }

@media (max-width: 820px) {
  .site-nav { top: 100%; width: min(310px, 100%); text-align: center; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .hero-copy { min-width: 0; overflow-wrap: anywhere; }
  .hero-visual { width: min(100%, 520px); }
  .phone-frame { padding: 8px; border-radius: 18px; }
  .phone-frame picture { display: block; }
  .phone-frame picture img {
    height: clamp(150px, 42vw, 210px);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 12px;
  }
  .phone-bar { height: 30px; }
  .phone-content { gap: 5px; padding: 12px 10px; }
  .phone-content strong { font-size: 1.15rem; }
  .section { padding: 46px 0; }
  .mode-grid,
  .steps-grid,
  .download-section { grid-template-columns: minmax(0, 1fr); }
  .mode-card,
  .steps-grid li { width: min(100%, 560px); margin-inline: auto; }
  .app-preview { display: none; }
}

@media (max-width: 480px) {
  .site-header { width: min(100% - 20px, var(--max)); }
  .hero,
  .section,
  .trust-strip,
  .site-footer { width: min(100% - 24px, var(--max)); }
  .hero-copy h1 { font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.02; }
  .hero-actions .button { min-width: 0; text-align: center; }
  .download-copy .button { min-width: 0; max-width: 100%; white-space: normal; }
  .section { padding: 40px 0; }
  .legal-main { width: min(100% - 24px, 860px); padding: 42px 0 56px; }
  .legal-main section { padding: 22px 0; }
}

@media (max-width: 360px) {
  .site-header { min-height: 62px; }
  .brand { gap: 7px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: .78rem; }
  .menu-button { width: 42px; height: 42px; }
  .hero { padding-top: 28px; }
  .hero-text { font-size: .94rem; line-height: 1.55; }
  .eyebrow { font-size: .68rem; letter-spacing: .09em; }
  .button { padding-inline: 14px; }
  .mode-card { padding: 20px; }
}
