/* Paketle — paketle.dev
   Görsel dil: sevkiyat. Siyah depo, beyaz etiket, turuncu bant, kraft koli.
   Dev daraltılmış başlıklar, şablon (stencil) rakamlar, damgalar. */

@font-face {
  font-family: "Archivo";
  src: url(/fonts/archivo-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url(/fonts/archivo-latin-ext.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Stencil";
  src: url(/fonts/stencil-latin.woff2) format("woff2");
  font-weight: 600 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Stencil";
  src: url(/fonts/stencil-latin-ext.woff2) format("woff2");
  font-weight: 600 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0b0b0a;
  --paper: #ffffff;
  --bone: #e8e7e3;
  --orange: #ff5a1f;
  --orange-ink: #1a0800;
  --kraft: #c99a60;
  --gray: #6f6e69;
  --gray-d: #9a9993;
  --line: rgba(11, 11, 10, 0.16);
  --line-d: rgba(255, 255, 255, 0.14);
  --edge: rgba(11, 11, 10, 0.35);
  --wrap: 1320px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg,
canvas,
picture {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--paper);
  padding: 8px 14px;
  z-index: 50;
}
.skip:focus {
  left: 16px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.wrap {
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}
@media (min-width: 720px) {
  .wrap {
    width: min(var(--wrap), 100% - 80px);
  }
}

/* ── Tipografi ──────────────────────────────────────────────── */
h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}
.display,
h2 {
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.005em;
}
h2 {
  font-size: clamp(2.6rem, 7vw, 6.2rem);
}
h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 800;
}
p {
  margin: 0 0 1em;
  max-width: 62ch;
  text-wrap: pretty;
}
.lede {
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}
/* Etiket alan adı: sevkiyat etiketlerindeki geniş, küçük büyük harfler */
.field-name {
  font-size: 0.6875rem;
  font-weight: 700;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.num {
  font-family: "Stencil", "Archivo", sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
}
.small {
  font-size: 0.9375rem;
  color: var(--gray);
}

/* Barkod — iki farklı periyotlu şerit üst üste: düzensiz görünür */
.barcode {
  display: inline-block;
  height: 26px;
  width: 120px;
  background: repeating-linear-gradient(90deg, transparent 0 11px, var(--bc-bg, var(--paper)) 11px 13px, transparent 13px 17px),
    repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px, currentColor 4px 7px, transparent 7px 8px, currentColor 8px 9px, transparent 9px 12px);
  flex: none;
}

/* ── Düğmeler ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 54px;
  padding: 0 1.5rem;
  font: inherit;
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background-color 0.12s, color 0.12s;
}
.btn-primary {
  background: var(--orange);
  color: var(--orange-ink);
  border-color: var(--orange);
  box-shadow: 5px 5px 0 var(--paper);
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--paper);
}
.btn-primary:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--paper);
}
.on-light .btn-primary {
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}
.on-light .btn-primary:hover {
  box-shadow: 7px 7px 0 var(--ink);
}
.btn-line {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-line:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.dark .btn-line:hover,
.hero .btn-line:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--orange);
}
.link:hover {
  color: var(--orange);
}

/* ── Üst çubuk ─────────────────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-d);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-stretch: 75%;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand svg {
  width: 30px;
  height: 30px;
}
.nav {
  display: none;
  gap: 26px;
  margin-left: 8px;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gray-d);
}
.nav a:hover,
.nav a[aria-current] {
  color: var(--paper);
}
.top-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.top-cta .signin {
  display: none;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
}
.top-cta .btn {
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.8125rem;
  box-shadow: none;
}
.top-cta .btn:hover {
  transform: none;
  box-shadow: none;
  background: var(--paper);
  border-color: var(--paper);
}
@media (min-width: 960px) {
  .nav {
    display: flex;
  }
  .top-cta .signin {
    display: inline;
  }
}

/* ── Hero: tam ekran 3B depo ───────────────────────────────── */
.hero {
  position: relative;
  background: #0b0b0a;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.hero-canvas {
  order: 3;
  width: 100%;
  height: min(56svh, 440px);
  min-height: 320px;
  margin: 24px 0 0;
  cursor: grab;
  touch-action: pan-y;
}
.hero-canvas:active {
  cursor: grabbing;
}
.hero-strip {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding: 22px 0 0;
  color: var(--gray-d);
  --bc-bg: #0b0b0a;
}
.hero-strip .barcode {
  color: var(--paper);
  height: 22px;
  width: 96px;
}
.hero-strip b {
  color: var(--paper);
  font-weight: 700;
}
.hero-copy {
  order: 2;
  padding-top: 40px;
}
.hero h1 {
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  line-height: 0.82;
  font-size: clamp(3.8rem, 17vw, 9rem);
  letter-spacing: -0.01em;
}
.hero h1 small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 22px;
  color: var(--orange);
}
.hero h1 span {
  display: block;
  white-space: nowrap;
}
.hero h1 .o {
  color: var(--orange);
}
.hero .lede {
  margin: 24px 0 28px;
  color: #cfcdc6;
  max-width: 26em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}
