:root {
  --bg: #0f0e17;
  --bg-soft: #171527;
  --surface: rgba(22, 19, 39, 0.72);
  --surface-strong: #1a1730;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f4ee;
  --muted: #b7b2c8;
  --accent: #f0b36f;
  --accent-2: #94d7d3;
  --accent-3: #ff8f8f;
  --shadow: 0 30px 80px rgba(6, 5, 15, 0.45);
  --radius: 28px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(240, 179, 111, 0.18), transparent 34%),
    radial-gradient(circle at right 15%, rgba(148, 215, 211, 0.12), transparent 26%),
    linear-gradient(180deg, #0b0913 0%, #0f0e17 35%, #12111e 100%);
  color: var(--text);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.45;
}

.ambient-left {
  top: -8rem;
  left: -10rem;
  background: rgba(240, 179, 111, 0.24);
}

.ambient-right {
  right: -12rem;
  top: 18rem;
  background: rgba(148, 215, 211, 0.2);
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 14, 23, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 45px rgba(4, 3, 12, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
}

.brand-icon-wrap {
  display: inline-flex;
  width: 2.7rem;
  height: 2.5rem;
  overflow: hidden;
  border-radius: 0.9rem;
  flex: 0 0 auto;
}

.brand-image {
  display: block;
  width: auto;
  height: 2.5rem;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  filter:
    brightness(1.14)
    contrast(1.1)
    saturate(1.08)
    drop-shadow(0 0 14px rgba(240, 179, 111, 0.18));
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  color: rgba(247, 244, 238, 0.94);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-shadow:
    0 0 12px rgba(240, 179, 111, 0.14),
    0 0 22px rgba(125, 153, 255, 0.08);
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.96rem;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.header-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(28, 28, 40, 0.95), rgba(18, 18, 28, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(4, 4, 10, 0.3);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.header-profile-link:hover,
.header-profile-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(34, 34, 46, 0.98), rgba(18, 18, 28, 0.98));
}

.header-logout-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(28, 28, 40, 0.95), rgba(18, 18, 28, 0.95));
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(4, 4, 10, 0.3);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.header-logout-button:hover,
.header-logout-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(34, 34, 46, 0.98), rgba(18, 18, 28, 0.98));
}

.header-logout-icon {
  position: relative;
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.header-logout-icon::before {
  content: "";
  position: absolute;
  top: 0.12rem;
  left: 0.12rem;
  width: 0.56rem;
  height: 0.8rem;
  border: 1.8px solid rgba(245, 241, 234, 0.92);
  border-right: 0;
  border-radius: 0.22rem 0 0 0.22rem;
}

.header-logout-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.02rem;
  width: 0.56rem;
  height: 0.56rem;
  border-top: 1.8px solid rgba(245, 241, 234, 0.92);
  border-right: 1.8px solid rgba(245, 241, 234, 0.92);
  transform: translateY(-50%) rotate(45deg);
}

.header-logout-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 1.08rem;
  width: 0.62rem;
  height: 1.8px;
  background: rgba(245, 241, 234, 0.92);
  transform: translateY(-50%);
}

.header-profile-avatar {
  position: relative;
  display: block;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(121, 104, 77, 0.92), rgba(49, 52, 66, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-profile-avatar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(241, 226, 193, 0.95);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(241, 226, 193, 0.55);
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(240, 179, 111, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(240, 179, 111, 0.5);
}

.button-small {
  min-height: 2.8rem;
  padding-inline: 1.1rem;
  font-size: 0.94rem;
}

.button-ghost {
  background: transparent;
}

.section {
  padding: 5.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
  min-height: calc(100vh - 7rem);
  padding-top: 2.4rem;
}

.hero-copy {
  align-self: start;
}

.page-shell-profile main {
  min-height: calc(100vh - 7rem);
}

.profile-page-hero {
  padding-top: 4.5rem;
}

.profile-page-hero h1 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.profile-page-grid {
  align-items: start;
}

.eyebrow-pill {
  display: inline-flex;
  margin-bottom: 1.25rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-kicker,
.section-label,
.project-meta,
.timeline-phase,
.benefit-index {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 1.15rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 18% 30%, rgba(240, 179, 111, 0.18), transparent 45%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(17, 14, 28, 0.34);
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 34px rgba(5, 5, 14, 0.18);
}

.hero-logo-lockup {
  gap: 1rem;
}

.hero-logo-icon-wrap {
  width: 3.4rem;
  height: 3.1rem;
  border-radius: 1.05rem;
}

.hero-logo-icon {
  height: 3.1rem;
  filter:
    brightness(1.16)
    contrast(1.1)
    saturate(1.08)
    drop-shadow(0 0 18px rgba(240, 179, 111, 0.18));
}

.hero-logo-mark {
  font-size: 3.15rem;
  font-weight: 700;
  letter-spacing: -0.055em;
  color: rgba(247, 244, 238, 0.98);
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.08),
    0 0 26px rgba(240, 179, 111, 0.1);
}

.hero h1,
.section-heading h2,
.intro-band h2,
.contact-panel h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.8rem, 8vw, 7.3rem);
}

