:root {
  --accent: #1768ac;
  --accent-soft: #eaf4ff;
  --ink: #172033;
  --muted: #5f6b7a;
  --line: #dfe5ec;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --shadow: 0 24px 60px rgba(23, 32, 51, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(
      180deg,
      rgba(245, 247, 250, 0.75) 0,
      rgba(255, 255, 255, 0) 340px
    ),
    var(--paper);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.brand-link,
.top-nav,
.card-topline,
.cta-row,
.page-footer,
.language-switcher {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.76rem;
}

.top-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.top-nav a {
  padding: 8px 10px;
  border-radius: 8px;
}

.top-nav a:hover,
.top-nav .is-active {
  background: var(--accent-soft);
  color: var(--ink);
}

.language-switcher {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.language-switcher button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  background: var(--accent-soft);
  color: var(--ink);
}

.language-name {
  color: inherit;
  font-weight: 600;
}

.index-hero,
.hero,
.content-band,
.split-section,
.page-footer,
.product-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.index-hero,
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding-top: 30px;
  padding-bottom: 64px;
}

.index-hero h1,
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.index-hero p,
.deck,
.section-heading p,
.split-section p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.headline {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.22;
}

.deck {
  margin: 20px 0 0;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.language-switcher button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  background: var(--accent-soft);
  color: var(--ink);
}

.section-label,
.back-link {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.back-link {
  text-transform: none;
}

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

.language-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 20px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.language-switcher button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 6px;
  padding: 0 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
}

.language-switcher button.is-active {
  background: var(--accent-soft);
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  line-height: 1;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.product-visual,
.index-panel,
.feature-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-visual {
  position: relative;
  display: grid;
  gap: 28px;
  min-height: 460px;
  align-content: center;
  overflow: hidden;
  padding: 44px;
}

.product-visual::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
      135deg,
      var(--accent-soft),
      rgba(255, 255, 255, 0) 62%
    ),
    #ffffff;
  content: '';
}

.product-visual > * {
  position: relative;
  z-index: 1;
}

.product-icon {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 8px;
  background: var(--accent-soft);
  overflow: hidden;
}

.product-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-icon.small {
  width: 42px;
  height: 42px;
}

.product-icon.large {
  width: min(50vw, 188px);
  height: min(50vw, 188px);
  box-shadow: 0 20px 50px rgba(23, 32, 51, 0.16);
}

.product-icon.medium {
  width: 58px;
  height: 58px;
}

.visual-card {
  display: grid;
  gap: 10px;
  max-width: 320px;
  padding: 20px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.visual-card span,
.source-note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.visual-card strong {
  font-size: 1.2rem;
  line-height: 1.3;
}

.visual-lines {
  display: grid;
  gap: 12px;
}

.visual-lines span {
  display: block;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.08);
}

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

.visual-lines span:nth-child(3) {
  width: 52%;
}

.content-band {
  padding-top: 80px;
  padding-bottom: 90px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  max-width: 780px;
  gap: 14px;
}

.section-heading h2,
.split-section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.workflow article {
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.workflow span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 900;
}

.workflow strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.35;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 56px;
  align-items: start;
  padding-top: 88px;
  padding-bottom: 88px;
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0) 24px,
      var(--paper) 24px
    ),
    var(--paper);
}

.feature-panel {
  padding: 30px;
}

