/* ===== BestQR — QR Code Generator ===== */

:root {
  --bg: #ffffff;
  --surface: #f7f8fb;
  --surface-2: #eef0f6;
  --border: #e7e9f1;
  --border-strong: #d7dae6;
  --text: #14161f;
  --muted: #6b7180;
  --muted-2: #6d727e;
  --accent: #4f46e5;
  --accent-600: #4338ca;
  --accent-soft: #eef0ff;
  --accent-ring: rgba(79, 70, 229, .18);
  --radius: 18px;
  --radius-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 31, .05), 0 1px 1px rgba(20, 22, 31, .04);
  --shadow-md: 0 12px 30px -12px rgba(28, 30, 55, .18), 0 4px 10px -6px rgba(28, 30, 55, .10);
  --shadow-lg: 0 40px 80px -30px rgba(28, 30, 55, .28), 0 12px 30px -16px rgba(28, 30, 55, .16);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

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

button {
  font-family: inherit;
  cursor: pointer
}

input,
textarea,
select {
  font-family: inherit
}

::selection {
  background: var(--accent);
  color: #fff
}

.icon {
  width: 18px;
  height: 18px;
  stroke-width: 2
}

/* ---------- Layout ---------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.02em
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--text);
  display: grid;
  place-items: center;
  position: relative
}

.brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 5px
}

.brand-mark b {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 1.5px;
  background: var(--accent)
}

.brand .sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-600);
  background: var(--accent-soft);
  padding: 3px 7px;
  border-radius: 6px;
  font-weight: 500
}

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

.nav-links a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .15s
}

.nav-links a:hover {
  color: var(--text)
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: #fff;
  padding: 10px 17px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: transform .15s, background .15s
}

.nav-cta:hover {
  background: #000;
  transform: translateY(-1px)
}

@media(max-width:780px) {
  .nav-links {
    display: none
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 460px at 78% -8%, var(--accent-soft), transparent 60%),
    radial-gradient(700px 380px at 10% 0%, #f3f4ff, transparent 55%);
  z-index: 0
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-block: 84px 76px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-600);
  background: #fff;
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring)
}

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 58px;
  line-height: 1.03;
  letter-spacing: -.03em;
  margin: 0 0 20px
}

h1 em {
  font-style: normal;
  color: var(--accent)
}

.lede {
  font-size: 18.5px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.6
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 15px 24px;
  border-radius: 13px;
  font-size: 15.5px;
  font-weight: 600;
  box-shadow: 0 10px 24px -10px var(--accent);
  transition: transform .15s, box-shadow .15s, background .15s
}

.btn-primary:hover {
  background: var(--accent-600);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px var(--accent)
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 15px 22px;
  border-radius: 13px;
  font-size: 15.5px;
  font-weight: 600;
  transition: transform .15s, border-color .15s
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--muted-2)
}

.hero-meta {
  display: flex;
  gap: 26px;
  margin-top: 34px
}

.hero-meta div {
  display: flex;
  flex-direction: column
}

.hero-meta b {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: -.02em
}

.hero-meta span {
  font-size: 13px;
  color: var(--muted)
}

/* hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center
}

.qr-showcase {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2.5deg)
}

.qr-showcase .frame-label {
  margin-top: 16px;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent);
  font-size: 14px
}

#hero-qr {
  width: 248px;
  height: 248px;
  border-radius: 14px;
  overflow: hidden
}

#hero-qr img {
  display: block
}

.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-md)
}

.float-chip i {
  color: var(--accent)
}

.float-chip.c1 {
  top: -18px;
  left: -44px;
  transform: rotate(-5deg)
}

.float-chip.c2 {
  bottom: 42px;
  right: -58px;
  transform: rotate(4deg)
}

.float-chip.c3 {
  bottom: -20px;
  left: 6px;
  transform: rotate(-2deg)
}

@media(max-width:920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 60px
  }

  h1 {
    font-size: 44px
  }

  .float-chip.c1 {
    left: -12px
  }

  .float-chip.c2 {
    right: -12px
  }
}

@media(max-width:540px) {
  h1 {
    font-size: 36px
  }

  .lede {
    font-size: 16.5px
  }
}

/* ---------- Tool picker ---------- */
.picker {
  border-top: 1px solid var(--border);
  background: var(--surface);
  position: relative
}

.picker .wrap {
  padding-block: 64px 68px
}

.picker-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px
}

.picker-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-600);
  background: #fff;
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 100px;
  font-weight: 500;
  margin-bottom: 16px
}

.picker-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring)
}

.picker-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0 0 12px;
  text-wrap: balance
}

.picker-head p {
  color: var(--muted);
  font-size: 16.5px;
  margin: 0;
  line-height: 1.55
}

.picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

@media(max-width:880px) {
  .picker-grid {
    grid-template-columns: 1fr
  }
}

.pick-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, border-color .18s, transform .18s;
  color: inherit
}

.pick-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  transform: translateY(-3px)
}

.pick-card.current {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md)
}

.pick-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px
}

.pick-ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center
}

.pick-ic .icon {
  width: 24px;
  height: 24px
}

.pick-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  padding: 5px 10px;
  border-radius: 100px
}

.pick-tag.soft {
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border)
}

.pick-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.01em;
  margin: 0 0 7px
}

.pick-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1
}

.pick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  transition: all .15s
}

.pick-btn .icon {
  width: 17px;
  height: 17px
}

a.pick-card:hover .pick-btn {
  border-color: var(--accent);
  color: var(--accent-600)
}