.hero h1 span {
  display: inline-block;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: #f7d1b4;
  font-weight: 400;
}

.hero-text,
.section-heading p,
.project-copy p,
.benefit-card p,
.timeline-card p,
.faq-answer p,
.contact-actions p,
.intro-band p,
.featured-quote footer,
.testimonial-card span,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 40rem;
  margin: 1.6rem 0 0;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.glass-panel,
.benefit-card,
.project-card,
.testimonial-card,
.timeline-card,
.faq-item,
.intro-band,
.contact-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.glass-panel {
  padding: 1.35rem 1.4rem;
  border-radius: 1.6rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 41rem;
  padding-top: 1.5rem;
}

.hero-services {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
  max-width: 41rem;
  background:
    linear-gradient(180deg, rgba(29, 26, 46, 0.82), rgba(16, 14, 28, 0.82)),
    rgba(255, 255, 255, 0.03);
}

.hero-services-label {
  margin: 0;
  color: rgba(247, 244, 238, 0.72);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-services-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-services-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text);
  line-height: 1.6;
}

.hero-services-list li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(240, 179, 111, 0.95), rgba(255, 207, 159, 0.85));
  box-shadow: 0 0 12px rgba(240, 179, 111, 0.38);
}

.button-telegram {
  gap: 0.72rem;
  margin-top: 1.15rem;
  width: fit-content;
  background:
    linear-gradient(135deg, rgba(35, 164, 255, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
}

.button-telegram:hover,
.button-telegram:focus-visible {
  border-color: rgba(35, 164, 255, 0.5);
}

.telegram-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  color: #8fd3ff;
}

.telegram-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-workbench {
  position: relative;
  width: min(100%, 38rem);
  min-height: 33rem;
}

.hero-workbench::before {
  content: "";
  position: absolute;
  inset: 4rem 3rem 3rem;
  border-radius: 2.8rem;
  background:
    radial-gradient(circle at top left, rgba(240, 179, 111, 0.18), transparent 42%),
    radial-gradient(circle at bottom right, rgba(64, 114, 255, 0.16), transparent 40%),
    rgba(14, 12, 24, 0.62);
  filter: blur(0);
}

.hero-orbit-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 0.68rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 28px rgba(4, 4, 12, 0.28);
}

.orbit-design {
  top: 2.2rem;
  left: 0.5rem;
}

.orbit-dev {
  top: 1rem;
  right: 1rem;
}

.orbit-motion {
  bottom: 8rem;
  left: 0;
}

.orbit-bots {
  right: 0.7rem;
  bottom: 5rem;
}

.workspace-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(18, 16, 31, 0.8);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 70px rgba(3, 3, 10, 0.4);
}

.window-design {
  top: 1.75rem;
  left: 0;
  width: min(100%, 21rem);
  transform: rotate(-7deg);
}

.window-code {
  right: 0;
  bottom: 2rem;
  width: min(100%, 26rem);
  transform: rotate(5deg);
}

.workspace-top,
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}

.workspace-lights,
.browser-chrome {
  display: flex;
  gap: 0.38rem;
}

