@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #191a1e;
  --muted: #72757d;
  --blue: #315cf5;
  --blue-dark: #2449d6;
  --blue-soft: #eef2ff;
  --surface: #f6f7f9;
  --line: #e5e7eb;
  --green: #42b77a;
  --danger: #dc5252;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(27, 34, 55, .1), 0 4px 14px rgba(27, 34, 55, .05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.section { padding: 112px 0; }

.header { position: relative; z-index: 20; height: 74px; border-bottom: 1px solid rgba(25, 26, 30, .08); background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); }
.header__inner { display: flex; align-items: center; height: 100%; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.brand__mark { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 34px; height: 34px; border-radius: 11px 11px 11px 4px; background: var(--blue); box-shadow: 0 7px 16px rgba(49, 92, 245, .22); }
.brand__mark i { width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { color: #62656d; text-decoration: none; font-size: 14px; font-weight: 700; transition: color .18s; }
.nav a:hover { color: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 13px; background: transparent; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .16s, background .16s, border-color .16s, box-shadow .16s; }
.button:active { transform: translateY(1px); }
.button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(49, 92, 245, .22); outline-offset: 2px; }
.button--small { min-height: 42px; padding: 0 17px; font-size: 13px; }
.button--outline { border-color: var(--line); background: #fff; }
.button--outline:hover { border-color: #ccd0d8; background: #fafafa; }
.button--primary { color: #fff; background: var(--blue); box-shadow: 0 10px 24px rgba(49, 92, 245, .22); }
.button--primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 13px 30px rgba(49, 92, 245, .28); }
.button--primary:disabled, .button--primary:disabled:hover { color: #9a9da5; background: #e7e8eb; box-shadow: none; cursor: not-allowed; transform: none; }
.button--block { width: 100%; }
.button--light { min-width: 220px; color: var(--ink); background: #fff; }
.button--light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }

.hero { position: relative; overflow: hidden; padding: 78px 0 94px; background: linear-gradient(180deg, #fff 0%, #fafbfe 100%); }
.hero::before { content: ""; position: absolute; top: -420px; left: -330px; width: 760px; height: 760px; border: 1px solid rgba(49, 92, 245, .08); border-radius: 50%; }
.hero::after { content: ""; position: absolute; right: -230px; bottom: -360px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(49, 92, 245, .07), transparent 68%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 480px; align-items: center; gap: 76px; }
.online { display: inline-flex; align-items: center; gap: 8px; color: #777a82; font-size: 13px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.online span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(66, 183, 122, .12); }
.online b { color: var(--ink); }
.hero h1 { max-width: 620px; margin-top: 20px; font-size: clamp(48px, 5vw, 66px); line-height: 1.05; letter-spacing: -.055em; font-weight: 800; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero__copy > p { max-width: 590px; margin-top: 25px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero__facts { display: flex; gap: 38px; margin-top: 40px; }
.hero__facts div { display: grid; gap: 1px; }
.hero__facts b { font-size: 20px; letter-spacing: -.03em; }
.hero__facts span { color: #898c93; font-size: 12px; font-weight: 600; }

.signup { min-height: 510px; padding: 34px; scroll-margin-top: 32px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.signup.is-code-step { display: flex; flex-direction: column; justify-content: center; }
.signup.is-code-step .signup__intro, .signup.is-code-step .auth-tabs { display: none; }
.signup.is-code-step .code-step { width: 100%; }
.signup__intro h2 { margin-top: 5px; font-size: 28px; line-height: 1.25; letter-spacing: -.035em; }
.signup__intro p { margin-top: 6px; color: #8a8c93; font-size: 14px; }
.section-label { display: inline-flex; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 22px; padding: 4px; border-radius: 12px; background: var(--surface); }
.auth-tab { height: 44px; border: 0; border-radius: 9px; color: #888a91; background: transparent; font-size: 13px; font-weight: 700; }
.auth-tab.is-active { color: var(--ink); background: #fff; box-shadow: 0 2px 8px rgba(22, 25, 34, .07); }
.auth-tab--soon { cursor: default; }
.auth-tab--soon span { margin-left: 5px; padding: 3px 6px; border-radius: 5px; color: #747780; background: #e4e6ea; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
#signupForm { margin-top: 20px; }
.field { display: grid; gap: 7px; margin-top: 14px; }
.field:first-child { margin-top: 0; }
.field > span:first-child { color: #5e6169; font-size: 13px; font-weight: 700; }
.field input, .field select { width: 100%; height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: 11px; outline: none; background: #fff; font-size: 14px; transition: border-color .16s, box-shadow .16s, background .16s; }
.field input::placeholder { color: #adafb5; }
.field input:hover, .field select:hover { border-color: #cfd2d8; }
.field input:focus, .field select:focus { border-color: rgba(49, 92, 245, .65); box-shadow: 0 0 0 3px rgba(49, 92, 245, .08); }
.field input.is-invalid, .field select.is-invalid { border-color: var(--danger); background: #fffafa; }
.password-wrap, .select-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 78px; }
.password-wrap button { position: absolute; top: 50%; right: 11px; padding: 5px 4px; border: 0; color: #777a82; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; transform: translateY(-50%); }
.select-wrap::after { content: "⌄"; position: absolute; top: 50%; right: 14px; color: #858891; pointer-events: none; transform: translateY(-56%); }
.field select { padding-right: 38px; appearance: none; }
.field__error, .form-error { color: var(--danger); font-size: 12px; line-height: 1.45; }
.field__error[hidden], .form-error[hidden] { display: none; }
.agreement { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 14px; color: #747780; font-size: 12px; line-height: 1.55; cursor: pointer; }
.agreement input { position: absolute; opacity: 0; pointer-events: none; }
.agreement__box { display: grid; place-items: center; flex: none; width: 19px; height: 19px; border: 1px solid #d6d8dd; border-radius: 5px; color: transparent; background: #fff; font-size: 11px; font-weight: 800; }
.agreement input:checked + .agreement__box { color: #fff; border-color: var(--blue); background: var(--blue); }
.agreement input:focus-visible + .agreement__box { outline: 3px solid rgba(49, 92, 245, .2); outline-offset: 2px; }
.agreement a { color: #555961; text-underline-offset: 2px; }
.form-error { display: block; margin: -7px 0 11px 26px; }
.signup__note { margin-top: 12px; color: #9699a0; text-align: center; font-size: 12px; }
.signup-success { padding: 43px 4px 14px; text-align: center; }
.signup-success__icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 19px; border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 10px 24px rgba(66, 183, 122, .24); font-weight: 800; }
.signup-success h3 { font-size: 21px; letter-spacing: -.03em; }
.signup-success p { margin: 10px auto 25px; color: #767982; font-size: 14px; line-height: 1.65; }
.code-step { padding-top: 8px; }
.code-step__back { display: block; margin: 0 0 26px; padding: 0; border: 0; color: #72757d; background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; }
.code-step h3 { margin-top: 6px; font-size: 26px; letter-spacing: -.035em; }
.code-step > p { margin-top: 7px; color: #72757d; font-size: 14px; line-height: 1.6; }
.code-step > p b { color: var(--ink); font-weight: 700; }
.code-inputs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 25px 0 17px; }
.code-inputs input { width: 100%; min-width: 0; height: 56px; padding: 0; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: #fff; text-align: center; font-size: 22px; font-weight: 700; transition: border-color .16s, box-shadow .16s; }
.code-inputs input:focus { border-color: rgba(49, 92, 245, .7); box-shadow: 0 0 0 3px rgba(49, 92, 245, .09); }
.code-inputs.is-invalid input { border-color: var(--danger); background: #fffafa; }
.code-error { margin: -7px 0 15px; }
.code-step .code-step__status { min-height: 20px; margin-top: 14px; color: #71757d; text-align: center; font-size: 12px; }
.code-step .code-step__status.is-error { color: var(--danger); }
.code-step__resend { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin: 10px auto 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--blue); background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .16s, background .16s; }
.code-step__resend:hover { border-color: #cfd4df; background: #fafbff; }
.code-step__resend:disabled { color: #9a9da5; border-color: #e6e7eb; background: #f7f8fa; cursor: not-allowed; }

.section-heading { max-width: 650px; margin: 0 auto 48px; text-align: center; }
.section-heading h2, .rooms__copy h2 { margin-top: 9px; font-size: clamp(34px, 4vw, 46px); line-height: 1.15; letter-spacing: -.045em; }
.section-heading > p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.format-card { min-height: 390px; padding: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.format-card--blue { border-color: transparent; background: var(--blue-soft); }
.format-card__top { display: flex; align-items: center; justify-content: space-between; color: #9da0a8; font-size: 12px; font-weight: 800; }
.format-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: var(--blue); background: #fff; box-shadow: 0 5px 15px rgba(24, 30, 47, .06); font-size: 15px; letter-spacing: -.06em; }
.format-icon--voice, .format-icon--video { background: var(--blue-soft); box-shadow: none; }
.format-icon img { width: 23px; height: 23px; color: var(--blue); }
.format-card h3 { margin-top: 38px; font-size: 22px; letter-spacing: -.025em; }
.format-card > p { min-height: 76px; margin-top: 10px; color: #696c75; font-size: 14px; line-height: 1.65; }
.format-preview { height: 112px; margin-top: 25px; border-radius: 16px; background: #fff; }
.format-preview--text { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px; }
.format-preview--text span { width: fit-content; max-width: 82%; padding: 8px 11px; border-radius: 10px 10px 10px 3px; background: #f1f2f5; color: #696c74; font-size: 12px; }
.format-preview--text span:last-child { align-self: flex-end; color: #fff; border-radius: 10px 10px 3px 10px; background: var(--blue); }
.format-preview--voice { display: flex; align-items: center; justify-content: center; gap: 5px; background: var(--surface); }
.format-preview--voice i { width: 4px; height: 24px; border-radius: 99px; background: var(--blue); }
.format-preview--voice i:nth-child(2), .format-preview--voice i:nth-child(8) { height: 39px; opacity: .65; }
.format-preview--voice i:nth-child(3), .format-preview--voice i:nth-child(7) { height: 54px; }
.format-preview--voice i:nth-child(4), .format-preview--voice i:nth-child(6) { height: 33px; opacity: .65; }
.format-preview--voice i:nth-child(5) { height: 68px; }
.format-preview--video { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--surface); }
.format-preview--video div { display: grid; place-items: center; border-radius: 11px; background: #e7e9ee; }
.format-preview--video div:last-child { background: #dfe6ff; }
.format-preview--video span { width: 48px; height: 48px; background: #adb4c2; -webkit-mask: url("icons/user-round.svg") center / contain no-repeat; mask: url("icons/user-round.svg") center / contain no-repeat; }

.countries { border-top: 1px solid var(--line); background: #fff; }
.countries__grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 90px; }
.countries__copy h2 { max-width: 460px; margin-top: 10px; font-size: clamp(34px, 4vw, 46px); line-height: 1.15; letter-spacing: -.045em; }
.countries__copy > p { max-width: 500px; margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.countries__note { display: flex; align-items: center; gap: 10px; margin-top: 32px !important; color: #646871 !important; font-size: 13px !important; font-weight: 700; }
.countries__note span { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(66, 183, 122, .1); }
.country-chart { position: relative; display: grid; place-items: center; width: min(700px, 100%); min-width: 0; height: 530px; margin: 0 auto; }
.country-chart__wheel { position: relative; width: 460px; height: auto; aspect-ratio: 1 / 1; flex: none; overflow: hidden; border-radius: 50%; background: #eef2ff; box-shadow: 0 32px 70px rgba(49, 92, 245, .13); transform: translateZ(0); }
.country-chart__wheel::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; }
.country-chart__wheel::after { content: ""; position: absolute; inset: 28%; border: 1px solid #e3e7f2; border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 15px 40px rgba(38, 51, 88, .12); }
.country-chart__core { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; place-items: center; width: 170px; transform: translate(-50%, -50%); }
.country-chart__core span { color: #8a8e98; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.country-chart__core b { margin: 3px 0 1px; color: var(--blue); font-size: 43px; line-height: 1; letter-spacing: -.065em; }
.country-chart__core small { color: #555a65; font-size: 10px; font-weight: 800; }
.chart-flag { --radius: 190px; --turn: 0deg; --back: 0deg; position: absolute; z-index: 4; top: 50%; left: 50%; display: grid; place-items: center; width: 42px; height: 42px; padding: 4px; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 8px 22px rgba(27, 34, 55, .2); transform: translate(-50%, -50%) rotate(var(--turn)) translateY(calc(-1 * var(--radius))) rotate(var(--back)); transition: opacity .18s; }
.chart-flag img { display: block; width: 100%; height: 100%; }
.country-chart__wheel:not(.is-ready) .chart-flag { opacity: 0; }

.rooms { background: var(--surface); }
.rooms__grid { display: grid; grid-template-columns: .62fr 1.38fr; align-items: center; gap: 60px; }
.rooms__copy > p { margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.rooms__copy ul { display: grid; gap: 12px; margin: 27px 0 0; padding: 0; list-style: none; }
.rooms__copy li { display: flex; align-items: center; gap: 11px; color: #5f626a; font-size: 14px; font-weight: 600; }
.rooms__copy li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--blue); background: var(--blue-soft); font-size: 11px; }
.room-window { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(25, 31, 49, .1); }
.room-window__header { display: flex; align-items: center; gap: 11px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.room-window__header { padding: 18px 20px; }
.room-logo { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #f4d9d1; border-radius: 13px; background: #fff1ed; box-shadow: 0 7px 16px rgba(215, 94, 74, .1); }
.room-logo img { width: 23px; height: 23px; }
.room-window__header > div:nth-child(2) { display: grid; }
.room-window__header strong { font-size: 15px; }
.room-window__header span { display: flex; align-items: center; gap: 6px; color: #858890; font-size: 12px; }
.room-window__header span i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.room-window__more { margin-left: auto; color: #8c8f96; letter-spacing: 2px; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 50%; color: #4b59a4; background: #dce3ff; }
.avatar::before { content: ""; width: 54%; height: 54%; background: currentColor; -webkit-mask: url("icons/user-round.svg") center / contain no-repeat; mask: url("icons/user-round.svg") center / contain no-repeat; }
.avatar--two { color: #915a62; background: #ffe1e5; }
.avatar--three { color: #617743; background: #e7f5d4; }
.avatar--four { color: #806047; background: #f6e5d8; }
.room-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 220px; min-height: 390px; }
.room-stage { position: relative; padding: 14px 14px 67px; background: #20232a; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 100%; }
.video-tile { position: relative; display: grid; place-items: center; min-height: 140px; overflow: hidden; border-radius: 13px; background: #343945; }
.video-tile--marina { background: linear-gradient(145deg, #e9c9c5, #b5a0a4); }
.video-tile--denis { background: linear-gradient(145deg, #c5d8d1, #8ca5a0); }
.video-person { display: grid; place-items: center; width: 86px; height: 86px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: rgba(61, 65, 75, .38); background: rgba(255,255,255,.42); box-shadow: 0 12px 28px rgba(45, 42, 48, .08); }
.video-person::before { content: ""; width: 47px; height: 47px; background: currentColor; -webkit-mask: url("icons/user-round.svg") center / contain no-repeat; mask: url("icons/user-round.svg") center / contain no-repeat; }
.video-tile b { position: absolute; left: 10px; bottom: 9px; padding: 4px 7px; border-radius: 7px; color: #fff; background: rgba(20,22,28,.56); font-size: 11px; }
.video-tile small { position: absolute; top: 9px; right: 9px; padding: 3px 6px; border-radius: 6px; color: #fff; background: rgba(20,22,28,.45); font-size: 9px; }
.audio-tile { position: relative; display: flex; align-items: center; gap: 10px; min-height: 80px; padding: 13px; border-radius: 13px; background: #2b2f38; }
.audio-tile .avatar { width: 38px; height: 38px; margin: 0; }
.audio-tile > div { display: grid; min-width: 0; }
.audio-tile b { overflow: hidden; color: #fff; font-size: 11px; text-overflow: ellipsis; }
.audio-tile small { overflow: hidden; color: #979ca7; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.signal { display: flex; align-items: end; gap: 2px; margin-left: auto; height: 17px; }
.signal em { width: 3px; height: 8px; border-radius: 2px; background: var(--green); }
.signal em:nth-child(2) { height: 14px; }
.signal em:nth-child(3) { height: 11px; }
.muted { display: grid; place-items: center; width: 20px; height: 20px; margin-left: auto; border-radius: 50%; color: #fff; background: #e26767; font-size: 12px; font-style: normal; }
.call-controls { position: absolute; left: 50%; bottom: 16px; display: flex; gap: 7px; transform: translateX(-50%); }
.call-controls > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: #393e48; font-size: 11px; }
.call-controls .hangup { background: #e55e5e; font-size: 18px; }
.room-chat { position: relative; padding: 16px 13px 58px; border-left: 1px solid var(--line); background: #fff; }
.room-chat__title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: 12px; }
.room-chat__title span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 7px; color: var(--blue); background: var(--blue-soft); font-size: 10px; font-weight: 800; }
.room-message { display: flex; align-items: flex-start; gap: 8px; margin-top: 15px; }
.room-message .avatar { flex: none; width: 28px; height: 28px; margin: 0; font-size: 9px; font-style: normal; }
.room-message p { color: #666971; font-size: 10px; line-height: 1.45; }
.room-message p > b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 10px; }
.room-message p small { margin-left: 4px; color: #a0a3aa; font-size: 8px; font-weight: 500; }
.room-gif { position: relative; margin: 14px 0 0 36px; padding: 12px; overflow: hidden; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #7057d9, #db78a5 65%, #f6a35f); }
.room-gif::after { content: ""; position: absolute; right: -20px; bottom: -30px; width: 90px; height: 90px; border: 18px solid rgba(255,255,255,.15); border-radius: 50%; }
.room-gif > span { display: inline-flex; padding: 2px 5px; border-radius: 5px; background: rgba(0,0,0,.25); font-size: 7px; font-weight: 800; }
.room-gif b { display: block; margin-top: 11px; font-size: 9px; line-height: 1.3; }
.room-gif i { display: inline-flex; margin-top: 10px; padding: 3px 6px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 8px; font-style: normal; }
.room-chat__input { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; height: 38px; padding: 0 6px 0 10px; border: 1px solid var(--line); border-radius: 10px; color: #a0a3aa; background: #fafafa; font-size: 10px; }
.room-chat__input > span { margin-right: auto; }
.room-chat__input b { margin-right: 6px; color: #858890; font-size: 9px; }
.room-chat__input i { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: #fff; background: var(--blue); font-size: 13px; font-style: normal; }
.invite-box { padding: 14px 18px; border-top: 1px solid var(--line); background: #fff; }
.invite-box { display: flex; align-items: center; gap: 20px; }
.invite-box > div { display: grid; gap: 3px; min-width: 0; }
.invite-box > div > span { color: #858890; font-size: 10px; font-weight: 700; }
.invite-box code { min-width: 0; flex: 1; overflow: hidden; color: #555861; font-family: inherit; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.invite-box > b { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: #69716d; font-size: 10px; white-space: nowrap; }
.invite-box > b i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.safety__inner { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: 100px; }
.section-heading--left { margin: 0; text-align: left; }
.section-heading--left > p { margin-top: 20px; line-height: 1.75; }
.safety-list { display: grid; }
.safety-list article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.safety-list article:first-child { border-top: 1px solid var(--line); }
.safety-list article > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: var(--blue); background: var(--blue-soft); font-size: 11px; font-weight: 800; }
.safety-list h3 { font-size: 16px; }
.safety-list p { margin-top: 4px; color: #73767f; font-size: 13px; }

.cta { padding-top: 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 54px 60px; border-radius: 26px; color: #fff; background: #1c2029; }
.section-label--light { color: #aebfff; }
.cta h2 { margin-top: 9px; font-size: clamp(30px, 3.5vw, 42px); line-height: 1.2; letter-spacing: -.04em; }
.footer { border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; min-height: 104px; gap: 34px; color: #7f828a; font-size: 13px; }
.brand--small { font-size: 16px; }
.brand--small .brand__mark { width: 28px; height: 28px; border-radius: 9px 9px 9px 3px; }
.footer__inner p { margin-right: auto; }
.footer__inner nav { display: flex; gap: 20px; }
.footer__inner nav a { text-decoration: none; }
.footer__inner nav a:hover { color: var(--ink); }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 11px; color: #fff; background: #20232a; box-shadow: 0 10px 35px rgba(0, 0, 0, .2); font-size: 13px; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 58px; }
  .hero__copy { max-width: 720px; text-align: center; margin-inline: auto; }
  .hero__copy > p { margin-inline: auto; }
  .hero__facts { justify-content: center; }
  .signup { width: min(500px, 100%); margin-inline: auto; }
  .format-grid { grid-template-columns: 1fr; }
  .format-card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; min-height: 235px; }
  .format-card__top, .format-card h3, .format-card > p { grid-column: 1; }
  .format-card h3 { margin-top: 24px; }
  .format-preview { grid-column: 2; grid-row: 1 / 4; height: auto; min-height: 180px; margin-top: 0; }
  .countries__grid, .rooms__grid, .safety__inner { grid-template-columns: 1fr; gap: 55px; }
  .countries__copy, .rooms__copy, .section-heading--left { max-width: 650px; }
  .country-chart { margin-inline: auto; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 32px, 1180px); }
  .section { padding: 82px 0; }
  .header { height: 66px; }
  .nav { display: none; }
  .header__inner .button { margin-left: auto; }
  .header__inner .button { min-height: 38px; padding: 0 13px; }
  .brand { font-size: 18px; }
  .brand__mark { width: 31px; height: 31px; }
  .hero { padding: 52px 0 72px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); }
  .hero__copy > p { font-size: 16px; }
  .hero__facts { gap: 22px; }
  .hero__facts b { font-size: 17px; }
  .signup { min-height: 480px; padding: 23px; border-radius: 20px; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2, .countries__copy h2, .rooms__copy h2 { font-size: 32px; }
  .format-card { display: block; min-height: auto; }
  .format-card h3 { margin-top: 28px; }
  .format-card > p { min-height: 0; }
  .format-preview { height: 120px; min-height: 0; margin-top: 24px; }
  .country-chart { height: auto; }
  .country-chart__wheel { width: min(310px, calc(100% - 24px)); margin: 8px auto; }
  .country-chart__core { width: 125px; }
  .country-chart__core b { font-size: 36px; }
  .chart-flag { --radius: 128px; width: 30px; height: 30px; padding: 3px; box-shadow: 0 5px 14px rgba(27, 34, 55, .18); }
  .room-window { border-radius: 20px; }
  .room-workspace { grid-template-columns: 1fr; }
  .room-stage { min-height: 390px; }
  .room-chat { min-height: 230px; border-top: 1px solid var(--line); border-left: 0; }
  .cta { padding-top: 0; }
  .cta__inner { width: 100%; flex-direction: column; align-items: flex-start; padding: 45px 24px; border-radius: 0; }
  .cta__inner .button { width: 100%; }
  .footer__inner { min-height: 150px; padding: 26px 0; flex-wrap: wrap; gap: 15px 24px; }
  .footer__inner p { width: calc(100% - 120px); margin: 0; }
  .footer__inner nav { width: 100%; order: 3; }
  .footer__inner > span { margin-left: auto; }
}

@media (max-width: 390px) {
  .header__inner .button { font-size: 0; }
  .header__inner .button::after { content: "Регистрация"; font-size: 12px; }
  .hero__facts { justify-content: space-between; gap: 8px; }
  .hero__facts span { font-size: 11px; }
  .code-inputs { gap: 5px; }
  .code-inputs input { height: 50px; font-size: 19px; }
  .country-chart__wheel { width: min(280px, calc(100% - 18px)); }
  .country-chart__core { width: 105px; }
  .country-chart__core span { font-size: 8px; }
  .country-chart__core b { font-size: 31px; }
  .country-chart__core small { font-size: 8px; }
  .chart-flag { --radius: 116px; width: 26px; height: 26px; padding: 2px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-tile { min-height: 170px; }
  .audio-tile { min-height: 68px; }
  .room-stage { min-height: 650px; }
  .invite-box { align-items: flex-start; flex-direction: column; gap: 8px; }
  .invite-box > b { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
