:root {
  --color-ink: #1c1a17;
  --color-ink-soft: #403c35;
  --color-muted: #746f64;
  --color-paper: #f5ecdc;
  --color-paper-warm: #efe0c5;
  --color-paper-soft: #faf6ec;
  --color-line: rgba(28, 26, 23, 0.18);
  --color-surface: #fffaf0;
  --color-blue: #123cff;
  --color-blue-deep: #17225c;
  --color-red: #f0442e;
  --color-coral: #ff9c7f;
  --color-yellow: #ffe15a;
  --color-mint: #bdebd1;
  --color-green: #86d971;
  --color-pink: #f4a9d8;
  --shadow-soft: 0 28px 80px rgba(44, 36, 24, 0.2);
  --shadow-paper: 0 18px 42px rgba(50, 42, 31, 0.16);
  --radius: 8px;
  --site-width: 1460px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 225, 90, 0.22), transparent 18%),
    radial-gradient(circle at 88% 12%, rgba(18, 60, 255, 0.08), transparent 16%),
    linear-gradient(105deg, #fbf3df 0%, #f0e4cf 50%, #f6ead8 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 40;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #fff;
  background: var(--color-ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 236, 220, 0.88);
  border-bottom: 1px solid rgba(28, 26, 23, 0.18);
  backdrop-filter: blur(16px);
}

.marketing-page .site-header {
  position: absolute;
  width: 100%;
  background: linear-gradient(180deg, rgba(251, 243, 223, 0.94), rgba(251, 243, 223, 0.78));
  border-bottom: 0;
  backdrop-filter: blur(2px);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, var(--site-width));
  min-height: 78px;
  margin: 0 auto;
  gap: 24px;
}

.marketing-page .nav-shell {
  width: min(100% - 84px, 1900px);
  min-height: 118px;
}

.marketing-page .nav-shell::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(28, 26, 23, 0.22);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark,
.admin-product-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--color-ink);
  background: var(--color-yellow);
  border: 1px solid rgba(28, 26, 23, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(255, 250, 240, 0.58);
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  color: var(--color-ink);
  font-size: 1.05rem;
  font-weight: 850;
}

.brand-tagline {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.marketing-page .brand-mark,
.marketing-page .brand-tagline {
  display: none;
}

.marketing-page .brand-name {
  font-size: clamp(1.45rem, 1.65vw, 2rem);
  font-weight: 780;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.marketing-page .nav-links {
  gap: clamp(22px, 3vw, 54px);
}

.nav-link {
  padding: 10px 12px;
  color: var(--color-ink-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 730;
}

.marketing-page .nav-link {
  padding: 10px 0;
  color: var(--color-ink);
  font-size: clamp(1rem, 1.15vw, 1.28rem);
  font-weight: 660;
}

.nav-link:hover {
  border-color: rgba(28, 26, 23, 0.16);
  background: rgba(255, 250, 240, 0.62);
}

.marketing-page .nav-link:hover {
  border-color: transparent;
  background: transparent;
}

.nav-link-primary {
  padding-inline: 18px;
  color: var(--color-ink);
  background: var(--color-yellow);
  border-color: rgba(28, 26, 23, 0.28);
  box-shadow: 0 10px 24px rgba(28, 26, 23, 0.08);
}

.marketing-page .nav-link-primary {
  padding: 12px 22px;
  background: rgba(255, 250, 240, 0.26);
  border-color: rgba(28, 26, 23, 0.26);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  align-content: center;
  place-items: center;
  justify-items: center;
  gap: 4px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-surface);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: var(--color-ink);
}

.nav-toggle::before {
  display: none;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--color-ink);
  box-shadow: 0 -7px 0 var(--color-ink), 0 7px 0 var(--color-ink);
}

.site-main {
  min-height: calc(100vh - 78px);
}

.marketing-page .site-main {
  overflow: hidden;
}

.section-shell {
  width: min(100% - 48px, var(--site-width));
  margin: 0 auto;
}

.art-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.art-section + .art-section {
  border-top: 0;
}

.art-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(28, 26, 23, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 26, 23, 0.02) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.45;
}

.art-section::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.section-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--color-muted);
  font-size: 0.96rem;
  font-weight: 760;
}

.section-count span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--color-ink);
  border: 1px solid rgba(28, 26, 23, 0.36);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.45);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-red);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

p,
.btn,
.nav-link {
  overflow-wrap: break-word;
}

.art-section h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(2.8rem, 6.2vw, 7.15rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.art-section p {
  color: var(--color-ink-soft);
}

.landing-hero {
  min-height: 112vh;
  background:
    radial-gradient(circle at 9% 14%, rgba(255, 225, 90, 0.32), transparent 24%),
    radial-gradient(circle at 76% 6%, rgba(18, 60, 255, 0.14), transparent 25%),
    linear-gradient(115deg, #fbf3df 0%, #f3e8d2 48%, #ead7b8 100%);
}

.landing-hero::after {
  position: absolute;
  top: -10%;
  right: -12%;
  z-index: -1;
  width: 44vw;
  min-width: 420px;
  aspect-ratio: 1;
  content: "";
  background: rgba(255, 250, 240, 0.52);
  border: 1px solid rgba(28, 26, 23, 0.08);
  border-radius: 50%;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  align-items: center;
  width: min(100% - 84px, 1900px);
  min-height: 112vh;
  margin: 0 auto;
  padding: 166px 0 72px;
  gap: 28px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-copy h1 {
  max-width: 870px;
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(5.2rem, 8.25vw, 10.9rem);
  line-height: 0.91;
  letter-spacing: 0;
}

.hero-copy h1 em,
.art-section h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  max-width: 660px;
  margin: 32px 0 0;
  color: var(--color-ink-soft);
  font-size: clamp(1.05rem, 1.38vw, 1.42rem);
  line-height: 1.55;
}

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

.install-form {
  width: min(100%, 640px);
  margin-top: 18px;
}

.install-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.install-control input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  color: var(--color-ink);
  border: 1px solid rgba(28, 26, 23, 0.28);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 250, 240, 0.64);
  font-weight: 720;
}