.hero .fine {
  margin: 18px 0 0;
  font-size: 0.875rem;
  color: var(--gray-d);
}
.hero-bar {
  order: 4;
  padding: 16px 0 40px;
}
.hero-bar .note {
  margin: 14px 0 0;
  font-size: 0.75rem;
  color: var(--gray-d);
  max-width: none;
}
.tip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  pointer-events: none;
  background: var(--paper);
  color: var(--ink);
  padding: 6px 10px;
  font-weight: 800;
  font-size: 0.8125rem;
  white-space: pre;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--orange);
}
.no-webgl .hero-canvas {
  background: url(/og.png) center / cover no-repeat;
}
.drag-hint {
  display: none;
}

@media (min-width: 1000px) {
  .hero {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: min(calc(100svh - 64px), 980px);
  }
  .hero-canvas {
    position: absolute;
    inset: 0;
    height: 100%;
    margin: 0;
    z-index: -1;
  }
  .hero-strip,
  .hero-copy,
  .hero-bar {
    position: relative;
    pointer-events: none;
  }
  .hero-copy a,
  .hero-bar .order {
    pointer-events: auto;
  }
  .hero-copy {
    align-self: center;
    padding: 4vh 0 5vh;
  }
  .hero h1 {
    font-size: clamp(4rem, 8.2vw, 8.6rem);
  }
  .hero .lede {
    max-width: 22em;
  }
  .hero-bar {
    padding-bottom: 32px;
  }
  .drag-hint {
    display: block;
    position: absolute;
    right: 40px;
    top: 96px;
    margin: 0;
    color: var(--gray-d);
    pointer-events: none;
  }
}

