/* CropMyLabels — design tokens
   Brand: blue #0A84FF -> violet #8B1CF6 (from logo). Ink #0B1220.
   Type: Poppins (display, matches wordmark) · Plus Jakarta Sans (body) · JetBrains Mono (SKUs, sizes) */
:root {
  --blue: #0A84FF;
  --violet: #8B1CF6;
  --grad: linear-gradient(120deg, #0A84FF 0%, #4B55F7 50%, #8B1CF6 100%);
  --night: #060A1C;
  --night-2: #0C1330;
  --bg: #F5F7FD;
  --surface: #FFFFFF;
  --surface-2: #EEF1FA;
  --ink: #0B1220;
  --text: #2A3246;
  --muted: #5C6680;
  --line: #E1E5F1;
  --ok: #0E9F6E;
  --warn-bg: #FFF4E5;
  --warn-ink: #8A4B00;
  --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 12px 40px -12px rgba(30, 40, 110, .22);
  --radius: 18px;
  --f-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070B18; --surface: #0F1629; --surface-2: #161F38; --ink: #F1F4FB; --text: #CDD4E6;
    --muted: #93A0BF; --line: #212B48; --warn-bg: #2A1E0A; --warn-ink: #F7C27A;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px -16px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070B18; --surface: #0F1629; --surface-2: #161F38; --ink: #F1F4FB; --text: #CDD4E6;
  --muted: #93A0BF; --line: #212B48; --warn-bg: #2A1E0A; --warn-ink: #F7C27A;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px -16px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg, canvas { max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--f-mono); font-size: .92em; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
:focus-visible { outline: 3px solid #5B8CFF; outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { --b: var(--surface); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--b); color: var(--ink); font: 600 .98rem/1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { border: 0; color: #fff; background: var(--grad); box-shadow: 0 10px 30px -10px rgba(75, 85, 247, .7); }
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(139, 28, 246, .75); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; border-radius: 14px; }
.btn-ghost { background: transparent; }
.btn svg { width: 20px; height: 20px; flex: none; }
.icon-btn { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 8px; padding: 6px 10px; font: 500 .82rem var(--f-body); cursor: pointer; }
.icon-btn:hover { color: var(--ink); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(6, 10, 28, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.07); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: #C9D2EE; text-decoration: none; font: 500 .94rem var(--f-body); padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.nav .drop { position: relative; }
.nav .drop > button { all: unset; cursor: pointer; color: #C9D2EE; font: 500 .94rem var(--f-body); padding: 8px 12px; border-radius: 10px; }
.nav .drop > button:hover, .nav .drop:focus-within > button { color: #fff; background: rgba(255,255,255,.07); }
.nav .drop-menu { position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px; margin-top: 6px; background: #0E1533; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); display: none; }
.nav .drop:hover .drop-menu, .nav .drop:focus-within .drop-menu { display: grid; }
.nav .drop-menu a { display: flex; justify-content: space-between; }
.nav .drop-menu a small { color: #7F8AB0; font-size: .75rem; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-btn, .menu-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: transparent; color: #C9D2EE; display: grid; place-items: center; cursor: pointer; }
.theme-btn svg, .menu-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.header-cta { min-height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 10px; }
@media (max-width: 1060px) {
  .menu-btn { display: grid; }
  .header-cta { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #0A1030; padding: 12px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.08); display: none; }
  .nav.open { display: flex; }
  .nav .drop-menu { position: static; display: grid; background: transparent; border: 0; box-shadow: none; padding: 0 0 0 12px; }
  .nav .drop > button { display: none; }
  .header-actions { margin-left: auto; }
}

/* ---------- hero (always night) ---------- */
.hero { position: relative; color: #C9D2EE; background: var(--night); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background:
    radial-gradient(40% 50% at 12% 20%, rgba(10,132,255,.35), transparent 70%),
    radial-gradient(35% 45% at 88% 10%, rgba(139,28,246,.35), transparent 70%),
    radial-gradient(50% 40% at 60% 90%, rgba(75,85,247,.22), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); }
@keyframes drift { to { transform: translate3d(2%, 3%, 0) scale(1.05); } }
.hero h1 { color: #fff; }
.hero .lead { color: #A9B4D6; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: start; padding-block: 64px 90px; }
.hero-copy { padding-top: 18px; }
.hero .eyebrow { color: #8FB8FF; background: rgba(10,132,255,.12); border: 1px solid rgba(10,132,255,.3); padding: 8px 12px; border-radius: 999px; letter-spacing: .08em; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 26px 0 30px; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: #D7DEF5; }
.trust svg { width: 18px; height: 18px; color: #3DDC97; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #E6EBFA; text-decoration: none; font: 500 .9rem var(--f-body); transition: border-color .2s, background .2s; }
.chip:hover { border-color: rgba(143,184,255,.6); background: rgba(10,132,255,.12); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #8FB8FF); }
.spec { margin-top: 34px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font: 500 .8rem var(--f-mono); color: #8A96BD; }
.spec b { color: #fff; font-weight: 600; }
.spec .arrow { color: #8FB8FF; }
.page-hero { padding-block: 56px 110px; }
.page-hero .hero-grid { padding-block: 0; }
.crumbs { font-size: .85rem; color: #8A96BD; margin-bottom: 16px; }
.crumbs a { color: #A9B4D6; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.hero.simple { padding-block: 64px 70px; }
.hero.simple .lead { margin-bottom: 0; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 44px 70px; } .hero-copy { padding-top: 0; } }

/* ---------- tool card ---------- */
.tool { position: relative; background: var(--surface); color: var(--text); border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.tool::before { content: ""; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .8; pointer-events: none; }
.tool-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.tool-head h2 { font-size: 1.1rem; margin: 0; }
.tool-head .free { font: 600 .72rem var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); padding: 5px 10px; border-radius: 999px; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font: 600 .8rem var(--f-body); color: var(--muted); }
select, input[type="text"], input[type="search"], .tool input[type="text"] { width: 100%; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 .95rem var(--f-body); }
select:focus, input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dropzone { margin-top: 14px; display: grid; place-items: center; text-align: center; gap: 6px; padding: 28px 16px; border-radius: 16px; border: 2px dashed color-mix(in srgb, var(--blue) 45%, var(--line)); background: color-mix(in srgb, var(--blue) 5%, var(--surface)); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--violet); background: color-mix(in srgb, var(--violet) 8%, var(--surface)); }
.dropzone.drag { transform: scale(1.01); }
.dz-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(75,85,247,.8); margin-bottom: 6px; }
.dz-icon svg { width: 26px; height: 26px; }
.dropzone strong { font: 600 1.05rem var(--f-display); color: var(--ink); }
.dropzone small { color: var(--muted); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.file-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); font-size: .9rem; }
.fi-icon { font: 700 .62rem var(--f-mono); color: #fff; background: #E5484D; border-radius: 6px; padding: 5px 6px; }
.fi-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 500; }
.fi-size { color: var(--muted); font: .78rem var(--f-mono); }
.fi-x { border: 0; background: none; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.opts { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tog { position: relative; }
.tog input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tog span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font: 500 .86rem var(--f-body); color: var(--muted); transition: all .15s; }
.tog span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid currentColor; opacity: .6; flex: none; }
.tog input:checked + span { color: var(--ink); border-color: color-mix(in srgb, var(--blue) 55%, var(--line)); background: color-mix(in srgb, var(--blue) 8%, var(--surface)); }
.tog input:checked + span::before { opacity: 1; border-color: transparent; background: var(--grad) ; box-shadow: inset 0 0 0 3px var(--surface); }
.tog input:focus-visible + span { outline: 3px solid #5B8CFF; outline-offset: 2px; }
details.more { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
details.more summary { cursor: pointer; padding: 12px 14px; font: 600 .9rem var(--f-body); color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font: 400 1.3rem var(--f-body); color: var(--muted); }
details.more[open] summary::after { content: "–"; }
.more-body { padding: 4px 14px 16px; display: grid; gap: 12px; }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input { flex: 1; accent-color: var(--violet); }
.range-row output { font: 500 .82rem var(--f-mono); color: var(--muted); min-width: 44px; text-align: right; }
.tool-actions { margin-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.tool-actions .btn-primary { width: 100%; }
.tool-foot { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.tool-foot svg { width: 15px; height: 15px; color: var(--ok); flex: none; }
.progress { margin-top: 16px; }
.progress .bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .2s; }
.progress p { margin: 8px 0 0; font: 500 .82rem var(--f-mono); color: var(--muted); }
.warnings { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--warn-bg); color: var(--warn-ink); font-size: .9rem; }
.warnings p { margin: 0; }
@media (max-width: 520px) { .tool { padding: 16px; border-radius: 18px; } .row2 { grid-template-columns: 1fr; } .tool-actions { grid-template-columns: 1fr; } }

/* ---------- results ---------- */
.results { scroll-margin-top: 84px; margin-top: -50px; position: relative; z-index: 2; padding-bottom: 30px; }
.results-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.results-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.results-top h2 { font-size: 1.5rem; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.results-top h2 .tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; }
.results-top h2 .tick svg { width: 16px; height: 16px; }
.results-top p { color: var(--muted); margin: 0; font-size: .92rem; }
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.stat { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface-2); }
.stat b { display: block; font: 700 1.6rem/1.1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { font-size: .8rem; color: var(--muted); }
.preview { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x mandatory; }
.preview figure { margin: 0; flex: none; scroll-snap-align: start; }
.preview canvas { display: block; height: 240px; width: auto; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -12px rgba(0,0,0,.35); }
.preview figcaption { text-align: center; font: .75rem var(--f-mono); color: var(--muted); margin-top: 6px; }
.preview .more { flex: none; align-self: center; padding: 0 20px; color: var(--muted); font: .9rem var(--f-mono); }
.tabs-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; margin-top: 10px; }
.tbl-wrap { overflow: auto; max-height: 380px; border: 1px solid var(--line); border-radius: 14px; }
.tbl-wrap h3 { position: sticky; top: 0; margin: 0; padding: 12px 14px; font-size: .95rem; background: var(--surface); border-bottom: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 600 .74rem var(--f-body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); position: sticky; top: 45px; }
td { color: var(--ink); font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tabs-grid { grid-template-columns: 1fr; } .results-card { padding: 18px; } }

/* ---------- sections ---------- */
section { padding-block: 84px; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.platforms { padding-block: 40px 20px; }
.plat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; transition: transform .15s, border-color .2s, box-shadow .2s; }
.plat:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 60%, var(--line)); box-shadow: var(--shadow); }
.plat .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, var(--surface)); color: var(--c); font: 700 .95rem var(--f-display); }
.plat small { display: block; font: 500 .74rem var(--f-body); color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step .n { font: 700 .8rem var(--f-mono); color: var(--blue); letter-spacing: .06em; }
.step h3 { margin-top: 10px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
.step .vis { height: 120px; margin: -6px -6px 16px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.step .vis svg { height: 100px; width: auto; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feat { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, var(--surface)); }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { margin: 6px 0 0; font-size: 1.02rem; }
.feat p { color: var(--muted); font-size: .9rem; margin: 0; }
.feat .paid { margin-top: auto; padding-top: 8px; font: 600 .7rem var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.feat.big { grid-column: span 2; background: linear-gradient(160deg, color-mix(in srgb, var(--blue) 9%, var(--surface)), var(--surface) 60%); }
@media (max-width: 1000px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } .feat.big { grid-column: auto; } }

.privacy { background: var(--night); color: #A9B4D6; position: relative; overflow: hidden; isolation: isolate; }
.privacy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 60% at 85% 50%, rgba(139,28,246,.28), transparent 70%), radial-gradient(40% 60% at 10% 80%, rgba(10,132,255,.22), transparent 70%); }
.privacy h2 { color: #fff; }
.privacy .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.privacy ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.privacy li { display: flex; gap: 12px; color: #D7DEF5; }
.privacy li svg { width: 22px; height: 22px; color: #3DDC97; flex: none; margin-top: 2px; }
.device { border-radius: 20px; padding: 24px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); font: 500 .85rem/1.9 var(--f-mono); color: #A9B4D6; }
.device .line { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255,255,255,.1); }
.device .line:last-child { border: 0; }
.device b { color: #3DDC97; font-weight: 600; }
@media (max-width: 860px) { .privacy .grid { grid-template-columns: 1fr; } }

.printers { display: flex; flex-wrap: wrap; gap: 10px; }
.printers span { padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font: 500 .9rem var(--f-body); color: var(--ink); }
.printers span em { font-style: normal; color: var(--muted); font-size: .8rem; margin-left: 6px; }

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font: 600 1rem var(--f-display); color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 20px 18px; color: var(--muted); }
.faq .a p:last-child { margin: 0; }

.cta { padding-block: 30px 90px; }
.cta-card { border-radius: 26px; padding: 54px 40px; text-align: center; color: #fff; background: var(--grad); position: relative; overflow: hidden; isolation: isolate; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(transparent, #000); -webkit-mask-image: linear-gradient(transparent, #000); }
.cta-card h2 { color: #fff; }
.cta-card p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 0 auto 26px; }
.cta-card .btn { background: #fff; color: #1B1F4A; border: 0; }

/* ---------- prose pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; }
.aside-card { position: sticky; top: 90px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.aside-card h3 { font-size: 1rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.aside-card a { text-decoration: none; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } .aside-card { position: static; } }
.callout { padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--blue) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--blue) 25%, var(--line)); color: var(--text); }
.kbd { font: 600 .82em var(--f-mono); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); }

/* ---------- SKU mapping ---------- */
.map-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; margin-top: -60px; position: relative; }
.map-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.map-bar input[type="search"] { max-width: 280px; }
.map-bar .sp { flex: 1; }
.map-bar .file-btn { position: relative; overflow: hidden; }
.map-bar .file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.map-bar .btn { min-height: 42px; padding: 0 16px; font-size: .9rem; }
#mapTable td { padding: 4px 6px; }
#mapTable td input { min-height: 38px; border-color: transparent; background: transparent; }
#mapTable td input:hover { border-color: var(--line); }
#mapTable td input:focus { background: var(--surface); }
.map-empty { display: none; padding: 50px 20px; text-align: center; color: var(--muted); }
#skumap.empty .map-empty { display: block; }
#skumap.empty .map-scroll { display: none; }
.map-scroll { overflow: auto; max-height: 560px; }
.map-foot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #8A96BD; padding-block: 64px 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.site-footer h3, .site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: 0; margin-bottom: 14px; font-family: var(--f-display); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #A9B4D6; text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.site-footer .about p { font-size: .92rem; max-width: 36ch; margin-top: 14px; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid .about { grid-column: 1 / -1; } }

#tool, section[id], h2[id] { scroll-margin-top: 84px; }

/* ---------- platform page content ---------- */
.layout-fig { margin: 8px 0 30px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.layout-fig svg { display: block; width: 100%; height: auto; max-height: 320px; }
.layout-fig figcaption, .shot figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: center; }
.shot { margin: 0 0 18px; }
.shot img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.note { font-size: .88rem; color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 1em; }
.fields div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.fields dt { font: 600 .95rem var(--f-display); color: var(--ink); margin-bottom: 4px; }
.fields dd { margin: 0; font-size: .9rem; color: var(--muted); }
.probs { display: grid; gap: 12px; }
.prob { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); border-left: 4px solid var(--violet); background: var(--surface); }
.prob h3 { margin: 0 0 6px; font-size: 1rem; }
.prob p { margin: 0; color: var(--muted); font-size: .92rem; }
.ticks { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); -webkit-mask: radial-gradient(circle, #000 60%, transparent 62%); }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .2s, border-color .2s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.post-card h3 { font-size: 1.08rem; margin: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.post-card .tag { align-self: flex-start; font: 600 .7rem var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--violet); background: color-mix(in srgb, var(--violet) 10%, transparent); padding: 4px 9px; border-radius: 999px; }
.post-card .meta { margin-top: auto; padding-top: 6px; font: .78rem var(--f-mono); color: var(--muted); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 22ch; }
.byline { font-size: .88rem; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.post h2 { font-size: 1.4rem; }
.post table { font-size: .9rem; }
.post .tbl-wrap { margin: 0 0 1.4em; }
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 28px 0; padding: 20px 22px; border-radius: 16px; color: #fff; background: var(--grad); }
.post-cta strong { display: block; font: 700 1.1rem var(--f-display); }
.post-cta span { font-size: .9rem; opacity: .9; }
.post-cta .btn { background: #fff; color: #1B1F4A; border: 0; box-shadow: none; }
.post-fig { margin: 24px 0 32px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.post-fig svg { display: block; width: 100%; height: auto; max-height: 340px; margin: 0 auto; }
.post-fig figcaption { margin-top: 12px; font-size: .86rem; color: var(--muted); text-align: center; }
.post-tip { margin: 20px 0; padding: 16px 20px; border-radius: 14px; background: color-mix(in srgb, var(--blue) 8%, var(--surface)); border-left: 4px solid var(--blue); color: var(--text); font-size: .95rem; }
.post-tip strong { color: var(--ink); }
/* ---------- about ---------- */
.story { margin: 0 0 1.4em; padding: 18px 22px; border-left: 4px solid var(--violet); background: var(--surface); border-radius: 0 14px 14px 0; }
.story p { font-size: 1.05rem; color: var(--ink); }
.story cite { font-style: normal; color: var(--muted); font-size: .9rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.facts div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.facts dt { font: 600 .72rem var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 4px 0 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
/* ---------- language ---------- */
.nav .lang-link { border: 1px solid rgba(255,255,255,.16); margin-left: 6px; }
.lang-hi { --f-body: "Mukta", "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, sans-serif; --f-display: "Poppins", "Mukta", system-ui, sans-serif; }
.lang-hi body, body.lang-hi { line-height: 1.7; }
