:root {
  --white: #ffffff;
  --canvas: #f3f3f3;
  --hair: #d6d6d6;
  --g-100: #ececec;
  --g-200: #d6d6d6;
  --g-300: #b0b0b0;
  --g-400: #888888;
  --g-500: #666666;
  --g-600: #3d3d3d;
  --g-700: #232323;
  --ink: #111111;
  --sf: "Onest", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --page: 1280px;
  --nav-h: 76px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 24px 60px rgba(17, 17, 17, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sf);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--g-300);
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--ink);
  color: var(--white);
}

.page {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: 0 48px;
}

.mono {
  font-family: var(--mono);
  font-feature-settings: "tnum";
  letter-spacing: 0;
}

.word {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font-family: var(--sf);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.word .dt {
  color: var(--g-300);
  font-weight: 400;
}

.word-sm {
  font-size: 18px;
}

.word-md {
  font-size: 32px;
}

.slash-logo {
  --slash-logo-dot: var(--g-300);
  display: inline-flex;
  align-items: flex-end;
  color: inherit;
  line-height: 0.88;
  white-space: nowrap;
  text-decoration: none;
}

.slash-logo__slash {
  font-family: var(--mono);
  font-size: 1.16em;
  font-weight: 500;
  letter-spacing: -0.08em;
  transform: translateY(-0.02em);
}

.slash-logo__word {
  margin-left: 0.04em;
  font-family: var(--sf);
  font-size: 1em;
  font-weight: 500;
  letter-spacing: -0.062em;
}

.slash-logo__dot {
  color: var(--slash-logo-dot);
  font-weight: 400;
}

.slash-logo--nav {
  font-size: 22px;
}

.slash-logo--footer {
  font-size: 34px;
}

.smark {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 14px;
  background: var(--ink);
  flex-shrink: 0;
}

.smark .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
}

.smark-sm {
  width: 32px;
  height: 32px;
  gap: 3px;
  border-radius: 8px;
}

.smark-sm .dot {
  width: 4px;
  height: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font-family: var(--sf);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}

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

.btn:disabled {
  opacity: 0.65;
  cursor: default;
  transform: none;
}

.btn .marker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g-300);
  transition: background 0.14s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary .marker {
  background: var(--g-400);
}

.btn-primary:hover {
  background: #000000;
}

.btn-primary:hover .marker {
  background: var(--white);
}

.btn-secondary {
  border-color: var(--g-200);
  background: var(--white);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.btn-secondary:hover .marker {
  background: var(--ink);
}

.btn-quiet {
  padding-left: 10px;
  padding-right: 10px;
  color: var(--g-500);
}

.btn-quiet:hover {
  color: var(--ink);
}

.btn-quiet:hover .marker {
  background: var(--ink);
}

.btn-link {
  padding: 0;
  border: 0;
  border-radius: 0;
  text-decoration: underline;
  text-decoration-color: var(--g-300);
  text-underline-offset: 4px;
}

.btn-link .marker {
  display: none;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-sm .marker {
  width: 5px;
  height: 5px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(214, 214, 214, 0.7);
}

.topbar-row {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-desktop,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-desktop {
  gap: 24px;
}

.nav-desktop a,
.nav-meta-link {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--g-500);
  text-decoration: none;
}

.nav-desktop a:hover,
.nav-meta-link:hover {
  color: var(--ink);
}

.nav-actions {
  gap: 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--g-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

.menu-toggle-box {
  width: 16px;
  height: 16px;
  display: grid;
  gap: 4px;
}

.menu-toggle-box span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

body.nav-open .menu-toggle-box span:first-child {
  transform: translateY(5px) rotate(45deg);
}

body.nav-open .menu-toggle-box span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--hair);
  background: var(--white);
}

.mobile-menu-inner {
  padding: 20px 0 28px;
  display: grid;
  gap: 20px;
}

.mobile-menu-links {
  display: grid;
  gap: 14px;
}

.mobile-menu-links a {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 720px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.96)),
    linear-gradient(var(--g-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--g-100) 1px, transparent 1px);
  background-size: auto, 100% 88px, 88px 100%;
  opacity: 0.45;
  pointer-events: none;
}

.hero-shell {
  position: relative;
  padding: 48px 0 112px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 56px;
  align-items: start;
}

.hero-copy {
  padding-top: 56px;
}

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--g-500);
  text-transform: lowercase;
}

.hero-title {
  margin: 28px 0 0;
  font-size: clamp(58px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 500;
  text-transform: lowercase;
  text-wrap: balance;
}

.hero-title .dt {
  color: var(--g-300);
  font-weight: 400;
}

.hero-lede {
  margin: 34px 0 0;
  max-width: 34ch;
  font-size: 22px;
  line-height: 1.45;
  color: var(--g-600);
  letter-spacing: -0.01em;
}

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

.hero-footnote {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--g-500);
}

.hero-meta {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hero-meta-item .k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--g-500);
}

.hero-meta-item .k::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.hero-meta-item .v {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-soft);
}

.hero-stage > * {
  background: var(--white);
}