.feature-panel h3 {
  margin: 0 0 18px;
  font-size: 1.2rem;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.feature-list.compact li {
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.caution {
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink) !important;
}

.page-footer {
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.page-footer span {
  margin-right: auto;
  color: var(--ink);
  font-weight: 800;
}

.index-panel {
  display: grid;
  gap: 16px;
  padding: 34px;
  background: var(--ink);
  color: #ffffff;
}

.index-panel strong {
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.9;
}

.index-panel span {
  max-width: 290px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

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

.product-card {
  display: grid;
  gap: 16px;
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 160ms ease, border-color 160ms ease,
    box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.1);
}

.card-topline {
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-card strong {
  font-size: 1.35rem;
}

.product-card > span:last-child {
  color: var(--muted);
  line-height: 1.55;
}

.inventory-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 500px);
  gap: 64px;
}

.count-console {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(15, 124, 128, 0.22);
  border-radius: 8px;
  background: linear-gradient(
      180deg,
      rgba(230, 247, 248, 0.72),
      rgba(255, 255, 255, 0.94)
    ),
    #ffffff;
  box-shadow: var(--shadow);
}

.count-console-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.count-console-header span,
.inventory-strip span,
.deploy-note strong {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.count-console-header strong {
  display: block;
  margin-top: 4px;
  font-size: 1.08rem;
}

.progress-chip {
  display: inline-flex;
  min-width: 68px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 124, 128, 0.3);
  border-radius: 8px;
  background: #ffffff;
  color: var(--accent) !important;
}

.quantity-control {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: center;
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.quantity-control button {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.quantity-control strong {
  min-width: 0;
  text-align: center;
  color: var(--accent);
  font-size: clamp(3.5rem, 9vw, 5.6rem);
  line-height: 0.9;
}

.variance-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.variance-row {
  display: grid;
  grid-template-columns: 1.1fr minmax(96px, 1.3fr) 0.55fr 0.55fr 0.55fr;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.88rem;
}

.variance-row:first-child {
  border-top: 0;
}

.variance-heading {
  min-height: 42px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.variance-row span,
.variance-row strong {
  overflow-wrap: anywhere;
}

.variance-row strong {
  text-align: right;
}

.variance-row .is-negative {
  color: #b5453c;
}

.variance-row .is-positive {
  color: #0b7a5b;
}

.variance-row .is-even {
  color: var(--muted);
}

.inventory-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: -34px auto 0;
  padding: 0 24px 72px;
}

.inventory-strip article {
  min-height: 156px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(23, 32, 51, 0.08);
}

.inventory-strip strong {
  display: block;
  margin-top: 18px;
  color: var(--accent);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.92;
}

.inventory-strip p {
  margin: 10px 0 0;
  color: var(--muted);
}

.inventory-summary {
  border-top: 1px solid var(--line);
}

.deploy-note {
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(15, 124, 128, 0.22);
  border-radius: 8px;
  background: var(--accent-soft);
}

.deploy-note code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 0.95rem;
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .language-switcher {
    align-self: flex-start;
  }

  .index-hero,
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .index-hero,
  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .product-grid,
  .workflow,
  .inventory-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .index-hero,
  .hero,
  .content-band,
  .split-section,
  .page-footer,
  .product-grid,
  .inventory-strip {
    padding-right: 18px;
    padding-left: 18px;
  }

  .index-hero h1,
  .hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.8rem);
  }

  .product-visual {
    min-height: 360px;
    padding: 28px;
  }

  .product-grid,
  .workflow,
  .inventory-strip {
    grid-template-columns: 1fr;
  }

  .count-console {
    padding: 18px;
  }

  .count-console-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .progress-chip {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .quantity-control {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
  }

  .quantity-control button {
    width: 54px;
    height: 54px;
  }

  .variance-row {
    grid-template-columns: minmax(74px, 0.9fr) minmax(84px, 1fr) 0.5fr 0.5fr 0.5fr;
    gap: 7px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

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

  .language-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

body[data-page='tiny-sop'] {
  --tiny-ink: #172033;
  --tiny-muted: #5a6572;
  --tiny-line: #d9e1e8;
  --tiny-soft: #f4f7f8;
  --tiny-teal: #167c70;
  --tiny-teal-soft: #e7f5f2;
  --tiny-amber: #b86b10;
  --tiny-amber-soft: #fff4df;
  --tiny-shadow: 0 28px 70px rgba(23, 32, 51, 0.14);
  background: #ffffff;
}

.tiny-header,
.tiny-hero,
.tiny-workflow,
.tiny-scope,
.tiny-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.tiny-header,
.tiny-brand,
.tiny-nav,
.tiny-actions,
.tiny-language-switcher,
.tiny-footer {
  display: flex;
  align-items: center;
}

.tiny-header {
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 18px;
}

.tiny-brand {
  gap: 10px;
  color: var(--tiny-ink);
  font-weight: 850;
}

.tiny-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.tiny-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--tiny-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.tiny-nav a {
  padding: 8px 10px;
  border-radius: 8px;
}

.tiny-nav a:hover {
  background: var(--tiny-teal-soft);
  color: var(--tiny-ink);
}

.tiny-language-switcher {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--tiny-line);
  border-radius: 8px;
  background: #ffffff;
}

.tiny-language-switcher button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--tiny-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
}

.tiny-language-switcher button:hover,
.tiny-language-switcher button.is-active,
.tiny-language-switcher button[aria-pressed='true'] {
  background: var(--tiny-ink);
  color: #ffffff;
}

.tiny-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 56px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 36px;
}