.pick-btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 22px -12px var(--accent)
}

.pick-btn.primary:hover {
  background: var(--accent-600)
}

/* ---------- Trust strip ---------- */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface)
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-block: 30px
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 13px
}

.trust-item .ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex: none
}

.trust-item b {
  display: block;
  font-size: 14.5px;
  font-weight: 600
}

.trust-item span {
  font-size: 13px;
  color: var(--muted)
}

@media(max-width:780px) {
  .trust-inner {
    grid-template-columns: 1fr
  }
}

/* ---------- Generator ---------- */
.tool {
  padding: 80px 0 96px
}

.tool-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px
}

.tool-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -.025em;
  margin: 0 0 12px
}

.tool-head p {
  color: var(--muted);
  font-size: 17px;
  margin: 0
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 392px;
  gap: 28px;
  align-items: start
}

@media(max-width:980px) {
  .tool-grid {
    grid-template-columns: minmax(0, 1fr)
  }
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md)
}

.panel-pad {
  padding: 26px
}

.section-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 14px;
  font-weight: 500
}

/* type grid */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 9px
}

.type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--surface);
  border: 1.5px solid transparent;
  border-radius: 13px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: all .15s
}

.type-btn i {
  width: 20px;
  height: 20px
}

.type-btn:hover {
  background: var(--surface-2);
  color: var(--text)
}

.type-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-600)
}

.type-btn.active i {
  color: var(--accent)
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0
}

/* fields */
.fields {
  display: grid;
  gap: 16px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.field.half {
  grid-column: span 1
}

.fields.cols2 {
  grid-template-columns: 1fr 1fr
}

.fields.cols2 .field.full {
  grid-column: 1/-1
}

label.flabel {
  font-size: 13px;
  font-weight: 600;
  color: var(--text)
}

.input,
.textarea,
select.input {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted-2)
}

.input:focus,
.textarea:focus,
select.input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-ring)
}

.textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.5
}

.field-hint {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px
}

.field-hint i {
  width: 14px;
  height: 14px;
  flex: none
}

/* segment */
.segment {
  display: inline-flex;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  padding: 4px;
  gap: 4px
}

.segment button {
  border: none;
  background: transparent;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all .15s
}

.segment button.on {
  background: #fff;
  color: var(--accent-600);
  box-shadow: var(--shadow-sm)
}

/* design controls */
.design {
  display: grid;
  gap: 22px
}

.ctl {
  display: grid;
  gap: 11px
}

.ctl-title {
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px
}

.ctl-title i {
  width: 16px;
  height: 16px;
  color: var(--muted)
}

.swatches {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center
}

.swatch {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--border);
  cursor: pointer;
  transition: transform .12s
}

.swatch:hover {
  transform: scale(1.08)
}

.swatch.sel {
  box-shadow: 0 0 0 2px var(--accent)
}

.swatch.custom {
  display: grid;
  place-items: center;
  background: conic-gradient(from 0deg, #ef4444, #eab308, #22c55e, #3b82f6, #a855f7, #ef4444);
  position: relative;
  overflow: hidden
}

.swatch.custom input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer
}

.swatch.custom i {
  width: 14px;
  height: 14px;
  color: #fff;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .4))
}

.shape-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap
}

.shape-btn {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  padding: 9px;
  transition: all .15s
}

.shape-btn:hover {
  border-color: var(--muted-2)
}

.shape-btn.sel {
  border-color: var(--accent);
  background: var(--accent-soft)
}

.shape-btn svg {
  width: 100%;
  height: 100%
}

.shape-btn svg rect,
.shape-btn svg circle {
  fill: var(--text)
}

.shape-btn.sel svg rect,
.shape-btn.sel svg circle {
  fill: var(--accent)
}

.frame-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap
}

.frame-btn {
  flex: 1;
  min-width: 78px;
  padding: 11px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all .15s
}

.frame-btn.sel {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-600)
}

/* logo upload */
.logo-drop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--surface);
  border: 1.5px dashed var(--border-strong);
  border-radius: 12px;
  transition: border-color .15s
}

.logo-drop:hover {
  border-color: var(--accent)
}

.logo-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
  color: var(--muted-2)
}

.logo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.logo-info {
  flex: 1;
  min-width: 0
}

.logo-info b {
  font-size: 13.5px;
  display: block
}

.logo-info span {
  font-size: 12px;
  color: var(--muted)
}

.logo-actions {
  display: flex;
  gap: 8px
}

.mini-btn {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.mini-btn:hover {
  border-color: var(--accent);
  color: var(--accent-600)
}

.mini-btn.danger:hover {
  border-color: #e5484d;
  color: #e5484d
}

.mini-btn input {
  display: none
}

/* preview */
.preview-card {
  position: sticky;
  top: 92px
}

.preview-stage {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background:
    linear-gradient(0deg, var(--surface), var(--surface)) padding-box;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--border)
}

.qr-frame {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border);
  transition: padding .2s
}

.qr-frame.has-frame {
  border: 3px solid var(--frame-color, var(--accent))
}

#qr-canvas {
  width: 236px;
  height: 236px;
  display: grid;
  place-items: center
}

#qr-canvas svg,
#qr-canvas canvas {
  display: block;
  border-radius: 6px
}

.qr-frame .fl {
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .16em;
  font-size: 13px;
  color: var(--frame-color, var(--accent));
  text-transform: uppercase
}

.qr-frame.fl-hidden .fl {
  display: none
}

