:root {
  --orange: #f05a24;
  --orange-dark: #d94712;
  --navy: #172131;
  --navy-soft: #334155;
  --green: #0a9b67;
  --yellow: #f2b705;
  --surface: #ffffff;
  --canvas: #f3f6fc;
  --line: #dbe2ee;
  --muted: #64748b;
  --shadow: 0 18px 42px rgba(23, 33, 49, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

button {
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 226, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 174px;
  height: 40px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: var(--navy-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--orange);
}

.site-nav .nav-download {
  padding: 11px 16px;
  color: #fff;
  background: var(--orange);
  border-radius: 8px;
}

.site-nav .nav-download:hover {
  color: #fff;
  background: var(--orange-dark);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-button svg,
.hero-next svg,
.dialog-close svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero {
  position: relative;
  min-height: min(700px, calc(100svh - 104px));
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 72px 24px 88px;
  color: #fff;
  background: var(--orange);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image {
  background-image: url("/assets/hero-ball.jpg");
  background-size: cover;
  background-position: center 48%;
  opacity: 0.2;
  transform: scale(1.06);
}

.hero-shade {
  z-index: -1;
  background: rgba(123, 36, 7, 0.58);
}

.hero-content {
  width: min(760px, 100%);
  text-align: center;
}

.availability {
  width: fit-content;
  margin: 0 auto 22px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: rgba(23, 33, 49, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.availability span {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}

.hero h1 {
  margin: 0;
  font-size: clamp(76px, 12vw, 144px);
  line-height: 0.88;
  letter-spacing: 0;
  font-style: italic;
  text-shadow: 0 8px 24px rgba(70, 17, 0, 0.28);
}

.hero h1 span {
  color: #ffd028;
}

.hero-topic {
  margin: 22px auto 0;
  color: #fff;
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 850;
  line-height: 1.2;
}

.hero-lead {
  max-width: 690px;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

.store-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-button {
  min-width: 190px;
  min-height: 58px;
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(23, 33, 49, 0.22);
}

.store-button svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.store-button span {
  display: grid;
  text-align: left;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.05;
}

.store-button small {
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 600;
}

.store-button-dark {
  color: #fff;
  background: var(--navy);
}

.store-button-light {
  color: var(--navy);
  background: #fff;
}

.store-button-outline {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

.hero-next {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  transform: translateX(-50%);
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.product-section {
  padding-top: 92px;
  padding-bottom: 104px;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2,
.download-content h2 {
  margin: 8px 0 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.download-content > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-showcase {
  margin-top: 54px;
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.app-screenshot {
  margin: 0;
  width: min(390px, 100%);
  justify-self: center;
  overflow: hidden;
  background: #edf2fb;
  border: 8px solid #111821;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.app-screenshot img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-list {
  display: grid;
}

.feature-item {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.feature-item:last-child {
  border-bottom: 0;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
}

.feature-icon.orange { background: var(--orange); }
.feature-icon.green { background: var(--green); }
.feature-icon.yellow { color: var(--navy); background: var(--yellow); }

.feature-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps-section {
  padding: 92px 0 100px;
  background: var(--canvas);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading.compact {
  max-width: none;
  text-align: center;
}

.steps-list {
  margin: 54px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  counter-reset: step;
}

.steps-list li {
  min-height: 180px;
  padding: 8px 36px;
  border-right: 1px solid var(--line);
}

.steps-list li:last-child {
  border-right: 0;
}

.steps-list span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.steps-list h3 {
  margin: 36px 0 10px;
  font-size: 22px;
}

.steps-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.download-section {
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) 1.15fr;
  overflow: hidden;
  background: #fff;
}

.download-art {
  min-height: 470px;
  overflow: hidden;
  background: var(--orange);
}

.download-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-content {
  max-width: 720px;
  padding: 72px clamp(36px, 7vw, 110px);
  align-self: center;
}

.download-content h2 {
  font-size: clamp(38px, 5vw, 64px);
}

.store-actions.centered {
  justify-content: flex-start;
}

.site-footer {
  min-height: 120px;
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 28px;
  color: #dbe2ee;
  background: var(--navy);
}

.site-footer img {
  width: 145px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.footer-links a,
.footer-preferences {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.footer-preferences {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.footer-links a:hover,
.footer-preferences:hover {
  color: #ffd028;
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  left: 20px;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 33, 49, 0.2);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-copy {
  max-width: 650px;
}

.cookie-banner h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.cookie-banner p,
.cookie-dialog-intro,
.cookie-category p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cookie-banner a {
  color: var(--orange-dark);
  font-weight: 800;
}

.cookie-actions,
.cookie-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-button-primary {
  color: #fff;
  background: var(--orange);
}

.cookie-button-primary:hover {
  background: var(--orange-dark);
}

.cookie-button-secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.cookie-button-secondary:hover {
  background: var(--canvas);
}

.cookie-dialog {
  position: relative;
  width: min(560px, calc(100% - 32px));
  padding: 32px;
  color: var(--navy);
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Fallback for embedded browsers without the native dialog API. */
body.dialog-open::before {
  content: "";
  position: fixed;
  z-index: 85;
  inset: 0;
  background: rgba(23, 33, 49, 0.64);
  backdrop-filter: blur(4px);
}

.cookie-dialog.is-open,
.store-dialog.is-open {
  display: block;
  position: fixed;
  z-index: 90;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}

.cookie-dialog::backdrop {
  background: rgba(23, 33, 49, 0.64);
  backdrop-filter: blur(4px);
}

.cookie-dialog h2 {
  margin: 6px 0 10px;
  font-size: 28px;
}

.cookie-category {
  margin-top: 16px;
  padding: 16px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.cookie-category h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.cookie-category input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--orange);
}

.cookie-dialog-actions {
  margin-top: 20px;
}

.store-dialog {
  width: min(420px, calc(100% - 32px));
  padding: 34px;
  color: var(--navy);
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.store-dialog::backdrop {
  background: rgba(23, 33, 49, 0.64);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.dialog-icon {
  width: 56px;
  height: 56px;
  margin: 6px auto 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
}

.dialog-icon svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.store-dialog h2 {
  margin: 0;
  font-size: 28px;
}

.store-dialog p {
  margin: 12px 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.dialog-action {
  width: 100%;
  min-height: 48px;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.legal-page {
  padding: 88px 24px 104px;
  background: var(--surface);
}

.legal-shell {
  width: min(820px, 100%);
  margin: 0 auto;
}

.legal-shell h1 {
  margin: 8px 0 10px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
}

.legal-updated {
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.legal-shell h2 {
  margin: 42px 0 12px;
  font-size: 26px;
  line-height: 1.15;
}

.legal-shell p {
  color: var(--navy-soft);
  font-size: 17px;
  line-height: 1.75;
}

.legal-shell a {
  color: var(--orange-dark);
  font-weight: 800;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--navy);
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table th {
  color: var(--navy);
  background: var(--canvas);
  font-size: 12px;
  text-transform: uppercase;
}

.legal-table td {
  color: var(--navy-soft);
  line-height: 1.5;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-note {
  margin-top: 46px;
  padding: 18px 20px;
  color: var(--navy-soft) !important;
  background: var(--canvas);
  border-left: 4px solid var(--orange);
  font-size: 14px !important;
  line-height: 1.6 !important;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
    padding: 10px 18px;
  }

  .brand img {
    width: 148px;
    height: 36px;
  }

  .menu-button {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    padding: 12px;
    display: none;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: calc(100svh - 92px);
    padding: 54px 20px 70px;
  }

  .product-section {
    padding-top: 70px;
    padding-bottom: 76px;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .feature-list {
    max-width: 640px;
    margin: 0 auto;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .steps-list li {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps-list li:last-child {
    border-bottom: 0;
  }

  .steps-list h3 {
    margin-top: 14px;
  }

  .download-section {
    grid-template-columns: 1fr;
  }

  .download-art {
    min-height: 310px;
    max-height: 420px;
  }

  .download-content {
    max-width: none;
  }

  .legal-page {
    padding: 64px 20px 78px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    justify-items: center;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .cookie-actions,
  .cookie-dialog-actions {
    justify-content: stretch;
  }

  .cookie-button {
    flex: 1 1 150px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 70px;
  }

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

  .hero-topic {
    font-size: 18px;
  }

  .store-actions {
    width: 100%;
  }

  .store-button {
    width: 100%;
    min-width: 0;
  }

  .section-shell {
    width: min(100% - 32px, 1180px);
  }

  .section-heading h2,
  .download-content h2 {
    font-size: 38px;
  }

  .product-showcase {
    margin-top: 38px;
  }

  .feature-item {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
  }

  .steps-section {
    padding: 70px 0;
  }

  .download-content {
    padding: 56px 20px;
  }

  .legal-shell h2 {
    font-size: 23px;
  }

  .legal-shell p {
    font-size: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