.install-control input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(18, 60, 255, 0.12);
}

.install-control input[aria-invalid="true"] {
  border-color: var(--color-red);
}

.install-form-feedback {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.install-form-feedback.is-error {
  color: var(--color-red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 32px;
  border: 1px solid rgba(28, 26, 23, 0.28);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 760;
}

.btn span {
  margin-left: 16px;
  font-weight: 900;
}

.btn-primary {
  color: var(--color-ink);
  background: var(--color-yellow);
  box-shadow: 0 12px 24px rgba(150, 106, 0, 0.14);
}

.btn-secondary {
  color: var(--color-ink);
  background: rgba(255, 250, 240, 0.4);
}

.btn-small {
  min-height: 40px;
  padding-inline: 16px;
}

.hero-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(68px, 12vw, 180px);
}

.hero-signature p {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.25;
}

.signal-mark {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(28, 26, 23, 0.2);
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent 0 10deg, var(--color-ink) 10deg 16deg, transparent 16deg 38deg),
    radial-gradient(circle at center, var(--color-red) 0 5px, transparent 6px);
}

.hero-collage {
  position: relative;
  min-height: 800px;
  margin-top: -82px;
  margin-right: -112px;
}

.paper-card {
  position: absolute;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(28, 26, 23, 0.12);
  border-radius: 3px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 36%),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.32), transparent 22%),
    var(--color-surface);
  box-shadow: var(--shadow-paper);
}

.paper-card span,
.paper-card small,
.feature-note span,
.schedule-block span,
.schedule-block small,
.chart-card span,
.store-tile span,
.archive-stack span,
.archive-stack small {
  color: rgba(28, 26, 23, 0.68);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.paper-card strong {
  color: var(--color-ink);
  font-size: 1.12rem;
  line-height: 1.12;
}

.card-texture {
  top: -220px;
  left: 240px;
  z-index: 1;
  width: 300px;
  min-height: 390px;
  padding: 0;
  overflow: hidden;
  background:
    repeating-radial-gradient(ellipse at 50% 18%, rgba(28, 26, 23, 0.78) 0 2px, transparent 3px 10px),
    repeating-linear-gradient(170deg, #111 0 4px, #d8d2c5 5px 10px, #2f2f2c 11px 16px);
  transform: rotate(-11deg);
}

.card-rule {
  top: 96px;
  left: 178px;
  z-index: 3;
  width: 330px;
  min-height: 360px;
  background: var(--color-coral);
  transform: rotate(-7deg);
}

.card-rule strong {
  max-width: 250px;
}

.card-grid {
  top: 130px;
  right: 160px;
  z-index: 4;
  width: min(500px, 58%);
  min-height: 500px;
  background: #fff7e8;
  transform: rotate(-6deg);
}

.card-blue {
  top: 160px;
  right: 12px;
  z-index: 1;
  width: 300px;
  min-height: 510px;
  color: #07103c;
  background: var(--color-blue);
  transform: rotate(-8deg);
}

.card-snapshot {
  right: 430px;
  bottom: 134px;
  z-index: 5;
  width: 250px;
  min-height: 205px;
  background: #fbf0d9;
  transform: rotate(-2deg);
}

.card-snapshot strong {
  max-width: 150px;
}

.card-black {
  right: 255px;
  bottom: 4px;
  z-index: 8;
  width: 350px;
  min-height: 235px;
  color: #fff;
  background: #151511;
  transform: rotate(3deg);
}

.card-black span,
.card-black small,
.card-black strong {
  color: #fff;
}

.card-palette {
  bottom: 172px;
  left: 104px;
  z-index: 4;
  width: 168px;
  min-height: 326px;
  gap: 12px;
  background: #fff7e8;
  transform: rotate(-13deg);
}

.card-diagram {
  left: 284px;
  bottom: 160px;
  z-index: 3;
  width: 310px;
  min-height: 260px;
  background: #f4ead8;
  transform: rotate(-3deg);
}

.card-diagram strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 400;
}

.diagram-field {
  position: relative;
  min-height: 116px;
  border-left: 2px solid rgba(28, 26, 23, 0.42);
  border-bottom: 2px solid rgba(28, 26, 23, 0.42);
}

.diagram-field i {
  position: absolute;
  display: block;
  border: 1px dashed rgba(28, 26, 23, 0.46);
}

.diagram-field i:nth-child(1) {
  inset: 18px 38px 28px 46px;
}

.diagram-field i:nth-child(2) {
  right: 12px;
  bottom: 16px;
  width: 90px;
  height: 64px;
  transform: skew(-12deg);
}

.diagram-field i:nth-child(3) {
  left: 28px;
  bottom: 34px;
  width: 110px;
  height: 1px;
  background: rgba(28, 26, 23, 0.42);
  transform: rotate(-18deg);
}

.card-red {
  right: -12px;
  bottom: 130px;
  z-index: 6;
  width: 410px;
  min-height: 315px;
  background: var(--color-red);
  transform: rotate(-8deg);
}

.card-red .cutout {
  width: 158px;
  height: 158px;
  margin: 76px auto 0;
  border-radius: 50%;
  background:
    repeating-linear-gradient(8deg, rgba(28, 26, 23, 0.48) 0 2px, rgba(255, 250, 240, 0.34) 3px 6px),
    #d9d0bd;
}

.card-yellow {
  right: -86px;
  bottom: -32px;
  z-index: 9;
  width: 356px;
  min-height: 268px;
  background: var(--color-yellow);
  transform: rotate(8deg);
}

.contact-sheet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.contact-sheet i {
  display: block;
  min-height: 82px;
  background:
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.8) 0 8px, transparent 9px),
    repeating-linear-gradient(152deg, rgba(28, 26, 23, 0.75) 0 3px, rgba(255, 250, 240, 0.34) 4px 8px);
}