.empty-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  max-width: 220px;
  margin-top: 6px
}

.preview-foot {
  padding: 22px
}

.save-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-600);
  border: 1.5px solid transparent;
  margin-bottom: 11px;
  transition: all .15s
}

.save-btn:hover {
  background: #e6e9ff;
  transform: translateY(-1px)
}

.save-btn.saved {
  background: #e7f7ee;
  color: #1f8a5b
}

.save-btn .icon {
  width: 17px;
  height: 17px
}

.dl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  border: none;
  transition: transform .15s, background .15s, border-color .15s
}

.dl-btn.png {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -10px var(--accent)
}

.dl-btn.png:hover {
  background: var(--accent-600);
  transform: translateY(-2px)
}

.dl-btn.svg {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border-strong)
}

.dl-btn.svg:hover {
  border-color: var(--accent);
  color: var(--accent-600);
  transform: translateY(-2px)
}

.dl-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted)
}

.dl-note i {
  width: 14px;
  height: 14px
}

/* ---------- Content bands ---------- */
.band {
  padding: 84px 0
}

.band.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

.band-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px
}

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 14px
}

.band-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -.025em;
  margin: 0 0 12px;
  line-height: 1.1
}

.band-head p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
  line-height: 1.6
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md)
}

.step-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted-2);
  position: absolute;
  top: 26px;
  right: 28px
}

.step-ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 20px
}

.step-ic .icon {
  width: 24px;
  height: 24px
}

.step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.01em;
  margin: 0 0 9px
}

.step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0
}

@media(max-width:840px) {
  .steps {
    grid-template-columns: 1fr
  }
}

/* use cases */
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.use-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .18s, border-color .18s, box-shadow .18s
}

.use-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md)
}

.use-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px
}

.use-ic .icon {
  width: 22px;
  height: 22px
}

.use-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -.01em
}

.use-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0
}

@media(max-width:900px) {
  .use-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:560px) {
  .use-grid {
    grid-template-columns: 1fr
  }
}

/* why split */
.why-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center
}

.why-copy h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  line-height: 1.1
}

.why-lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 26px;
  max-width: 440px
}

.why-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 15px
}

.why-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted)
}

.why-list li b {
  color: var(--text)
}

.why-list .icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  padding: 3px;
  margin-top: 2px;
  stroke-width: 3
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm)
}

.stat-card b {
  display: block;
  font-family: var(--display);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--accent);
  line-height: 1
}

.stat-card span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted)
}

@media(max-width:840px) {
  .why-split {
    grid-template-columns: 1fr;
    gap: 40px
  }
}

/* faq */
.faq-wrap {
  max-width: 760px
}

.faq-list {
  display: grid;
  gap: 12px
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 22px;
  transition: border-color .18s, box-shadow .18s
}

.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm)
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--text)
}

.faq-item summary::-webkit-details-marker {
  display: none
}

.faq-item summary .icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--accent);
  transition: transform .2s
}

.faq-item[open] summary .icon {
  transform: rotate(45deg)
}

.faq-item p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 90%
}

/* cta band */
.cta-band {
  background: var(--text);
  color: #fff;
  padding: 78px 0
}

.cta-inner {
  text-align: center
}

.cta-inner h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -.025em;
  margin: 0 0 12px
}

.cta-inner p {
  color: rgba(255, 255, 255, .66);
  font-size: 18px;
  margin: 0 0 30px
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--text);
  border: none;
  padding: 16px 28px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5);
  transition: transform .15s, background .15s
}

.btn-light:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #fff
}

/* ---------- Saved library ---------- */
.library {
  padding: 84px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

.lib-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
  flex-wrap: wrap
}

.lib-head-copy {
  max-width: 560px
}

.lib-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -.025em;
  margin: 0 0 10px;
  line-height: 1.1
}

.lib-sub {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0
}

.lib-search {
  position: relative;
  flex: none;
  width: 300px;
  max-width: 100%
}

.lib-search .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted-2);
  pointer-events: none
}

.lib-search input {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px 13px 42px;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s
}

.lib-search input::placeholder {
  color: var(--muted-2)
}

.lib-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring)
}

.lib-tools {
  margin-bottom: 22px
}

.lib-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center
}

.filt {
  height: 42px;
  min-width: 42px;
  padding: 0 16px;
  border-radius: 11px;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s
}

.filt.ic {
  padding: 0;
  width: 42px
}

.filt .icon {
  width: 18px;
  height: 18px
}

.filt:hover {
  border-color: var(--border-strong);
  color: var(--text)
}

.filt.on {
  background: var(--text);
  border-color: var(--text);
  color: #fff
}

.filt.ic.on .icon {
  color: #fff
}

.lib-grid {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.qr-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  transition: box-shadow .16s, border-color .16s, transform .16s
}

.qr-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong)
}

.qr-card-badge {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s, color .15s
}

.qr-card-badge .icon {
  width: 25px;
  height: 25px
}

.qr-card:hover .qr-card-badge {
  background: var(--accent);
  color: #fff
}

.qr-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer
}

.qr-card-type {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-600);
  text-transform: uppercase;
  letter-spacing: .05em
}

.qr-card-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.qr-card-time {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted-2);
  white-space: nowrap
}

.qr-card-time .icon {
  width: 14px;
  height: 14px
}

.qr-card-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex: none
}

.qr-card-actions .mini-btn {
  justify-content: center;
  padding: 9px 13px
}