.workspace-lights span,
.browser-chrome span {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.workspace-app {
  color: rgba(247, 244, 238, 0.86);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.workspace-body {
  padding: 0 1rem 1rem;
}

.design-body,
.code-body {
  display: grid;
  gap: 0.95rem;
  align-items: stretch;
}

.design-body {
  grid-template-columns: 3.8rem 1fr;
}

.design-sidebar,
.code-sidebar {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 0.85rem 0.75rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.04);
}

.design-sidebar span,
.code-sidebar span {
  height: 1.1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
}

.design-canvas {
  position: relative;
  min-height: 16rem;
  padding: 1rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(6, 8, 18, 0.96), rgba(22, 22, 34, 0.84)),
    rgba(255, 255, 255, 0.02);
}

.design-ruler {
  width: 58%;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.design-frame {
  position: absolute;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.design-frame-primary {
  top: 3.2rem;
  left: 1rem;
  right: 3rem;
  bottom: 3rem;
  background:
    linear-gradient(135deg, rgba(240, 179, 111, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
}

.design-frame-secondary {
  right: 1rem;
  bottom: 1rem;
  width: 6rem;
  height: 5.2rem;
  background:
    linear-gradient(135deg, rgba(74, 118, 255, 0.24), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
}

.design-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 244, 238, 0.84);
  font-size: 0.85rem;
}

.code-body {
  grid-template-columns: 3.5rem 1fr;
}

.code-editor {
  display: grid;
  gap: 0.95rem;
  min-height: 18rem;
  padding: 0.95rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(8, 9, 16, 0.96), rgba(18, 20, 34, 0.9)),
    rgba(255, 255, 255, 0.02);
}

.code-tabs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.code-tabs span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 244, 238, 0.78);
  font-size: 0.82rem;
}

.code-lines {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.code-line {
  display: block;
  height: 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.code-line-short {
  width: 34%;
}

.code-line-mid {
  width: 57%;
}

.code-line-wide {
  width: 86%;
}

.code-line.accent {
  background: linear-gradient(90deg, rgba(240, 179, 111, 0.78), rgba(105, 145, 255, 0.72));
}

.section.intro-band {
  padding-top: 0.85rem;
  padding-bottom: 4.4rem;
}

.intro-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  padding: 2.2rem;
  border-radius: 2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(240, 179, 111, 0.1), transparent 34%),
    radial-gradient(circle at right center, rgba(97, 141, 255, 0.08), transparent 32%),
    rgba(20, 17, 35, 0.72);
}

.intro-band::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.03), transparent 30%);
}

.intro-band-copy,
.featured-quote {
  position: relative;
  z-index: 1;
}

.intro-band-copy {
  display: grid;
  align-content: start;
  gap: 1.35rem;
}

.intro-band-text {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.75;
}

.intro-band-text strong {
  color: rgba(247, 244, 238, 0.96);
  font-weight: 600;
}

.intro-band-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.intro-point {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  padding: 1.2rem 1.15rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at top left, rgba(240, 179, 111, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.028);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 34px rgba(5, 5, 14, 0.16);
  overflow: hidden;
}

.intro-point::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 179, 111, 0.55), rgba(97, 141, 255, 0.18), transparent);
}