.contact-sheet i:nth-child(2n) {
  background:
    radial-gradient(circle at 46% 40%, rgba(255, 255, 255, 0.78) 0 7px, transparent 8px),
    repeating-radial-gradient(circle at center, rgba(28, 26, 23, 0.82) 0 2px, rgba(255, 250, 240, 0.24) 3px 7px);
}

.card-wave {
  left: 184px;
  bottom: -80px;
  z-index: 2;
  width: 410px;
  min-height: 176px;
  padding: 0;
  background:
    repeating-radial-gradient(ellipse at 0 50%, transparent 0 16px, rgba(28, 26, 23, 0.9) 17px 20px, transparent 21px 38px),
    #f6ead7;
  transform: rotate(-4deg);
}

.card-palette span {
  display: block;
  width: 100%;
  min-height: 30px;
  border-radius: 999px;
  text-transform: none;
}

.card-palette span:nth-child(1) {
  background: var(--color-blue);
}

.card-palette span:nth-child(2) {
  background: var(--color-red);
}

.card-palette span:nth-child(3) {
  background: var(--color-yellow);
}

.card-palette span:nth-child(4) {
  background: var(--color-mint);
}

.card-palette span:nth-child(5) {
  background: var(--color-coral);
}

.sticky-arrow {
  position: absolute;
  top: 470px;
  left: 334px;
  z-index: 7;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  color: var(--color-ink);
  border: 1px solid rgba(28, 26, 23, 0.2);
  border-radius: 8px;
  background: var(--color-mint);
  box-shadow: var(--shadow-paper);
  font-size: 1.5rem;
  font-weight: 900;
  transform: rotate(-5deg);
}

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

.product-grid-mini i {
  min-height: 86px;
  border: 1px solid rgba(28, 26, 23, 0.16);
  border-radius: 5px;
  background:
    linear-gradient(150deg, rgba(255, 250, 240, 0) 52%, rgba(28, 26, 23, 0.1) 53%),
    linear-gradient(135deg, #e9d0b2, #fff7e8);
}

.product-grid-mini i:nth-child(2n) {
  background:
    linear-gradient(150deg, rgba(255, 250, 240, 0) 50%, rgba(18, 60, 255, 0.28) 51%),
    linear-gradient(135deg, #dfe7ff, #fff7e8);
}

.product-grid-mini i:nth-child(3n) {
  background:
    linear-gradient(150deg, rgba(255, 250, 240, 0) 50%, rgba(240, 68, 46, 0.26) 51%),
    linear-gradient(135deg, #ffe2d7, #fff7e8);
}

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

.rule-chip-row i,
.automation-tags span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  color: var(--color-ink);
  border: 1px solid rgba(28, 26, 23, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.52);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.dot-matrix {
  width: 138px;
  height: 180px;
  margin-top: 46px;
  background-image: radial-gradient(#070707 3px, transparent 4px);
  background-size: 26px 26px;
}

.snapshot-lines {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.snapshot-lines i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(28, 26, 23, 0.16);
}

.snapshot-lines i:nth-child(1) {
  width: 100%;
}

.snapshot-lines i:nth-child(2) {
  width: 72%;
}

.snapshot-lines i:nth-child(3) {
  width: 44%;
  background: var(--color-green);
}

.spark-field {
  width: 100%;
  min-height: 80px;
  margin-top: 6px;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.88) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 45%, rgba(255, 255, 255, 0.52) 0 1px, transparent 2px);
  background-size: 10px 10px, 7px 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.feature-board {
  margin-top: -92px;
  padding: 220px 0 142px;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 225, 90, 0.28), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(18, 60, 255, 0.08), transparent 22%),
    linear-gradient(105deg, rgba(251, 243, 223, 0.96) 0%, rgba(247, 239, 223, 0.92) 52%, rgba(242, 223, 202, 0.94) 100%);
}

.feature-board::after {
  right: -130px;
  bottom: -84px;
  width: 520px;
  height: 310px;
  background:
    repeating-linear-gradient(0deg, rgba(28, 26, 23, 0.12) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(18, 60, 255, 0.18) 0 2px, transparent 2px 64px),
    #fff7e8;
  border: 1px solid rgba(28, 26, 23, 0.12);
  box-shadow: var(--shadow-paper);
  transform: rotate(-5deg);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: 72px;
}

.split-heading p:last-child {
  max-width: 470px;
  margin: 0 0 6px;
  font-size: 1.08rem;
  line-height: 1.65;
}

.feature-collage {
  position: relative;
  min-height: 720px;
  margin-top: 78px;
}

.feature-note {
  position: absolute;
  display: grid;
  align-content: space-between;
  width: 32%;
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(28, 26, 23, 0.16);
  border-radius: 4px;
  box-shadow: var(--shadow-paper);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.34), transparent 38%),
    #fff7e8;
}

.feature-note h3 {
  margin: 62px 0 10px;
  color: var(--color-ink);
  font-size: clamp(1.7rem, 2.5vw, 2.8rem);
  line-height: 1;
}