/* Sipariş etiketi — hero altındaki yatay sevkiyat etiketi */
.order {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--orange);
  --bc-bg: var(--paper);
  display: grid;
}
.order-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
  padding: 12px 14px;
  border-bottom: 2px solid var(--ink);
}
.order-head b {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  font-stretch: 75%;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3px;
}
.order-head .barcode {
  width: 100px;
  height: 28px;
}
.order ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.order li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  align-items: center;
  padding: 10px 14px 6px;
  border-bottom: 1px solid var(--line);
}
.order .pname {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.order .pname i {
  width: 10px;
  height: 10px;
  flex: none;
}
.order .pmeta {
  grid-column: 1;
  font-size: 0.75rem;
  color: var(--gray);
}
.stepper {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: flex;
  border: 2px solid var(--ink);
}
.stepper button {
  width: 32px;
  height: 36px;
  border: 0;
  background: var(--paper);
  font: 800 1.125rem "Archivo", sans-serif;
  cursor: pointer;
  color: var(--ink);
}
.stepper button:hover {
  background: var(--ink);
  color: var(--paper);
}
.stepper input {
  width: 60px;
  height: 36px;
  border: 0;
  border-inline: 2px solid var(--ink);
  border-radius: 0;
  text-align: center;
  font: 800 1rem "Archivo", sans-serif;
  font-variant-numeric: tabular-nums;
  background: var(--paper);
  color: var(--ink);
  -moz-appearance: textfield;
}
.stepper input::-webkit-inner-spin-button,
.stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
.order input[type="range"] {
  grid-column: 1 / -1;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  margin: 2px 0 0;
  background: transparent;
  --fill: 40%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(to right, var(--ink) var(--fill), #d8d6d0 var(--fill));
}
input[type="range"]::-moz-range-track {
  height: 4px;
  background: linear-gradient(to right, var(--ink) var(--fill), #d8d6d0 var(--fill));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  background: var(--orange);
  border: 2px solid var(--ink);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 0;
  cursor: grab;
}

/* Sonuç: etiketin içindeki damga ve rakamlar.
   Genişlikler SABİT: rakamın hane sayısı değişince etiket oynamasın. */
.tally {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 12px 22px;
  padding: 16px 14px;
}
.tally > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tally .num {
  font-size: clamp(2.6rem, 3.6vw, 3.5rem);
  white-space: nowrap;
}
.tally .field-name {
  color: var(--gray);
  margin-top: 6px;
  white-space: nowrap;
}
.tally .stamp-box {
  width: 92px;
  border: 4px solid var(--orange);
  color: var(--orange);
  padding: 8px 0 6px;
  transform: rotate(-4deg);
  align-items: center;
  text-align: center;
}
.tally .stamp-box .field-name {
  color: var(--orange);
}
.stepper input {
  flex: none;
}

@media (min-width: 1000px) {
  .order {
    grid-template-columns: 176px minmax(0, 1fr) 430px;
    align-items: stretch;
  }
  .order-head {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 0;
    border-right: 2px solid var(--ink);
  }
  .order ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .order li {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "name name" "meta meta" "step range";
    gap: 2px 14px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 14px 16px 12px;
    align-content: center;
  }
  .order .pname {
    grid-area: name;
  }
  .order .pmeta {
    grid-area: meta;
    margin-bottom: 8px;
  }
  .order .stepper {
    grid-area: step;
  }
  .order li input[type="range"] {
    grid-area: range;
    margin: 0;
  }
  .tally {
    border-left: 2px solid var(--ink);
    padding: 12px 22px;
  }
}

/* ── Bant ─────────────────────────────────────────────────── */
.tapes {
  position: relative;
  height: 150px;
  background: var(--bone);
  overflow: hidden;
}
.tape {
  position: absolute;
  left: -5%;
  width: 110%;
  height: 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 900;
  font-stretch: 70%;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.5);
}
.tape span {
  display: inline-block;
  transform: translateX(calc(var(--scroll, 0) * -0.6px));
  will-change: transform;
}
.tape-a {
  top: 26px;
  background: var(--orange);
  color: var(--ink);
  transform: rotate(-2.2deg);
  z-index: 1;
}
.tape-b {
  top: 70px;
  background: var(--kraft);
  color: rgba(11, 11, 10, 0.75);
  transform: rotate(1.6deg);
}
.tape-b span {
  transform: translateX(calc(var(--scroll, 0) * 0.6px - 900px));
}

/* ── Bölümler ─────────────────────────────────────────────── */
.sec {
  padding: clamp(80px, 11vw, 150px) 0;
  position: relative;
}
.dark {
  background: var(--ink);
  color: var(--paper);
}
.dark p {
  color: #c9c7c0;
}
.bone {
  background: var(--bone);
}
.orange {
  background: var(--orange);
  color: var(--ink);
}
.sec-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.sec-head .field-name {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--orange);
}
.sec-head .field-name::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
}
.bone .sec-head .field-name,
.on-light .sec-head .field-name {
  color: #d0400b;
}
.orange .sec-head .field-name {
  color: var(--ink);
}
.sec-head p {
  font-size: 1.1875rem;
  max-width: 40em;
  margin: 0;
}
@media (min-width: 1000px) {
  .sec-head.split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
    gap: 64px;
  }
}

/* Uygulama ekranı + etiketli işaretler */
.shot {
  position: relative;
  margin: 0;
}
.shot-frame {
  background: var(--ink);
  padding: 8px;
  border: 2px solid var(--ink);
  box-shadow: 14px 14px 0 var(--orange);
}
.shot-frame .bar {
  display: flex;
  gap: 6px;
  padding: 4px 4px 10px;
}
.shot-frame .bar i {
  width: 10px;
  height: 10px;
  background: #3a3a37;
}
.shot img {
  width: 100%;
  height: auto;
  background: #f4f4f2;
}
.pin {
  position: absolute;
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 5px 10px 5px 5px;
  font-weight: 800;
  font-size: 0.875rem;
  white-space: nowrap;
  box-shadow: 4px 4px 0 var(--ink);
}
.pin b,
.pins-list b span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: var(--orange);
  font-family: "Stencil", sans-serif;
  font-size: 1rem;
}
@media (min-width: 1100px) {
  .pin {
    display: inline-flex;
  }
}
.pins-list {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 800px) {
  .pins-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}
.pins-list li {
  border-top: 3px solid var(--ink);
  padding-top: 12px;
}
.pins-list > li > b {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  margin-bottom: 6px;
}
.pins-list p {
  margin: 0;
  color: var(--gray);
  font-size: 0.9375rem;
}

/* Uygulama demosu — gerçek plan ekranının çalışan kopyası.
   Uygulamanın kendi görünümü: açık zemin, ince çizgiler, tek aralıklı kodlar. */