.qr-card-actions .mini-btn.danger {
  padding: 9px
}

@media(max-width:640px) {
  .qr-card {
    flex-wrap: wrap;
    gap: 12px 16px
  }

  .qr-card-time {
    order: 3;
    margin-left: 72px
  }

  .qr-card-actions {
    order: 4;
    margin-left: auto
  }
}

.lib-empty {
  text-align: center;
  padding: 56px 20px;
  background: #fff;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius)
}

.lib-empty-ic {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 16px
}

.lib-empty-ic .icon {
  width: 26px;
  height: 26px
}

.lib-empty b {
  display: block;
  font-family: var(--display);
  font-size: 19px;
  margin-bottom: 7px
}

.lib-empty span {
  color: var(--muted);
  font-size: 15px
}

.lib-empty em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent-600)
}

.lib-noresult {
  grid-column: 1/-1;
  text-align: center;
  padding: 44px 20px;
  color: var(--muted);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px
}

.lib-noresult .icon {
  width: 18px;
  height: 18px
}

.lib-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px
}

.pg-arrow,
.pg-dot {
  height: 40px;
  min-width: 40px;
  border-radius: 11px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s
}

.pg-arrow .icon {
  width: 18px;
  height: 18px
}

.pg-dot:hover,
.pg-arrow:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-600)
}

.pg-dot.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

.pg-arrow:disabled {
  opacity: .4;
  cursor: not-allowed
}

@media(max-width:560px) {
  .lib-head {
    flex-direction: column;
    align-items: stretch
  }

  .lib-search {
    width: 100%
  }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 38px 0
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap
}

.footer .brand {
  font-size: 17px
}

.footer p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0
}

.footer-links {
  display: flex;
  gap: 24px
}

.footer-links a {
  color: var(--muted);
  font-size: 13.5px;
  transition: color .15s
}

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

/* toast */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #fff;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all .25s;
  z-index: 100
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0)
}

.toast i {
  width: 17px;
  height: 17px;
  color: #7dd3a8
}

/* ============================================================
   Sub-pages (About / Contact / Privacy / Terms) — shared
   ============================================================ */

/* ---------- Sub-page hero ---------- */
.legal-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border)
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 420px at 80% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(640px 340px at 8% 0%, #f3f4ff, transparent 55%);
  pointer-events: none
}

.legal-hero-inner {
  position: relative;
  padding-block: 72px 56px
}

.legal-hero .eyebrow {
  margin-bottom: 20px
}

.legal-hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 18px;
  max-width: 18ch
}

.legal-hero h1 em {
  font-style: normal;
  color: var(--accent)
}

.legal-hero .lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 60ch;
  margin: 0
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 26px;
  transition: color .15s
}

.legal-back:hover {
  color: var(--text)
}

.legal-back .icon {
  width: 16px;
  height: 16px
}

/* ---------- Privacy / Terms layout ---------- */
.legal-promise {
  margin-top: 34px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  max-width: 680px
}

.legal-promise .badge {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center
}

.legal-promise .badge .icon {
  width: 24px;
  height: 24px
}

.legal-promise b {
  display: block;
  font-size: 15.5px;
  margin-bottom: 3px
}

.legal-promise p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55
}

.legal-body {
  padding: 64px 0 86px
}

.legal-grid {
  display: grid;
  grid-template-columns: 228px 1fr;
  gap: 56px;
  align-items: start
}

@media(max-width:860px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 34px
  }
}

.legal-toc {
  position: sticky;
  top: 90px
}

.legal-toc-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-2);
  margin: 0 0 14px
}

.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px
}

.legal-toc a {
  display: flex;
  gap: 11px;
  align-items: baseline;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  transition: background .15s, color .15s
}

.legal-toc a:hover {
  background: var(--surface);
  color: var(--text)
}

.legal-toc a .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
  min-width: 16px
}

@media(max-width:860px) {
  .legal-toc {
    position: static;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    background: var(--surface)
  }
}

.legal-article {
  max-width: 720px;
  min-width: 0
}

.legal-section {
  padding-bottom: 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--border)
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0
}

.legal-section h2 {
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  scroll-margin-top: 88px;
  display: flex;
  align-items: center;
  gap: 13px
}

.legal-section h2 .sec-ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--accent);
  display: grid;
  place-items: center
}

.legal-section h2 .sec-ic .icon {
  width: 20px;
  height: 20px
}

.legal-section p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 15px
}

.legal-section p:last-child {
  margin-bottom: 0
}

.legal-section strong {
  color: var(--text);
  font-weight: 600
}

.legal-list {
  list-style: none;
  margin: 6px 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px
}

.legal-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg)
}

.legal-list li b {
  color: var(--text);
  font-weight: 600
}

.legal-callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  display: flex;
  gap: 13px;
  align-items: flex-start
}

.legal-callout .icon {
  flex: none;
  width: 19px;
  height: 19px;
  color: var(--accent);
  margin-top: 1px
}

.legal-contact-card {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: #fff;
  padding: 13px 20px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .15s, background .15s
}

.legal-contact-card:hover {
  background: #000;
  transform: translateY(-1px)
}

.legal-contact-card .icon {
  width: 18px;
  height: 18px
}

/* ---------- Contact page ---------- */
.contact-body {
  padding: 64px 0 86px
}

.contact-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 36px;
  box-shadow: var(--shadow-lg)
}

.contact-primary .cp-copy {
  min-width: 0
}

.contact-primary .cp-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: rgba(255, 255, 255, .55);
  margin: 0 0 9px
}

