:root {
  color-scheme: light;
  --ink: #0c1f36;
  --paper: #fcfcfa;
  --soft: #f0f3f3;
  --muted: #52616e;
  --line: #dce3e7;
  --green: #0f664f;
  --night-soft: #243951;
  --white: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(1248px, calc(100% - 96px)); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--paper);
  transform: translateY(-150%);
}
.skip:focus { transform: none; }
.top-inner, .primary, .brand, .footer-top, .footer nav, .footer-bottom, .languages {
  display: flex;
  align-items: center;
}
.top-inner { justify-content: space-between; min-height: 76px; gap: 24px; }
.brand {
  gap: 8px;
  text-decoration: none;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
}
.brand svg { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; }
.primary { gap: clamp(20px, 3vw, 48px); }
.primary a, .footer a:not(.brand) { text-decoration: none; font-size: 14px; font-weight: 600; }
.primary a:hover, .footer a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 50px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.button span { font-size: 16px; }
.button-dark { background: var(--ink); color: var(--white); min-height: 42px; }
.button-dark:hover { background: var(--night-soft); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--line); }
.button-outline { color: var(--white); border-color: #b9c7d4; }
.button-outline:hover { background: #243951; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); }
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #071726f7, #0c1f36db 28%, #0c1f3675 64%, #0c1f3633), linear-gradient(0deg, #0c1f365c, transparent 40%);
}
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 48px; min-height: 630px; padding-block: 45px; }
.hero-copy { max-width: 650px; }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; }
.hero-label { color: #dce3e7; }
h1 { margin-top: 19px; font-size: clamp(58px, 6.3vw, 94px); line-height: .98; letter-spacing: -.073em; }
.hero-description { max-width: 440px; margin-top: 25px; color: #f0f4f6; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.platforms { margin-top: 23px; color: #dce3e7; font-size: 13px; letter-spacing: .04em; }
.hero-device { justify-self: center; text-align: center; }
.device {
  width: clamp(190px, 18.25vw, 246px);
  aspect-ratio: 246 / 504;
  overflow: hidden;
  padding: 7px;
  border: 1px solid #a4afb8;
  border-radius: 34px;
  background: #101922;
  box-shadow: 0 23px 55px #08121fc7, 0 0 0 3px #1019229e;
}
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; }
.hero-device figcaption { margin-top: 12px; color: var(--white); font-size: 12px; }
.features { padding-block: 92px 100px; }
.section-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 32px; margin-bottom: 36px; }
h2 { margin-top: 10px; font-size: clamp(37px, 4vw, 58px); line-height: 1.04; letter-spacing: -.062em; text-wrap: balance; }
.section-intro > p { max-width: 340px; justify-self: end; color: var(--muted); font-size: 17px; line-height: 1.55; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.feature-image { height: clamp(232px, 21vw, 296px); overflow: hidden; display: grid; justify-items: center; align-items: start; padding: 27px 15px 0; border-radius: 12px; background: var(--soft); }
.feature:nth-child(2) .feature-image { background: var(--line); }
.feature:nth-child(3) .feature-image { background: #e6edeb; }
.feature-image img { width: min(100%, 206px); height: auto; border-radius: 19px 19px 0 0; border: 5px solid var(--ink); box-shadow: 0 14px 28px #0c1f362e; }
.feature h3 { margin-top: 18px; font-size: 22px; letter-spacing: -.038em; line-height: 1.16; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 340px; }
.guide { background: var(--ink); color: var(--paper); }
.guide-inner { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: center; gap: clamp(38px, 7vw, 103px); padding-block: 84px; }
.guide .eyebrow { color: #dce3e7; }
.guide h2 { text-wrap: initial; }
.steps { list-style: none; padding: 0; margin: 28px 0 22px; counter-reset: guide; }
.steps li { counter-increment: guide; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 15px; border-top: 1px solid #52616e; padding: 15px 0; }
.steps li::before { content: counter(guide, decimal-leading-zero); color: #dce3e7; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; padding-top: 3px; }
.steps h3 { font-size: 17px; line-height: 1.3; }
.steps p { margin-top: 5px; color: #dce3e7; font-size: 14px; line-height: 1.55; }
.guide-photo { width: 100%; height: 100%; max-height: 576px; min-height: 390px; object-fit: cover; object-position: 30% center; border-radius: 12px; }
.text-link { font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.text-link span { margin-left: 6px; }
.footer { padding-block: 29px 26px; }
.footer-top, .footer-bottom { justify-content: space-between; gap: 20px; }
.footer nav, .languages { gap: 23px; flex-wrap: wrap; }
.footer-bottom { margin-top: 21px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.photo-credits { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.footer .photo-credits a { font-size: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero-inner { min-height: 540px; gap: 24px; }
  .guide-inner { gap: 34px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .top-inner { min-height: 97px; display: grid; grid-template-columns: 1fr auto; padding-block: 10px; gap: 3px 10px; }
  .primary { grid-row: 2; grid-column: 1 / -1; gap: 25px; }
  .primary a { display: flex; align-items: center; min-height: 36px; }
  .top-store { grid-column: 2; grid-row: 1; min-height: 38px; padding-inline: 11px; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 36px; padding-block: 52px 28px; }
  .hero::after { background: linear-gradient(180deg,#071726f5,#0c1f36cc 49%,#0c1f3659); }
  .hero-photo { inset: auto 0 0; height: 64%; object-position: 66% center; mask-image: linear-gradient(transparent, #000 20%); }
  h1 { font-size: clamp(52px, 13.5vw, 76px); }
  .hero-description { margin-top: 18px; }
  .actions { margin-top: 23px; gap: 8px; }
  .actions .button { padding-inline: 12px; gap: 8px; }
  .platforms { margin-top: 16px; }
  .features { padding-block: 56px 62px; }
  .section-intro, .feature-grid, .guide-inner { grid-template-columns: 1fr; }
  .section-intro { gap: 15px; margin-bottom: 25px; }
  .section-intro > p { justify-self: start; }
  .feature-grid { gap: 27px; }
  .feature-image { height: 238px; }
  .feature h3 { margin-top: 14px; }
  .guide-inner { padding-block: 54px 44px; }
  .guide-photo { height: 265px; min-height: 0; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer nav { gap: 12px 18px; }
}