.feature-note p {
  margin: 0;
  line-height: 1.48;
}

.note-safe {
  top: 8px;
  left: 2%;
  background: #fff7e8;
  transform: rotate(-3deg);
}

.note-pin {
  top: 42px;
  left: 32%;
  background: var(--color-yellow);
  transform: rotate(4deg);
}

.note-rule {
  top: -6px;
  right: 0;
  color: #fff;
  background: var(--color-blue);
  transform: rotate(-4deg);
}

.note-rule h3,
.note-rule p,
.note-rule span {
  color: #fff;
}

.note-schedule {
  bottom: 92px;
  left: 11%;
  background: var(--color-mint);
  transform: rotate(3deg);
}

.note-insight {
  bottom: 0;
  left: 38%;
  background: #151511;
  transform: rotate(-3deg);
}

.note-insight h3,
.note-insight p,
.note-insight span {
  color: #fff;
}

.note-rollback {
  right: 6%;
  bottom: 118px;
  background: var(--color-coral);
  transform: rotate(4deg);
}

.sorting-lab {
  padding: 150px 0 158px;
  background:
    radial-gradient(circle at 80% 18%, rgba(18, 60, 255, 0.12), transparent 28%),
    radial-gradient(circle at 12% 74%, rgba(255, 225, 90, 0.16), transparent 22%),
    linear-gradient(130deg, #f7eddc 0%, #f3e3d2 100%);
}

.sorting-lab::after {
  top: -86px;
  right: -120px;
  width: 360px;
  height: 520px;
  background:
    radial-gradient(circle at 58% 44%, rgba(28, 26, 23, 0.9) 0 4px, transparent 5px),
    repeating-linear-gradient(90deg, rgba(28, 26, 23, 0.12) 0 1px, transparent 1px 18px),
    var(--color-blue);
  background-size: 34px 34px, auto, auto;
  border: 1px solid rgba(28, 26, 23, 0.1);
  box-shadow: var(--shadow-paper);
  transform: rotate(8deg);
}

.sorting-shell {
  display: grid;
  grid-template-columns: minmax(330px, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: 84px;
}

.sorting-copy p:last-child,
.insights-copy p:last-child,
.storefront-copy p:last-child,
.trust-copy p:last-child {
  max-width: 540px;
  margin: 30px 0 0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.comparison-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
  transform: rotate(1.5deg);
}

.comparison-board::before {
  position: absolute;
  right: 6%;
  bottom: -58px;
  z-index: -1;
  width: 280px;
  height: 118px;
  content: "";
  background:
    repeating-radial-gradient(ellipse at 0 50%, transparent 0 14px, rgba(28, 26, 23, 0.78) 15px 18px, transparent 19px 34px),
    #f6ead7;
  border: 1px solid rgba(28, 26, 23, 0.1);
  box-shadow: var(--shadow-paper);
  transform: rotate(-5deg);
}

.collection-panel,
.logic-rail,
.chart-card,
.schedule-block,
.archive-stack article,
.cta-panel {
  border: 1px solid rgba(28, 26, 23, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
}

.collection-panel {
  min-height: 560px;
  padding: 22px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.34), transparent 40%),
    #fff7e8;
  border-radius: 3px;
}

.collection-panel > span,
.logic-rail strong {
  display: block;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-after {
  background: #eef7df;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.collection-grid i {
  position: relative;
  display: block;
  min-height: 112px;
  border: 1px solid rgba(28, 26, 23, 0.12);
  border-radius: 3px;
  background:
    linear-gradient(145deg, transparent 58%, rgba(28, 26, 23, 0.12) 59%),
    #eadac2;
}

.collection-grid .is-pin::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  content: "";
  background: var(--color-red);
  border-radius: 50%;
}

.collection-grid .is-hot {
  background:
    linear-gradient(145deg, transparent 58%, rgba(18, 60, 255, 0.26) 59%),
    #dae5ff;
}

.collection-grid .is-soft {
  background:
    linear-gradient(145deg, transparent 58%, rgba(134, 217, 113, 0.36) 59%),
    #e3f7da;
}

.logic-rail {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 20px;
  background: #151511;
  border-radius: 3px;
}

.logic-rail strong,
.logic-rail span {
  color: #fff;
}

.logic-rail span {
  display: block;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.insights-wall {
  padding: 150px 0 158px;
  background:
    radial-gradient(circle at 12% 80%, rgba(255, 225, 90, 0.28), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(189, 235, 209, 0.32), transparent 20%),
    linear-gradient(120deg, #f3e9d7 0%, #f6ead5 100%);
}

.insights-wall::after {
  left: -130px;
  bottom: -72px;
  width: 460px;
  height: 280px;
  background:
    linear-gradient(90deg, var(--color-blue) 0 18%, var(--color-red) 18% 36%, var(--color-yellow) 36% 54%, var(--color-mint) 54% 72%, var(--color-coral) 72% 100%);
  border: 22px solid #fff7e8;
  box-shadow: var(--shadow-paper);
  transform: rotate(7deg);
}

.insights-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.7fr);
  align-items: center;
  gap: 82px;
}

.insights-dashboard {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: minmax(170px, auto);
  gap: 16px;
  transform: rotate(-1.5deg);
}

.insights-dashboard::before {
  position: absolute;
  top: -48px;
  right: 18%;
  z-index: -1;
  width: 180px;
  height: 190px;
  content: "";
  background:
    repeating-linear-gradient(8deg, rgba(28, 26, 23, 0.55) 0 2px, rgba(255, 250, 240, 0.38) 3px 7px),
    #ded5c2;
  border: 1px solid rgba(28, 26, 23, 0.14);
  box-shadow: var(--shadow-paper);
  transform: rotate(13deg);
}

.chart-card {
  display: grid;
  align-content: space-between;
  min-height: 180px;
  padding: 22px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.32), transparent 38%),
    #fff7e8;
  border-radius: 3px;
}