.demo {
  position: relative;
  background: #fff;
  color: #1c1c1a;
  border: 2px solid var(--ink);
  box-shadow: 14px 14px 0 var(--orange);
  font-size: 0.875rem;
  line-height: 1.35;
  overflow: hidden;
}
.demo button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.d-top {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 16px;
  height: 50px;
  border-bottom: 1px solid #e4e3de;
}
.d-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
}
.d-logo svg {
  width: 26px;
  height: 26px;
  padding: 4px;
  background: #1c1c1a;
  color: #fff;
  border-radius: 6px;
}
.d-nav {
  display: flex;
  gap: 6px;
}
.d-nav b,
.d-nav span {
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
}
.d-nav b {
  background: #f1f0ec;
  font-weight: 600;
}
.d-co {
  margin-left: auto;
  color: #6f6e69;
  font-size: 0.8125rem;
}
.d-body {
  display: grid;
}
.d-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  padding: 12px 14px 10px;
  border-bottom: 1px solid #e4e3de;
}
.d-h span {
  font-weight: 400;
  font-size: 0.75rem;
  color: #6f6e69;
}
.d-order ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.d-order li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 18px;
  border-bottom: 1px solid #eeede9;
  transition: background-color 0.12s;
}
.d-order li.on {
  background: #fbf3ec;
}
.d-order li > i {
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 5px;
  border-radius: 0 3px 3px 0;
}
.d-prod {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  min-width: 0;
}
.d-prod b {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8125rem;
}
.d-prod em {
  font-style: normal;
  font-size: 0.6875rem;
  padding: 0 5px;
  border: 1px solid #dcdbd5;
  border-radius: 4px;
  color: #55544f;
}
.d-prod > span {
  flex-basis: 100%;
  color: #6f6e69;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.d-qty {
  display: flex;
  border: 1px solid #d6d5cf;
  border-radius: 6px;
  overflow: hidden;
}
.d-qty button {
  width: 26px;
  border: 0;
  background: #f7f6f2;
}
.d-qty button:hover {
  background: #1c1c1a;
  color: #fff;
}
.d-qty input {
  width: 58px;
  height: 32px;
  border: 0;
  border-inline: 1px solid #e4e3de;
  text-align: right;
  padding: 0 8px;
  font: 700 0.9375rem ui-monospace, "SF Mono", Menlo, monospace;
  color: #1c1c1a;
  background: #fff;
  -moz-appearance: textfield;
}
.d-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.d-live {
  margin: 0;
  padding: 10px 14px;
  font-size: 0.75rem;
  color: #6f6e69;
}
.d-live::before {
  content: "✓ ";
  color: #17a34a;
}
.d-pallets,
.d-case {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-top: 1px solid #e4e3de;
}
.d-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 10px;
  border-bottom: 1px solid #e4e3de;
}
.d-tab {
  border: 1px solid transparent;
  background: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
}
.d-tab.sel {
  background: #1c1c1a;
  color: #fff;
}
.d-stat {
  margin-left: auto;
  color: #6f6e69;
  white-space: nowrap;
}
.d-stat b,
.d-casemeta b,
.d-foot b {
  color: #1c1c1a;
  font-variant-numeric: tabular-nums;
}
.d-canvas {
  position: relative;
  flex: 1;
  min-height: 300px;
}
.d-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
}
.d-canvas canvas:active {
  cursor: grabbing;
}
.d-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #6f6e69;
  pointer-events: none;
  max-width: none;
}
.d-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-top: 1px solid #e4e3de;
  min-height: 52px;
}
.d-strip > span {
  flex: none;
  color: #6f6e69;
  font-size: 0.75rem;
}
.d-strip em {
  flex: none;
  margin-left: auto;
  font-style: normal;
  font-size: 0.75rem;
  color: #d0400b;
}
.d-strip [data-strip] {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 2px;
}
.d-strip button {
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid #dcdbd5;
  border-radius: 6px;
  background: #fff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
}
.d-strip button.half {
  color: #d0400b;
}
.d-strip button.hl {
  border-color: #d0400b;
  box-shadow: inset 0 0 0 1px #d0400b;
}
.d-strip button.sel {
  background: #1c1c1a;
  border-color: #1c1c1a;
  color: #fff;
}
.d-arrows {
  margin-left: auto;
  display: flex;
  gap: 2px;
}
.d-arrows button {
  width: 30px;
  height: 30px;
  border: 0;
  background: none;
  border-radius: 6px;
  font-size: 1.25rem;
}
.d-arrows button:hover {
  background: #f1f0ec;
}
.d-casemeta {
  display: flex;
  gap: 16px;
  padding: 10px 14px 0;
  color: #6f6e69;
}
.d-casemeta b {
  font-size: 1.0625rem;
}
.d-kind {
  margin: 4px 14px 0;
  font-size: 0.75rem;
  color: #6f6e69;
  max-width: none;
}
.d-kind.mix {
  color: #d0400b;
  font-weight: 600;
}
.d-contents {
  list-style: none;
  margin: 0;
  padding: 6px 14px 10px;
  border-top: 1px solid #e4e3de;
  display: grid;
  gap: 2px;
  min-height: 70px;
}
.d-contents li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8125rem;
}
.d-contents i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.d-contents span {
  font-weight: 700;
}
.d-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding: 12px 16px;
  border-top: 1px solid #e4e3de;
  color: #6f6e69;
}
.d-foot b {
  font-size: 1.375rem;
  font-weight: 700;
  margin-right: 3px;
}
.d-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.d-actions button {
  height: 38px;
  padding: 0 14px;
  border: 1px solid #d6d5cf;
  border-radius: 6px;
  background: #fff;
  font-weight: 600;
}
.d-actions button.dark {
  background: #1c1c1a;
  border-color: #1c1c1a;
  color: #fff;
}
.d-toast {
  position: absolute;
  right: 16px;
  bottom: 66px;
  z-index: 3;
  max-width: 340px;
  background: var(--ink);
  color: #fff;
  padding: 12px 14px;
  border-left: 4px solid var(--orange);
  font-size: 0.875rem;
}
.d-toast a {
  color: var(--orange);
  font-weight: 700;
}
.no-webgl .d-canvas {
  display: none;
}
@media (min-width: 1000px) {
  .d-body {
    grid-template-columns: 290px minmax(0, 1fr) 330px;
    height: 600px;
  }
  .d-order {
    border-right: 1px solid #e4e3de;
    overflow-y: auto;
  }
  .d-pallets,
  .d-case {
    border-top: 0;
  }
  .d-case {
    border-left: 1px solid #e4e3de;
  }
}
@media (max-width: 999px) {
  .demo {
    box-shadow: 8px 8px 0 var(--orange);
  }
  .d-co,
  .d-nav span {
    display: none;
  }
  .d-canvas {
    flex: none;
    height: 320px;
  }
  .d-actions {
    margin-left: 0;
  }
}

