:root {
  --ink: #17131f;
  --muted: #6f6879;
  --paper: #fffdf8;
  --soft: #f5f0fa;
  --violet: #7438e6;
  --violet-dark: #5420bb;
  --pink: #ff5f83;
  --line: rgba(38, 25, 54, .12);
  --shadow: 0 30px 80px rgba(58, 31, 86, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.ambient { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: .55; }
.ambient-one { width: 520px; height: 520px; top: -260px; right: -120px; background: radial-gradient(circle, #e7d8ff 0, transparent 68%); }
.ambient-two { width: 420px; height: 420px; top: 600px; left: -280px; background: radial-gradient(circle, #ffd9e4 0, transparent 68%); }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: -.03em; }
.brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 9px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
nav a { color: #5f5867; }
nav a:hover { color: var(--violet); }
.nav-cta { color: white !important; padding: 11px 17px; background: var(--ink); border-radius: 12px; }

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 72px auto 90px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 24px 0; font-size: clamp(52px, 6.3vw, 86px); line-height: .96; letter-spacing: -.065em; }
h1 em { color: var(--violet); font-family: Georgia, serif; font-weight: 500; }
.hero-lede { max-width: 590px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 21px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--violet), #963fe4 58%, var(--pink)); box-shadow: 0 16px 32px rgba(116, 56, 230, .28); }
.button-primary small { display: block; opacity: .7; font-size: 10px; font-weight: 600; }
.button-secondary { background: white; border: 1px solid var(--line); box-shadow: 0 8px 25px rgba(56, 32, 69, .07); }
.button-dark { color: white; background: var(--ink); }
.trust-row { display: flex; gap: 20px; margin-top: 24px; color: #776f7f; font-size: 12px; font-weight: 650; flex-wrap: wrap; }
.trust-row span::before { content: "✓"; margin-right: 6px; color: var(--violet); font-weight: 900; }

.hero-visual { position: relative; min-height: 570px; display: flex; align-items: center; }
.app-window { width: 100%; overflow: hidden; border: 1px solid rgba(68, 43, 82, .14); border-radius: 24px; background: #f8f6fb; box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.window-bar { height: 42px; padding: 0 15px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: white; border-bottom: 1px solid var(--line); color: #77707e; font-size: 9px; font-weight: 700; }
.window-dots { display: flex; gap: 5px; }
.window-dots i, .code-bar i { width: 7px; height: 7px; border-radius: 50%; background: #dfd9e5; }
.window-status { justify-self: end; padding: 4px 7px; border-radius: 8px; color: #4f9974; background: #e9f5ef; }
.app-body { min-height: 390px; display: grid; grid-template-columns: 48px 1fr 180px; }
.mock-sidebar { padding-top: 13px; display: flex; flex-direction: column; align-items: center; gap: 19px; background: #20192a; }
.mock-sidebar img { width: 25px; height: 25px; border-radius: 6px; }
.mock-sidebar b, .mock-sidebar i { display: block; width: 16px; height: 3px; border-radius: 5px; background: #7c41e8; }
.mock-sidebar i { width: 13px; background: #766c80; opacity: .48; }
.mock-catalog { padding: 28px 21px; }
.mock-kicker { color: var(--pink); font-size: 7px; font-weight: 900; letter-spacing: .16em; }
.mock-catalog h3, .mock-checkout h3 { margin: 5px 0 18px; font-size: 17px; }
.mock-search { height: 27px; margin-bottom: 14px; border: 1px solid #e5dfe9; border-radius: 8px; background: white; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.product-grid div { min-height: 98px; padding: 12px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #e8e1eb; border-radius: 12px; background: white; box-shadow: 0 5px 15px rgba(38, 22, 49, .04); }
.product-grid i { height: 32px; font-style: normal; }
.product-grid b { font-size: 9px; }
.product-grid span { margin-top: 3px; color: var(--violet); font-size: 8px; font-weight: 700; }
.mock-checkout { padding: 28px 17px; background: white; border-left: 1px solid var(--line); }
.mock-checkout label { display: block; margin: 9px 0 4px; color: #817988; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.mock-input { padding: 8px; border: 1px solid #e5dfe8; border-radius: 8px; font-size: 8px; }
.totals { margin: 17px 0; padding: 12px 0; display: grid; gap: 8px; border-top: 1px solid #ece6ef; border-bottom: 1px solid #ece6ef; }
.totals span { display: flex; justify-content: space-between; font-size: 8px; }
.totals .total { padding-top: 4px; font-size: 11px; }
.mock-button { padding: 10px; color: white; text-align: center; background: linear-gradient(135deg, var(--violet), var(--pink)); border-radius: 8px; font-size: 8px; font-weight: 800; }
.receipt-card {
  width: 166px;
  position: absolute;
  right: -38px;
  bottom: -13px;
  padding: 20px 15px 26px;
  text-align: center;
  background: white;
  box-shadow: 0 25px 50px rgba(44, 24, 60, .2);
  transform: rotate(3deg);
  font-family: "Courier New", monospace;
}
.receipt-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 9px; background: linear-gradient(135deg, white 6px, transparent 0) 0 0 / 12px 12px repeat-x; }
.receipt-card img { width: 38px; display: block; margin: 0 auto 8px; }
.receipt-card strong { display: block; font-size: 12px; }
.receipt-card small { display: block; margin: 5px 0 10px; font-size: 6px; }
.receipt-card hr { border: 0; border-top: 1px dashed #8d8790; }
.receipt-card p { display: flex; justify-content: space-between; margin: 7px 0; font-size: 7px; }
.receipt-card .receipt-total { font-size: 9px; font-weight: 900; }
.qr { width: 38px; height: 38px; margin: 12px auto; background: conic-gradient(from 90deg, #111 25%, white 0 50%, #111 0 75%, white 0) 0 0 / 8px 8px; border: 3px solid #111; }

.signal-strip { padding: 22px max(20px, calc((100vw - 1180px) / 2)); display: flex; justify-content: space-between; gap: 20px; color: #eee7f7; background: var(--ink); font-size: 12px; font-weight: 750; letter-spacing: .04em; overflow-x: auto; white-space: nowrap; }
.signal-strip span::before { content: "✦"; margin-right: 10px; color: var(--pink); }
.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; }
.section-heading { max-width: 660px; margin-bottom: 50px; }
h2 { margin: 16px 0 20px; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.03; letter-spacing: -.055em; }
.section-heading > p:last-child, .printer-copy > p, .label-section > div > p:last-child, .open-copy > p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { min-height: 285px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: 0 12px 35px rgba(61, 35, 77, .05); }
.feature-card h3 { margin: 16px 0 10px; font-size: 20px; letter-spacing: -.035em; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.feature-large { min-height: 360px; grid-column: span 2; display: grid; grid-template-columns: 40px 1fr; position: relative; overflow: hidden; color: white; background: linear-gradient(145deg, #291b3b, #51308c); }
.feature-large p { max-width: 390px; color: #d8cde7; }
.feature-number { color: #bda5dc; font-size: 11px; font-weight: 800; }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--violet); background: #f0e7ff; border-radius: 13px; font-size: 20px; font-weight: 900; }
.mini-designer { height: 120px; position: absolute; right: -20px; bottom: -12px; left: 115px; display: grid; grid-template-columns: 80px 1fr; overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 13px 0 0; background: #f0edf4; }
.block-list { padding: 12px 8px; display: grid; gap: 6px; align-content: start; background: #ddd6e6; }
.block-list i { height: 12px; border-radius: 4px; background: #f7f4fa; }
.block-list .active { outline: 2px solid #a25afa; }
.paper { width: 90px; margin: 10px auto 0; padding: 12px; display: flex; flex-direction: column; gap: 7px; text-align: center; color: #222; background: white; }
.paper b { font-size: 6px; }
.paper span { height: 3px; background: #d6d2d9; }
.paper .selected { height: 20px; outline: 2px solid var(--violet); background: #eee8f6; }

.printer-section { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; color: white; background: var(--ink); }
.eyebrow.light { color: #d7b8ff; }
.printer-copy > p { color: #bdb4c6; }
.printer-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.printer-pills span { padding: 8px 11px; border: 1px solid #4e4358; border-radius: 999px; color: #d9d1df; font-size: 11px; font-weight: 700; }
.connection-map { display: grid; grid-template-columns: 145px 70px 1fr; align-items: center; }
.map-app { padding: 24px 12px; display: grid; place-items: center; gap: 8px; border: 1px solid #584b64; border-radius: 22px; background: #251d2e; }
.map-app img { width: 64px; border-radius: 14px; }
.map-app b { font-size: 12px; }
.map-lines { display: grid; gap: 54px; }
.map-lines i { display: block; height: 1px; background: linear-gradient(90deg, #6c5a7d, var(--pink)); }
.map-targets { display: grid; gap: 14px; }
.map-targets div { padding: 17px; border: 1px solid #4b4055; border-radius: 16px; background: #211a29; }
.map-targets b, .map-targets span { display: block; }
.map-targets b { margin-bottom: 4px; font-size: 13px; }
.map-targets span { color: #a99eaf; font-size: 10px; }

.label-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.label-demo { min-height: 420px; position: relative; display: grid; place-items: center; border-radius: 32px; background: radial-gradient(circle at 40% 35%, #eadcff, #ddd1eb 50%, #cdbbdc); }
.shipping-label { width: 240px; padding: 28px; background: white; box-shadow: 0 24px 50px rgba(50, 31, 66, .2); transform: rotate(-4deg); font-family: Arial, sans-serif; }
.shipping-label .label-tag { display: block; margin-bottom: 16px; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.shipping-label strong { font-size: 20px; }
.shipping-label p { margin: 8px 0 22px; font-size: 12px; line-height: 1.5; }
.barcode { height: 45px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px); }
.shipping-label small { display: block; margin-top: 6px; text-align: center; letter-spacing: .12em; }
.size-chip { position: absolute; right: 14px; bottom: 20px; padding: 12px 15px; color: white; background: var(--violet); border-radius: 13px; font-size: 10px; transform: rotate(3deg); box-shadow: 0 12px 30px rgba(80, 34, 155, .28); }
.size-chip b { font-size: 12px; }

.open-section { display: grid; grid-template-columns: 1fr .85fr; gap: 80px; align-items: center; border-top: 1px solid var(--line); }
.text-link { color: var(--violet); font-size: 14px; font-weight: 800; }
.code-card { overflow: hidden; color: #eee9f5; background: #1c1623; border-radius: 20px; box-shadow: var(--shadow); }
.code-bar { height: 42px; padding: 0 15px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #3b3044; }
.code-bar span { margin-left: auto; color: #8f8398; font-size: 9px; }
.code-card pre { margin: 0; padding: 28px; font: 12px/1.9 "Cascadia Code", Consolas, monospace; }
.code-card .muted { color: #81758b; }
.code-card .prompt { color: var(--pink); }
.final-cta { width: min(1180px, calc(100% - 40px)); margin: 0 auto 70px; padding: 90px 25px; text-align: center; border-radius: 32px; background: linear-gradient(145deg, #f0e7ff, #fff0f4); }
.final-cta > img { width: 90px; border-radius: 22px; filter: drop-shadow(0 15px 18px rgba(96, 41, 143, .18)); }
.final-cta > p { margin: 20px 0 0; color: var(--violet); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.final-cta h2 { margin: 10px 0; }
.final-cta .hero-actions { justify-content: center; }
.final-cta > small { display: block; margin-top: 22px; color: var(--muted); }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 45px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer p { margin: 0; }
footer > div { justify-self: end; display: flex; gap: 18px; font-weight: 700; }

@media (max-width: 960px) {
  nav > a:not(.nav-cta) { display: none; }
  .hero { margin-top: 45px; grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .trust-row { justify-content: center; }
  .hero-lede { margin-inline: auto; }
  .hero-visual { width: min(700px, 95%); margin: 0 auto; min-height: 500px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .printer-section, .label-section, .open-section { grid-template-columns: 1fr; }
  .label-demo { order: 2; }
}

@media (max-width: 640px) {
  .site-header { height: 70px; }
  .site-header .brand span { display: none; }
  .hero, .section { width: min(100% - 28px, 1180px); }
  .hero { margin-top: 32px; }
  h1 { font-size: 50px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { min-height: 370px; width: 100%; }
  .app-body { min-height: 290px; grid-template-columns: 38px 1fr 0; }
  .mock-checkout { display: none; }
  .product-grid div { min-height: 75px; }
  .receipt-card { right: -5px; bottom: -40px; transform: scale(.82) rotate(3deg); transform-origin: bottom right; }
  .section { padding: 82px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: auto; }
  .printer-section { width: 100%; padding-inline: 20px; }
  .connection-map { grid-template-columns: 100px 38px 1fr; }
  .map-app img { width: 45px; }
  .label-demo { min-height: 360px; }
  .shipping-label { transform: scale(.85) rotate(-4deg); }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand, footer > div { justify-self: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .7s ease-out both; }
  .hero-visual { animation: enter .8s .1s ease-out both; }
  @keyframes enter { from { opacity: 0; transform: translateY(18px); } }
}
