/* Figma 173:2398 and 357:10802, extended for desktop and editorial pages. */
.article-cover { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; margin-bottom: 24px; }
.article-hero-cover { display: block; width: 100%; height: auto; border-radius: 24px; margin-block: 32px; }
.topbar .brand img { width: 69px; height: 27px; object-fit: contain; }
.calculator-results { grid-template-columns: 1fr !important; }
.dashboard-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dashboard-preview { background: #e3e3fd; }
.dashboard-stat { min-width: 0; padding: 15px 13px 12px; border-radius: 20px; background: #fefdff; color: #111; display: flex; flex-direction: column; gap: 5px; }
.dashboard-stat strong { font-size: 24px; line-height: 36px; }
.dashboard-stat span { font-size: 13px; line-height: 18px; }
.dashboard-stat small { display: block; color: #5f5f5f; font-size: 12px; }
.dashboard-active { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 12px; color: white; border-radius: 20px; background: radial-gradient(ellipse at top,#6d79ff,#3a45d1); }
.dashboard-active div { flex: 1; min-width: 0; }
.dashboard-active b { display: block; font-size: 13px; line-height: 20px; }
.dashboard-active span { display: block; font-size: 11px; line-height: 18px; }
.tg-avatar { position: relative; overflow: hidden; flex-shrink: 0; }
.tg-avatar .bot-background { position: absolute; width: 180.5%; max-width: none; height: 101.6%; left: -20%; top: 0; }
.tg-avatar .bot-monogram { position: absolute; width: 54.4%; height: 61.8%; left: 26.9%; top: 19.1%; }
.hero-media { aspect-ratio: 390 / 492; overflow: hidden; }
.hero-static { display: block; position: absolute; width: 108%; max-width: none; height: auto; left: -1%; top: 0; }
.hero-media .confirm-card { z-index: 2; bottom: 21%; }
.landing-content .professions-section, .landing-content #how { background: #f0f2fb; }
.landing-content .calculator-section { background: transparent; }
.calculator-layout, .messaging-layout, .profile-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.calculator-copy > p:not(.eyebrow), .profile-lead { margin-top: 24px !important; max-width: 480px; color: #52617c; }
.calculator-copy .calc-explainer { font-size: 13px; }
.calc-illustration { max-width: 390px; margin-top: 36px; padding: 20px; background: #ffffff70; border: 1px solid #dfe4f1; border-radius: 20px; }
.calendar-line, .empty-slot, .filled-slot { display: flex; align-items: center; gap: 14px; padding: 12px; font-size: 13px; }
.calendar-line > span { display: grid; place-items: center; width: 36px; height: 36px; background: #e8e7ff; border-radius: 10px; color: #5b5cf0; font-weight: 700; }
.calendar-line i { flex: 1; height: 1px; background: #dfe4f1; }
.empty-slot { border: 1px dashed #b8bde2; border-radius: 12px; color: #8189aa; margin-block: 8px; justify-content: space-between; }
.filled-slot { background: #5b5cf0; border-radius: 12px; color: white; justify-content: space-between; box-shadow: 0 8px 20px #5b5cf020; }
.calculator-card { display: flex; flex-direction: column; gap: 18px; padding: 32px; background: white; border: 1px solid #dfe4f1; border-radius: 24px; }
.calculator-card label { display: flex; justify-content: space-between; align-items: start; gap: 18px; font-size: 14px; font-weight: 500; }
.calculator-card output { color: #5b5cf0; white-space: nowrap; font-weight: 700; }
.calculator-card input[type=range] { --fill: 50%; width: 100%; height: 28px; margin: 0 0 10px; padding: 0; appearance: none; background: transparent; cursor: pointer; accent-color: #5b5cf0; }
.calculator-card input[type=range]::-webkit-slider-runnable-track { height: 5px; border-radius: 99px; background: linear-gradient(to right,#a3a4fb var(--fill),#ebebf4 var(--fill)); }
.calculator-card input[type=range]::-webkit-slider-thumb { appearance: none; width: 28px; height: 22px; margin-top: -8.5px; border-radius: 12px; background: #5b5cf0; border: 3px solid white; box-shadow: 0 0 0 1px #c8c5fa; }
.calculator-card input[type=range]::-moz-range-track { height: 5px; border-radius: 99px; background: #ebebf4; }
.calculator-card input[type=range]::-moz-range-progress { height: 5px; background: #a3a4fb; }
.calculator-card input[type=range]::-moz-range-thumb { width: 23px; height: 18px; border-radius: 12px; background: #5b5cf0; border: 3px solid white; }
.calculator-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid #dfe4f1; padding-top: 20px; }
.calculator-results > div { padding: 18px 12px; background: #f7f8fd; border: 1px solid #dfe4f1; border-radius: 16px; display: flex; flex-direction: column; gap: 9px; }
.calculator-results span { font-size: 12px; min-height: 38px; }
.calculator-results strong { font-size: clamp(22px,2.6vw,32px); line-height: 1.15; white-space: nowrap; letter-spacing: -.04em; }
.calculator-results .calc-positive { color: #4443c4; border-color: #d6d3ff; background: #f1efff; }
.calculator-card .calc-disclaimer { color: #65718a; font-size: 11px; line-height: 1.6; }
.calculator-card .button { width: 100%; font-size: 14px; }
.messaging-benefits { display: grid; gap: 30px; }
.messaging-benefits article { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; }
.feature-symbol { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; background: #e9e8ff; border-radius: 15px; color: #5b5cf0; font-size: 25px; }
.messaging-benefits h3 { font-size: 21px; }
.messaging-benefits p { margin-top: 10px; color: #52617c; font-size: 14px; }
.message-demo { margin: 0; padding: 26px; border-radius: 30px; background: radial-gradient(ellipse at top,#dcd9ff, #edecfa 70%); }
.message-demo figcaption, .profile-stage figcaption { margin-top: 16px; text-align: center; font-size: 11px; line-height: 1.6; color: #65718a; }
.telegram-window { max-width: 380px; margin-inline: auto; border: 1px solid #d2dce8; border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 16px 35px #182b5810; font: 400 13px/1.5 Onest,sans-serif; color: #14233c; text-align: left; }
.telegram-top { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: #fff; border-bottom: 1px solid #e5e8ef; }
.tg-avatar { width: 36px; height: 36px; display: grid; place-items: center; background: #edecff; border-radius: 50%; }
.telegram-top b { font-size: 15px; }
.telegram-top small { display: block; font-size: 11px; color: #8793a6; }
.tg-dots { margin-left: auto; color: #8793a6; letter-spacing: 2px; }
.telegram-wallpaper { padding: 16px 12px 20px; background: radial-gradient(circle at 15% 20%,#d3e3ed 1px, transparent 1.5px) 0 0 / 18px 18px,linear-gradient(140deg,#e4edf4,#dce7f0); }
.tg-date { width: fit-content; margin: 0 auto 16px; padding: 3px 10px; border-radius: 12px; color: white; background: #97acbcb0; font-size: 10px; }
.tg-bubble { padding: 14px 13px 9px; background: #fff; border-radius: 13px 13px 13px 3px; box-shadow: 0 1px 2px #102d3920; }
.tg-bubble > strong { font-size: 14px; }
.tg-bubble p { margin: 9px 0 12px; }
.tg-bubble dl { margin: 12px 0 4px; }
.tg-bubble dl > div { margin-block: 7px; }
.tg-bubble dt { display: inline; color: #7c8796; font-size: 11px; }
.tg-bubble dt::after { content: ' · '; }
.tg-bubble dd { display: inline; margin: 0; font-size: 12px; }
.tg-time { display: block; color: #8a99a8; text-align: right; font-size: 9px; }
.tg-actions { display: grid; gap: 4px; margin-top: 5px; }
.tg-actions > span { display: grid; place-items: center; min-height: 36px; padding: 7px; border-radius: 7px; color: #346c99; background: #ffffffb8; text-align: center; font-size: 12px; font-weight: 600; }
.tg-actions > .tg-primary { background: #638eb5; color: #fff; }
.tg-earned { color: #24805f; font-size: 21px; font-weight: 700; padding-top: 8px; }
.chain-heading { margin: 72px 0 28px; text-align: center; }
.mini-label { color: #737d98; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; }
.chain-heading h3 { margin-top: 12px; font-size: 27px; }
.telegram-chain { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; align-items: start; }
.telegram-chain figure { margin: 0; }
.chain-step { display: block; margin-bottom: 13px; font-size: 12px; font-weight: 600; color: #5b5cf0; }
.telegram-chain .telegram-window { width: 100%; }
.profile-section { background: #f5f4fc; }
.profile-lead { line-height: 1.7; }
.profile-layout .button { margin-top: 30px; }
.profile-stage { position: relative; margin: 0; padding: 30px 32px; background: radial-gradient(ellipse at 50% 30%,#d9d4ff,transparent 65%); }
.profile-preview { max-width: 350px; padding: 14px 14px 18px; margin: auto; background: linear-gradient(#e6e5ff,#f2f1f7 65%); border: 5px solid white; border-radius: 26px; box-shadow: 0 26px 65px #3e367322; text-align: center; }
.profile-url { font-size: 9px; background: #ffffff88; padding: 8px; border-radius: 16px; color: #677088; }
.profile-url span { margin-right: 6px; }
.profile-avatar { width: 66px; height: 66px; display: grid; place-items: center; margin: 24px auto 12px; border-radius: 50%; background: #dcd3f9; color: #7560d6; font-size: 27px; font-weight: 600; }
.profile-name { display: block; font-size: 20px; color: #111; }
.profile-specialty, .profile-address { display: block; font-size: 12px; margin-top: 4px; color: #656578; }
.profile-address { color: #4545d9; margin-top: 10px; }
.profile-tabs { display: flex; gap: 4px; justify-content: space-between; background: white; border-radius: 16px; padding: 6px; font-size: 11px; margin: 22px 0; }
.profile-tabs span { flex: 1; padding: 8px 2px; border-radius: 12px; color: #666; }
.profile-tabs .active { background: #4545d9; color: white; }
.profile-services-title { font-size: 14px; display: block; margin-bottom: 16px; }
.profile-service { display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 13px 12px; margin-bottom: 8px; background: #ffffffda; border-radius: 12px; gap: 10px; }
.profile-service b { font-size: 12px; display: block; }
.profile-service small { display: block; font-size: 11px; color: #757585; margin-top: 4px; }
.profile-radio { width: 21px; height: 21px; flex: 0 0 21px; border-radius: 50%; border: 2px solid #c5c4cc; }
.profile-radio.selected { background: #5b5cf0; border: 4px solid white; box-shadow: 0 0 0 1px #5b5cf0; }
.profile-booking { display: block; margin: 18px 0; padding: 12px 10px; border-radius: 12px; background: #4545d9; color: white; font-size: 12px; font-weight: 600; }
.profile-footer { padding: 8px 0 0; opacity: .5; }
.floating-label { position: absolute; top: 15%; right: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; background: #fff; box-shadow: 0 10px 30px #403d7a1f; border-radius: 18px; color: #5b5cf0; font-size: 26px; font-weight: 700; rotate: 5deg; }
.floating-label span { font-size: 10px; font-weight: 400; }
.profession-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.profession-card { position: relative; display: flex; flex-direction: column; align-items: start; padding: 30px; border: 1px solid #d9ddf0; background: #ffffffa8; border-radius: 24px; }
.profession-card h3 { margin: 20px 0 12px; }
.profession-card p { color: #52617c; font-size: 15px; margin-bottom: 24px; }
.profession-card a { margin-top: auto; color: #4d4cce; font-size: 13px; font-weight: 600; text-underline-offset: 4px; }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.article-card { display: flex; flex-direction: column; gap: 15px; padding: 18px 18px 24px; border: 1px solid #dfe4f1; background: #fff; border-radius: 24px; }
.article-art { display: grid; place-items: center; min-height: 135px; border-radius: 15px; font-size: 42px; color: #5b5cf0; font-weight: 700; letter-spacing: -.05em; background: radial-gradient(ellipse at 20% 20%,#d7d2ff,transparent 70%),#f1effc; }
.article-card:nth-child(2) .article-art { background: #edf1fc; color: #7183ca; }
.article-card:nth-child(3) .article-art { background: #ebf5f2; color: #4c8e79; }
.article-card h3 { font-size: 21px; }
.article-card h3 a { color: inherit; text-decoration: none; }
.article-card p { color: #65718a; font-size: 13px; }
.article-card .text-link { margin-top: auto; font-size: 13px; color: #5b5cf0; text-underline-offset: 4px; }
.all-articles { display: inline-block; margin-top: 28px; color: #5b5cf0; font-size: 14px; }
.site-footer .resource-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 20px; }
.document-page .editorial-main { max-width: 1180px; margin: 48px auto 80px; padding-inline: 24px; color: #0b1b39; }
.editorial-main h1 { font-size: clamp(36px,5vw,64px); line-height: 1.06; letter-spacing: -.05em; max-width: 920px; margin: 24px 0; }
.editorial-main .section { padding-block: 64px; }
.editorial-main > .breadcrumb { font-size: 12px; display: flex; flex-wrap: wrap; gap: 8px; color: #65718a; }
.breadcrumb a { color: #5b5cf0; text-underline-offset: 3px; }
.profession-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; margin-top: 35px; padding-bottom: 60px; }
.profession-intro h1 { font-size: clamp(36px,4.6vw,58px); }
.profession-intro p { color: #52617c; line-height: 1.75; margin: 24px 0; }
.profession-demo { padding: 32px; background: #eae8fa; border-radius: 28px; }
.profession-slot { background: white; border: 1px solid #dfe4f1; padding: 24px; border-radius: 19px; }
.profession-slot strong { display: block; font-size: 26px; margin-block: 18px 8px; }
.profession-slot .status { display: inline-block; }
.profession-slot small { display: block; color: #7d879d; margin-top: 16px; font-size: 11px; }
.profession-details { max-width: 800px; margin-inline: auto; }
.profession-details h2 { font-size: clamp(28px,3vw,38px); line-height: 1.2; letter-spacing: -.04em; }
.profession-details p, .profession-details li { line-height: 1.8; color: #52617c; }
.profession-details li { margin-block: 10px; }
.related-professions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 30px; }
.related-professions a { padding: 10px 15px; background: white; border: 1px solid #dfe4f1; border-radius: 12px; font-size: 13px; color: #5b5cf0; }
.editorial-main.article-main { max-width: 800px; }
.article-main h1 { font-size: clamp(34px,4vw,54px); margin-top: 32px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: #8088a2; }
.article-main .editorial-intro { font-size: 19px; color: #52617c; line-height: 1.7; margin: 32px 0 40px; }
.article-main section h2, .article-takeaways h2 { font-size: 25px; line-height: 1.25; margin: 34px 0 16px; letter-spacing: -.035em; }
.article-main section p { line-height: 1.85; color: #52617c; font-size: 16px; }
.article-takeaways { margin-block: 36px; padding: 5px 26px 20px; background: #eeecff; border-radius: 22px; }
.article-takeaways li { margin-block: 10px; color: #52617c; line-height: 1.7; }
.article-cta { margin-top: 40px; padding: 26px; border: 1px solid #dfe4f1; border-radius: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; background: white; }
.article-cta p { width: 100%; margin: 0; }
.article-cta > a:not(.button) { font-size: 13px; color: #5b5cf0; }
@media (min-width: 941px) {
  .hero-media { height: 630px; aspect-ratio: auto; align-self: end; overflow: hidden; }
  .hero-static { width: 100%; left: 0; top: 0; }
  .hero-media .confirm-card { left: 0; bottom: 10%; }
  .nav-links { gap: 20px; }
}
@media (max-width: 940px) {
  .hero-media { aspect-ratio: 390 / 508; height: auto; margin-top: 16px; overflow: hidden; border-radius: 0; }
  .hero-media .hero-static { position: absolute; width: 100.2%; max-width: none; height: auto; left: 15.45%; top: 1.85%; }
  .hero-media .confirm-card { left: 24px; bottom: auto; top: 59%; }
  .calculator-layout, .messaging-layout, .profile-layout { gap: 32px; }
  .telegram-chain { gap: 12px; }
  .telegram-chain .telegram-top { padding: 10px; }
  .telegram-chain .tg-bubble { padding: 10px; }
  .profile-stage { padding-inline: 10px; }
  .floating-label { right: -5px; }
}
@media (max-width: 680px) {
  .calculator-layout, .messaging-layout, .profile-layout, .profession-intro { grid-template-columns: 1fr; gap: 30px; }
  .landing-content .section { padding-block: 60px; }
  .calculator-card { padding: 22px; gap: 16px; }
  .calculator-results { grid-template-columns: 1fr; }
  .calculator-results > div { text-align: center; padding-block: 18px; }
  .calculator-results span { min-height: 0; font-size: 13px; }
  .calculator-results strong { font-size: 27px; }
  .calculator-copy > p:not(.eyebrow) { margin-top: 20px !important; }
  .calculator-copy .calc-explainer { font-size: 12px; }
  .calc-illustration { margin-top: 24px; }
  .messaging-benefits { gap: 24px; }
  .messaging-benefits article { column-gap: 14px; grid-template-columns: 40px 1fr; }
  .feature-symbol { width: 40px; height: 40px; border-radius: 12px; }
  .messaging-benefits h3 { font-size: 19px; }
  .message-demo { padding: 18px; }
  .telegram-chain { display: flex; gap: 16px; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 20px; scrollbar-width: thin; scrollbar-color: #a3a4fb #edecfa; }
  .telegram-chain figure { flex: 0 0 88%; min-width: 0; scroll-snap-align: start; }
  .telegram-chain:focus-visible { outline: 2px solid #5b5cf0; outline-offset: 4px; }
  .chain-heading { margin-top: 48px; }
  .chain-heading h3 { font-size: 24px; }
  .profile-stage { padding: 20px 8px; }
  .floating-label { right: -5px; top: 3%; font-size: 22px; padding: 10px 15px; }
  .profile-preview { max-width: 320px; }
  .profession-grid, .article-grid { grid-template-columns: 1fr; }
  .profession-card { padding: 24px; }
  .profession-card h3 { font-size: 22px; margin-top: 15px; }
  .article-card { padding: 16px 16px 24px; }
  .article-art { min-height: 130px; }
  .document-page .editorial-main { margin-top: 26px; padding-inline: 22px; }
  .profession-intro { margin-top: 24px; }
  .profession-intro h1 { font-size: 38px; }
  .profession-demo { padding: 22px; }
  .editorial-main .section { padding-block: 40px; }
  .article-main .editorial-intro { font-size: 17px; margin-block: 24px; }
  .article-main section h2 { font-size: 23px; }
  .article-takeaways { padding-inline: 20px; }
  .article-takeaways ul { padding-left: 18px; }
}
@media (max-width: 360px) {
  .dashboard-stat { padding-inline: 9px; }
  .dashboard-stat strong { font-size: 20px; white-space: nowrap; }
  .dashboard-active { gap: 6px; padding: 10px 8px; }
  .dashboard-active > img:first-child { width: 28px; height: 28px; }
  .hero-media .confirm-card { left: 16px; font-size: 10px; }
  .calculator-card { padding: 18px; }
  .calculator-card .button { font-size: 13px; }
  .message-demo { padding: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .filled-slot { animation: recovered-slot 4s ease-in-out infinite; }
  @keyframes recovered-slot { 0%,100% { translate: 0 0; } 50% { translate: 0 -3px; } }
}