/* "Bugün" — büyük tipografik ifade */
.today .display {
  font-size: clamp(2.8rem, 8.5vw, 8rem);
  margin-bottom: clamp(48px, 7vw, 90px);
}
.today .display span {
  display: block;
}
.today .display .dim {
  color: #45443f;
}
.today .display .o {
  color: var(--orange);
}
.swaps {
  margin: 0;
  border-top: 1px solid var(--line-d);
}
.swaps div {
  display: grid;
  gap: 6px 40px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-d);
}
@media (min-width: 900px) {
  .swaps div {
    grid-template-columns: 220px 1fr 1fr;
  }
}
.swaps dt {
  font-weight: 800;
}
.swaps dd {
  margin: 0;
  color: #8f8d86;
}
.swaps dd + dd {
  color: var(--paper);
}
.swaps dd + dd::before {
  content: "→ ";
  color: var(--orange);
  font-weight: 800;
}

/* Adımlar: dört sevkiyat etiketi (gerçek sıra) */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 34px 28px;
}
@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}
.steps li {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  display: grid;
  grid-template-rows: auto auto 1fr;
}
.steps li::before {
  /* üst kenara yapıştırılmış bant */
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 84px;
  height: 22px;
  margin-left: -42px;
  background: rgba(201, 154, 96, 0.9);
  transform: rotate(-3deg);
}
.steps li:nth-child(even)::before {
  transform: rotate(2.5deg);
}
.step-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 2px solid var(--ink);
}
.step-head .barcode {
  width: 70px;
  height: 22px;
}
.step-no {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 18px 14px 4px;
}
.step-no .num {
  font-size: 4.4rem;
}
.step-no .field-name {
  color: var(--gray);
}
.steps .step-body {
  padding: 8px 14px 22px;
}
.steps h3 {
  font-size: 1.5rem;
  font-stretch: 75%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 10px;
}
.steps p {
  margin: 0;
  color: var(--gray);
  font-size: 0.96875rem;
}

