:root {
  --night: #1A2744;
  --navy: #1E2A47;
  --ink: #12151C;
  --coral: #FF746C;
  --beige: #F4EFE6;
  --dust: #5C6570;
  --stone: #E4E5DD;
  --white: #FFFdf8;
  --shadow: 0 18px 40px rgba(26, 39, 68, 0.16);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--coral); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  background: var(--white);
  color: var(--night);
  padding: 8px 12px;
  border-radius: 8px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--night);
  box-shadow: 0 8px 24px rgba(18, 21, 28, 0.18);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
}

.nav-links a {
  color: var(--stone);
  text-decoration: none;
  font-size: 15px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--coral);
}

.hero {
  display: grid;
  gap: 28px;
  padding: 36px 0 12px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 14px;
  color: var(--night);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-copy .lede {
  margin: 0 0 18px;
  font-size: 18px;
  color: var(--ink);
  max-width: 36rem;
}

.app-store-badge {
  display: inline-block;
  line-height: 0;
  padding: 14px;
  margin: 0 0 0 -14px;
}

.app-store-badge img {
  display: block;
  height: 54px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.download-footer {
  display: flex;
  justify-content: center;
  padding: 12px 0 36px;
}

.download-footer .app-store-badge {
  margin: 0;
}

.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 380px;
  padding: 32px 8px 64px;
  overflow: visible;
}

.hero-phones img {
  height: min(50vw, 360px);
  width: auto;
  max-width: none;
  background: none;
  border-radius: 0;
  filter: drop-shadow(0 22px 18px rgba(26, 39, 68, 0.28));
}

.hero-phones img:nth-child(1) {
  transform: rotate(-8deg) translate(36px, 26px);
  z-index: 1;
}

.hero-phones img:nth-child(2) {
  height: min(62vw, 440px);
  transform: translateY(-12px);
  z-index: 3;
}

.hero-phones img:nth-child(3) {
  transform: rotate(8deg) translate(-36px, 26px);
  z-index: 1;
}

.section {
  padding: 28px 0 12px;
}

.section h2 {
  margin: 0 0 18px;
  color: var(--night);
  font-size: 26px;
  letter-spacing: -0.02em;
  border-left: 3px solid var(--coral);
  padding-left: 12px;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.feature {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(26, 39, 68, 0.08);
  border: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
}

.feature-panel {
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px 20px;
  background: linear-gradient(180deg, rgba(255, 116, 108, 0.42) 0%, var(--beige) 100%);
}

.feature-panel img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  min-width: 0;
  min-height: 0;
}

.feature-copy {
  padding: 16px 18px 20px;
}

.feature h3 {
  margin: 0 0 6px;
  color: var(--night);
  font-size: 19px;
}

.feature p {
  margin: 0;
  color: var(--dust);
  font-size: 15px;
}

.feature-wide {
  display: grid;
}

.feature-wide .feature-panel {
  height: auto;
  padding: 24px 20px 8px;
}

.feature-wide .feature-panel img {
  max-height: 300px;
}

.feature-wide .import-copy {
  padding: 8px 20px 24px;
}

.feature .import-label {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.import-copy h3 {
  margin-bottom: 8px;
}

.feature .import-lede {
  font-size: 16px;
  color: var(--ink);
}

.import-steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.import-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
}

.import-steps p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.import-steps a {
  color: var(--coral);
  text-decoration: none;
}

.import-steps a:hover {
  text-decoration: underline;
}

.import-lock {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 34px 0 0;
  color: var(--dust);
  font-size: 13px;
  line-height: 1.45;
}

.import-lock svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.how {
  margin: 36px 0 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 28px 22px 24px;
}

.how h2 {
  color: #fff;
  border-left-color: var(--coral);
  margin-bottom: 22px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: center;
}

.steps span,
.import-steps span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.steps p {
  margin: 0;
  color: var(--stone);
  font-size: 16px;
}

.page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 72px;
}

.page h1 {
  margin: 0 0 6px;
  color: var(--night);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.updated {
  color: var(--dust);
  font-size: 14px;
  margin: 0 0 28px;
}

.page h2 {
  font-size: 19px;
  color: var(--night);
  margin-top: 32px;
  margin-bottom: 8px;
  border-left: 3px solid var(--coral);
  padding-left: 10px;
}

.page p,
.page li {
  color: var(--ink);
  font-size: 16px;
}

.page ul {
  padding-left: 20px;
}

.contact-box,
.faq article {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 16px;
  padding: 18px 20px;
}

.faq {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.faq h2 {
  margin: 0 0 8px;
  border: 0;
  padding: 0;
  font-size: 17px;
}

.faq p { margin: 0; }

.see-also { margin-top: 32px; }

.site-footer {
  background: var(--night);
  color: var(--stone);
  margin-top: 48px;
  padding: 28px 0 24px;
}

.site-footer .wrap {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.site-footer .brand { font-size: 17px; }

.site-footer .nav-links a { margin: 0; }

.site-footer .mail {
  color: var(--coral);
  text-decoration: none;
}

.site-footer .copy {
  margin: 4px 0 0;
  font-size: 13px;
  color: #9aa3af;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .feature-wide {
    grid-column: 1 / -1;
    grid-template-columns: minmax(200px, 34%) 1fr;
    align-items: center;
  }

  .feature-wide .feature-panel {
    height: auto;
    min-height: 0;
    padding: 28px 20px;
  }

  .feature-wide .feature-panel img {
    max-height: 320px;
  }

  .feature-wide .feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 40px 32px 24px;
  }

  .feature-wide h3 { font-size: 24px; }
  .feature-wide .import-lede { font-size: 17px; }

  .steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

  .steps li {
    grid-template-columns: 36px 1fr;
    gap: 16px;
    align-items: center;
  }

  .site-footer .wrap {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .site-footer .copy {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 56px 0 24px;
    gap: 20px;
  }

  .hero-phones {
    min-height: 520px;
    padding: 20px 0 56px;
  }

  .hero-phones img {
    height: 400px;
  }

  .hero-phones img:nth-child(2) {
    height: 480px;
  }

  .feature-wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .wrap {
    width: min(1280px, calc(100% - 40px));
  }

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

  .feature h3 {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .app-store-badge {
    padding: 10px;
    margin-left: -10px;
  }

  .app-store-badge img {
    height: 40px;
  }

  .download-footer .app-store-badge {
    margin-left: 0;
  }

  .wrap,
  .page {
    width: calc(100% - 28px);
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a { font-size: 14px; }

  .hero-phones {
    min-height: 300px;
    padding: 20px 0 48px;
  }

  .hero-phones img {
    height: 220px;
  }

  .hero-phones img:nth-child(2) {
    height: 268px;
  }

  .feature-panel {
    height: 360px;
    padding: 24px 20px 16px;
  }

  .feature-panel img {
    max-height: 310px;
  }
}