.chart-main {
  min-height: 390px;
  grid-row: span 2;
}

.chart-metric {
  background: var(--color-yellow);
}

.chart-metric strong {
  margin-top: 24px;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.92;
}

.chart-metric small {
  color: var(--color-ink-soft);
  font-weight: 800;
}

.chart-bars {
  background: var(--color-blue);
  transform: rotate(2deg);
}

.chart-bars span {
  color: #fff;
}

.chart-heat {
  grid-column: span 2;
  min-height: 215px;
  background: #161511;
  transform: rotate(1.5deg);
}

.chart-heat span {
  color: #fff;
}

.line-chart {
  height: 220px;
  background:
    linear-gradient(145deg, transparent 43%, var(--color-red) 44% 47%, transparent 48%),
    linear-gradient(25deg, transparent 48%, var(--color-blue) 49% 52%, transparent 53%),
    repeating-linear-gradient(0deg, rgba(28, 26, 23, 0.08), rgba(28, 26, 23, 0.08) 1px, transparent 1px, transparent 42px);
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 130px;
}

.bar-chart i {
  flex: 1;
  display: block;
  min-height: 28px;
  border-radius: 999px 999px 4px 4px;
  background: var(--color-yellow);
}

.bar-chart i:nth-child(2) {
  height: 82px;
  background: var(--color-coral);
}

.bar-chart i:nth-child(3) {
  height: 118px;
  background: var(--color-mint);
}

.bar-chart i:nth-child(4) {
  height: 62px;
}

.bar-chart i:nth-child(5) {
  height: 104px;
  background: var(--color-pink);
}

.heat-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
}

.heat-grid i {
  min-height: 80px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}

.heat-grid i:nth-child(3n) {
  background: var(--color-coral);
}

.heat-grid i:nth-child(4n) {
  background: var(--color-yellow);
}

.heat-grid i:nth-child(5n) {
  background: var(--color-blue);
}

.automation-field {
  padding: 158px 0 168px;
  background:
    linear-gradient(90deg, rgba(18, 60, 255, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(18, 60, 255, 0.07) 1px, transparent 1px),
    #f5ead6;
  background-size: 64px 64px;
}

.automation-field::after {
  right: 10%;
  bottom: -96px;
  width: 410px;
  height: 190px;
  background:
    repeating-radial-gradient(ellipse at 0 50%, transparent 0 15px, rgba(28, 26, 23, 0.76) 16px 19px, transparent 20px 36px),
    #fff7e8;
  border: 1px solid rgba(28, 26, 23, 0.12);
  box-shadow: var(--shadow-paper);
  transform: rotate(-3deg);
}

.automation-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.58fr) minmax(0, 1fr);
  align-items: center;
  gap: 90px;
}

.automation-map {
  position: relative;
  min-height: 620px;
}

.schedule-block {
  position: absolute;
  display: grid;
  align-content: space-between;
  width: 310px;
  min-height: 188px;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.32), transparent 38%),
    #fff7e8;
  border-radius: 3px;
}

.schedule-block strong {
  color: var(--color-ink);
  font-size: 1.9rem;
  line-height: 1;
}

.schedule-a {
  top: 12px;
  left: 6%;
  z-index: 3;
  transform: rotate(-4deg);
}

.schedule-b {
  top: 188px;
  right: 8%;
  z-index: 4;
  background: var(--color-mint);
  transform: rotate(3deg);
}

.schedule-c {
  bottom: 68px;
  left: 24%;
  z-index: 5;
  color: #fff;
  background: #151511;
  transform: rotate(-2deg);
}

.schedule-c strong,
.schedule-c span,
.schedule-c small {
  color: #fff;
}

.automation-thread {
  position: absolute;
  inset: 82px 12% 94px 12%;
  z-index: 1;
  border: 2px solid rgba(28, 26, 23, 0.24);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 48%;
  transform: rotate(12deg);
}

.automation-tags {
  position: absolute;
  right: 0;
  bottom: 10px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  width: min(360px, 80%);
  gap: 8px;
}

.storefront-impact {
  padding: 152px 0 158px;
  background:
    radial-gradient(circle at 74% 38%, rgba(18, 60, 255, 0.16), transparent 22%),
    linear-gradient(110deg, #f5ecdc 0%, #efe3cf 100%);
}

.storefront-impact::after {
  top: 108px;
  right: -150px;
  width: 460px;
  height: 360px;
  background: var(--color-blue);
  box-shadow: var(--shadow-paper);
  transform: rotate(-8deg);
}

.storefront-shell {
  display: grid;
  grid-template-columns: minmax(340px, 0.56fr) minmax(0, 1fr);
  align-items: center;
  gap: 94px;
}

.storefront-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(140px, auto);
  gap: 16px;
  transform: rotate(1.8deg);
}

.storefront-mosaic::before {
  position: absolute;
  left: -54px;
  bottom: -58px;
  z-index: -1;
  width: 280px;
  height: 180px;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(28, 26, 23, 0.12) 0 2px, transparent 2px 26px),
    var(--color-yellow);
  border: 1px solid rgba(28, 26, 23, 0.12);
  box-shadow: var(--shadow-paper);
  transform: rotate(-6deg);
}

.store-tile {
  display: grid;
  align-items: end;
  min-height: 140px;
  padding: 18px;
  border: 1px solid rgba(28, 26, 23, 0.14);
  border-radius: 3px;
  box-shadow: var(--shadow-paper);
  background:
    linear-gradient(145deg, transparent 58%, rgba(28, 26, 23, 0.1) 59%),
    #fff7e8;
}