.hero-aside {
  display: grid;
  gap: 1px;
  background: var(--hair);
}

.surface {
  padding: 32px;
  position: relative;
}

.surface-label {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--g-500);
}

.surface-label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100%;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hair);
}

.chat-head .name {
  font-size: 15px;
  font-weight: 500;
}

.chat-head .sub,
.chat-head .right,
.ts,
.channel .ch-meta,
.lead .sub,
.lead .lrow .k,
.table thead th,
.card-tag,
.list-meta,
.stack-card ul,
.queue-note,
.contact-meta-row .k,
.footer-info {
  font-family: var(--mono);
  letter-spacing: 0;
}

.chat-head .sub,
.chat-head .right {
  font-size: 11px;
  color: var(--g-500);
}

.chat-head .right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-head .right::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.bubble.bot {
  align-self: flex-start;
  background: var(--g-100);
  border-bottom-left-radius: 4px;
}

.bubble.user {
  align-self: flex-end;
  background: var(--ink);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.ts {
  padding: 0 8px;
  font-size: 10px;
  color: var(--g-400);
}

.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: var(--g-100);
}

.typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--g-400);
  animation: typingPulse 1.3s infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}

.channel:last-child {
  border-bottom: 0;
}

.channel .ch-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g-200);
}

.channel.on .ch-mark {
  background: var(--ink);
}

.channel .ch-name {
  flex: 1;
  font-size: 15px;
}

.channel .ch-meta {
  font-size: 11px;
  color: var(--g-500);
}

.lead-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hair);
}

.lead-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 500;
}

.lead .sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--g-500);
}

.lead-tag,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
}

.lead-tag::before,
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.lead-rows {
  padding: 22px 0;
  display: grid;
  gap: 10px;
}

.lead .lrow {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
}

.lead .lrow .k {
  font-size: 12px;
  color: var(--g-500);
}

.lead .lrow .v {
  font-size: 14px;
}

.lead-actions {
  padding-top: 18px;
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--hair);
  flex-wrap: wrap;
}

.section {
  padding: 124px 0;
  border-top: 1px solid var(--hair);
}

.section-tint {
  background: var(--canvas);
}

.section-shell {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 64px;
}

.sec-num {
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.4;
  color: var(--g-500);
}

.sec-num .seg {
  display: block;
}

.sec-num .seg.ink {
  color: var(--ink);
  font-weight: 500;
}

.section-head h2,
.cta-copy h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-transform: lowercase;
}

.section-head h2 .dt,
.cta-copy h2 .dt {
  color: var(--g-300);
  font-weight: 400;
}

.section-head .lede,
.cta-copy p {
  margin: 28px 0 0;
  max-width: 48ch;
  font-size: 19px;
  line-height: 1.5;
  color: var(--g-500);
}

.cap-grid,
.stack-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}

.card,
.stack-card {
  background: var(--white);
  padding: 32px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.stack-card:hover {
  transform: translateY(-2px);
}

.card-tag {
  font-size: 11px;
  color: var(--g-500);
}

.card h3,
.stack-card h3 {
  margin: 16px 0 0;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.card p,
.stack-card p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--g-600);
}

.rule-list,
.stack-card ul,
.contact-meta {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rule-list li,
.stack-card li,
.contact-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rule-list li + li,
.stack-card li + li,
.contact-meta-row + .contact-meta-row {
  margin-top: 12px;
}

.rule-list li::before,
.stack-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 8px;
  flex-shrink: 0;
}

.list-meta {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  font-size: 11px;
  color: var(--g-500);
}

.kpis {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--hair);
  background: var(--white);
}

.kpi {
  padding: 40px 30px;
  border-right: 1px solid var(--hair);
}

.kpi:last-child {
  border-right: 0;
}

.kpi .lbl {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--g-500);
}

.kpi .lbl::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.kpi .val {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.kpi .val .unit {
  margin-left: 4px;
  font-size: 24px;
  color: var(--g-400);
  letter-spacing: -0.01em;
  vertical-align: top;
  line-height: 1.6;
}

.kpi .foot {
  margin-top: 14px;
  max-width: 22ch;
  font-size: 13px;
  line-height: 1.45;
  color: var(--g-500);
}

.product-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
}

.queue-table-wrap {
  border: 1px solid var(--hair);
  background: var(--white);
}

.queue-table {
  width: 100%;
  border-collapse: collapse;
}

.queue-table th,
.queue-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--hair);
  font-size: 14px;
}

.queue-table tr:last-child td {
  border-bottom: 0;
}

.queue-table thead th {
  background: var(--canvas);
  font-size: 11px;
  font-weight: 400;
  color: var(--g-500);
}

.queue-table td.num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--g-600);
}

.queue-table td.muted {
  color: var(--g-500);
}

.name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 32px;
  height: 32px;
  border: 1px solid var(--hair);
  background: var(--canvas);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 500;
}

.queue-note {
  margin-top: 16px;
  font-size: 11px;
  color: var(--g-500);
}

.orchestration {
  border: 1px solid var(--hair);
  background: var(--white);
}

.flow-grid {
  display: grid;
  gap: 1px;
  background: var(--hair);
}

