:root {
  color-scheme: dark;
  --orange: #ff7a00;
  --green: #31d978;
  --text: #f7f7f7;
  --line: rgba(255,255,255,.12);
}

* { box-sizing: border-box; }
html { background: #090909; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: #090909;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: .85rem; font-weight: 800; letter-spacing: .13em; }
.brand img { border-radius: 11px; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-link { padding-bottom: 3px; border-bottom: 1px solid var(--orange); color: #d9d9dc; font-size: .9rem; text-decoration: none; }
.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  color: #fff;
  background: radial-gradient(circle at 31% 103%, #ffd600 0 13%, #ff7a00 28%, #ff0169 50%, #d300c5 70%, #7638fa 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.24), 0 7px 18px rgba(211,0,197,.16);
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease;
}
.instagram-link svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.8; }
.instagram-link .instagram-dot { fill: #fff; stroke: none; }
.instagram-link:hover, .instagram-link:focus-visible { filter: brightness(1.12); transform: translateY(-2px); }

.hero {
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr);
  align-items: center;
  gap: clamp(48px, 8vw, 116px);
  padding: 62px 0 70px;
}
.label { margin: 0 0 22px; color: var(--orange); font-size: .76rem; font-weight: 800; letter-spacing: .16em; }
h1 {
  margin: 0 0 28px;
  font-size: clamp(4.1rem, 7.6vw, 6.9rem);
  font-weight: 480;
  line-height: .94;
  letter-spacing: -.055em;
}
.intro { max-width: 540px; margin: 0 0 32px; color: #bbbcc0; font-size: clamp(1.04rem, 1.7vw, 1.22rem); line-height: 1.6; }

.store-button {
  width: fit-content;
  min-width: 214px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 16px;
  border: 1px solid #33343a;
  border-radius: 15px;
  background: #17181c;
  box-shadow: inset 0 1px rgba(255,255,255,.08);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.store-button:hover, .store-button:focus-visible { border-color: var(--orange); transform: translateY(-2px); }
.store-button svg { width: 31px; height: 31px; fill: #fff; }
.store-button span { display: grid; font-size: 1.08rem; font-weight: 720; line-height: 1.04; }
.store-button small { margin-bottom: 4px; font-size: .67rem; font-weight: 500; }

.features { display: flex; flex-wrap: wrap; gap: 11px 20px; margin: 34px 0 0; padding: 0; list-style: none; color: #8e8f94; font-size: .83rem; }
.features li { display: flex; align-items: center; gap: 7px; }
.features span { color: var(--orange); font-size: .78rem; font-weight: 900; }

.product { position: relative; min-height: 700px; display: grid; place-items: center; }
.product::before { content: ""; position: absolute; width: min(500px, 92%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,0,.16), rgba(255,122,0,0) 68%); filter: blur(34px); }
.phone {
  position: relative;
  z-index: 1;
  width: 326px;
  aspect-ratio: 737 / 1600;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 52px;
  background: linear-gradient(145deg, #32343a 0%, #111216 42%, #24262b 100%);
  box-shadow: 0 48px 100px rgba(0,0,0,.64), 0 12px 28px rgba(0,0,0,.54), inset 0 1px rgba(255,255,255,.2);
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 50%;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #050506;
  box-shadow: inset 0 -1px rgba(255,255,255,.05);
  transform: translateX(-50%);
}
.phone-screen { width: 100%; height: 100%; overflow: hidden; border-radius: 44px; background: #111; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.note { position: absolute; z-index: 2; min-width: 224px; margin: 0; padding: 13px 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(17,18,22,.92); box-shadow: 0 16px 35px rgba(0,0,0,.4); backdrop-filter: blur(14px); }
.note::before { content: ""; position: absolute; top: 17px; left: -5px; width: 9px; height: 30px; border-radius: 5px; background: var(--orange); }
.note b, .note span { display: block; }
.note b { margin-bottom: 4px; font-size: .86rem; }
.note span { color: #8d8f95; font-size: .72rem; }
.warning { top: 18%; left: -7%; }
.help { right: -8%; bottom: 19%; }
.help::before { background: var(--green); }

footer { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: #696a6f; font-size: .8rem; }
footer div { display: flex; align-items: center; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover, footer a:focus-visible { color: #fff; }
.footer-instagram {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #fff;
  background: radial-gradient(circle at 31% 103%, #ffd600 0 13%, #ff7a00 28%, #ff0169 50%, #d300c5 70%, #7638fa 100%);
}
.footer-instagram svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.8; }
.footer-instagram .instagram-dot { fill: #fff; stroke: none; }

@media (max-width: 860px) {
  main { width: min(100% - 28px, 620px); }
  header { height: 72px; }
  .brand img { width: 38px; height: 38px; border-radius: 10px; }
  .brand span { font-size: .75rem; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 64px; }
  .copy { text-align: center; }
  h1 { font-size: clamp(3.65rem, 16vw, 5.7rem); }
  .intro { margin-left: auto; margin-right: auto; }
  .store-button { margin: 0 auto; }
  .features { justify-content: center; }
  .product { min-height: 650px; }
  .phone { width: 292px; border-radius: 47px; }
  .phone-screen { border-radius: 39px; }
  .warning { top: 16%; left: max(0px, calc(50% - 190px)); }
  .help { right: max(0px, calc(50% - 190px)); bottom: 16%; }
}

@media (max-width: 430px) {
  .header-actions { gap: 14px; }
  .instagram-link svg { width: 21px; height: 21px; }
  .header-link { font-size: .8rem; }
  .hero { padding-top: 48px; }
  .label { font-size: .68rem; }
  h1 { font-size: clamp(3.3rem, 16vw, 4.3rem); }
  .intro { font-size: 1rem; line-height: 1.55; }
  .store-button { width: 100%; justify-content: center; }
  .features { max-width: 280px; margin-left: auto; margin-right: auto; }
  .product { min-height: 625px; margin-top: 2px; }
  .phone { width: 276px; }
  .note { min-width: 198px; padding: 11px 13px; }
  .warning { left: -2px; }
  .help { right: -2px; }
  footer { padding: 22px 0; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; } }