.intro-point > div {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.intro-point-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(240, 179, 111, 0.16);
  background:
    linear-gradient(135deg, rgba(240, 179, 111, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 22px rgba(240, 179, 111, 0.08);
}

.intro-point h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.intro-point p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.featured-quote {
  margin: 0;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.8rem;
  border-radius: 1.65rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.featured-quote p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.featured-quote-label {
  color: rgba(247, 244, 238, 0.64);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.featured-quote h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.featured-quote-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.featured-quote-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 244, 238, 0.86);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.intro-band h2,
.contact-panel h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.3rem);
}

.section-heading p {
  margin-top: 1rem;
  max-width: 38rem;
}

.benefits-grid,
.work-grid,
.testimonials,
.account-grid {
  display: grid;
  gap: 1.2rem;
}

.account-grid {
  grid-template-columns: minmax(0, 42rem);
}

.account-card {
  padding: 1.6rem;
  border-radius: 1.8rem;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.auth-card {
  display: grid;
  gap: 1.25rem;
}

.profile-card {
  min-height: 24rem;
}

.auth-card-head h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.auth-intro,
.auth-panel-head p,
.auth-helper {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.auth-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.auth-tab {
  min-height: 2.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.auth-tab.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.auth-form,
.profile-form,
.utility-form {
  display: grid;
  gap: 1rem;
}

.auth-flow {
  position: relative;
}

.auth-panel {
  display: none;
  gap: 1rem;
}

.auth-panel.is-active {
  display: grid;
}

.auth-panel-head {
  display: grid;
  gap: 0.35rem;
}

.auth-panel-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field span,
.profile-label,
.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.field-note,
.availability-status,
.profile-meta {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(10, 10, 16, 0.35);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(240, 179, 111, 0.5);
  background: rgba(10, 10, 16, 0.6);
}

.form-submit {
  width: 100%;
}

.auth-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.auth-helper {
  font-size: 0.95rem;
}

.text-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.form-note,
.form-status {
  margin: 1rem 0 0;
}

.inline-actions {
  display: flex;
  gap: 0.8rem;
}

.inline-actions .button {
  width: 100%;
}

.form-status {
  min-height: 1.6rem;
}

.form-status.is-error {
  color: #ff9d9d;
}

.form-status.is-success {
  color: #a9f0c4;
}

.availability-status.is-error {
  color: #ff9d9d;
}

.availability-status.is-success {
  color: #a9f0c4;
}

.profile-empty h3,
.profile-summary h3 {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(240, 179, 111, 0.36), rgba(148, 215, 211, 0.3));
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 700;
}

.profile-actions {
  display: flex;
  gap: 1rem;
}

.profile-actions .button {
  width: 100%;
}

.hidden {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 14, 0.5);
  backdrop-filter: blur(18px);
}

.auth-dialog {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 1.2rem), 36rem);
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  overflow: auto;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(32, 28, 50, 0.96), rgba(18, 16, 31, 0.96)),
    rgba(18, 16, 31, 0.96);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

.auth-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
  min-height: 16rem;
  padding: 1.5rem;
  border-radius: 1.6rem;
}

.benefit-card h3,
.project-copy h3,
.timeline-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
  border-radius: 1.8rem;
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.project-preview {
  padding: 1rem;
  min-height: 19rem;
}

.preview-amber {
  background: linear-gradient(135deg, rgba(240, 179, 111, 0.44), rgba(52, 35, 18, 0.62));
}

.preview-blue {
  background: linear-gradient(135deg, rgba(148, 215, 211, 0.4), rgba(26, 39, 57, 0.62));
}

.preview-rose {
  background: linear-gradient(135deg, rgba(255, 143, 143, 0.32), rgba(60, 26, 42, 0.68));
}

.preview-mint {
  background: linear-gradient(135deg, rgba(191, 255, 211, 0.24), rgba(20, 48, 44, 0.68));
}

.preview-layout,
.preview-card-stack {
  display: grid;
  gap: 0.75rem;
}

.preview-layout {
  padding: 1rem;
  border-radius: 1.3rem;
  background: rgba(15, 14, 23, 0.78);
}

.preview-layout.alt {
  grid-template-columns: 1fr 1.15fr;
}

.preview-layout.metrics {
  grid-template-columns: repeat(3, 1fr);
}

.preview-layout.story {
  grid-template-rows: auto 1fr;
}

.preview-title,
.preview-block,
.preview-column,
.preview-metric {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.09);
}

.preview-title {
  height: 2rem;
  width: 65%;
}

.preview-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.preview-block {
  min-height: 4.75rem;
}

.preview-block.wide {
  min-height: 7rem;
}

.preview-block.tall {
  min-height: 10rem;
}

.preview-column {
  min-height: 13rem;
}

.preview-card-stack {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.preview-metric {
  min-height: 4rem;
}

.project-copy {
  padding: 1.4rem 1.4rem 1.65rem;
}

.testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  min-height: 18rem;
  padding: 1.5rem;
  border-radius: 1.6rem;
}

