:root {
  --ink: #071934;
  --ink-soft: #17304f;
  --muted: #60708a;
  --blue: #1864d8;
  --blue-deep: #0a3a86;
  --yellow: #ffd82f;
  --yellow-soft: #fff6c8;
  --line: #dbe5f2;
  --white: #ffffff;
  --container: 1140px;
  --page-gutter: 24px;
  --header-content-height: 76px;
  --header-height: 77px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { min-width: 0; margin: 0; overflow-x: clip; color: var(--ink); background: #f8fbff; font-family: "Manrope", "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.container { width: min(var(--container), calc(100% - (var(--page-gutter) * 2))); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: var(--header-content-height); background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid rgba(219, 229, 242, 0.82); backdrop-filter: blur(16px); }
.header-inner { height: var(--header-content-height); min-height: var(--header-content-height); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.04em; }
.brand-mark { width: 42px; height: 42px; overflow: hidden; border-radius: 13px; box-shadow: 0 8px 18px rgba(20, 79, 163, 0.16); }
.brand-logo { width: 100%; height: 100%; object-fit: cover; }
.brand-text { font-size: 20px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-nav a:focus-visible, .contact-link:hover, .contact-link:focus-visible { color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 99px; background: currentColor; }

.section-offset { scroll-margin-top: calc(var(--header-height) + 20px); }
.hero { min-height: calc(100svh - var(--header-height)); }
.hero-shell { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); min-height: calc(100svh - var(--header-height)); overflow: hidden; padding: clamp(52px, 8vh, 96px) max(var(--page-gutter), calc((100% - var(--container)) / 2)); background: linear-gradient(180deg, rgba(248, 251, 255, 0) 54%, #f8fbff 100%), linear-gradient(137deg, #e7f2ff 0%, #f8fbff 48%, #fff9d9 100%); }
.hero-copy { position: relative; z-index: 2; align-self: center; min-width: 0; max-width: 680px; }
.eyebrow, .section-kicker { margin: 0; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow { display: inline-flex; max-width: 100%; min-height: 32px; align-items: center; padding: 7px 13px; border-radius: 999px; background: rgba(24, 100, 216, 0.1); letter-spacing: 0.08em; line-height: 1.35; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.055em; }
.hero h1 { max-width: 680px; margin: 20px 0 22px; overflow-wrap: break-word; font-size: clamp(40px, 5.15vw, 68px); line-height: 1.03; }
.hero-lead { max-width: 590px; margin-bottom: 0; color: var(--ink-soft); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; min-width: 0; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border: 0; border-radius: 16px; font-family: inherit; font-size: 16px; font-weight: 800; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(12, 66, 146, 0.2); }
.button-primary { color: #061a38; background: var(--yellow); box-shadow: 0 10px 20px rgba(237, 181, 0, 0.2); }
.button-secondary { color: var(--blue-deep); background: #eaf2ff; }

.testing-dialog { position: fixed; width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 40px; overflow-y: auto; border: 1px solid var(--line); border-radius: 24px; color: var(--ink); background: var(--white); box-shadow: 0 30px 90px rgba(7, 25, 52, 0.25); font-family: inherit; }
.testing-dialog:not([open]) { display: none; }
.testing-dialog::backdrop { background: rgba(6, 22, 47, 0.62); backdrop-filter: blur(4px); }
.testing-dialog h2 { margin: 14px 20px 20px 0; font-size: clamp(26px, 5vw, 36px); line-height: 1.15; }
.testing-dialog p { color: var(--ink-soft); }
.testing-dialog .section-kicker { color: var(--blue); }
.testing-access-case { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.testing-access-case h3 { margin-bottom: 10px; font-size: 20px; line-height: 1.35; }
.testing-access-case p { margin-bottom: 14px; }
.dialog-play-link { width: 100%; padding: 12px 18px; text-align: center; }
.testing-dialog .testing-access-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; color: var(--ink); background: #f0f5fb; font-size: 28px; cursor: pointer; }
.dialog-close:hover, .dialog-close:focus-visible { background: #e0ebfa; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.dialog-actions .button { flex: 1 1 220px; padding: 12px 18px; text-align: center; line-height: 1.35; }
.dialog-email { display: inline-block; margin-top: 18px; color: var(--blue); font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 520px) { .testing-dialog { padding: 32px 22px 26px; } }

.hero-art { position: relative; z-index: 1; min-width: 0; min-height: 400px; }
.hero-glow { position: absolute; border-radius: 999px; filter: blur(1px); }
.hero-glow-blue { width: 310px; height: 310px; top: -48px; right: -70px; background: rgba(45, 136, 255, 0.24); }
.hero-glow-yellow { width: 250px; height: 250px; bottom: -84px; left: 2px; background: rgba(255, 214, 37, 0.4); }
.hero-phone-card { position: absolute; right: 4%; bottom: 0; width: min(100%, 320px); padding: 28px; border: 9px solid #0e2850; border-bottom-width: 13px; border-radius: 42px 42px 0 0; color: var(--white); background: linear-gradient(170deg, #1d72df, #0c407e 78%); box-shadow: 0 28px 44px rgba(7, 32, 72, 0.26); transform: rotate(5deg); }
.phone-card-top, .phone-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 800; }
.phone-status { padding: 5px 8px; border-radius: 999px; color: #114914; background: #b8f177; }
.phone-time { margin: 50px 0 7px; font-size: 67px; font-weight: 800; line-height: 1; letter-spacing: -0.08em; }
.hero-phone-card p { margin-bottom: 25px; color: rgba(255,255,255,0.82); font-size: 13px; }
.phone-card-line { height: 1px; margin-bottom: 18px; background: rgba(255,255,255,0.28); }
.phone-card-bottom { align-items: flex-end; color: rgba(255,255,255,0.72); }
.phone-card-bottom strong { color: var(--white); font-size: 17px; letter-spacing: -0.04em; }

.problem-section { margin-top: 0; padding-top: clamp(72px, 10vw, 128px); }
.content-section, .download-section { margin-top: 96px; }
.problem-shell { padding: 0; text-align: left; }
.problem-shell h2, .section-heading h2, .trust-copy h2, .download-shell h2, .footer-copy h2 { margin: 13px 0 15px; font-size: clamp(31px, 4vw, 48px); line-height: 1.08; }
.problem-shell h2 { max-width: 900px; }
.problem-shell > p:last-child { max-width: 670px; margin: 0; color: var(--muted); font-size: 18px; }
.section-heading { max-width: 720px; margin-bottom: 30px; }
.section-heading-split { display: flex; align-items: end; justify-content: space-between; gap: 32px; max-width: none; }
.section-heading-split > p { max-width: 350px; margin: 0 0 18px; color: var(--muted); font-size: 15px; }

.logic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.logic-card { min-height: 256px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.logic-card-normal { border-top: 5px solid #4da95a; }
.logic-card-alert { border-top: 5px solid #e67048; }
.logic-card-time { border-top: 5px solid var(--yellow); }
.logic-index { display: block; margin-bottom: 62px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; }
.logic-card h3 { margin-bottom: 8px; font-size: 23px; line-height: 1.15; }
.logic-card p { margin: 0; color: var(--muted); font-size: 15px; }

.screens-grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 24px 20px; }
.screen-card { flex: 1 1 250px; min-width: 0; max-width: 360px; margin: 0; overflow: hidden; border: 1px solid #cad7e7; border-radius: 28px; background: #c6c6c6; box-shadow: 0 18px 42px rgba(14, 42, 82, 0.12); }
.screen-card img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }

.trust-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; padding: 48px; border-radius: 28px; color: var(--white); background: var(--blue-deep); }
.trust-copy h2 { margin-top: 11px; }
.trust-copy p:last-child { max-width: 460px; margin-bottom: 0; color: rgba(255,255,255,0.75); }
.trust-shell .section-kicker { color: #a7cdfd; }
.trust-list { display: grid; align-content: center; gap: 18px; }
.trust-list > div { display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: start; }
.trust-icon { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; color: #0b3671; background: var(--yellow); font-size: 15px; font-weight: 800; }
.trust-list p { margin: 2px 0 0; color: rgba(255,255,255,0.84); font-size: 15px; }

.download-shell { padding: 62px; text-align: center; border-radius: 29px; background: var(--yellow-soft); }
.download-shell h2 { max-width: 800px; margin: 12px auto 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 21px 42px 21px 0; list-style: none; cursor: pointer; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; top: 18px; right: 2px; color: var(--blue); font-size: 25px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { max-width: 680px; padding: 0 0 22px; }
.faq-answer p { margin: 0; color: var(--muted); }

.site-footer { margin-top: 100px; padding: 66px 0; color: var(--white); background: #06162f; }
.footer-shell { display: grid; grid-template-columns: 1fr 0.8fr; gap: 48px; }
.footer-copy .section-kicker { color: #8dbdf9; }
.footer-copy h2 { margin-top: 12px; }
.footer-copy p:last-child { max-width: 520px; margin-bottom: 0; color: rgba(255,255,255,0.7); }
.footer-contacts { display: grid; align-content: start; gap: 12px; min-width: 0; }
.contact-card { min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,0.13); border-radius: 18px; background: rgba(255,255,255,0.035); transition: background 160ms ease, border-color 160ms ease; }
.contact-card:hover, .contact-card:focus-within { border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.07); }
.contact-link { display: flex; align-items: center; gap: 14px; min-width: 0; }
.contact-link:hover, .contact-link:focus-visible { color: var(--white); }
.contact-link:focus-visible, .contact-invite:focus-visible, .contact-action:focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
.contact-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; background: rgba(255,255,255,0.08); }
.contact-icon img { width: 26px; height: 26px; }
.contact-icon-telegram { background: rgba(42,171,238,0.17); border-color: rgba(42,171,238,0.25); }
.contact-icon-instagram { background: linear-gradient(145deg, rgba(162,58,233,0.25), rgba(240,87,117,0.2)); border-color: rgba(234,112,181,0.22); }
.contact-icon-tiktok { background: linear-gradient(145deg, rgba(37,244,238,0.1), rgba(254,44,85,0.15)); }
.contact-copy { flex: 1; min-width: 0; }
.contact-arrow { flex: 0 0 auto; color: rgba(255,255,255,0.5); font-size: 20px; }
.contact-invite, .contact-action { display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 60px); margin: 12px 0 0 60px; padding: 7px 11px; border: 1px solid rgba(42,171,238,0.25); border-radius: 9px; color: #a6ddff; background: rgba(42,171,238,0.07); font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.5; cursor: pointer; }
.contact-invite { white-space: nowrap; }
.contact-copy-email { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.04); }
.contact-copy-email:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }
.contact-copy-email:disabled { opacity: 0.65; cursor: wait; }
.contact-copy-email svg { flex: 0 0 auto; }
.contact-invite:hover { color: var(--white); border-color: rgba(42,171,238,0.55); }
.contact-label { display: block; margin-bottom: 5px; color: rgba(255,255,255,0.54); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-value { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; overflow-wrap: anywhere; }

@media (max-width: 920px) {
  .hero-shell { grid-template-columns: minmax(0, 1fr); padding: clamp(44px, 7vw, 60px) var(--page-gutter) 0; }
  .hero-copy { padding-bottom: 46px; }
  .hero-art { min-height: 345px; }
  .hero-phone-card { right: 12%; }
  .logic-grid { grid-template-columns: 1fr; }
  .logic-card { min-height: auto; }
  .logic-index { margin-bottom: 38px; }
}

@media (max-width: 700px) {
  :root { --page-gutter: 20px; --header-content-height: 72px; --header-height: 73px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand-text { font-size: 19px; }
  .menu-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
  .site-nav { position: absolute; top: calc(100% + 8px); right: var(--page-gutter); left: var(--page-gutter); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 14px 32px rgba(18, 50, 95, 0.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px; }
  .hero-shell { min-height: calc(100svh - var(--header-height)); padding: 38px var(--page-gutter) 0; }
  .hero h1 { font-size: clamp(34px, 9vw, 42px); }
  .hero h1 br { display: none; }
  .hero-lead { font-size: 16px; }
  .button { width: 100%; }
  .hero-art { min-height: 300px; }
  .hero-phone-card { right: 50%; width: min(270px, calc(100% - 28px)); padding: 24px; transform: translateX(50%) rotate(2deg); }
  .phone-time { margin-top: 36px; font-size: 56px; }
  .problem-section { margin-top: 0; padding-top: 72px; }
  .content-section, .download-section { margin-top: 72px; }
  .problem-shell > p:last-child { font-size: 16px; }
  .section-heading-split, .trust-shell, .footer-shell { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .section-heading-split > p { margin: 0; }
  .logic-grid { grid-template-columns: 1fr; }
  .logic-card { padding: 26px; }
  .logic-index { margin-bottom: 30px; }
  .screens-grid { gap: 20px; }
  .screen-card { flex-basis: 100%; max-width: 420px; border-radius: 24px; }
  .trust-shell, .download-shell { padding: 34px 25px; border-radius: 24px; }
  .faq-item summary { font-size: 17px; }
  .site-footer { margin-top: 72px; padding: 52px 0; }
  .footer-shell { gap: 35px; }
}

@media (max-width: 360px) {
  :root { --page-gutter: 16px; }
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text { font-size: 18px; }
  .hero-shell { padding-top: 32px; }
  .eyebrow { font-size: 11px; }
  .hero h1 { margin-top: 16px; font-size: 33px; }
  .hero-lead { font-size: 15px; line-height: 1.62; }
  .button { min-height: 52px; padding: 0 16px; font-size: 15px; }
  .hero-art { min-height: 280px; }
  .hero-phone-card { width: min(244px, calc(100% - 28px)); padding: 20px; border-width: 7px; border-bottom-width: 10px; border-radius: 34px 34px 0 0; transform: translateX(50%) rotate(1deg); }
  .phone-time { margin-top: 30px; font-size: 49px; }
  .problem-section { padding-top: 56px; }
  .content-section, .download-section { margin-top: 60px; }
  .trust-shell, .download-shell { padding: 30px 22px; }
}