.flow-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0;
  background: var(--white);
}

.flow-row .k,
.flow-row .v {
  padding: 18px 20px;
}

.flow-row .k {
  border-right: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--g-500);
}

.flow-row .v {
  font-size: 14px;
  color: var(--ink);
}

.module-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.module {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--hair);
  background: var(--canvas);
}

.module-name {
  font-size: 15px;
}

.module-state {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--g-500);
}

.process {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}

.step {
  min-height: 248px;
  padding: 36px 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step .pn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--g-500);
}

.step .pn::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.step h3 {
  margin: auto 0 0;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 500;
}

.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--g-500);
}

.voice-stack {
  margin-top: 64px;
  display: grid;
  gap: 16px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--hair);
}

.pair > div {
  padding: 28px 32px;
}

.pair > div:first-child {
  border-right: 1px solid var(--hair);
}

.pair .tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--g-500);
}

.pair .do .tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.pair .dont .tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--g-400);
  border-radius: 50%;
}

.pair p {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.pair .dont p {
  color: var(--g-400);
  text-decoration: line-through;
  text-decoration-color: var(--g-300);
}

.cta-band {
  margin-top: 48px;
  padding: 40px;
  border: 1px solid var(--hair);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 40px;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(90deg, transparent, rgba(236, 236, 236, 0.6), transparent) border-box;
}

.contact-meta-row .k {
  width: 110px;
  flex: 0 0 110px;
  font-size: 11px;
  color: var(--g-500);
}

.contact-meta-row .v {
  font-size: 15px;
}

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

.site-footer {
  padding: 48px 0 72px;
  border-top: 1px solid var(--hair);
}

.footer-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-info {
  margin-top: 10px;
  font-size: 12px;
  color: var(--g-500);
  line-height: 1.6;
}

.footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 0.18em;
}

.footer-legal a:hover {
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--g-500);
  text-decoration: none;
}

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

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.44);
}

.modal-overlay[hidden] {
  display: none;
}

.modal-panel,
.status-panel {
  width: min(100%, 720px);
  background: var(--white);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-soft);
}

.modal-panel {
  padding: 32px;
}

.modal-head,
.status-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.modal-title,
.status-title {
  margin: 0;
  font-size: 32px;
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.modal-title .dt,
.status-title .dt {
  color: var(--g-300);
  font-weight: 400;
}

.modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--g-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
}

.modal-copy,
.status-copy {
  margin: 14px 0 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--g-500);
}

.modal-form {
  margin-top: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 36px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-span {
  grid-column: 1 / -1;
}

.field label,
.helper,
.field-error,
.file-button span,
.switch-copy {
  font-family: var(--mono);
  letter-spacing: 0;
}

.field label {
  font-size: 11px;
  color: var(--g-500);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 8px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--g-300);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.005em;
  transition: border-color 0.14s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--g-300);
}

.textarea {
  resize: vertical;
  min-height: 108px;
}

.helper {
  font-size: 11px;
  color: var(--g-500);
}

.field-error {
  display: none;
  font-size: 11px;
  color: var(--ink);
}

.field-error.is-visible {
  display: block;
}

.file-input {
  display: none;
}

.file-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 11px 14px;
  border: 1px solid var(--g-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}

.file-button .marker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g-300);
}

.form-foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.switch .track {
  width: 36px;
  height: 20px;
  position: relative;
  border-radius: 4px;
  background: var(--g-200);
}

.switch .thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: var(--white);
}

.switch-copy {
  font-size: 11px;
  color: var(--g-500);
}

.status-panel {
  width: min(100%, 520px);
  padding: 28px 28px 32px;
}

.status-title {
  font-size: 28px;
}

.status-actions {
  margin-top: 24px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes typingPulse {
  0%,
  60%,
  100% {
    opacity: 0.25;
  }

  30% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .page {
    padding: 0 32px;
  }

  .hero-grid,
  .product-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 32px;
  }

  .hero-stage {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 920px) {
  .topbar-row {
    min-height: 68px;
  }

  .nav-desktop,
  .nav-meta-link,
  .nav-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  body.nav-open .mobile-menu {
    display: block;
  }

  .section-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-meta,
  .cap-grid,
  .stack-grid,
  .hero-aside,
  .form-grid,
  .pair {
    grid-template-columns: 1fr;
  }

  .kpis,
  .process {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .modal-panel,
  .status-panel {
    padding: 24px;
  }

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

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

@media (max-width: 720px) {
  .page {
    padding: 0 20px;
  }

  .hero-shell {
    padding: 24px 0 72px;
  }

  .hero-title {
    font-size: clamp(48px, 17vw, 72px);
  }

  .hero-lede,
  .section-head .lede,
  .cta-copy p {
    font-size: 17px;
  }

  .surface,
  .card,
  .stack-card,
  .step {
    padding: 24px;
  }

  .queue-table th,
  .queue-table td {
    padding: 14px 12px;
    font-size: 13px;
  }

  .queue-table .hide-mobile {
    display: none;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-brand {
    align-items: flex-start;
  }
}