.tiny-hero-copy h1 {
  margin: 0;
  color: var(--tiny-ink);
  font-size: clamp(4.5rem, 12vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.tiny-headline {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--tiny-ink);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 780;
  line-height: 1.08;
}

.tiny-deck {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--tiny-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.tiny-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.tiny-product-scene {
  position: relative;
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(245px, 330px) minmax(220px, 1fr);
  gap: 18px;
  align-items: end;
  padding: 28px;
  border: 1px solid var(--tiny-line);
  border-radius: 8px;
  background: linear-gradient(
      180deg,
      rgba(231, 245, 242, 0.9),
      rgba(255, 255, 255, 0) 46%
    ),
    #ffffff;
  box-shadow: var(--tiny-shadow);
}

.tiny-phone,
.tiny-proof-panel {
  border: 1px solid rgba(23, 32, 51, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.12);
}

.tiny-phone {
  display: grid;
  gap: 14px;
  min-height: 520px;
  padding: 18px;
}

.tiny-phone-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: var(--tiny-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.tiny-phone-bar strong {
  color: var(--tiny-teal);
}

.tiny-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf1;
}

.tiny-progress span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--tiny-teal);
}

.tiny-step {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--tiny-line);
  border-radius: 8px;
  background: #ffffff;
}

.tiny-step strong {
  color: var(--tiny-ink);
  font-size: 1rem;
}

.tiny-step small,
.tiny-finish-block span,
.tiny-panel-label,
.tiny-proof-panel p {
  color: var(--tiny-muted);
}

.tiny-status {
  width: max-content;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tiny-step.is-done {
  border-color: rgba(22, 124, 112, 0.28);
  background: var(--tiny-teal-soft);
}

.tiny-step.is-done .tiny-status {
  color: var(--tiny-teal);
}

.tiny-step.is-exception {
  border-color: rgba(184, 107, 16, 0.3);
  background: var(--tiny-amber-soft);
}

.tiny-step.is-exception .tiny-status {
  color: var(--tiny-amber);
}

.tiny-step.is-pending .tiny-status {
  color: var(--tiny-muted);
}

.tiny-finish-block {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding: 14px;
  border-radius: 8px;
  background: var(--tiny-ink);
  color: #ffffff;
}

.tiny-finish-block strong {
  font-size: 0.95rem;
}

.tiny-proof-panel {
  display: grid;
  gap: 22px;
  padding: 22px;
}

.tiny-proof-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--tiny-ink);
  font-size: 1.35rem;
  line-height: 1.15;
}

.tiny-proof-panel p {
  margin: 10px 0 0;
  line-height: 1.55;
}

.tiny-panel-label {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tiny-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tiny-proof-grid span {
  aspect-ratio: 1;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 8px;
  background: linear-gradient(
      135deg,
      rgba(22, 124, 112, 0.14),
      rgba(255, 255, 255, 0.1)
    ),
    var(--tiny-soft);
}

.tiny-proof-grid span:nth-child(2) {
  background: linear-gradient(
      135deg,
      rgba(184, 107, 16, 0.16),
      rgba(255, 255, 255, 0.1)
    ),
    var(--tiny-soft);
}

.tiny-workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 36px;
  padding-bottom: 86px;
}

