@font-face {
  font-family: "F1 Display";
  src: url("../fonts/f1-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "F1 Display";
  src: url("../fonts/f1-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "F1 Wide";
  src: url("../fonts/f1-wide.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #080808;
  --ink: #111215;
  --paper: #eeeeea;
  --white: #ffffff;
  --muted: #a7a8ac;
  --paper-muted: #62646a;
  --line: rgba(255, 255, 255, 0.14);
  --paper-line: #c9cac6;
  --red: #e10600;
  --red-hover: #ff1e16;
  --yellow: #f4c430;
  --container: 1180px;
  --header-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family: "F1 Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { letter-spacing: 0; -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--black);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }
.site-container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(14px);
}

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "F1 Wide", sans-serif; font-size: 19px; font-weight: 700; }
.brand img { width: 42px; height: 42px; border-radius: 7px; object-fit: cover; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a { color: #d3d4d6; font-size: 14px; transition: color 160ms ease; }
.desktop-nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.header-download,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.header-download { min-height: 40px; padding: 0 18px; background: var(--red); font-size: 14px; }
.header-download:hover,
.button-primary:hover { background: var(--red-hover); transform: translateY(-2px); }
.header-download svg,
.button svg { width: 18px; height: 18px; }

.menu-button { width: 42px; height: 42px; display: none; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; }
.menu-button svg { width: 24px; height: 24px; }
.mobile-nav { position: fixed; inset: var(--header-height) 0 auto; padding: 18px 24px 28px; border-bottom: 1px solid var(--line); background: #080808; }
.mobile-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; }

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #080808;
}

.hero-background,
.hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-background { object-fit: cover; object-position: center; }
.hero-overlay { background: rgba(0, 0, 0, 0.53); box-shadow: inset 360px 0 240px rgba(0,0,0,.55), inset 0 -180px 150px rgba(0,0,0,.7); }
.hero-content { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 90px; }
.hero-meta { margin: 0 0 24px; display: flex; gap: 20px; color: #c8c9cc; font-family: "F1 Wide", sans-serif; font-size: 11px; }
.hero-meta span:first-child { color: var(--red); }
.hero h1 { margin: 0; font-family: "F1 Wide", sans-serif; font-size: 84px; line-height: .9; font-weight: 700; }
.hero-kicker { margin: 24px 0 0; font-size: 28px; font-weight: 700; }
.hero-copy { max-width: 610px; margin: 18px 0 0; color: #d0d1d3; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.button { padding: 0 24px; }
.button-primary { color: var(--white); background: var(--red); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #e2e3e4; font-size: 14px; font-weight: 700; }
.text-link svg { width: 17px; height: 17px; transition: transform 160ms ease; }
.text-link:hover svg { transform: translateY(3px); }

.hero-footer { position: absolute; z-index: 2; inset: auto 0 0; border-top: 1px solid var(--line); background: rgba(8,8,8,.68); }
.hero-footer-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #c7c8ca; font-size: 13px; }
.live-dot { display: inline-flex; align-items: center; gap: 9px; }
.live-dot i { width: 8px; height: 8px; border-radius: 50%; background: #56c779; box-shadow: 0 0 0 5px rgba(86,199,121,.12); }

.overview-section { padding: 112px 0 0; color: var(--ink); background: var(--paper); overflow: hidden; }
.section-heading { display: grid; grid-template-columns: 150px minmax(0, 1.1fr) minmax(280px, .7fr); gap: 38px; align-items: start; }
.section-index { margin: 5px 0 0; color: var(--red); font-family: "F1 Wide", sans-serif; font-size: 11px; font-weight: 700; }
.section-heading h2,
.download-content h2 { margin: 0; font-size: 46px; line-height: 1.15; font-weight: 700; }
.section-heading > p:last-child { margin: 0; color: var(--paper-muted); font-size: 15px; line-height: 1.8; }

.overview-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; margin-top: 72px; }
.overview-facts { align-self: stretch; padding: 54px 0 90px; }
.overview-facts article { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--paper-line); }
.overview-facts article:last-child { border-bottom: 1px solid var(--paper-line); }
.overview-facts article > span { padding-top: 3px; color: var(--red); font-family: "F1 Wide", sans-serif; font-size: 11px; }
.overview-facts h3 { margin: 0 0 8px; font-size: 20px; }
.overview-facts p { margin: 0; color: var(--paper-muted); font-size: 14px; line-height: 1.7; }

.overview-visual { position: relative; height: 720px; }
.visual-word { position: absolute; top: 72px; left: 0; color: #d9d9d4; font-family: "F1 Wide", sans-serif; font-size: 120px; line-height: 1; }
.phone { position: absolute; overflow: hidden; border: 1px solid #32343a; border-radius: 28px 28px 0 0; background: #000; box-shadow: 0 28px 70px rgba(0,0,0,.24); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-primary { z-index: 2; width: 310px; height: 672px; right: 90px; bottom: 0; }
.phone-secondary { z-index: 1; width: 236px; height: 512px; right: 0; bottom: 0; transform: rotate(5deg); opacity: .84; }

.features-section { padding: 118px 0; background: var(--black); }
.dark-heading { padding-bottom: 72px; }
.dark-heading > p:last-child { color: var(--muted); }

.feature-story { min-height: 590px; display: grid; grid-template-columns: 86px minmax(300px, .8fr) minmax(300px, 1.2fr); gap: 38px; align-items: center; border-top: 1px solid var(--line); overflow: hidden; }
.feature-story:last-child { border-bottom: 1px solid var(--line); }
.story-number { align-self: start; padding-top: 34px; color: #686a70; font-family: "F1 Wide", sans-serif; font-size: 12px; }
.story-copy { max-width: 430px; }
.story-copy > svg { width: 32px; height: 32px; margin-bottom: 54px; color: var(--red); }
.story-label { margin: 0 0 12px; color: var(--red); font-family: "F1 Wide", sans-serif; font-size: 11px; }
.story-copy h3 { margin: 0 0 16px; font-size: 32px; line-height: 1.3; }
.story-copy > p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.story-media { height: 520px; align-self: end; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.story-media img { width: 260px; height: 520px; object-fit: cover; object-position: top; border: 1px solid #33363b; border-bottom: 0; border-radius: 26px 26px 0 0; box-shadow: 0 24px 54px rgba(0,0,0,.4); }
.widget-media img { width: 360px; height: 470px; object-fit: cover; object-position: top; }
.story-reverse .story-copy { grid-column: 3; grid-row: 1; }
.story-reverse .story-media { grid-column: 2; grid-row: 1; }

.download-section { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.download-section > img,
.download-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.download-section > img { object-fit: cover; object-position: center; }
.download-overlay { background: rgba(0,0,0,.7); box-shadow: inset 0 0 180px rgba(0,0,0,.72); }
.download-content { position: relative; z-index: 2; }
.download-content .section-index { margin-bottom: 20px; }
.download-content > p:not(.section-index) { margin: 20px 0 30px; color: #c9cacc; font-size: 17px; }

.site-footer { padding: 72px 0 28px; border-top: 1px solid var(--line); background: #080808; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.footer-brand > p { max-width: 360px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-nav div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-nav strong { margin-bottom: 8px; font-size: 14px; }
.footer-nav a { color: var(--muted); font-size: 13px; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: #76787e; font-size: 12px; }

.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity 540ms ease, transform 540ms ease; }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .menu-button { display: flex; }
  .section-heading { grid-template-columns: 120px 1fr; }
  .section-heading > p:last-child { grid-column: 2; max-width: 600px; }
  .overview-layout { gap: 24px; }
  .phone-primary { right: 60px; }
  .feature-story { grid-template-columns: 54px minmax(260px,.9fr) minmax(280px,1.1fr); gap: 26px; }
}

@media (max-width: 720px) {
  :root { --header-height: 64px; }
  .site-container { width: min(calc(100% - 32px), var(--container)); }
  .header-download { display: none; }
  .brand { font-size: 17px; }
  .brand img { width: 38px; height: 38px; }
  .hero { min-height: 690px; align-items: flex-start; }
  .hero-background { object-position: 58% center; }
  .hero-overlay { background: rgba(0,0,0,.58); box-shadow: inset 0 -190px 130px rgba(0,0,0,.82); }
  .hero-content { padding-top: 142px; padding-bottom: 110px; }
  .hero-meta { gap: 14px; font-size: 10px; }
  .hero h1 { font-size: 40px; }
  .hero-kicker { margin-top: 20px; font-size: 23px; }
  .hero-copy { margin-top: 16px; font-size: 15px; line-height: 1.75; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 28px; }
  .button { width: 100%; }
  .hero-footer-inner { min-height: 72px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 7px; padding-top: 15px; padding-bottom: 15px; }
  .overview-section { padding-top: 78px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p:last-child { grid-column: auto; }
  .section-heading h2,
  .download-content h2 { font-size: 34px; }
  .overview-layout { grid-template-columns: 1fr; margin-top: 48px; }
  .overview-facts { padding: 0; }
  .overview-visual { height: 610px; margin-top: 10px; }
  .visual-word { top: 70px; left: -8px; font-size: 70px; }
  .phone-primary { width: 250px; height: 542px; right: 44px; }
  .phone-secondary { width: 185px; height: 402px; right: -18px; }
  .features-section { padding: 82px 0; }
  .dark-heading { padding-bottom: 48px; }
  .feature-story,
  .story-reverse { min-height: 720px; grid-template-columns: 1fr; gap: 0; padding-top: 28px; }
  .story-number { grid-column: 1; grid-row: 1; padding: 0 0 34px; }
  .story-copy,
  .story-reverse .story-copy { grid-column: 1; grid-row: 2; }
  .story-copy > svg { margin-bottom: 38px; }
  .story-copy h3 { font-size: 27px; }
  .story-media,
  .story-reverse .story-media { grid-column: 1; grid-row: 3; height: 430px; margin-top: 44px; }
  .story-media img { width: 216px; height: 430px; }
  .widget-media img { width: 290px; height: 390px; }
  .download-section { min-height: 520px; }
  .footer-main { grid-template-columns: 1fr; gap: 50px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 36px; }
  .phone-primary { right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}
