/* AI-Desk landing — operational desk look, no purple/Inter/card-saas */

:root {
  --ink: #0b1418;
  --ink-2: #132026;
  --ink-3: #1c2e36;
  --fog: #9aafb6;
  --paper: #c9d5d9;
  --paper-soft: #e2eaed;
  --signal: #1fa6a0;
  --signal-deep: #0f7a76;
  --warn: #c45a2a;
  --line: rgba(201, 213, 217, 0.16);
  --line-strong: rgba(201, 213, 217, 0.32);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Golos Text", sans-serif;
  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 72rem;
  --radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.35;
  background-image: url("assets/grain.png");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

a {
  color: var(--signal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--paper-soft);
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 10;
  padding: 1.25rem 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--paper-soft);
  text-decoration: none;
}

.brand span {
  color: var(--signal);
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--signal);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
  color: var(--signal);
  border-color: var(--paper-soft);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(11, 20, 24, 0.2) 0%, rgba(11, 20, 24, 0.85) 55%, var(--ink) 100%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(31, 166, 160, 0.18), transparent 55%),
    linear-gradient(120deg, var(--ink-2), var(--ink));
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  padding: 6.5rem 0 3.5rem;
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    align-items: end;
    gap: 3rem;
    padding-bottom: 4.5rem;
  }
}

.hero-copy {
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--paper-soft);
  margin: 0 0 1.25rem;
}

.hero-brand em {
  font-style: normal;
  color: var(--signal);
  display: block;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  color: var(--fog);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--signal);
  color: var(--ink);
}

.btn-primary:hover {
  background: #2bc0b9;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--paper-soft);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
}

/* Product mock — dominant visual plane */
.hero-visual {
  animation: rise 1.05s 0.12s ease both;
  min-height: 22rem;
}

@media (min-width: 900px) {
  .hero-visual {
    min-height: 28rem;
  }
}

.desk-mock {
  height: 100%;
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.desk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--ink-3);
  font-size: 0.8rem;
  color: var(--fog);
}

.desk-bar strong {
  color: var(--paper-soft);
  font-weight: 600;
}

.desk-body {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .desk-body {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.desk-pane {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
  .desk-pane {
    border-bottom: none;
  }
  .desk-pane + .desk-pane {
    border-left: 1px solid var(--line);
  }
}

.pane-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog);
  margin: 0 0 0.75rem;
}

.ticket {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #d5e0e3;
  background: #081014;
  border: 1px solid var(--line);
  padding: 0.9rem;
  white-space: pre-wrap;
}

.flow {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.flow-step {
  padding: 0.75rem 0.85rem;
  border-left: 3px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}

.flow-step.is-done {
  border-left-color: var(--signal);
}

.flow-step.is-hitl {
  border-left-color: var(--warn);
}

.flow-step h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--paper-soft);
}

.flow-step p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--fog);
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.section-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 600;
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--paper-soft);
  max-width: 22ch;
}

.section-text {
  margin: 0;
  max-width: 38rem;
  color: var(--fog);
}

.audience {
  background: var(--ink-2);
}

.audience-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.audience-list li {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 3rem 1fr;
  align-items: start;
}

.audience-list .n {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--signal);
  font-weight: 600;
}

.audience-list strong {
  display: block;
  color: var(--paper-soft);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.audience-list span {
  color: var(--fog);
  font-size: 0.95rem;
}

/* How — numbered strip, not cards */
.how-strip {
  margin-top: 2.5rem;
  display: grid;
  gap: 0;
  border: 1px solid var(--line-strong);
}

@media (min-width: 800px) {
  .how-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.how-item {
  padding: 1.5rem 1.35rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

@media (min-width: 800px) {
  .how-item {
    border-bottom: none;
  }
  .how-item + .how-item {
    border-left: 1px solid var(--line);
  }
}

.how-item .n {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--signal);
  line-height: 1;
  margin-bottom: 1rem;
}

.how-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--paper-soft);
}

.how-item p {
  margin: 0;
  color: var(--fog);
  font-size: 0.95rem;
}

/* Pricing — flat rows, no elevated middle */
.pricing-table {
  margin-top: 2.25rem;
  border-top: 1px solid var(--line-strong);
}

.price-row {
  display: grid;
  gap: 0.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
  .price-row {
    grid-template-columns: 10rem 8rem 1fr;
    align-items: baseline;
    gap: 1.5rem;
  }
}

.price-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--paper-soft);
}

.price-row .sum {
  font-weight: 600;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}

.price-row p {
  margin: 0;
  color: var(--fog);
  font-size: 0.95rem;
}

/* Limits */
.limits {
  background:
    linear-gradient(180deg, var(--ink) 0%, #120c0a 100%);
}

.limits-box {
  margin-top: 1.5rem;
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--warn);
  max-width: 40rem;
}

.limits-box p {
  margin: 0;
  color: var(--paper);
  font-size: 1.125rem;
  line-height: 1.5;
}

/* Contact */
.contact {
  background: var(--ink-2);
  text-align: left;
}

.contact .section-title {
  max-width: none;
}

.contact-meta {
  margin: 1.25rem 0 0;
  color: var(--fog);
}

.contact-meta a {
  color: var(--paper-soft);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--signal);
}

.contact-meta a:hover {
  color: var(--signal);
}

.contact .cta-row {
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--fog);
  font-size: 0.85rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.site-footer a {
  color: var(--fog);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--signal);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-copy,
  .hero-visual,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}