.tile-large {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 304px;
  background:
    linear-gradient(140deg, rgba(255, 250, 240, 0.1) 0 45%, rgba(18, 60, 255, 0.8) 46% 61%, rgba(255, 250, 240, 0.2) 62%),
    var(--color-coral);
  transform: rotate(-2deg);
}

.tile-product {
  grid-column: span 2;
  background:
    linear-gradient(145deg, transparent 55%, rgba(255, 225, 90, 0.75) 56%),
    #f8dfc0;
}

.tile-product.alt {
  background:
    linear-gradient(145deg, transparent 55%, rgba(240, 68, 46, 0.55) 56%),
    #e9f7dc;
}

.tile-wide {
  grid-column: span 4;
  min-height: 178px;
  background:
    repeating-linear-gradient(90deg, rgba(28, 26, 23, 0.12) 0 2px, transparent 2px 28px),
    var(--color-yellow);
}

.tile-product.dark {
  color: #fff;
  background: #151511;
}

.tile-product.dark span {
  color: #fff;
}

.trust-archive {
  padding: 154px 0 164px;
  background:
    radial-gradient(circle at 12% 20%, rgba(189, 235, 209, 0.36), transparent 24%),
    linear-gradient(125deg, #ede0ce 0%, #f8efe0 100%);
}

.trust-archive::after {
  left: -120px;
  top: 94px;
  width: 380px;
  height: 500px;
  background:
    repeating-linear-gradient(168deg, rgba(28, 26, 23, 0.82) 0 4px, rgba(255, 250, 240, 0.34) 5px 10px),
    #d8d2c5;
  border: 1px solid rgba(28, 26, 23, 0.12);
  box-shadow: var(--shadow-paper);
  opacity: 0.7;
  transform: rotate(7deg);
}

.trust-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.74fr);
  align-items: center;
  gap: 96px;
}

.archive-stack {
  position: relative;
  min-height: 560px;
}

.archive-stack article {
  position: absolute;
  display: grid;
  align-content: space-between;
  width: min(490px, 88%);
  min-height: 210px;
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.34), transparent 38%),
    #fff7e8;
  border-radius: 3px;
}

.archive-stack strong {
  color: var(--color-ink);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 0.98;
}

.archive-stack article:nth-child(1) {
  top: 8px;
  left: 11%;
  z-index: 3;
  transform: rotate(-5deg);
}

.archive-stack article:nth-child(2) {
  top: 176px;
  right: 2%;
  z-index: 4;
  background: var(--color-red);
  transform: rotate(5deg);
}

.archive-stack article:nth-child(2) strong,
.archive-stack article:nth-child(2) span,
.archive-stack article:nth-child(2) small {
  color: #fff;
}

.archive-stack article:nth-child(3) {
  bottom: 42px;
  left: 22%;
  z-index: 5;
  background: var(--color-mint);
  transform: rotate(-1deg);
}

.final-cta {
  padding: 136px 0 146px;
  background:
    radial-gradient(circle at 88% 20%, rgba(240, 68, 46, 0.3), transparent 24%),
    radial-gradient(circle at 18% 88%, rgba(18, 60, 255, 0.18), transparent 24%),
    #f6e8cc;
}

.final-cta::after {
  right: -80px;
  top: 42px;
  width: 360px;
  height: 360px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 70px, rgba(28, 26, 23, 0.16) 71px 74px, transparent 75px),
    var(--color-red);
  box-shadow: var(--shadow-paper);
  opacity: 0.72;
  transform: rotate(-8deg);
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(360px, 0.56fr);
  align-items: end;
  gap: 92px;
}

.cta-panel {
  padding: 38px;
  background: #151511;
  border-radius: 3px;
  transform: rotate(1deg);
}

.cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.62;
}

.cta-panel .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.cta-fragments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.cta-fragments span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #151511;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  width: min(100% - 48px, var(--site-width));
  margin: 0 auto;
}

.footer-brand,
.footer-copy {
  margin: 0;
  color: #fff;
  font-weight: 850;
}

.footer-description {
  max-width: 620px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  gap: 16px;
  font-weight: 760;
}

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

.app-page {
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 225, 90, 0.28), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(18, 60, 255, 0.1), transparent 18%),
    linear-gradient(105deg, #fbf3df 0%, #f0e4cf 52%, #f7ead7 100%);
}

.app-page .site-header {
  background: rgba(245, 236, 220, 0.9);
  border-bottom: 1px solid rgba(28, 26, 23, 0.18);
  backdrop-filter: blur(16px);
}

.admin-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.22fr) minmax(0, 1fr);
  min-height: calc(100vh - 78px);
  overflow: hidden;
  isolation: isolate;
}

.admin-shell::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(28, 26, 23, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 26, 23, 0.02) 1px, transparent 1px);
  background-size: 26px 26px;
}

.admin-shell::after {
  position: absolute;
  right: -88px;
  bottom: -76px;
  z-index: -1;
  width: 360px;
  height: 220px;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(28, 26, 23, 0.12) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(18, 60, 255, 0.18) 0 2px, transparent 2px 58px),
    #fff7e8;
  border: 1px solid rgba(28, 26, 23, 0.12);
  box-shadow: var(--shadow-paper);
  transform: rotate(-5deg);
}

.admin-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 24px;
  color: var(--color-ink);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.34), transparent 38%),
    rgba(255, 247, 232, 0.9);
  border-right: 1px solid rgba(28, 26, 23, 0.18);
  box-shadow: 18px 0 48px rgba(50, 42, 31, 0.08);
}