.contact-primary .cp-mail {
  font-family: var(--display);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  display: inline-block;
  word-break: break-all
}

.contact-primary .cp-mail:hover {
  color: #c7c2ff
}

.contact-primary .cp-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .15s, background .15s
}

.contact-primary .cp-cta:hover {
  background: var(--accent-600);
  transform: translateY(-1px)
}

.contact-primary .cp-cta .icon {
  width: 18px;
  height: 18px
}

.contact-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

@media(max-width:820px) {
  .contact-grid {
    grid-template-columns: 1fr
  }
}

.contact-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .16s, border-color .16s, transform .16s
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  transform: translateY(-3px)
}

.contact-card .cc-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px
}

.contact-card .cc-ic .icon {
  width: 23px;
  height: 23px
}

.contact-card h3 {
  font-family: var(--display);
  font-size: 17.5px;
  letter-spacing: -.01em;
  margin: 0 0 7px
}

.contact-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 14px
}

.contact-card .cc-mail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-600);
  font-size: 14px;
  font-weight: 600
}

.contact-card .cc-mail .icon {
  width: 15px;
  height: 15px
}

.contact-note {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px
}

.contact-note .icon {
  flex: none;
  width: 21px;
  height: 21px;
  color: var(--accent);
  margin-top: 2px
}

.contact-note b {
  display: block;
  font-size: 15.5px;
  margin-bottom: 4px;
  color: var(--text)
}

.contact-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6
}

.contact-note a {
  color: var(--accent-600);
  font-weight: 600
}

/* ---------- About page ---------- */
.about-stats {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px
}

.about-stat {
  flex: 1;
  min-width: 150px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm)
}

.about-stat b {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1
}

.about-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500
}

.about-body {
  padding: 72px 0 40px
}

.about-block {
  max-width: 760px;
  margin: 0 auto
}

.about-block h2 {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -.02em;
  margin: 0 0 18px
}

.about-block p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
  margin: 0 0 18px
}

.about-block p:last-child {
  margin-bottom: 0
}

.about-block strong {
  color: var(--text);
  font-weight: 600
}

.about-sep {
  max-width: 760px;
  margin: 48px auto;
  border: none;
  border-top: 1px solid var(--border)
}

.about-values {
  padding: 8px 0 80px
}

.values-head {
  max-width: 760px;
  margin: 0 auto 34px
}

.values-head h2 {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -.02em;
  margin: 0 0 10px
}

.values-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0
}

.values-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

@media(max-width:760px) {
  .values-grid {
    grid-template-columns: 1fr
  }
}

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow .16s, border-color .16s, transform .16s
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  transform: translateY(-3px)
}

.value-card .v-ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px
}

.value-card .v-ic .icon {
  width: 24px;
  height: 24px
}

.value-card h3 {
  font-family: var(--display);
  font-size: 18.5px;
  letter-spacing: -.01em;
  margin: 0 0 8px
}

.value-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0
}

.about-cta {
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 44px;
  text-align: center;
  box-shadow: var(--shadow-lg)
}

.about-cta h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.6vw, 34px);
  letter-spacing: -.02em;
  margin: 0 0 12px
}

.about-cta p {
  color: rgba(255, 255, 255, .66);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 26px;
  max-width: 46ch
}

.about-cta .ac-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #fff;
  padding: 15px 26px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 600;
  border: none;
  transition: transform .15s, background .15s
}

.about-cta .ac-btn:hover {
  background: var(--accent-600);
  transform: translateY(-1px)
}

.about-cta .ac-btn .icon {
  width: 19px;
  height: 19px
}

/* ---------- Blog listing ---------- */
.blog-hero {
  position: relative;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 380px at 80% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(600px 320px at 5% 0%, #f3f4ff, transparent 55%)
}

.blog-hero-inner {
  padding-block: 64px 52px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto
}

.blog-hero .eyebrow {
  margin-bottom: 20px
}

.blog-hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 16px
}

.blog-hero h1 em {
  font-style: normal;
  color: var(--accent)
}

.blog-hero p {
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 54ch
}

.blog-wrap {
  padding: 56px 0 88px
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

@media(max-width:920px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:600px) {
  .blog-grid {
    grid-template-columns: 1fr
  }
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, border-color .18s, transform .18s;
  color: inherit
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  transform: translateY(-3px)
}

.post-cover {
  height: 172px;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden
}

.post-cover .icon {
  width: 46px;
  height: 46px;
  stroke-width: 1.6;
  opacity: .92;
  position: relative;
  z-index: 1
}

.post-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .10) 0 2px, transparent 2px 13px)
}

.cover-a {
  background: linear-gradient(135deg, #4f46e5, #7c6cf2)
}

.cover-b {
  background: linear-gradient(135deg, #0f7d5b, #23a37a)
}

.cover-c {
  background: linear-gradient(135deg, #c2410c, #ea7a3c)
}

.cover-d {
  background: linear-gradient(135deg, #7c3aed, #b06cf0)
}

.cover-e {
  background: linear-gradient(135deg, #1e2330, #39405a)
}

.cover-f {
  background: linear-gradient(135deg, #0369a1, #2f9fd6)
}

.post-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.post-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-600);
  font-weight: 500;
  margin-bottom: 11px
}

.post-card h2 {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 0 0 9px
}

.post-card .excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--muted-2);
  font-weight: 500
}

.post-meta .dotsep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2)
}

