:root {
  --bg: #0b0e14;
  --surface: #161b22;
  --surface-strong: #1c222b;
  --accent: #f5c518;
  --text: #ffffff;
  --muted: #8b949e;
  --link: #1a73e8;
  --border: #30363d;
  --soft-white: rgba(255, 255, 255, 0.12);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 197, 24, 0.12), transparent 24rem),
    radial-gradient(circle at 16% 82%, rgba(26, 115, 232, 0.08), transparent 22rem),
    linear-gradient(145deg, #070a10 0%, #0b0e14 46%, #111722 100%);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.hero-logo {
  display: block;
  width: clamp(72px, 10vw, 104px);
  height: clamp(72px, 10vw, 104px);
  margin-bottom: 22px;
  object-fit: cover;
  border: 1px solid rgba(48, 54, 61);
  border-radius: 18px;
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 42px rgba(245, 197, 24, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  width: min(1280px, calc(100% - 40px));
  min-height: calc(100svh - 72px - 76px);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) 0;
}

.hero-content {
  max-width: 600px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(36px, 5.8vw, 68px);
  font-weight: 700;
  line-height: 1.06;
}

h1 span {
  color: var(--accent);
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--text);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  min-height: 54px;
  padding: 10px 17px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.22);
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  background: rgba(245, 197, 24, 0.08);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.store-button svg,
.store-button img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  fill: currentColor;
  object-fit: contain;
}

.store-button img[src="apple.logo.png"] {
  width: 20px;
  height: 24px;
  flex-basis: 24px;
}

.store-button span {
  display: grid;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.08;
}

.store-button small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(118%, 820px);
  margin-left: auto;
  padding: 10px 0;
  overflow: visible;
  background: transparent;
}

.hero-visual img {
  display: block;
  width: 112%;
  height: auto;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.38));
}

.hero-visual-mobile {
  display: none;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(100%, 430px);
  margin: 0 0 24px;
}

.features article {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  align-items: center;
  column-gap: 14px;
  min-height: 78px;
  padding: 15px 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(22, 27, 34, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.features article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(245, 197, 24, 0.95), rgba(245, 197, 24, 0.18));
}

.features article::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.09), transparent 64%);
  pointer-events: none;
}

.features span {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: rgba(11, 14, 20, 0.64);
  border: 1px solid rgba(245, 197, 24, 0.24);
  border-radius: 12px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.features strong {
  grid-area: title;
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.features p {
  grid-area: text;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(48, 54, 61, 0.78);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.footer-actions a {
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.footer-actions {
  display: flex;
  justify-self: end;
  justify-content: flex-end;
  gap: 12px;
}

.footer-actions a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: rgba(11, 14, 20, 0.72);
  border: 1px solid rgba(48, 54, 61, 0.78);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
}

.footer-actions a:hover,
.footer-actions a:focus-visible {
  background: rgba(245, 197, 24, 0.08);
  border-color: rgba(245, 197, 24, 0.42);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-actions svg,
.footer-actions img {
  width: 14px;
  height: 14px;
  fill: currentColor;
  object-fit: contain;
}

.site-footer a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(245, 197, 24, 0.7);
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 620px);
    min-height: auto;
    gap: 24px;
    padding: 28px 0 34px;
  }

  .hero-visual {
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    padding: 0;
  }

  .hero-visual img {
    width: 112%;
    max-width: none;
    transform: translateX(0);
  }

  .hero-visual-desktop {
    display: none;
  }

  .hero-visual-mobile {
    display: grid;
    margin: 4px auto 18px;
  }

  .features {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .site-footer {
    width: min(100% - 32px, 620px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-actions {
    justify-self: end;
  }
}

@media (max-width: 520px) {
  .hero-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .hero {
    width: calc(100% - 32px);
    gap: 12px;
    padding: 16px 0 24px;
  }

  h1 {
    margin-bottom: 12px;
    font-size: clamp(30px, 8.4vw, 38px);
  }

  .hero-copy {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .features {
    gap: 10px;
    margin-bottom: 14px;
  }

  .features article {
    min-height: 66px;
    padding: 12px;
  }

  .features span {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .store-buttons,
  .store-button {
    width: 100%;
  }

  .store-button {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .hero-visual img {
    width: 118%;
    transform: translateX(0);
  }

  .site-footer {
    width: calc(100% - 32px);
    padding: 18px 0 24px;
  }

  .features article {
    min-height: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
