:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #172033;
  background: #f6f8fc;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f6f8fc; }
a { color: #1769e0; }
.shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #172033; text-decoration: none; margin-bottom: 22px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: #1769e0; color: white; font-weight: 800; }
.brand > img { width: 42px; height: 42px; border-radius: 13px; object-fit: cover; }
.brand strong { display: block; font-size: 18px; }
.brand small { display: block; margin-top: 2px; color: #657087; }
.card { background: white; border: 1px solid #e4e9f2; border-radius: 22px; padding: clamp(24px, 5vw, 48px); }
.eyebrow { margin: 0 0 10px; color: #1769e0; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
h1 { margin: 0 0 18px; font-size: clamp(28px, 5vw, 44px); line-height: 1.12; letter-spacing: -.03em; }
h2 { margin: 34px 0 10px; font-size: 21px; }
p, li { color: #4c5870; font-size: 16px; line-height: 1.7; }
ul { padding-left: 21px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid div, .notice { padding: 18px; border-radius: 16px; background: #f6f8fc; border: 1px solid #e8edf5; }
.grid strong, .grid span, .notice strong, .notice span { display: block; }
.grid span, .notice span { margin-top: 7px; color: #59657c; line-height: 1.55; }
.form-card { max-width: 680px; margin: 0 auto; }
form { display: grid; gap: 18px; margin-top: 24px; }
label > span { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; }
input, select, button { min-height: 52px; border-radius: 13px; font: inherit; }
input, select { width: 100%; border: 1px solid #ccd5e4; padding: 0 15px; background: white; color: #172033; outline: none; }
input:focus, select:focus { border-color: #1769e0; box-shadow: 0 0 0 3px rgba(23,105,224,.12); }
.phone { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.check { display: flex; align-items: flex-start; gap: 10px; }
.check input { width: 20px; min-height: 20px; margin-top: 2px; }
.check span { margin: 0; font-weight: 500; color: #4c5870; }
button { border: 0; padding: 0 20px; background: #d92d3f; color: white; font-weight: 800; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
.download-link { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 13px; background: #1769e0; color: white; font-weight: 800; text-decoration: none; }
.master-links { margin-top: 26px; }
.master-links a { display: inline-block; margin-top: 12px; font-weight: 700; }
#result { min-height: 24px; margin: 0; }
#result.error { color: #b42335; }
#result.success { color: #087443; }
.links { margin-bottom: 0; }

@media (max-width: 680px) {
  .shell { width: min(100% - 20px, 920px); padding-top: 18px; }
  .card { border-radius: 18px; padding: 22px 18px; }
  .grid { grid-template-columns: 1fr; }
  .phone { grid-template-columns: 88px 1fr; }
}

/* Official app landing page */
.product-page { background: #fff; color: #111b2e; }
.product-header { width: min(1180px, calc(100% - 48px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid #edf0f5; }
.product-brand { margin: 0; }
.product-brand > img { width: 46px; height: 46px; border-radius: 14px; }
.product-header nav, .product-footer nav { display: flex; align-items: center; gap: 26px; }
.product-header nav a, .product-footer nav a { color: #536078; font-size: 14px; font-weight: 700; text-decoration: none; }
.product-header nav a:hover, .product-footer nav a:hover { color: #1769e0; }
.product-page main { overflow: hidden; }
.product-hero { width: min(1180px, calc(100% - 48px)); min-height: 650px; margin: 0 auto; padding: 76px 0 82px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .72fr); align-items: center; gap: clamp(54px, 8vw, 110px); }
.hero-copy h1 { max-width: 700px; margin-bottom: 22px; font-size: clamp(44px, 6vw, 72px); line-height: 1.02; }
.hero-lead { max-width: 650px; margin: 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.download-card { max-width: 640px; margin-top: 34px; padding: 14px 14px 14px 16px; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; border: 1px solid #dfe6f1; border-radius: 20px; background: #fff; box-shadow: 0 18px 50px rgba(23, 43, 77, .09); }
.download-card img { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; }
.download-card strong, .download-card span { display: block; }
.download-card strong { font-size: 16px; }
.download-card span { margin-top: 5px; color: #6a758a; font-size: 13px; }
.download-card .download-link { min-width: 112px; }
.download-note { max-width: 620px; margin: 12px 0 0; font-size: 12px; line-height: 1.55; }
.phone-preview { width: min(100%, 390px); margin: 0 auto; padding: 18px; border: 9px solid #111827; border-radius: 42px; background: #f5f7fb; box-shadow: 0 32px 80px rgba(20, 38, 70, .2); transform: rotate(1.5deg); }
.phone-top { height: 45px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #172033; }
.phone-top span { width: 38px; height: 5px; justify-self: start; border-radius: 99px; background: #d7deea; }
.phone-top strong { font-size: 13px; }
.phone-greeting { padding: 23px; border-radius: 24px; background: #172a4a; color: #fff; }
.phone-greeting small, .phone-greeting strong, .phone-greeting span { display: block; }
.phone-greeting small { color: #8fc0ff; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.phone-greeting strong { margin-top: 9px; font-size: 22px; line-height: 1.2; }
.phone-greeting span { margin-top: 9px; color: #c9d5e8; font-size: 13px; line-height: 1.5; }
.preview-order { margin-top: 14px; padding: 18px; border: 1px solid #dfe5ef; border-radius: 21px; background: #fff; }
.preview-order i { display: inline-flex; padding: 5px 9px; border-radius: 99px; background: #e9f2ff; color: #1769e0; font-size: 10px; font-style: normal; font-weight: 800; }
.preview-order strong, .preview-order span, .preview-order small { display: block; }
.preview-order strong { margin-top: 12px; font-size: 17px; }
.preview-order span { margin-top: 7px; color: #1769e0; font-size: 12px; font-weight: 700; }
.preview-order small { margin-top: 16px; color: #758096; line-height: 1.45; }
.preview-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.preview-stats div { padding: 15px; border: 1px solid #e0e6f0; border-radius: 18px; background: #fff; }
.preview-stats strong, .preview-stats span { display: block; }
.preview-stats strong { font-size: 13px; }
.preview-stats span { margin-top: 6px; color: #7a8498; font-size: 10px; }
.product-section, .trust-section, .support-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.product-section { padding: 92px 0; border-top: 1px solid #edf0f5; }
.section-intro { max-width: 720px; }
.section-intro h2, .trust-section h2, .support-section h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.03em; }
.section-intro > p:last-child { max-width: 650px; margin-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.feature-grid article { min-height: 250px; padding: 25px; border: 1px solid #e3e8f1; border-radius: 22px; background: #fff; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #eef5ff; color: #1769e0; font-size: 12px; font-weight: 900; }
.feature-grid h3 { margin: 46px 0 10px; font-size: 18px; }
.feature-grid p { margin: 0; font-size: 14px; line-height: 1.6; }
.trust-section { margin-top: 12px; padding: clamp(42px, 7vw, 78px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; border-radius: 32px; background: #152844; }
.trust-section h2, .trust-section > div > p { color: #fff; }
.trust-section > div > p:last-child { color: #c5d1e1; }
.trust-links { display: grid; gap: 12px; }
.trust-links a { padding: 20px; display: grid; grid-template-columns: 1fr auto; column-gap: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.trust-links strong, .trust-links span { display: block; }
.trust-links span { margin-top: 7px; color: #c8d3e2; font-size: 13px; line-height: 1.5; }
.trust-links i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 22px; font-style: normal; }
.support-section { margin-top: 90px; margin-bottom: 90px; padding: 45px 0; display: flex; align-items: center; justify-content: space-between; gap: 38px; border-top: 1px solid #e8ecf3; border-bottom: 1px solid #e8ecf3; }
.support-section p { max-width: 650px; margin-bottom: 0; }
.support-email { min-width: 340px; padding: 18px 20px; border: 1px solid #dce3ee; border-radius: 17px; color: #172033; text-decoration: none; }
.support-email span, .support-email strong { display: block; }
.support-email span { color: #6f7b91; font-size: 12px; }
.support-email strong { margin-top: 6px; font-size: 14px; }
.product-footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 30px 0 42px; display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; border-top: 1px solid #edf0f5; }
.product-footer strong, .product-footer span { display: block; }
.product-footer span { margin-top: 5px; color: #788397; font-size: 13px; }
.product-footer small { grid-column: 1 / -1; color: #8a94a6; }
.legal-shell { max-width: 860px; }
.legal-document h2 { padding-top: 8px; }
.legal-support { text-align: center; font-size: 13px; }

@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; }
  .phone-preview { display: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-section { grid-template-columns: 1fr; gap: 30px; }
  .support-section { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .product-header { width: min(100% - 28px, 1180px); min-height: 72px; }
  .product-header nav { display: none; }
  .product-hero, .product-section, .trust-section, .support-section, .product-footer { width: min(100% - 28px, 1180px); }
  .product-hero { min-height: auto; padding: 54px 0 64px; }
  .hero-copy h1 { font-size: clamp(38px, 12vw, 52px); }
  .download-card { grid-template-columns: 48px 1fr; }
  .download-card img { width: 48px; height: 48px; }
  .download-card .download-link { grid-column: 1 / -1; width: 100%; }
  .product-section { padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .feature-grid article { min-height: 210px; }
  .trust-section { width: 100%; margin-top: 0; padding: 50px 20px; border-radius: 0; }
  .support-section { margin-top: 58px; margin-bottom: 58px; }
  .support-email { width: 100%; min-width: 0; overflow-wrap: anywhere; }
  .product-footer { grid-template-columns: 1fr; }
  .product-footer nav { align-items: flex-start; flex-direction: column; gap: 12px; }
  .product-footer small { grid-column: auto; }
}