/* ---------- Article ---------- */
.article-hero {
  border-bottom: 1px solid var(--border);
  background: var(--surface)
}

.article-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 0 40px
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 26px;
  transition: color .15s
}

.legal-back:hover {
  color: var(--text)
}

.legal-back .icon {
  width: 16px;
  height: 16px
}

.article-tag {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-600);
  background: var(--accent-soft);
  padding: 6px 13px;
  border-radius: 100px;
  font-weight: 500;
  margin-bottom: 20px
}

.article-hero h1 {
  font-family: var(--display);
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 18px;
  text-wrap: balance
}

.article-sub {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 60ch
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 13px
}

.byline-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  flex: none
}

.byline-meta b {
  display: block;
  font-size: 14.5px;
  font-weight: 600
}

.byline-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px
}

.byline-meta .dotsep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2)
}

.article-cover {
  max-width: 860px;
  margin: 38px auto 0;
  height: 320px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md)
}

.article-cover .icon {
  width: 72px;
  height: 72px;
  stroke-width: 1.4;
  opacity: .92;
  position: relative;
  z-index: 1
}

.article-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .10) 0 2px, transparent 2px 15px)
}

@media(max-width:600px) {
  .article-cover {
    height: 210px;
    margin-top: 26px
  }
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 0 80px
}

.article-body p {
  color: #2c2f3a;
  font-size: 17.5px;
  line-height: 1.78;
  margin: 0 0 22px
}

.article-body h2 {
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: -.02em;
  margin: 44px 0 16px
}

.article-body h3 {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -.01em;
  margin: 32px 0 12px
}

.article-body strong {
  color: var(--text);
  font-weight: 600
}

.article-body a {
  color: var(--accent-600);
  text-decoration: underline;
  text-underline-offset: 2px
}

.article-body ul {
  margin: 0 0 22px;
  padding-left: 22px;
  color: #2c2f3a;
  font-size: 17.5px;
  line-height: 1.78
}

.article-body li {
  margin-bottom: 9px
}

.article-body li::marker {
  color: var(--accent)
}

.article-body blockquote {
  margin: 30px 0;
  padding: 6px 0 6px 24px;
  border-left: 3px solid var(--accent);
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0
}

.article-cta {
  max-width: 720px;
  margin: 0 auto 88px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg)
}

.article-cta h2 {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -.02em;
  margin: 0 0 10px
}

.article-cta p {
  color: rgba(255, 255, 255, .66);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 46ch
}

.article-cta .ac-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: transform .15s, background .15s
}

.article-cta .ac-btn:hover {
  background: var(--accent-600);
  transform: translateY(-1px)
}

.article-cta .ac-btn .icon {
  width: 18px;
  height: 18px
}

/* breadcrumbs */
.crumbs {
  border-bottom: 1px solid var(--border);
  background: #fff
}

.crumbs .wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-block: 12px;
  flex-wrap: wrap;
  font-size: 13px
}

.crumbs a {
  color: var(--muted);
  font-weight: 500;
  transition: color .15s
}

.crumbs a:hover {
  color: var(--accent-600)
}

.crumbs .icon {
  width: 14px;
  height: 14px;
  color: var(--muted-2);
  flex: none
}

.crumbs .cur {
  color: var(--text);
  font-weight: 600
}

/* related generators */
.related-sec .band-head {
  margin-bottom: 34px
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 0 auto
}

.related-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s
}

.related-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  transform: translateY(-2px)
}

.related-ic {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff
}

.related-ic .icon {
  width: 24px;
  height: 24px
}

.related-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0
}

.related-txt b {
  color: var(--text);
  font-size: 16px;
  font-weight: 700
}

.related-txt span {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45
}

.related-arw {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted-2);
  margin-left: auto;
  transition: color .15s, transform .15s
}

.related-card:hover .related-arw {
  color: var(--accent);
  transform: translateX(3px)
}

@media(max-width:620px) {
  .related-grid {
    grid-template-columns: 1fr
  }
}