/* Taşıma sembolleri — kraft üstüne siyah baskı */
.marks {
  display: grid;
  gap: 2px;
  margin: 0;
  background: #000;
  border: 2px solid #000;
}
@media (min-width: 700px) {
  .marks {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .marks {
    grid-template-columns: repeat(3, 1fr);
  }
}
.marks > div {
  background-color: var(--kraft);
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1.2px);
  background-size: 5px 5px;
  color: var(--ink);
  padding: 32px 28px 34px;
  display: grid;
  gap: 18px;
  align-content: start;
}
.marks svg {
  width: 88px;
  height: 88px;
  border: 4px solid var(--ink);
  padding: 8px;
}
.marks dt {
  font-weight: 900;
  font-stretch: 70%;
  text-transform: uppercase;
  font-size: 1.9rem;
  line-height: 0.92;
}
.marks dd {
  margin: 0;
  color: rgba(11, 11, 10, 0.8);
  font-size: 1rem;
}

/* Föy */
.foy {
  display: grid;
  gap: 64px;
  align-items: center;
}
@media (min-width: 1000px) {
  .foy {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 80px;
  }
}
.outputs {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}
.outputs li {
  padding: 16px 0;
  border-top: 2px solid var(--ink);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
}
.outputs .field-name {
  padding-top: 5px;
}
.outputs p {
  margin: 0;
}
.sheet-wrap {
  position: relative;
}
.sheet-wrap::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: #f3f2ee;
  border: 1px solid var(--line);
}
.sheet {
  position: relative;
  background: #fff;
  color: #0b0b0a;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 0;
}
.sheet header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 3px solid #0b0b0a;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.sheet header b {
  display: block;
  font-size: 1.375rem;
  font-weight: 900;
  font-stretch: 70%;
  text-transform: uppercase;
}
.sheet .meta {
  text-align: right;
  color: var(--gray);
}
.sheet table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.sheet th,
.sheet td {
  padding: 6px 6px 6px 0;
  border-bottom: 1px solid #e3e3e0;
  text-align: left;
}
.sheet th {
  color: var(--gray);
  font-weight: 600;
}
.sheet .r {
  text-align: right;
}
.sheet .mix {
  color: #d0400b;
  font-weight: 700;
}
.sheet .sum td {
  font-weight: 800;
  border-bottom: 2px solid #0b0b0a;
}
.sheet .sign {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.sheet .sign div {
  border-top: 1px solid #0b0b0a;
  padding-top: 6px;
  color: var(--gray);
}
.stamp {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: 5px solid var(--orange);
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  color: var(--orange);
  padding: 6px 16px 4px;
  font-family: "Stencil", sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 0.95;
  text-transform: uppercase;
  transform: rotate(-11deg);
  mix-blend-mode: multiply;
  opacity: 0.92;
  pointer-events: none;
}
.stamp small {
  font-family: "Archivo", sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.06em;
}
.sheet-wrap .stamp {
  right: 7%;
  bottom: 17%;
}
.js .stamp.will {
  opacity: 0;
  transform: rotate(-11deg) scale(1.7);
}
.js .stamp.in {
  opacity: 0.92;
  transform: rotate(-11deg) scale(1);
  transition: transform 0.28s cubic-bezier(0.2, 1.6, 0.4, 1), opacity 0.12s;
}

/* Ekran galerisi */
.screens {
  display: grid;
  gap: 40px 32px;
}
@media (min-width: 1000px) {
  .screens {
    grid-template-columns: 1.3fr 1fr;
  }
  .screens figure:first-child {
    grid-row: span 2;
  }
}
.screens figure {
  margin: 0;
  display: grid;
  gap: 16px;
  align-content: start;
}
.screens .frame {
  border: 2px solid var(--ink);
  background: #f4f4f2;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
}
.screens img {
  width: 100%;
  height: auto;
}
.screens figcaption b {
  display: block;
  font-weight: 900;
  font-stretch: 70%;
  font-size: 1.75rem;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 6px;
}
.screens figcaption {
  color: var(--gray);
}
.screens figcaption b {
  color: var(--ink);
}

/* Güven */
.trust {
  display: grid;
  gap: 64px;
}
@media (min-width: 1000px) {
  .trust {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
}
.trust h3 {
  font-weight: 900;
  font-stretch: 70%;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 20px;
}
.roles {
  margin: 0;
  border: 2px solid var(--paper);
}
.roles div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line-d);
}
.roles div:last-child {
  border-bottom: 0;
}
.roles dt {
  font-weight: 900;
  font-stretch: 72%;
  text-transform: uppercase;
  font-size: 1.3rem;
  line-height: 1.1;
}
.roles dd {
  margin: 0;
  color: #c9c7c0;
}
.receipt {
  position: relative;
  background: #f7f6f2;
  color: #1c1b19;
  padding: 26px 26px 40px;
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 20px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 20px 100%;
  transform: rotate(0.8deg);
}
.receipt header {
  text-align: center;
  border-bottom: 2px dashed #1c1b19;
  padding-bottom: 12px;
  margin-bottom: 8px;
}
.receipt header b {
  display: block;
  font-weight: 900;
  font-stretch: 72%;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.receipt ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.receipt li {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.25);
}
.receipt li span:first-child {
  color: #6f6e69;
}
.receipt .flag {
  display: inline-block;
  margin-top: 4px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.6875rem;
  font-stretch: 115%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
}
.receipt footer {
  text-align: center;
  margin-top: 14px;
  font-size: 0.8125rem;
  color: #6f6e69;
}
.dark .receipt p {
  color: inherit;
}
.trust .note {
  margin-top: 26px;
  font-size: 0.9375rem;
}

