* {
  box-sizing: border-box;
}

:root {
  --paper: #050607;
  --surface: #0d0e10;
  --surface-2: #121316;
  --surface-3: #17191d;
  --ink: #f7f7f4;
  --muted: #a7abb0;
  --soft: #d7d9dc;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.32);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
  --glow: 0 0 120px rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.07), transparent 28%),
    linear-gradient(180deg, #050607 0%, #08090b 45%, #050607 100%);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

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

.page {
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 6, 7, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.brand-mark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.82;
}

.mark {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  padding: 86px 0 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 54px;
}

.hero-grid > *,
.demo-grid > *,
.two-col > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.eyebrow::before {
  flex: 0 0 36px;
  width: 36px;
  height: 1px;
  background: var(--soft);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #ffffff;
  border-radius: 7px;
  background: #ffffff;
  color: #050607;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.button.teal {
  border-color: #ffffff;
  background: #ffffff;
  color: #050607;
}

.metrics {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 104px;
  padding: 18px 16px 18px 0;
  border-left: 0;
}

.metric + .metric {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 24px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  position: relative;
  min-height: 530px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    var(--surface);
  box-shadow: var(--shadow), var(--glow);
  overflow: hidden;
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  opacity: 0.2;
  pointer-events: none;
}

.hero-panel-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.dot-row {
  display: flex;
  gap: 6px;
}

.dot {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: transparent;
}

.dot:nth-child(2),
.dot:nth-child(3) {
  background: transparent;
}

.hero-panel-body {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.mini-site {
  display: grid;
  gap: 16px;
}

.mini-hero {
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    #0b0c0e;
  color: var(--ink);
  padding: 22px;
}

.mini-hero h3 {
  max-width: 270px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 28px;
}

.mini-hero p {
  color: var(--muted);
}

.mini-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.mini-box {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 16px;
}

.mini-lines {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.mini-lines span {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.mini-lines span:nth-child(2) {
  width: 76%;
}

.mini-lines span:nth-child(3) {
  width: 54%;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
}

section {
  padding: 66px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.section-head p {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid,
.case-grid,
.package-grid,
.message-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service,
.case,
.package,
.message-card,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--surface);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.service,
.package,
.message-card,
.step {
  padding: 24px;
}

.service:hover,
.case:hover,
.package:hover,
.step:hover {
  border-color: var(--line-strong);
}

.service h3,
.package h3,
.message-card h3,
.step h3 {
  font-size: 20px;
}

.service p,
.package p,
.message-card p,
.step p,
.case p {
  color: var(--muted);
}

.service-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case {
  overflow: hidden;
}

.case-preview {
  min-height: 270px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: #0a0b0d;
}

.case-preview.beauty,
.case-preview.cafe,
.case-preview.fashion {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.09), transparent 28%),
    #090a0c;
}

.site-window {
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #111215;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48);
}

.site-window-top {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-window-top span {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
}

.site-window-body {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 12px;
  padding: 14px;
}

.visual-plate {
  position: relative;
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.beauty .visual-plate,
.cafe .visual-plate,
.fashion .visual-plate {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.12)),
    #202226;
}

.site-window-body.case-wire-preview {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  height: calc(100% - 26px);
  gap: 13px;
  padding: 14px;
}

.case-wire-preview .visual-plate {
  min-height: 0;
}

.preview-bar {
  width: min(72%, 330px);
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
}

.preview-copy {
  display: grid;
  align-content: start;
  gap: 8px;
}

.preview-copy span {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.preview-copy span:first-child {
  width: 68%;
  height: 18px;
  background: #ffffff;
}

.preview-copy span:nth-child(2) {
  width: 88%;
}

.preview-copy span:nth-child(3) {
  width: 72%;
}

.preview-copy .fake-button {
  width: 94px;
  height: 26px;
  margin-top: 6px;
  border: 1px solid #ffffff;
  border-radius: 7px;
  background: #ffffff;
}

.case-info {
  padding: 22px;
}

.case-info h3 {
  margin-bottom: 8px;
}

.case-info p {
  min-height: 70px;
  margin-bottom: 16px;
}

.case-facts {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.case-facts span {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
}

.case-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-bottom: 1px solid #ffffff;
  color: var(--ink);
  font-weight: 900;
}

.package strong {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.package ul,
.message-card ul,
.script-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.package li,
.message-card li,
.script-list li {
  margin: 8px 0;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-num {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid #ffffff;
  border-radius: 7px;
  background: #ffffff;
  color: #050607;
  font-weight: 900;
}

.message-card textarea {
  width: 100%;
  min-height: 230px;
  margin: 8px 0 14px;
  padding: 14px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #08090b;
  font: inherit;
  font-size: 14px;
}

.contact-strip {
  position: relative;
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.1), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    #08090b;
  color: var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-logo {
  position: absolute;
  right: 28px;
  bottom: 20px;
  width: 104px;
  opacity: 0.075;
  pointer-events: none;
}

.contact-strip h2,
.contact-strip p,
.contact-strip .actions {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.contact-strip p {
  color: var(--muted);
}

.contact-strip .button {
  border-color: #ffffff;
  background: #ffffff;
  color: #050607;
}

.contact-strip .button.secondary {
  background: transparent;
  color: var(--ink);
}

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.demo-hero {
  padding: 56px 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 42px;
}

.demo-visual {
  min-height: 470px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.demo-band {
  padding: 56px 0;
  background: var(--surface);
}

.demo-band.alt {
  background: transparent;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.list-block {
  display: grid;
  gap: 12px;
}

.list-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.list-row strong {
  min-width: 130px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  min-height: 210px;
  border-radius: 8px;
  background: #16181b;
}

@media (max-width: 920px) {
  .hero-grid,
  .demo-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .demo-visual {
    min-height: 390px;
  }

  .service-grid,
  .case-grid,
  .package-grid,
  .message-grid,
  .workflow,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    padding-top: 48px;
  }

  .eyebrow {
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.08em;
  }

  .eyebrow::before {
    flex-basis: 36px;
    margin-top: 7px;
  }

  h1 {
    max-width: 340px;
    font-size: 34px;
    line-height: 1.04;
  }

  h2 {
    font-size: 26px;
    line-height: 1.12;
  }

  .lead {
    max-width: 340px;
    font-size: 16px;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    max-width: 100%;
  }

  .metrics,
  .service-grid,
  .case-grid,
  .package-grid,
  .message-grid,
  .workflow,
  .gallery,
  .mini-row,
  .site-window-body {
    grid-template-columns: 1fr;
  }

  .metrics {
    border-bottom: 0;
  }

  .metric {
    border-bottom: 1px solid var(--line);
  }

  .metric + .metric {
    padding-left: 0;
    border-left: 0;
  }

  .hero-grid,
  .demo-grid,
  .two-col {
    display: block;
  }

  .hero-panel,
  .demo-visual {
    width: 100%;
    max-width: calc(100vw - 24px);
    margin-top: 30px;
  }

  .hero-panel-header,
  .hero-panel-body {
    padding: 14px;
  }

  .hero-panel-header .pill {
    display: none;
  }

  .mini-hero {
    min-height: 150px;
    padding: 18px;
  }

  .mini-hero h3 {
    font-size: 24px;
  }

  .section-head,
  .footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-info p {
    min-height: auto;
  }

  .contact-strip {
    padding: 26px;
  }

  .contact-logo {
    right: 18px;
    bottom: 16px;
    width: 74px;
    opacity: 0.065;
  }
}