.admin-sidebar::after {
  position: absolute;
  right: 22px;
  bottom: 34px;
  width: 108px;
  height: 108px;
  pointer-events: none;
  content: "";
  background:
    conic-gradient(from 0deg, transparent 0 10deg, var(--color-ink) 10deg 16deg, transparent 16deg 38deg),
    radial-gradient(circle at center, var(--color-red) 0 7px, transparent 8px);
  border: 1px solid rgba(28, 26, 23, 0.16);
  border-radius: 50%;
  opacity: 0.16;
}

.admin-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-product strong {
  color: var(--color-ink);
}

.admin-product-mark {
  color: var(--color-ink);
  background: var(--color-yellow);
  box-shadow: inset 0 0 0 8px rgba(255, 250, 240, 0.58);
}

.admin-product small {
  display: block;
  margin-top: 3px;
  color: var(--color-muted);
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  padding: 12px 14px;
  color: var(--color-ink-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  color: var(--color-ink);
  background: var(--color-yellow);
  border-color: rgba(28, 26, 23, 0.24);
  box-shadow: 0 10px 24px rgba(150, 106, 0, 0.12);
}

.admin-api-box {
  position: relative;
  margin-top: auto;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(28, 26, 23, 0.14);
  border-radius: 4px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.3), transparent 42%),
    var(--color-mint);
  box-shadow: var(--shadow-paper);
}

.admin-api-box span,
.admin-api-box strong {
  position: relative;
  display: block;
}

.admin-api-box span {
  color: rgba(28, 26, 23, 0.68);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-api-box strong {
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: var(--color-ink);
  font-size: 0.9rem;
}

.admin-session-box {
  position: relative;
  padding: 14px 16px;
  border: 1px solid rgba(28, 26, 23, 0.14);
  border-radius: 4px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.3), transparent 42%),
    #fff7e8;
  box-shadow: var(--shadow-paper);
}

.admin-session-box span,
.admin-session-box strong,
.admin-session-box small {
  display: block;
}

.admin-session-box span {
  color: rgba(28, 26, 23, 0.68);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-session-box strong {
  margin-top: 7px;
  color: var(--color-ink);
}

.admin-session-box small {
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--color-muted);
}

.admin-session-box.is-ok {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.3), transparent 42%),
    var(--color-mint);
}

.admin-session-box.is-watch {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.3), transparent 42%),
    var(--color-yellow);
}

.admin-session-box.is-critical,
.admin-session-box.is-risk {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent 42%),
    rgba(240, 68, 46, 0.16);
}

.admin-context-link {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  margin-top: 12px;
  padding: 0 12px;
  color: var(--color-ink);
  border: 1px solid rgba(28, 26, 23, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.56);
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-workspace {
  width: min(100%, 1400px);
  padding: 34px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.admin-topbar h1 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(2.4rem, 4.8vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--color-ink);
  border: 1px solid rgba(28, 26, 23, 0.26);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.58);
  cursor: pointer;
  font-weight: 900;
}

.icon-button:hover {
  background: var(--color-mint);
}

.icon-button span {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
  overflow: hidden;
  color: transparent;
}

.icon-button span::before,
.icon-button span::after {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--color-ink);
  border-radius: 999px;
}

.icon-button span::before {
  top: 2px;
  box-shadow: 0 5px 0 var(--color-ink), 0 10px 0 var(--color-ink);
}

.icon-button span::after {
  top: 0;
  width: 4px;
  height: 4px;
  background: var(--color-red);
  box-shadow: 9px 5px 0 var(--color-red), 4px 10px 0 var(--color-red);
}

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

.metric-card,
.panel-block {
  border: 1px solid rgba(28, 26, 23, 0.14);
  border-radius: 4px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.34), transparent 38%),
    #fff7e8;
  box-shadow: var(--shadow-paper);
}

.metric-card {
  min-height: 148px;
  padding: 20px;
}

.metric-card:nth-child(2) {
  background: var(--color-yellow);
}

.metric-card:nth-child(3) {
  background: var(--color-mint);
}

.metric-card:nth-child(4) {
  color: #fff;
  background: #151511;
}

.metric-card:nth-child(4) span,
.metric-card:nth-child(4) strong,
.metric-card:nth-child(4) small {
  color: #fff;
}

.metric-card span,
.metric-card small {
  display: block;
  color: rgba(28, 26, 23, 0.68);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin: 24px 0 7px;
  color: var(--color-ink);
  font-size: clamp(2.3rem, 4vw, 3.9rem);
  line-height: 0.92;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.panel-block {
  min-width: 0;
  padding: 22px;
}

.panel-block:nth-child(2) {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 38%),
    #f4ead8;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-heading h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.panel-heading a {
  color: var(--color-ink);
  border-bottom: 2px solid var(--color-red);
  font-weight: 800;
}

.responsive-table {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  color: var(--color-ink-soft);
  text-align: left;
  border-bottom: 1px solid rgba(28, 26, 23, 0.12);
}

