:root {
  color-scheme: light;
  --blue: #0755a5;
  --blue-dark: #063b76;
  --yellow: #ffc400;
  --ink: #17213a;
  --muted: #647087;
  --soft: #f3f7fb;
  --line: #dce5ef;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }

.site-header { width: min(1160px, calc(100% - 48px)); min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: auto; border-bottom: 1px solid var(--line); }
.brand img { display: block; width: 188px; height: 58px; object-fit: contain; }
nav { display: flex; gap: 28px; color: var(--blue-dark); font-size: 13px; font-weight: 800; }
nav a { padding: 10px 0; border-bottom: 3px solid transparent; }
nav a:hover { border-color: var(--yellow); }

.hero { position: relative; width: min(1160px, calc(100% - 48px)); min-height: 630px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 75px; margin: auto; padding: 90px 0 115px; }
.eyebrow, .section-label { margin: 0; color: var(--blue); font-size: 11px; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 20px 0 0; color: var(--blue-dark); font-size: clamp(3.5rem, 6.3vw, 6.1rem); letter-spacing: -.065em; line-height: .96; }
h1 span { color: var(--blue); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .11em; text-underline-offset: .08em; }
.hero-text { max-width: 590px; margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 23px; border: 2px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 900; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover, .download-card > a:hover { transform: translateY(-2px); }
.button-primary { color: var(--blue-dark); background: var(--yellow); box-shadow: 0 16px 35px rgba(255, 196, 0, .24); }
.button-secondary { color: var(--blue); border-color: var(--blue); background: white; }

.hero-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.yellow-orbit { position: absolute; width: 360px; height: 360px; border: 70px solid rgba(255, 196, 0, .2); border-radius: 50%; }
.device-card { position: relative; width: min(440px, 100%); aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; border: 9px solid #182238; border-radius: 20px; box-shadow: 0 45px 85px rgba(6, 59, 118, .23); background: radial-gradient(circle at 85% 15%, rgba(255, 196, 0, .22), transparent 13rem), linear-gradient(145deg, #0755a5, #052e61); color: white; text-align: center; transform: perspective(900px) rotateY(-6deg); }
.device-card img { width: min(260px, 80%); height: 105px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .3)); }
.device-card strong { margin-top: 21px; font-size: 22px; }
.device-card span { margin-top: 10px; color: #dbe9f8; font-size: 11px; }

.section { width: min(1080px, calc(100% - 48px)); margin: auto; padding: 105px 0; }
.downloads { width: 100%; padding-right: max(24px, calc((100% - 1080px) / 2)); padding-left: max(24px, calc((100% - 1080px) / 2)); background: var(--soft); }
.section-heading { text-align: center; }
.section-heading h2 { margin: 13px 0 0; color: var(--blue-dark); font-size: clamp(2.4rem, 4.5vw, 4rem); letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 14px 0 0; color: var(--muted); }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 43px; }
.download-card { min-height: 340px; display: flex; flex-direction: column; padding: 31px; border: 1px solid var(--line); border-top: 6px solid var(--yellow); border-radius: 13px; box-shadow: 0 20px 55px rgba(34, 58, 91, .08); background: white; }
.store-mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--blue); font-size: 23px; }
.apple-mark { position: relative; }
.apple-mark::after { content: ""; position: absolute; width: 8px; height: 5px; margin: -20px 0 0 12px; border-radius: 8px 1px; background: white; transform: rotate(-35deg); }
.platform { margin: 25px 0 0; color: var(--blue); font-size: 10px; font-weight: 950; letter-spacing: .15em; text-transform: uppercase; }
.download-card h3 { margin: 7px 0 10px; color: var(--blue-dark); font-size: 25px; }
.download-card > p:not(.platform) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.download-card > a { min-height: 51px; display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 0 17px; border-radius: 7px; color: white; background: var(--blue); font-size: 13px; font-weight: 850; transition: transform .18s ease, background .18s ease; }
.download-card > a:hover { background: var(--blue-dark); }
.download-card > a span { color: var(--yellow); }

.manual-section { padding-top: 95px; }
.manual-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 39px; border-radius: 15px; background: linear-gradient(115deg, var(--blue-dark), var(--blue)); box-shadow: 0 30px 65px rgba(6, 59, 118, .2); color: white; }
.manual-badge { width: 72px; height: 72px; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .3); border-radius: 13px; color: var(--blue-dark); background: var(--yellow); font-size: 12px; font-weight: 950; letter-spacing: .08em; }
.manual-card .section-label { color: var(--yellow); }
.manual-copy h2 { margin: 9px 0; font-size: clamp(1.75rem, 3.3vw, 2.65rem); letter-spacing: -.035em; }
.manual-copy > p:last-child { max-width: 590px; margin: 0; color: #dbe9f8; font-size: 13px; line-height: 1.65; }
.manual-actions { display: grid; gap: 13px; min-width: 170px; text-align: center; }
.download-pdf { color: white; font-size: 12px; font-weight: 800; }

footer { width: min(1080px, calc(100% - 48px)); display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: auto; padding: 38px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
footer img { width: 130px; height: 45px; object-fit: contain; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 350px; }
  .manual-card { grid-template-columns: auto 1fr; }
  .manual-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; }
}

@media (max-width: 620px) {
  .site-header, .hero, .section, footer { width: calc(100% - 32px); }
  .site-header { min-height: 76px; }
  .brand img { width: 130px; height: 45px; }
  nav { gap: 13px; font-size: 10px; }
  .hero { min-height: 0; padding: 62px 0 78px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-text { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-visual { min-height: 270px; }
  .yellow-orbit { width: 240px; height: 240px; border-width: 45px; }
  .device-card { padding: 24px; border-width: 6px; }
  .device-card img { height: 70px; }
  .device-card strong { font-size: 18px; }
  .section { padding: 78px 0; }
  .downloads { width: 100%; padding-right: 16px; padding-left: 16px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 315px; padding: 25px; }
  .manual-section { padding-top: 72px; }
  .manual-card { grid-template-columns: 1fr; padding: 27px; text-align: center; }
  .manual-badge { margin: auto; }
  .manual-actions { grid-column: auto; grid-template-columns: 1fr; }
  footer { display: grid; justify-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .download-card > a { transition: none; }
}