.tiny-workflow article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--tiny-line);
  border-radius: 8px;
  background: var(--tiny-soft);
}

.tiny-workflow span {
  color: var(--tiny-teal);
  font-weight: 900;
}

.tiny-workflow strong {
  display: block;
  margin-top: 42px;
  color: var(--tiny-ink);
  font-size: 1.22rem;
}

.tiny-workflow p {
  margin: 12px 0 0;
  color: var(--tiny-muted);
  line-height: 1.55;
}

.tiny-scope {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 54px;
  padding-top: 84px;
  padding-bottom: 88px;
  border-top: 1px solid var(--tiny-line);
}

.tiny-scope h2 {
  max-width: 720px;
  margin: 0;
  color: var(--tiny-ink);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.tiny-scope p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--tiny-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.tiny-scope ul {
  display: grid;
  gap: 12px;
  align-self: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tiny-scope li {
  padding: 16px 0;
  border-bottom: 1px solid var(--tiny-line);
  color: var(--tiny-ink);
  font-weight: 800;
  line-height: 1.35;
}

.tiny-footer {
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 36px;
  border-top: 1px solid var(--tiny-line);
  color: var(--tiny-muted);
  font-size: 0.95rem;
}

.tiny-footer span {
  margin-right: auto;
  color: var(--tiny-ink);
  font-weight: 850;
}

@media (max-width: 980px) {
  .tiny-hero,
  .tiny-scope {
    grid-template-columns: 1fr;
  }

  .tiny-hero {
    padding-bottom: 30px;
  }

  .tiny-product-scene {
    min-height: 0;
  }
}

@media (max-width: 740px) {
  .tiny-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .tiny-nav {
    justify-content: flex-start;
  }

  .tiny-product-scene,
  .tiny-workflow {
    grid-template-columns: 1fr;
  }

  .tiny-proof-panel {
    order: -1;
  }
}

@media (max-width: 640px) {
  .tiny-header,
  .tiny-hero,
  .tiny-workflow,
  .tiny-scope,
  .tiny-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .tiny-hero-copy h1 {
    font-size: clamp(3.7rem, 20vw, 5rem);
  }

  .tiny-headline {
    margin-top: 20px;
    font-size: 1.24rem;
  }

  .tiny-deck {
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .tiny-actions {
    margin-top: 22px;
  }

  .tiny-product-scene {
    padding: 12px;
  }

  .tiny-proof-panel,
  .tiny-step.is-exception,
  .tiny-step.is-pending {
    display: none;
  }

  .tiny-phone {
    min-height: 0;
    gap: 10px;
    padding: 14px;
  }

  .tiny-step,
  .tiny-finish-block {
    padding: 12px;
  }

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

body[data-page='null-zine'] {
  --traceloop-ink: #07110b;
  --traceloop-panel: #0d1a10;
  --traceloop-green: #34b36b;
  --traceloop-green-hot: #58e878;
  --traceloop-magenta: #ff4db8;
  --traceloop-amber: #f0b84a;
  --traceloop-paper: #f7f3e8;
  --traceloop-paper-ink: #1d1b16;
  --traceloop-line: rgba(88, 232, 120, 0.42);
  background: radial-gradient(
      circle at 72% 16%,
      rgba(52, 179, 107, 0.28),
      transparent 28rem
    ),
    radial-gradient(
      circle at 18% 5%,
      rgba(255, 77, 184, 0.14),
      transparent 18rem
    ),
    linear-gradient(180deg, #030604 0, #07110b 57%, var(--traceloop-paper) 57%);
  color: #f7f3e8;
  font-family: 'Lucida Console', Monaco, Consolas, 'Courier New', monospace;
}

body[data-page='null-zine']::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(
      rgba(88, 232, 120, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(88, 232, 120, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  content: '';
}

.traceloop-header,
.traceloop-hero,
.traceloop-workflow,
.traceloop-safety,
.traceloop-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.traceloop-header {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.traceloop-brand,
.traceloop-nav,
.traceloop-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.traceloop-brand {
  gap: 12px;
  color: var(--traceloop-green-hot);
  font-weight: 800;
}

.traceloop-nav {
  gap: 10px;
  color: rgba(247, 243, 232, 0.74);
  font-size: 0.88rem;
}

.traceloop-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.traceloop-nav a {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.traceloop-nav a:hover {
  border-color: var(--traceloop-line);
  color: var(--traceloop-green-hot);
}

.language-switcher {
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--traceloop-line);
  border-radius: 8px;
  background: rgba(13, 26, 16, 0.82);
}

.language-switcher button {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(247, 243, 232, 0.72);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  background: var(--traceloop-green-hot);
  color: #031006;
}

.traceloop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 58px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 52px;
}

.traceloop-copy h1 {
  max-width: 680px;
  margin: 0;
  color: var(--traceloop-green-hot);
  font-size: clamp(3.8rem, 9vw, 7.6rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(88, 232, 120, 0.28);
}

.traceloop-headline {
  max-width: 640px;
  margin: 28px 0 0;
  color: #fff9e8;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.25;
}

.traceloop-deck {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(247, 243, 232, 0.72);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
}

.traceloop-primary,
.traceloop-secondary {
  border: 1px solid var(--traceloop-green-hot);
  font-family: inherit;
  min-width: 170px;
}

.traceloop-primary {
  background: var(--traceloop-green-hot);
  color: #031006;
  box-shadow: 0 0 34px rgba(88, 232, 120, 0.22);
}

.traceloop-secondary {
  background: rgba(7, 17, 11, 0.78);
  color: var(--traceloop-green-hot);
}

.traceloop-phone {
  display: grid;
  gap: 16px;
  width: min(100%, 420px);
  min-height: 500px;
  padding: 28px;
  border: 1px solid rgba(247, 243, 232, 0.28);
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(88, 232, 120, 0.11), transparent 44%),
    var(--traceloop-ink);
  box-shadow: 0 0 0 8px rgba(247, 243, 232, 0.08),
    0 34px 82px rgba(0, 0, 0, 0.5), 0 0 72px rgba(52, 179, 107, 0.24);
}

.phone-status,
.resource-stack div,
.loop-feed,
.action-grid span,
.zine-tab {
  border: 1px solid var(--traceloop-line);
  background: rgba(13, 26, 16, 0.82);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--traceloop-green-hot);
  font-size: 0.78rem;
}

.resource-stack {
  display: grid;
  gap: 8px;
}

.resource-stack div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 8px;
}

.resource-stack span {
  color: #fff9e8;
}

.resource-stack strong {
  color: var(--traceloop-green-hot);
  font-size: 1.3rem;
}

.resource-stack em {
  color: rgba(88, 232, 120, 0.76);
  font-style: normal;
  font-size: 0.78rem;
}

.loop-feed {
  display: grid;
  align-content: end;
  min-height: 150px;
  padding: 18px;
  border-radius: 8px;
  background: radial-gradient(
      circle at 55% 40%,
      rgba(88, 232, 120, 0.18),
      transparent 34%
    ),
    rgba(13, 26, 16, 0.82);
}

.loop-feed span {
  color: var(--traceloop-green-hot);
  font-size: 0.78rem;
}

.loop-feed strong {
  max-width: 240px;
  margin-top: 76px;
  color: rgba(247, 243, 232, 0.76);
  font-size: 0.82rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.action-grid span,
.zine-tab {
  display: grid;
  min-height: 58px;
  place-items: center;
  border-radius: 8px;
  color: #fff9e8;
  font-weight: 800;
}

.action-grid span:nth-child(1) {
  color: var(--traceloop-magenta);
}

.action-grid span:nth-child(4) {
  color: var(--traceloop-amber);
}

.zine-tab {
  color: var(--traceloop-magenta);
}

.traceloop-workflow {
  padding-top: 72px;
  padding-bottom: 84px;
  background: var(--traceloop-paper);
  box-shadow: 0 0 0 100vmax var(--traceloop-paper);
  clip-path: inset(0 -100vmax);
  color: var(--traceloop-paper-ink);
}

.traceloop-workflow h2,
.traceloop-safety h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.traceloop-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(29, 27, 22, 0.22);
  border-bottom: 1px solid rgba(29, 27, 22, 0.22);
}

.traceloop-steps article {
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid rgba(29, 27, 22, 0.18);
}

.traceloop-steps article:last-child {
  border-right: 0;
}

.traceloop-steps span {
  display: block;
  margin-bottom: 48px;
  color: var(--traceloop-magenta);
  font-size: 1.1rem;
  font-weight: 900;
}

.traceloop-steps article:nth-child(2) span {
  color: var(--traceloop-green);
}

.traceloop-steps article:nth-child(3) span {
  color: var(--traceloop-amber);
}

.traceloop-steps strong {
  display: block;
  max-width: 280px;
  font-size: 1.08rem;
  line-height: 1.55;
}

.traceloop-safety {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 56px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 84px;
  border: 1px solid var(--traceloop-line);
  background: radial-gradient(
      circle at 78% 22%,
      rgba(255, 77, 184, 0.16),
      transparent 18rem
    ),
    rgba(7, 17, 11, 0.96);
  color: var(--traceloop-paper);
}

.traceloop-safety p {
  max-width: 620px;
  color: rgba(247, 243, 232, 0.74);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.02rem;
  line-height: 1.75;
}

.traceloop-proof {
  border-color: var(--traceloop-line);
  background: rgba(13, 26, 16, 0.82);
  box-shadow: none;
}

.traceloop-proof .feature-list li {
  border-bottom-color: rgba(88, 232, 120, 0.24);
  color: var(--traceloop-paper);
}

.traceloop-proof h3,
.traceloop-proof .source-note {
  color: var(--traceloop-paper);
}

.traceloop-footer {
  border-top-color: rgba(88, 232, 120, 0.24);
  color: rgba(247, 243, 232, 0.72);
}

.traceloop-footer span {
  color: var(--traceloop-green-hot);
}

@media (max-width: 920px) {
  body[data-page='null-zine'] {
    background: radial-gradient(
        circle at 50% 14%,
        rgba(52, 179, 107, 0.28),
        transparent 26rem
      ),
      linear-gradient(
        180deg,
        #030604 0,
        #07110b 68%,
        var(--traceloop-paper) 68%
      );
  }

  .traceloop-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 22px;
  }

  .traceloop-actions {
    justify-content: flex-start;
  }

  .traceloop-hero,
  .traceloop-safety {
    grid-template-columns: 1fr;
  }

  .traceloop-hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  .traceloop-phone {
    margin: 0 auto;
    min-height: 520px;
  }

  .traceloop-steps {
    grid-template-columns: 1fr;
  }

  .traceloop-steps article,
  .traceloop-steps article:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(29, 27, 22, 0.18);
  }
}

@media (max-width: 640px) {
  .traceloop-header,
  .traceloop-hero,
  .traceloop-workflow,
  .traceloop-safety,
  .traceloop-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .traceloop-copy h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .traceloop-headline {
    margin-top: 18px;
    font-size: 1.28rem;
  }

  .traceloop-deck {
    display: none;
  }

  .traceloop-hero {
    gap: 28px;
    padding-top: 12px;
    padding-bottom: 34px;
  }

  .traceloop-hero .cta-row {
    margin-top: 22px;
  }

  .traceloop-primary,
  .traceloop-secondary {
    min-width: 146px;
  }

  .traceloop-phone {
    min-height: 0;
    padding: 14px;
    border-radius: 28px;
  }

  .phone-status,
  .loop-feed,
  .zine-tab {
    display: none;
  }

  .resource-stack div {
    grid-template-columns: 1fr auto;
    gap: 4px;
    min-height: 42px;
    padding: 8px 10px;
  }

  .resource-stack em {
    display: none;
  }

  .resource-stack strong {
    font-size: 1.05rem;
  }

  .action-grid {
    grid-template-columns: 1fr 1fr;
  }

  .action-grid span {
    min-height: 44px;
  }
}