th {
  color: rgba(28, 26, 23, 0.62);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.progress-line {
  display: inline-block;
  width: 86px;
  height: 8px;
  margin-right: 10px;
  overflow: hidden;
  background: rgba(28, 26, 23, 0.1);
  border-radius: 999px;
  vertical-align: middle;
}

.progress-line::before {
  display: block;
  width: var(--value);
  height: 100%;
  content: "";
  background: var(--color-blue);
  border-radius: inherit;
}

.status-pill {
  display: inline-flex;
  min-width: 74px;
  justify-content: center;
  padding: 6px 10px;
  color: var(--color-ink);
  border: 1px solid rgba(28, 26, 23, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.is-ok {
  background: var(--color-mint);
}

.is-watch,
.is-medium {
  background: var(--color-yellow);
}

.is-risk,
.is-high {
  background: rgba(18, 60, 255, 0.18);
}

.is-critical {
  color: #fff;
  background: var(--color-red);
}

.is-low {
  background: var(--color-mint);
}

.task-list {
  display: grid;
  gap: 10px;
}

.task-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(28, 26, 23, 0.12);
  border-radius: 4px;
  background: rgba(255, 250, 240, 0.54);
}

.task-row strong,
.task-row small {
  display: block;
}

.task-row strong {
  color: var(--color-ink);
}

.task-row small {
  margin-top: 3px;
  color: var(--color-muted);
}

.task-priority {
  width: 10px;
  min-height: 46px;
  border-radius: 999px;
  background: var(--color-blue);
}

.task-priority.is-high {
  background: var(--color-red);
}

.task-priority.is-medium {
  background: var(--color-yellow);
}

.task-priority.is-low {
  background: var(--color-mint);
}

.error-page {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 96px 0;
}

.error-page h1 {
  margin: 0 0 16px;
  color: var(--color-blue-deep);
  font-size: clamp(2rem, 6vw, 4rem);
}

.error-page p {
  color: #667085;
  line-height: 1.7;
}

.request-id code {
  padding: 4px 6px;
  background: #eef3ff;
  border-radius: 4px;
}

@media (max-width: 1100px) {
  .hero-shell,
  .sorting-shell,
  .insights-shell,
  .automation-shell,
  .storefront-shell,
  .trust-shell,
  .cta-shell,
  .split-heading,
  .admin-shell,
  .admin-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

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

  .hero-collage {
    min-height: 620px;
  }

  .comparison-board {
    grid-template-columns: 1fr;
    transform: none;
  }

  .logic-rail {
    min-height: 160px;
  }

  .feature-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
    gap: 16px;
  }

  .feature-note {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }

  .insights-dashboard,
  .storefront-mosaic,
  .cta-panel {
    transform: none;
  }

  .admin-sidebar {
    display: block;
  }

  .admin-nav {
    grid-template-columns: repeat(5, minmax(100px, 1fr));
    margin: 20px 0;
    overflow-x: auto;
  }

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

@media (max-width: 760px) {
  .art-section::after {
    display: none;
  }

  .marketing-page .site-header {
    position: relative;
    background: #fbf3df;
    backdrop-filter: none;
  }

  .section-shell,
  .nav-shell,
  .footer-shell,
  .hero-shell {
    width: min(100% - 28px, var(--site-width));
  }

  .marketing-page .nav-shell {
    width: min(100% - 28px, var(--site-width));
    min-height: 72px;
  }

  .marketing-page .brand-name {
    font-size: 1.35rem;
  }

  .nav-toggle {
    position: absolute;
    top: 15px;
    right: 0;
    z-index: 5;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-color: rgba(28, 26, 23, 0.32);
    background: var(--color-yellow);
  }

  .nav-toggle::before {
    display: none;
  }

  .nav-toggle-line {
    display: block;
    height: 3px;
  }

  .nav-shell {
    flex-wrap: wrap;
    min-height: 70px;
  }

  .nav-links {
    display: none;
    width: 100%;
    padding-bottom: 14px;
  }

  .nav-links.is-open {
    display: grid;
  }

  .marketing-page .nav-links {
    gap: 2px;
  }

  .nav-link {
    width: 100%;
  }

  .marketing-page .nav-link {
    padding: 12px 0;
    font-size: 1rem;
  }

  .marketing-page .nav-link-primary {
    width: max-content;
    padding: 10px 16px;
  }

  .landing-hero,
  .hero-shell {
    min-height: auto;
  }

  .hero-shell,
  .feature-board,
  .sorting-lab,
  .insights-wall,
  .automation-field,
  .storefront-impact,
  .trust-archive,
  .final-cta {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 13.5vw, 4.4rem);
  }

  .hero-copy,
  .hero-lead {
    max-width: 100%;
  }

  .hero-lead {
    width: min(100%, 330px);
    font-size: 1rem;
  }

  .art-section h2 {
    font-size: clamp(2.6rem, 14vw, 4.6rem);
  }

  .hero-actions,
  .admin-topbar,
  .footer-links {
    align-items: stretch;
    flex-direction: column;
  }

  .install-control {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-signature {
    margin-top: 46px;
  }

  .hero-collage {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 0;
    margin-right: 0;
    gap: 14px;
  }

  .paper-card,
  .sticky-arrow {
    position: relative;
    inset: auto;
    width: auto;
    min-height: auto;
    transform: none;
  }

  .card-blue,
  .card-diagram,
  .card-palette,
  .card-red,
  .card-texture,
  .card-wave,
  .card-yellow,
  .sticky-arrow {
    display: none;
  }

  .feature-collage,
  .insights-dashboard,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .chart-main,
  .chart-heat {
    grid-row: auto;
    grid-column: auto;
  }

  .automation-map {
    display: grid;
    min-height: auto;
    gap: 14px;
  }

  .schedule-block,
  .automation-tags {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }

  .automation-thread {
    display: none;
  }

  .storefront-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none;
  }

  .tile-large,
  .tile-wide,
  .tile-product {
    grid-column: span 2;
  }

  .archive-stack {
    display: grid;
    min-height: auto;
    gap: 14px;
  }

  .archive-stack article {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }

  .admin-workspace {
    padding: 18px;
  }

  .admin-sidebar {
    padding: 18px;
  }

  .admin-actions {
    width: 100%;
    justify-content: space-between;
  }
}