/* Dürüst hesap */
.honest {
  display: grid;
  gap: 32px;
  align-items: end;
}
@media (min-width: 1000px) {
  .honest {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 80px;
  }
}
.honest .big {
  font-family: "Stencil", sans-serif;
  font-weight: 900;
  font-size: clamp(8rem, 27vw, 23rem);
  line-height: 0.76;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: none;
}
.honest .big-note {
  margin: 20px 0 0;
  font-weight: 700;
}
.honest p {
  color: var(--ink);
  font-size: 1.125rem;
}
.honest .display {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin-bottom: 26px;
}

/* Fiyat — üç etiket */
.plans {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 1000px) {
  .plans {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
}
.plan {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  --bc-bg: var(--paper);
}
.plan.featured {
  box-shadow: 12px 12px 0 var(--ink);
}
.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 2px solid var(--ink);
}
.plan-head .barcode {
  width: 90px;
  height: 24px;
}
.plan-name {
  padding: 22px 18px 6px;
}
.plan-name b {
  display: block;
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  font-size: 3.8rem;
  line-height: 0.85;
}
.plan-name span {
  display: block;
  color: var(--gray);
  margin-top: 10px;
}
.plan dl {
  margin: 14px 0 0;
  border-top: 2px solid var(--ink);
}
.plan dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.plan dt {
  color: var(--gray);
}
.plan dd {
  margin: 0;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.plan .btn {
  margin: 18px;
  width: calc(100% - 36px);
}
.plan .stamp {
  right: 18px;
  top: 70px;
  font-size: 1.8rem;
  border-width: 4px;
  transform: rotate(8deg);
}
.js .plan .stamp.will {
  transform: rotate(8deg) scale(1.7);
}
.js .plan .stamp.in {
  transform: rotate(8deg) scale(1);
}

/* SSS */
.faq {
  max-width: 920px;
}
.faq details {
  border-top: 2px solid var(--ink);
}
.faq details:last-child {
  border-bottom: 2px solid var(--ink);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 56px 24px 0;
  position: relative;
  font-weight: 800;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22px;
  width: 32px;
  height: 32px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 3px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 3px 14px no-repeat, var(--orange);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq .a {
  padding: 0 0 26px;
  color: #3d3c39;
}
.faq .a p:last-child {
  margin-bottom: 0;
}

/* Araçlar */
.guides {
  display: grid;
  gap: 2px;
  background: var(--line-d);
  border: 2px solid var(--paper);
}
@media (min-width: 800px) {
  .guides {
    grid-template-columns: 1fr 1fr;
  }
}
.guides a {
  display: grid;
  gap: 18px;
  padding: 36px 30px;
  background: var(--ink);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.guides a:hover {
  background: var(--orange);
  color: var(--ink);
}
.guides a:hover p {
  color: var(--ink);
}
.guides h3 {
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 0.86;
}
.guides p {
  margin: 0;
}
.guides .go {
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
}

/* Kapanış */
.close {
  padding: clamp(80px, 11vw, 150px) 0;
}
.close .display {
  font-size: clamp(3.4rem, 9vw, 8.6rem);
  max-width: 16ch;
}
.close p {
  font-size: 1.25rem;
  margin: 26px 0 34px;
  color: var(--ink);
}
.close .btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--paper);
}
.close .btn-primary:hover {
  box-shadow: 8px 8px 0 var(--paper);
}
.close .btn-line:hover {
  background: var(--ink);
  color: var(--orange);
  border-color: var(--ink);
}

/* Alt bilgi */
.foot {
  background: var(--ink);
  color: var(--gray-d);
  padding: 64px 0 0;
  font-size: 0.9375rem;
  overflow: hidden;
}
.foot .cols {
  display: grid;
  gap: 32px;
}
@media (min-width: 800px) {
  .foot .cols {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
.foot h2 {
  font-size: 0.6875rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--paper);
  margin-bottom: 14px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  color: var(--paper);
}
.foot .brand {
  color: var(--paper);
}
.foot p {
  max-width: 34ch;
  margin-top: 12px;
}
.wordmark {
  font-family: "Stencil", sans-serif;
  font-weight: 900;
  font-size: 25.5vw;
  line-height: 0.74;
  color: #1d1d1b;
  text-transform: uppercase;
  margin: 56px 0 0;
  white-space: nowrap;
  text-align: center;
  user-select: none;
  transform: translateY(9%);
}

/* ── Araç / rehber sayfaları ─────────────────────────────── */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 0 0 64px;
}
.crumbs {
  font-size: 0.875rem;
  color: var(--gray-d);
  padding-top: 26px;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}
.page-hero h1 {
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  line-height: 0.86;
  font-size: clamp(3.2rem, 9vw, 8rem);
  margin: 34px 0 32px;
  max-width: 11ch;
}
.page-hero h1 small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--orange);
}
.answer {
  border-left: 5px solid var(--orange);
  padding: 4px 0 4px 22px;
  max-width: 70ch;
  color: #d6d4cd;
}
.answer p {
  margin: 0;
}
.answer strong {
  color: var(--paper);
}
.tool-wrap {
  background: var(--bone);
  padding: 64px 0 72px;
}
.tool {
  display: grid;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
}
@media (min-width: 960px) {
  .tool {
    grid-template-columns: minmax(320px, 4fr) minmax(0, 7fr);
  }
}
.tool form {
  padding: 24px;
  border-bottom: 2px solid var(--ink);
  display: grid;
  gap: 24px;
  align-content: start;
}
@media (min-width: 960px) {
  .tool form {
    border-bottom: 0;
    border-right: 2px solid var(--ink);
  }
}
.tool fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.tool legend {
  font-weight: 900;
  font-stretch: 72%;
  text-transform: uppercase;
  font-size: 1.375rem;
  margin-bottom: 10px;
  padding: 0;
}
.dims {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.dims.two {
  grid-template-columns: 1fr 1fr;
}
.field {
  display: grid;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--gray);
  font-weight: 600;
}
.field input,
.field select {
  height: 46px;
  width: 100%;
  padding: 0 10px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: 800 1.0625rem "Archivo", sans-serif;
  font-variant-numeric: tabular-nums;
}
.field input:focus,
.field select:focus {
  outline: none;
  box-shadow: 4px 4px 0 var(--orange);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9375rem;
  font-weight: 600;
}
.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--orange);
}
.result {
  padding: 24px;
  display: grid;
  gap: 20px;
  align-content: start;
}
.result .big {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
}
.result .big div {
  display: flex;
  flex-direction: column;
}
.result .big .num {
  font-size: clamp(3rem, 7vw, 5.2rem);
}
.result .big .o {
  color: var(--orange);
}
.result .big .field-name {
  margin-top: 8px;
  color: var(--gray);
}
.result .explain {
  margin: 0;
  padding: 14px 16px;
  background: var(--bone);
  font-size: 0.9375rem;
  max-width: none;
}
.result svg.layer-plan {
  width: 100%;
  height: auto;
  max-height: 380px;
}
.article {
  padding: clamp(64px, 8vw, 110px) 0;
}
.prose {
  max-width: 72ch;
}
.prose h2 {
  margin: 72px 0 22px;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 32px 0 10px;
}
.prose ul,
.prose ol {
  padding-left: 1.2em;
  margin: 0 0 1em;
}
.prose li {
  margin-bottom: 8px;
}
.formula {
  display: block;
  background: var(--ink);
  color: var(--paper);
  padding: 18px 20px;
  margin: 0 0 1em;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.8;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.875rem;
  border-left: 5px solid var(--orange);
}
.data {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4em;
  font-variant-numeric: tabular-nums;
  font-size: 0.9375rem;
  border: 2px solid var(--ink);
}
.data caption {
  text-align: left;
  font-weight: 800;
  padding-bottom: 10px;
}
.data th,
.data td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.data thead th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}
.data .r {
  text-align: right;
}
.table-scroll {
  overflow-x: auto;
}
.cta-box {
  margin-top: 64px;
  background: var(--orange);
  padding: 28px;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.cta-box p {
  margin: 0 0 18px;
  font-size: 1.125rem;
}
.cta-box .btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: none;
}
.updated {
  font-size: 0.875rem;
  color: var(--gray);
  margin-top: 28px;
}