.article-body img {
  max-width: 100%;
}
/* Article tables & ordered lists */
.article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body ol li { margin-bottom: 8px; line-height: 1.65; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.article-body th, .article-body td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.article-body th { font-weight: 600; background: var(--surface); }
@media (max-width: 640px) { .article-body table { display: block; overflow-x: auto; } }

/* Cross-link blocks and guide text */
.xl-sec .band-head { margin-bottom: 28px; }
.xl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .xl-grid { grid-template-columns: 1fr; } }
.xl-col { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; }
.xl-col h3 { font-family: var(--display); font-size: 16px; margin: 0 0 12px; letter-spacing: -.01em; }
.xl-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xl-col li { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.xl-col li a { font-weight: 600; color: var(--text); }
.xl-col li a:hover { color: var(--accent-600, #4338ca); text-decoration: underline; }
.xl-col li span { font-size: 13px; }
.guide-body { max-width: 760px; margin: 0 auto; font-size: 16.5px; line-height: 1.75; color: var(--text); }
.guide-body p { margin: 0 0 16px; }
.guide-body h3 { font-family: var(--display); font-size: 19px; margin: 26px 0 10px; letter-spacing: -.01em; }
.guide-body ul { margin: 0 0 16px; padding-left: 22px; }
.guide-body li { margin-bottom: 8px; }

/* ---------- Design & print menu, mobile menu, footer columns ---------- */
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--muted); cursor: pointer; transition: color .15s; }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { color: var(--text); }
.nav-dd-btn svg { transition: transform .15s; }
.nav-dd.open .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-panel { display: none; position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: min(720px, 92vw); background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(20, 22, 31, .28); padding: 22px 24px 14px; z-index: 60; }
.nav-dd.open .nav-dd-panel { display: block; }
@media (min-width: 781px) { .nav-dd:hover .nav-dd-panel { display: block; } .nav-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } }
.nav-dd-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nav-dd-col { display: grid; gap: 4px; align-content: start; }
.nav-dd-title, .nav-m-title { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2, #8b90a3); margin-bottom: 6px; }
.nav-dd-col a { padding: 6px 8px; margin: 0 -8px; border-radius: 8px; color: var(--text) !important; font-size: 14.5px; font-weight: 500; }
.nav-dd-col a:hover { background: var(--surface-2, #f4f5fa); color: var(--accent-600, #4338ca) !important; }
.nav-dd-foot { display: flex; gap: 22px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.nav-dd-foot a { font-size: 14px; font-weight: 600; color: var(--accent-600, #4338ca) !important; }
.nav-toggle { display: none; width: 42px; height: 40px; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .18s, opacity .18s; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile { display: none; border-top: 1px solid var(--border); background: #fff; padding: 12px 16px 18px; max-height: calc(100vh - 64px); overflow: auto; }
.nav-mobile > a { display: block; padding: 11px 6px; font-weight: 600; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--border); }
.nav-mobile-group { padding: 10px 0 6px; display: grid; gap: 14px; }
.nav-m-col { display: grid; gap: 2px; }
.nav-m-col a { padding: 8px 6px; font-size: 15px; color: var(--muted); }
@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .menu-open .nav-mobile { display: block; }
  .nav-cta { padding: 9px 13px; }
}
@media (max-width: 420px) { .nav-cta { display: none; } }

.footer { padding: 46px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-about p { margin: 12px 0 0; max-width: 260px; line-height: 1.5; }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-title { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2, #8b90a3); margin-bottom: 4px; }
.footer-col a { color: var(--muted); font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-copy { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid var(--border); text-align: center; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* home: print section */
.print-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.print-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s; }
.print-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.print-card .use-ic { margin-bottom: 4px; }
.print-card h3 { margin: 0; font-family: var(--display); font-size: 18px; letter-spacing: -.01em; }
.print-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.print-more { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 860px) { .print-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .print-grid { grid-template-columns: 1fr; } }

/* dropdown: tool name + one-line description */
.nav-dd-col a { display: grid; gap: 1px; }
.nav-dd-col a b { font-weight: 600; font-size: 14.5px; }
.nav-dd-col a span { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.nav-dd-cols { grid-template-columns: repeat(3, 1fr); }
.nav-dd-panel { width: min(860px, 94vw); }
.nav-m-col a { display: grid; gap: 0; }
.nav-m-col a b { font-weight: 600; font-size: 15px; color: var(--text); }
.nav-m-col a span { font-size: 12.5px; }

/* tool switcher under the hero of each design & print tool */
.tool-switch { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: flex-start; margin: 0 0 22px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.ts-group { display: grid; gap: 6px; }
.ts-title { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2, #8b90a3); }
.ts-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ts-chip { font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--border); background: #fff; color: var(--muted); transition: all .15s; }
.ts-chip:hover { color: var(--text); border-color: var(--border-strong); }
.ts-chip.cur { background: var(--accent); border-color: var(--accent); color: #fff; }
.ts-all { margin-left: auto; align-self: center; font-size: 13.5px; font-weight: 600; color: var(--accent-600, #4338ca); }

/* hub: jump row */
.dt-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.dt-jump a { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--border); background: #fff; color: var(--text); }
.dt-jump a:hover { border-color: var(--accent); color: var(--accent-600, #4338ca); }

/* home: what BestQR offers */
.map-strip { padding: 56px 0 8px; }
.map-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.map-tile { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s; }
.map-tile:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.map-tile .use-ic { margin: 0; flex: none; }
.map-tile b { display: block; font-family: var(--display); font-size: 16px; letter-spacing: -.01em; }
.map-tile small { display: block; margin-top: 3px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
@media (max-width: 980px) { .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .map-grid { grid-template-columns: 1fr; } }

/* dropdown: the long "labels" group spans the width in three columns */
.nav-dd-col:nth-child(4) { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); column-gap: 22px; padding-top: 6px; border-top: 1px solid var(--border); margin-top: 6px; }
.nav-dd-col:nth-child(4) .nav-dd-title { grid-column: 1 / -1; margin-top: 8px; }

/* home: interactive directory */
.dir-bar { display: grid; gap: 14px; margin-bottom: 22px; }
.dir-search { width: 100%; max-width: 520px; padding: 13px 16px; border: 1px solid var(--border-strong); border-radius: 12px; font: inherit; font-size: 15.5px; background: #fff; }
.dir-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring, #4f46e529); }
.dir-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dir-chip { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer; transition: all .15s; }
.dir-chip span { margin-left: 5px; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.dir-chip:hover { border-color: var(--border-strong); }
.dir-chip.sel { background: var(--text); border-color: var(--text); color: #fff; }
.dir-chip.sel span { color: #cfd2de; }
.dir-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dir-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 15px; background: #fff; border: 1px solid var(--border); border-radius: 14px; color: inherit; transition: transform .15s, border-color .15s, box-shadow .15s; }
.dir-card[hidden] { display: none; }
.dir-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.dir-card .use-ic { width: 38px; height: 38px; margin: 0; flex: none; border-radius: 10px; }
.dir-card b { display: block; font-size: 15px; font-family: var(--display); letter-spacing: -.01em; }
.dir-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.dir-empty { text-align: center; color: var(--muted); margin: 22px 0 0; }
@media (max-width: 1080px) { .dir-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .dir-grid { grid-template-columns: 1fr; } }

/* in-use photo on tool pages */
.inuse { margin: 0; }
.inuse img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-md); }
.inuse figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 14.5px; }

/* toolbox cards (home toolbox strip and the directory) */      
  .tbx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
  }

  @media(max-width:820px) {
  .tbx-grid {
  grid-template-columns: 1fr 1fr
  }
  }

  @media(max-width:520px) {
  .tbx-grid {
  grid-template-columns: 1fr
  }
  }

  .tbx {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, border-color .15s, box-shadow .15s
  }

  .tbx:hover {
  transform: translateY(-3px);
  border-color: var(--b);
  box-shadow: var(--shadow-md)
  }

  .tbx-ic {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--b) 13%, #fff)
  }

  .tbx-ic svg {
  width: 23px;
  height: 23px;
  color: var(--b);
  stroke-width: 2
  }

  .tbx-tx b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -.01em
  }

  .tbx-tx small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px
  }

  .tbx-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-600)
  }

  .tbx-all:hover {
  color: var(--accent)
  }
  
/* directory uses the toolbox card look; hidden cards stay hidden */
.dir-grid .tbx[hidden] { display: none; }
.dir-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .dir-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .dir-grid { grid-template-columns: 1fr; } }

/* home: big print-product tiles */
.big-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.big-card { position: relative; border-radius: 24px; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: #fff; background: #14161f; box-shadow: var(--shadow-md); isolation: isolate; }
.big-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.big-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 12, 20, 0) 8%, rgba(10, 12, 20, .55) 45%, rgba(10, 12, 20, .88) 100%); }
.big-body h3, .big-body p { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.big-card:hover > img { transform: scale(1.04); }
.big-body { padding: 26px 28px 26px; width: 100%; }
.big-body h3 { margin: 0 0 6px; font-family: var(--display); font-size: 28px; letter-spacing: -.02em; }
.big-body p { margin: 0 0 16px; max-width: 460px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.big-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.big-cta { display: inline-flex; gap: 8px; align-items: center; background: #fff; color: #14161f; padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; }
.big-cta:hover { background: #f1f2f7; }
.big-more { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.big-more a { color: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .big-grid { grid-template-columns: 1fr; } .big-card { min-height: 300px; } }

/* home: article tiles with photos */
.post-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s; }
.post-tile:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.post-tile-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2, #f1f2f7); }
.post-tile-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-tile:hover .post-tile-img img { transform: scale(1.04); }
.post-tile-body { display: grid; gap: 6px; padding: 18px 20px 20px; }
.post-tile-body small { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2, #8b90a3); }
.post-tile-body b { font-family: var(--display); font-size: 18px; letter-spacing: -.01em; line-height: 1.25; }
.post-tile-body span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 980px) { .post-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .post-tiles { grid-template-columns: 1fr; } }

/* industry photo cards */
.ind-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ind-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;color:inherit;transition:transform .18s,box-shadow .18s,border-color .18s}
.ind-card:hover{transform:translateY(-3px);border-color:var(--border-strong);box-shadow:var(--shadow-md)}
.ind-card-img{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--surface-2,#f1f2f7)}
.ind-card-img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.ind-card:hover .ind-card-img img{transform:scale(1.04)}
.ind-card-body{display:grid;gap:4px;padding:16px 18px 18px}
.ind-card-body b{font-family:var(--display);font-size:17px;letter-spacing:-.01em}
.ind-card-body small{color:var(--muted);font-size:14px;line-height:1.45}
@media(max-width:900px){.ind-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.ind-grid{grid-template-columns:1fr}}


/* seven industries: one featured card spanning two columns so the grid ends flush */
.ind-feat { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ind-feat .ind-card:first-child { grid-column: span 2; }
.ind-feat .ind-card:first-child .ind-card-img { aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .ind-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ind-feat { grid-template-columns: 1fr; } .ind-feat .ind-card:first-child { grid-column: auto; } .ind-feat .ind-card:first-child .ind-card-img { aspect-ratio: 3 / 2; } }

/* dropdown with five groups: four columns, the long labels group spans the width below */
.nav-dd-panel { width: min(1040px, 94vw); }
.nav-dd-cols { grid-template-columns: repeat(4, 1fr); }
.nav-dd-col:nth-child(4) { grid-column: auto; grid-template-columns: none; border-top: 0; margin-top: 0; padding-top: 0; }
.nav-dd-col:nth-child(4) .nav-dd-title { margin-top: 0; }
.nav-dd-col:nth-child(5) { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); column-gap: 22px; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.nav-dd-col:nth-child(5) .nav-dd-title { grid-column: 1 / -1; margin-top: 8px; }
@media (max-width: 980px) { .nav-dd-cols { grid-template-columns: repeat(2, 1fr); } }

/* "what is inside this code" block */
.payload { margin: 0 0 22px; padding: 16px 18px; background: #14161f; color: #e8eaf6; border-radius: 12px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.payload code { font-family: var(--mono); white-space: pre; }
#inside .inuse { max-width: 980px; margin: 0 auto 36px; }

/* simple data table in guide sections */
.hq-table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.hq-table th, .hq-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.hq-table th { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