.testimonial-card p {
  margin: 0 0 1.4rem;
  font-size: 1.16rem;
  line-height: 1.7;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-card {
  position: relative;
  padding: 1.35rem;
  border-radius: 1.5rem;
}

.timeline-card::before {
  content: "";
  position: absolute;
  inset: auto 1.35rem 0.85rem 1.35rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 179, 111, 0.6), transparent);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
  border-radius: 1.5rem;
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.5rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.08rem;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 1.3rem;
  transition: transform 200ms ease;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  margin: 0;
  min-height: 0;
}

.faq-answer > * {
  overflow: hidden;
  padding: 0 1.5rem 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer > * {
  padding-bottom: 1.5rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 2rem;
}

.contact-actions {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.site-footer {
  padding: 0 0 3rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero,
  .intro-band,
  .contact-panel,
  .timeline,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 35rem;
  }

  .hero-workbench {
    width: min(100%, 34rem);
  }

  .window-design {
    width: min(100%, 19rem);
  }

  .window-code {
    width: min(100%, 23rem);
  }

  .section.intro-band {
    padding-top: 0.4rem;
  }

  .intro-band-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0.9rem 1rem;
  }

  .site-nav,
  .site-header .button-small {
    display: none;
  }

  .header-actions .button-small {
    display: inline-flex;
  }

  .benefits-grid,
  .work-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .intro-band {
    gap: 1.2rem;
    padding: 1.35rem;
  }

  .intro-band-copy {
    gap: 1rem;
  }

  .intro-point {
    padding: 0.9rem;
  }

  .hero-services {
    max-width: none;
  }

  .button-telegram {
    margin-top: 1rem;
  }

  .hero-logo {
    margin-bottom: 1rem;
    padding: 0.5rem 0.72rem;
  }

  .hero-logo-icon-wrap {
    width: 3rem;
    height: 2.8rem;
  }

  .hero-logo-icon {
    height: 2.8rem;
  }

  .hero-logo-mark {
    font-size: 2.7rem;
  }

  .hero-workbench {
    min-height: 32rem;
    width: 100%;
  }

  .hero-orbit-tag {
    position: static;
  }

  .hero-visual {
    gap: 0.85rem;
  }

  .window-design,
  .window-code {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .hero-workbench::before {
    inset: 3rem 1rem 1rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .brand-lockup {
    gap: 0.58rem;
  }

  .brand-icon-wrap {
    width: 2.5rem;
    height: 2.35rem;
  }

  .brand-image {
    height: 2.35rem;
  }

  .brand-mark {
    font-size: 1.08rem;
  }

  .header-profile-link {
    width: 2.85rem;
    height: 2.85rem;
  }

  .header-logout-button {
    width: 2.85rem;
    height: 2.85rem;
  }

  .hero {
    padding-top: 2.8rem;
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .hero-text,
  .section-heading p,
  .project-copy p,
  .benefit-card p,
  .timeline-card p,
  .faq-answer p,
  .contact-actions p {
    font-size: 0.98rem;
  }

  .section-heading h2,
  .intro-band h2,
  .contact-panel h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .intro-band,
  .contact-panel {
    padding: 1.35rem;
  }

  .section.intro-band {
    padding-top: 0.2rem;
    padding-bottom: 3.2rem;
  }

  .intro-point {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .intro-point-index {
    width: 1.9rem;
    height: 1.9rem;
  }

  .featured-quote {
    padding: 1.25rem;
  }

  .benefit-card,
  .testimonial-card,
  .timeline-card,
  .project-copy,
  .account-card {
    padding: 1.2rem;
  }

  .profile-actions {
    flex-direction: column;
  }

  .inline-actions {
    flex-direction: column;
  }

  .hero-services {
    padding: 1.1rem;
  }

  .button-telegram {
    width: 100%;
  }

  .hero-logo-icon-wrap {
    width: 2.65rem;
    height: 2.45rem;
  }

  .hero-logo-icon {
    height: 2.45rem;
  }

  .hero-logo-mark {
    font-size: 2.15rem;
  }

  .hero-workbench {
    min-height: auto;
  }

  .hero-orbit-tag {
    width: fit-content;
  }

  .design-body,
  .code-body {
    grid-template-columns: 1fr;
  }

  .design-sidebar,
  .code-sidebar {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-content: stretch;
  }

  .design-canvas,
  .code-editor {
    min-height: 14rem;
  }
}
