/* TgONe — the app screen is the centre of the visual composition. */
:root {
  color-scheme: light;
  --paper: #f4f8ff;
  --ink: #182b45;
  --muted: #596d86;
  --blue: #087be9;
  --blue-dark: #0866c6;
  --line: #dbe8f6;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 6px; border-radius: 5px; }
::selection { background: #c5e3ff; color: #102a47; }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 10; padding: 14px 20px; background: white; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 2; }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid rgb(161 190 221 / 23%); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand > span { font-size: 26px; font-weight: 750; letter-spacing: -1.2px; }
.brand-dot { color: var(--blue); }
.navigation { display: flex; gap: 34px; font-size: 14px; }
.navigation a { padding-block: 14px; color: var(--muted); transition: color 160ms; }
.navigation a:hover { color: var(--blue-dark); }
.header-contact { display: inline-flex; align-items: center; gap: 24px; padding: 12px 18px; border: 1px solid #d6e3f2; border-radius: 99px; font-size: 13px; font-weight: 600; background: rgb(255 255 255 / 60%); }
.header-contact:hover { border-color: #a8cef5; background: white; }

.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-content { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 61px; }
.hero-intro { text-align: center; position: relative; z-index: 2; }
.project-label { margin: 0 0 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #41688f; padding: 8px 13px; border: 1px solid #dceafa; border-radius: 99px; background: rgb(255 255 255 / 68%); }
.label-symbol { color: var(--blue); font-size: 16px; line-height: 1; }
h1 { margin: 0; font-size: clamp(40px, 5.3vw, 70px); font-weight: 720; line-height: 1.09; letter-spacing: -.055em; text-wrap: balance; }
h1 > span { color: var(--blue); }
.hero-description { margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; letter-spacing: -.015em; }
.hero-atmosphere { position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 63%, #d8ecff 0%, #edf5ff 35%, transparent 67%); }
.sky-circle { position: absolute; border: 1px solid rgb(132 188 239 / 15%); border-radius: 50%; left: 50%; transform: translateX(-50%); }
.sky-circle-one { width: 1040px; height: 1040px; top: 310px; }
.sky-circle-two { width: 1260px; height: 1260px; top: 200px; }
.cloud { position: absolute; bottom: 150px; width: 500px; height: 170px; border-radius: 200px; background: linear-gradient(180deg, #e0eeff, #f4f8ff); opacity: .8; }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: linear-gradient(160deg, #dfedff, #eff6ff); }
.cloud::before { width: 230px; height: 230px; top: -135px; left: 100px; }
.cloud::after { width: 155px; height: 155px; top: -75px; left: 290px; }
.cloud-left { left: calc(50% - 960px); transform: rotate(7deg); }
.cloud-right { right: calc(50% - 980px); transform: scaleX(-1) rotate(7deg); }

.app-stage { display: grid; grid-template-columns: minmax(0, 1fr) 308px minmax(0, 1fr); column-gap: 74px; position: relative; align-items: center; margin: 44px auto 0; max-width: 1030px; }
.stage-rings { position: absolute; z-index: -1; width: 650px; height: 650px; top: 38px; left: 50%; transform: translateX(-50%); border: 1px solid rgb(148 195 239 / 25%); border-radius: 50%; }
.stage-rings::after { content: ""; position: absolute; inset: 46px; border: 1px solid rgb(148 195 239 / 20%); border-radius: 50%; }
.app-figure { grid-column: 2; grid-row: 1; margin: 0; position: relative; }
.app-frame { padding: 7px; background: linear-gradient(140deg, white, #d3e6fb 48%, #f7fbff); border: 1px solid white; border-radius: 39px; box-shadow: 0 32px 65px -24px rgb(39 110 188 / 35%), 0 4px 12px rgb(75 118 161 / 9%); }
.app-screenshot { width: 100%; height: auto; border-radius: 31px; background: #f5f9ff; }
.app-figure figcaption { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 21px; font-size: 11px; color: #576f8a; letter-spacing: .025em; }
.app-figure figcaption > span { width: 5px; height: 5px; border-radius: 50%; background: #80b1e4; }
.stage-note { position: relative; max-width: 250px; padding-bottom: 45px; }
.telegram-note { grid-column: 1; grid-row: 1; justify-self: end; }
.vpn-note { grid-column: 3; grid-row: 1; }
.note-symbol { width: 48px; height: 48px; border-radius: 17px; display: grid; place-items: center; border: 1px solid #fff; background: linear-gradient(145deg, #fff, #e4f0ff); color: var(--blue); box-shadow: 0 6px 18px rgb(62 137 212 / 7%); margin-bottom: 23px; }
.note-symbol svg { width: 26px; height: 26px; }
.eyebrow { margin: 0 0 14px; color: #386e9f; font-size: 10px; font-weight: 650; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; }
.stage-note h2 { font-size: 26px; font-weight: 650; letter-spacing: -.04em; line-height: 1.25; margin: 0 0 16px; }
.stage-note > p:not(.eyebrow) { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0; }
.note-detail { display: inline-block; margin-top: 22px; font-size: 11px; color: #486b8d; background: rgb(255 255 255 / 65%); border: 1px solid #dbe9f7; border-radius: 7px; padding: 6px 10px; }
.note-line { position: absolute; top: 51%; width: 58px; border-top: 1px dashed #b2cdea; }
.note-line::after { content: ""; position: absolute; top: -3px; width: 5px; height: 5px; background: #7fb4e9; border-radius: 50%; }
.telegram-note .note-line { right: -70px; }
.telegram-note .note-line::after { right: 0; }
.vpn-note .note-line { left: -70px; }
.vpn-note .note-line::after { left: 0; }
.hero-actions { display: flex; gap: 26px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 50px; padding: 14px 23px; border-radius: 99px; font-size: 14px; font-weight: 600; text-align: center; transition: background 180ms, box-shadow 180ms, transform 180ms; }
.button-primary { color: white; background: linear-gradient(150deg, #159cff, #0876e6); box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%), 0 7px 18px rgb(25 127 230 / 16%); }
.button-primary:hover { background: #086ccc; box-shadow: 0 9px 22px rgb(25 127 230 / 23%); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 550; line-height: 1.6; color: #295a87; padding-block: 8px; }
.text-link:hover { color: var(--blue); }
.hero-footnote { text-align: center; color: #60768c; font-size: 11px; line-height: 1.7; margin: 17px auto 0; }

.section { padding: 88px 0; }
.how-section { background: #fff; border-block: 1px solid #e6eef7; }
.section-heading { text-align: center; }
.section-heading h2, .project-copy h2, .contact-panel h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 650; line-height: 1.16; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.section-heading > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 19px 0 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px; padding: 0; margin: 54px 0 0; counter-reset: step; }
.steps li { border-top: 1px solid var(--line); padding-top: 24px; }
.step-number { display: inline-block; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .07em; color: var(--blue-dark); margin-bottom: 20px; }
.steps h3 { font-size: 21px; font-weight: 650; letter-spacing: -.025em; margin: 0 0 13px; }
.steps p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; }

.project-section { background: linear-gradient(150deg, #f8fbff, #eef6ff); }
.project-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 84px; align-items: center; }
.project-copy p:not(.eyebrow) { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 20px 0 0; max-width: 420px; }
.project-copy .text-link { margin-top: 22px; }
.engineering-panel { border: 1px solid #dfebf8; background: rgb(255 255 255 / 85%); border-radius: 24px; padding: 28px 30px; box-shadow: 0 15px 44px rgb(46 94 141 / 4%); }
.panel-heading { display: flex; align-items: center; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid #e6edf6; font-size: 11px; font-weight: 650; }
.panel-dot { height: 6px; width: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.panel-caption { font-size: 10px; font-weight: 400; color: var(--muted); margin-left: auto; text-align: right; }
.engineering-list { margin: 4px 0 0; }
.engineering-list > div { padding: 20px 0; border-bottom: 1px solid #e9eff7; }
.engineering-list dt { font-weight: 600; font-size: 15px; }
.item-index { color: #7f9fbd; font-size: 10px; font-weight: 450; display: inline-block; width: 31px; }
.engineering-list dd { margin: 7px 0 0 31px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.development-note { color: #627d96; }
.panel-footnote { margin: 19px 0 0; font-size: 11px; line-height: 1.7; color: #60758b; }

.contact-section { padding: 0 0 72px; background: #f0f7ff; }
.contact-panel { display: flex; justify-content: space-between; align-items: center; gap: 36px; padding: 42px 48px; border: 1px solid white; border-radius: 26px; background: linear-gradient(120deg, #deeeff, #f9fcff); }
.contact-panel h2 { font-size: 35px; }
.contact-panel p:last-child { margin: 16px 0 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.contact-panel .button { flex-shrink: 0; }
.site-footer { background: #fff; padding: 35px 0 26px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-main .brand > span { font-size: 23px; }
.footer-main p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-main p a { color: #2568a4; font-weight: 600; }
.footer-year { color: #6c8094; font-size: 11px; }
.independence-note { font-size: 10px; color: #6c8094; margin: 24px 0 0; padding-top: 19px; border-top: 1px solid #eaf0f7; line-height: 1.6; }

@media (min-width: 1500px) {
  .app-stage { grid-template-columns: minmax(0, 1fr) 326px minmax(0, 1fr); column-gap: 84px; }
}

@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .app-stage { column-gap: 34px; grid-template-columns: minmax(0, 1fr) 280px minmax(0, 1fr); }
  .stage-note h2 { font-size: 22px; }
  .stage-note > p:not(.eyebrow) { font-size: 13px; }
  .note-line { display: none; }
  .steps { gap: 28px; }
  .project-grid { gap: 38px; }
  .panel-caption { display: none; }
}

@media (max-width: 740px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 78px; gap: 14px; }
  .brand > span { font-size: 24px; }
  .navigation { display: none; }
  .header-contact { padding: 10px 13px; gap: 13px; font-size: 12px; }
  .hero-content { padding-top: 38px; padding-bottom: 40px; }
  .project-label { font-size: 10px; margin-bottom: 20px; }
  h1 { font-size: clamp(31px, 6.8vw, 50px); line-height: 1.13; }
  .hero-description { font-size: 16px; margin-top: 18px; }
  .app-stage { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 34px; margin-top: 32px; }
  .app-figure { grid-column: 1 / -1; grid-row: 1; width: min(294px, 86%); justify-self: center; }
  .app-frame { border-radius: 35px; padding: 6px; }
  .app-screenshot { border-radius: 28px; }
  .app-figure figcaption { font-size: 10px; margin-top: 16px; }
  .stage-rings { width: 540px; height: 540px; top: 50px; }
  .stage-note { grid-row: 2; padding: 0; max-width: none; justify-self: stretch; align-self: start; }
  .telegram-note { grid-column: 1; }
  .vpn-note { grid-column: 2; }
  .note-symbol { width: 41px; height: 41px; border-radius: 14px; margin-bottom: 17px; }
  .stage-note .eyebrow { font-size: 8px; letter-spacing: .07em; min-height: 26px; margin-bottom: 8px; }
  .stage-note h2 { font-size: 20px; margin-bottom: 12px; }
  .stage-note > p:not(.eyebrow) { font-size: 13px; line-height: 1.65; }
  .note-detail { font-size: 10px; margin-top: 17px; padding: 6px 7px; }
  .cloud { bottom: 360px; }
  .cloud-left { left: -410px; }
  .cloud-right { right: -410px; }
  .hero-actions { gap: 14px; margin-top: 34px; }
  .hero-footnote { max-width: 300px; font-size: 10px; }
  .section { padding: 58px 0; }
  .section-heading > p:last-child { font-size: 14px; }
  .steps { grid-template-columns: 1fr; gap: 28px; margin-top: 35px; }
  .steps li { position: relative; padding: 23px 0 0 43px; }
  .step-number { position: absolute; top: 28px; left: 0; }
  .steps h3 { font-size: 20px; }
  .project-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-copy p:not(.eyebrow) { max-width: none; }
  .engineering-panel { padding: 24px; border-radius: 21px; }
  .contact-section { padding-bottom: 44px; }
  .contact-panel { display: block; padding: 29px 24px; }
  .contact-panel h2 { font-size: 30px; }
  .contact-panel .button { margin-top: 23px; }
  .contact-panel p br { display: none; }
  .footer-main { column-gap: 20px; row-gap: 18px; }
  .footer-main p { font-size: 12px; }
  .footer-year { flex-basis: 100%; }
}

@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  .header-contact { font-size: 11px; gap: 8px; }
  .stage-note h2 { font-size: 18px; }
  .app-stage { column-gap: 18px; }
  .brand { gap: 7px; }
  .brand > span { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
