:root {
  color-scheme: dark;
  --bg: #11120f;
  --surface: #191a16;
  --surface-soft: #1e201a;
  --ink: #f1f0e8;
  --muted: #999a8d;
  --subtle: #6e7065;
  --line: rgba(238, 239, 223, .12);
  --lime: #c8ee79;
  --orange: #ff9678;
  --lavender: #b2a6fa;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --sans: Inter, 'Segoe UI', Arial, sans-serif;
  --page-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body { -webkit-user-select: none; user-select: none; }
body::before { position: fixed; z-index: -1; inset: 0; content: ''; pointer-events: none; background: radial-gradient(ellipse at 80% 6%, rgba(127, 150, 78, .08), transparent 32%), radial-gradient(ellipse at 0% 56%, rgba(178, 166, 250, .035), transparent 33%); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.section-wrap { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-160%); border-radius: 8px; background: var(--lime); color: var(--bg); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgba(238, 239, 223, .07); background: rgba(17, 18, 15, .84); backdrop-filter: blur(18px); }
.header-inner { width: min(var(--page-width), calc(100% - 64px)); min-height: 76px; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand, .footer-brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.brand-mark { color: var(--lime); font-size: 24px; line-height: 1; }
.primary-nav { display: flex; align-items: center; gap: 31px; }
.primary-nav a { color: #b5b5a9; font-size: 12px; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--lime); }
.language-switch { justify-self: end; display: flex; align-items: center; gap: 8px; color: var(--subtle); font-family: var(--mono); font-size: 11px; }
.language-switch button { padding: 5px 1px; border: 0; background: transparent; color: var(--subtle); cursor: pointer; font-family: var(--mono); font-size: inherit; transition: color .2s ease; }
.language-switch button[aria-pressed="true"], .language-switch button:hover { color: var(--ink); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: min(740px, calc(100vh - 76px)); padding-block: 108px 100px; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 58px; }
.hero-copy { max-width: 570px; position: relative; z-index: 1; }
.eyebrow, .section-index { margin: 0; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .02em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.eyebrow-dot, .mini-status { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px rgba(200, 238, 121, .56); }
.hero h1 { margin: 0; font-size: clamp(50px, 6.7vw, 82px); font-weight: 600; letter-spacing: -.075em; line-height: 1.07; }
.hero-name { color: var(--lime); }
.hero-period { color: var(--orange); }
.hero-role { max-width: 510px; margin: 24px 0 0; font-size: clamp(22px, 2.6vw, 31px); font-weight: 500; letter-spacing: -.045em; line-height: 1.36; }
.accent-text { color: var(--lime); }
.hero-intro { max-width: 420px; margin: 17px 0 0; color: var(--muted); font-size: 14px; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 34px; }
.button { min-height: 48px; padding: 0 17px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: #171911; }
.button-primary:hover { background: #d5f394; }
.button-arrow { font-size: 17px; font-weight: 500; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 11px; color: #c5c5ba; font-size: 12px; transition: color .2s ease; }
.text-link:hover { color: var(--lime); }
.hero-note { margin: 55px 0 0; display: flex; align-items: center; gap: 11px; color: var(--subtle); font-family: var(--mono); font-size: 10px; }
.note-line { width: 27px; height: 1px; background: #505249; }

.hero-art { min-height: 390px; position: relative; display: grid; place-items: center; }
.art-orbit { position: absolute; border: 1px solid rgba(200, 238, 121, .14); border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { width: 410px; height: 275px; }
.orbit-two { width: 330px; height: 450px; transform: rotate(56deg); border-color: rgba(255, 150, 120, .11); }
.code-card { position: relative; z-index: 1; width: min(100%, 410px); overflow: hidden; border: 1px solid rgba(220, 222, 198, .14); border-radius: 13px; background: linear-gradient(145deg, rgba(39, 41, 33, .98), rgba(25, 26, 22, .98)); box-shadow: 0 30px 80px rgba(0, 0, 0, .32); transform: rotate(-2deg); animation: card-drift 8s ease-in-out infinite; }
.code-card-top, .code-card-bottom { min-height: 45px; padding-inline: 16px; display: flex; align-items: center; color: #85877b; font-family: var(--mono); font-size: 9px; }
.code-card-top { justify-content: space-between; border-bottom: 1px solid rgba(238, 239, 223, .08); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #7f826f; }
.window-dots i:nth-child(2) { background: var(--orange); }
.window-dots i:nth-child(3) { background: var(--lime); }
.code-card-menu { letter-spacing: 2px; }
.code-lines { min-height: 216px; padding: 23px 18px 20px; display: flex; flex-direction: column; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.code-line { display: block; color: var(--ink); }
.code-line b { width: 30px; margin-right: 13px; display: inline-block; color: #62645a; font-size: 9px; font-weight: 400; text-align: right; }
.code-line.indent { padding-left: 12px; }
.code-purple { color: var(--lavender); }.code-blue { color: #a5caf0; }.code-white { color: #dfdfd4; }.code-yellow { color: #e8cf91; }.code-green { color: var(--lime); }.code-orange { color: var(--orange); }
.cursor { width: 5px; height: 13px; margin-left: 4px; display: inline-block; vertical-align: -2px; background: var(--lime); animation: blink 1.2s steps(2, start) infinite; }
.code-card-bottom { min-height: 38px; gap: 9px; border-top: 1px solid rgba(238, 239, 223, .08); font-size: 8px; }
.code-card-bottom .mini-status { width: 5px; height: 5px; }
.code-branch { margin-left: auto; color: #b0b0a2; }
.art-sticker { position: absolute; z-index: 2; right: 3%; bottom: 10%; width: 118px; height: 118px; padding: 16px; border: 1px solid rgba(17, 18, 15, .22); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: var(--orange); color: #241b17; transform: rotate(10deg); }
.art-sticker > span:first-child { font-family: var(--mono); font-size: 25px; font-weight: 500; }
.sticker-caption { max-width: 76px; font-size: 8px; font-weight: 800; line-height: 1.3; text-align: center; }
.art-spark { position: absolute; z-index: 2; color: var(--lime); }
.spark-a { top: 9%; right: 12%; font-size: 24px; }.spark-b { bottom: 22%; left: 5%; color: var(--lavender); font-size: 16px; }
.scroll-cue { position: absolute; bottom: 31px; left: 0; display: flex; align-items: center; gap: 10px; color: var(--subtle); font-family: var(--mono); font-size: 9px; }
.scroll-cue span:first-child { color: var(--lime); font-size: 15px; }

.content-section { padding-block: 110px; border-top: 1px solid var(--line); }
.about-section { padding-block: 115px 120px; background: rgba(255, 255, 255, .012); }
.section-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; }
.section-index { margin-bottom: 21px; color: var(--lime); }
.section-index span { color: var(--subtle); }
.section-heading h2, .contact-copy h2 { margin: 0; font-size: clamp(38px, 5vw, 58px); font-weight: 600; letter-spacing: -.07em; line-height: 1.12; }
.about-copy { max-width: 650px; padding-top: 32px; }
.about-lead { margin: 0; color: #deded4; font-size: clamp(18px, 2vw, 23px); line-height: 1.7; letter-spacing: -.025em; }
.about-footnote { margin: 31px 0 0; display: flex; align-items: flex-start; gap: 11px; color: var(--muted); font-size: 11px; }
.footnote-star { color: var(--orange); font-size: 15px; line-height: 1.4; }
.section-heading-wide { margin-bottom: 43px; display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.section-heading-wide h2 { max-width: 570px; }
.section-aside { max-width: 275px; margin: 0 0 5px; color: var(--muted); font-size: 12px; }
.skill-board { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .018); }
.skill-board-label { min-height: 58px; padding: 0 21px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); color: #c8c9bd; font-family: var(--mono); font-size: 10px; }
.tiny-star { color: var(--lime); font-size: 13px; }
.board-count { margin-left: auto; color: var(--subtle); font-size: 9px; }
.skill-list { margin: 0; padding: 27px 25px; display: flex; flex-direction: column; gap: 22px; list-style: none; }
.skill-row { display: grid; grid-template-columns: minmax(170px, .7fr) minmax(140px, 1fr) 58px; align-items: center; gap: 20px; }
.skill-name { overflow-wrap: anywhere; color: #e6e6de; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.skill-meter { min-width: 0; }
.skill-track { height: 10px; overflow: hidden; border-radius: 999px; background: #292c32; }
.skill-fill { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #55a7ff 0%, #28d7df 100%); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.skill-value { color: #9b9eae; font-family: var(--mono); font-size: 12px; text-align: right; white-space: nowrap; }
.skill-row.is-placeholder .skill-name, .skill-row.is-placeholder .skill-value { color: var(--muted); font-size: 11px; font-weight: 400; }
.skill-row.is-placeholder .skill-track { background: #282a2e; }
.skill-row.is-placeholder .skill-fill { width: 0; }

.services-section { background: rgba(255, 255, 255, .012); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service-card { min-height: 220px; padding: 21px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(145deg, rgba(36, 38, 30, .72), rgba(25, 26, 22, .52)); transition: transform .22s ease, border-color .22s ease; }
.service-card:hover { transform: translateY(-3px); border-color: rgba(200, 238, 121, .34); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--subtle); font-family: var(--mono); font-size: 10px; }
.service-number { color: var(--lime); }
.service-mark { color: var(--orange); font-size: 16px; }
.service-card h3 { margin: 37px 0 9px; font-size: 17px; font-weight: 600; letter-spacing: -.04em; line-height: 1.35; }
.service-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.order-section { background: rgba(255, 255, 255, .012); }
.process-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.process-step { min-height: 180px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .018); }
.process-number { color: var(--lime); font-family: var(--mono); font-size: 10px; }
.process-step h3 { margin: 22px 0 8px; font-size: 15px; font-weight: 600; letter-spacing: -.025em; }
.process-step p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.order-cta { margin-top: 27px; }

.contact-section { padding-block: 110px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 12% 55%, rgba(200, 238, 121, .075), transparent 42%); }
.contact-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 85px; }
.contact-copy h2 { font-size: clamp(43px, 5.4vw, 65px); }
.contact-copy h2 span { color: var(--lime); }
.contact-intro { margin: 20px 0 23px; color: var(--muted); font-size: 13px; }
.button-telegram { min-height: 52px; gap: 14px; background: #d6e9f2; color: #152027; }
.button-telegram:hover { background: #e4f4fb; }
.telegram-icon { width: 22px; height: 22px; border: 1px solid rgba(21, 32, 39, .35); border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.placeholder-hint { margin: 10px 0 0 2px; color: var(--orange); font-family: var(--mono); font-size: 9px; }
.telegram-channel { margin-top: 19px; }
.telegram-channel-link { width: fit-content; padding-bottom: 4px; border-bottom: 1px solid rgba(200, 238, 121, .4); display: inline-flex; align-items: center; gap: 13px; color: var(--lime); font-size: 12px; font-weight: 600; transition: color .2s ease, border-color .2s ease; }
.telegram-channel-link:hover { color: #e1f9ad; border-color: var(--lime); }
.telegram-channel-link span:last-child { font-size: 15px; }
.telegram-channel-link[aria-disabled="true"] { color: #a7b77e; }
.channel-hint { margin-top: 6px; }
.social-card { padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: rgba(25, 26, 22, .8); }
.social-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }
.social-scribble { color: var(--orange); font-size: 21px; }
.social-list { margin: 21px 0; padding: 0; list-style: none; }
.social-list li + li { border-top: 1px solid var(--line); }
.social-link { min-height: 54px; display: flex; align-items: center; justify-content: space-between; color: #e2e2d9; font-size: 12px; transition: color .2s ease; }
.social-link:hover { color: var(--lime); }
.social-link span:last-child { color: var(--subtle); font-family: var(--mono); font-size: 13px; }
.social-link[aria-disabled="true"] { color: var(--muted); }
.social-link[aria-disabled="true"] span:last-child { color: var(--orange); font-size: 9px; }
.social-card-bottom { padding-top: 15px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 9px; color: var(--subtle); font-family: var(--mono); font-size: 9px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 11px; }
.footer-brand .brand-mark { font-size: 19px; }
.footer-inner p { margin: 0; color: var(--subtle); font-size: 9px; }
.back-top { display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.back-top span:last-child { color: var(--lime); font-size: 14px; }

.js-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes blink { to { visibility: hidden; } }
@keyframes card-drift { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(-1deg); } }

@media (min-width: 1400px) { .hero { min-height: 770px; } }
@media (max-width: 900px) {
  .section-wrap, .header-inner { width: min(100% - 48px, var(--page-width)); }
  .header-inner { gap: 18px; }
  .primary-nav { gap: 20px; }
  .hero { grid-template-columns: 1.05fr .95fr; gap: 25px; padding-block: 90px 92px; }
  .hero-art { min-height: 340px; }
  .orbit-one { width: 320px; height: 230px; }.orbit-two { width: 290px; height: 370px; }
  .code-card { width: min(100%, 365px); }
  .art-sticker { right: -2%; width: 96px; height: 96px; }
  .section-grid, .contact-layout { gap: 48px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .section-wrap, .header-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; grid-template-columns: 1fr auto auto; gap: 15px; }
  .brand { font-size: 12px; }
  .menu-toggle { min-height: 38px; padding: 0 6px; border: 0; display: inline-flex; align-items: center; gap: 9px; background: transparent; color: #deded4; cursor: pointer; font-size: 11px; }
  .menu-icon { width: 18px; height: 12px; position: relative; display: inline-flex; flex-direction: column; justify-content: space-between; }
  .menu-icon i { width: 100%; height: 1px; display: block; background: var(--lime); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(5.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-5.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); display: none; flex-direction: column; align-items: stretch; gap: 0; background: rgba(17, 18, 15, .98); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid rgba(238, 239, 223, .07); font-size: 13px; }
  .primary-nav a:last-child { border-bottom: 0; }
  .language-switch { gap: 5px; }
  .hero { min-height: auto; padding-block: 81px 80px; grid-template-columns: 1fr; gap: 25px; }
  .hero h1 { font-size: clamp(55px, 13vw, 78px); }
  .hero-role { max-width: 460px; font-size: 24px; }
  .hero-intro { max-width: 340px; font-size: 13px; }
  .hero-note { margin-top: 36px; }
  .hero-art { min-height: 330px; margin-top: 2px; }
  .code-card { width: min(90%, 400px); }
  .art-sticker { right: 3%; bottom: 4%; }
  .scroll-cue { display: none; }
  .content-section, .contact-section { padding-block: 78px; }
  .section-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-section { padding-block: 80px; }
  .about-copy { padding-top: 0; }
  .about-lead { font-size: 19px; }
  .skill-list { padding: 22px 18px; gap: 19px; }
  .skill-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
  .skill-meter { grid-column: 1 / -1; grid-row: 2; }
  .section-heading-wide { margin-bottom: 30px; display: block; }
  .section-heading-wide h2 { max-width: 540px; }
  .section-aside { max-width: 340px; margin-top: 16px; }
  .section-heading h2, .contact-copy h2 { font-size: clamp(39px, 10vw, 54px); }
  .service-grid, .process-steps { grid-template-columns: 1fr; gap: 11px; }
  .service-card { min-height: 185px; }
  .service-card h3 { margin-top: 25px; }
  .process-step { min-height: auto; padding: 18px; }
  .process-step h3 { margin-top: 14px; }
  .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .social-card { padding: 21px; }
}
@media (max-width: 420px) {
  .section-wrap, .header-inner { width: calc(100% - 32px); }
  .header-inner { gap: 9px; }
  .brand { gap: 6px; font-size: 10px; }
  .brand-mark { font-size: 21px; }
  .menu-toggle { gap: 6px; font-size: 10px; }
  .language-switch { font-size: 10px; }
  .hero { padding-top: 67px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-art { min-height: 290px; }
  .code-lines { padding-inline: 12px; font-size: 9px; }
  .code-line b { width: 22px; margin-right: 7px; }
  .art-sticker { width: 82px; height: 82px; right: -1%; }
  .art-sticker > span:first-child { font-size: 19px; }
  .sticker-caption { max-width: 63px; font-size: 7px; }
  .footer-inner { min-height: 82px; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; padding-block: 14px; }
  .footer-inner p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}
