/* BCMaker concept landing page • fully responsive, no CSS framework needed */
:root {
  --navy: #071943;
  --navy-deep: #061632;
  --navy-soft: #19375f;
  --blue: #087aff;
  --blue-deep: #0569dc;
  --blue-light: #e9f5ff;
  --muted: #5d7294;
  --border: #d9eafa;
  --surface: #fff;
  --page: #fbfdff;
  --shadow: 0 16px 40px rgba(23, 93, 171, .09);
  --container: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--page); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--navy); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #79b5ff; outline-offset: 3px; }
.svg-sprite { width: 0; height: 0; position: absolute; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 20px; border-radius: 7px; border: 1px solid transparent; font-size: 14px; font-weight: 700; white-space: nowrap; text-align: center; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button .icon { width: 17px; height: 17px; }
.button-primary { background: linear-gradient(112deg, #168fff 0%, #0067ed 100%); color: #fff; box-shadow: 0 7px 17px rgba(0, 109, 240, .17); }
.button-primary:hover { box-shadow: 0 11px 22px rgba(0, 109, 240, .26); background: linear-gradient(112deg, #087aff, #005bcc); }
.button-outline { color: #0c3f83; border-color: #b9d2f0; background: #fff; box-shadow: 0 3px 12px rgba(28, 85, 146, .04); }
.button-outline:hover { background: #f0f8ff; }
.button-large { min-height: 53px; padding: 15px 25px; font-size: 15px; }
.eyebrow { font-size: 12px; letter-spacing: 2px; font-weight: 760; color: var(--blue); text-transform: uppercase; }

/* Header */
.site-header { position: relative; z-index: 10; background: rgba(255,255,255,.94); box-shadow: 0 1px 0 #ebf4ff; }
.header-inner { height: 83px; display: flex; align-items: center; gap: 30px; }
.brand { font-size: 29px; font-weight: 850; letter-spacing: -1.8px; line-height: 1; color: #0b82f9; white-space: nowrap; }
.brand span { color: #082e62; }
.main-nav { display: flex; gap: clamp(16px, 2.6vw, 35px); align-items: center; margin: 0 auto; }
.main-nav a { font-size: 13px; font-weight: 600; color: #2a4670; padding-block: 14px; position: relative; white-space: nowrap; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active::after { content: ''; position: absolute; height: 2px; background: var(--blue); left: 0; right: 0; bottom: 9px; }
.header-cta { padding: 12px 18px; font-size: 13px; }
.menu-toggle { display: none; border: 1px solid var(--border); background: #fff; color: var(--navy); border-radius: 9px; padding: 10px; }
.menu-toggle .close-icon { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: #f3faff; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('../images/hero-waves.webp') center center / cover no-repeat; }
.hero::after { content: ''; position: absolute; z-index: -1; pointer-events: none; width: 44%; height: 82%; right: -14%; top: -6%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(112,183,251,.08), transparent 60%); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); height: 395px; min-height: 0; gap: 2px; align-items: center; padding: 0; }
.hero-copy { position: relative; z-index: 2; padding: 0; }
.hero-wordmark { font-size: clamp(44px, 4.6vw, 66px); line-height: .9; font-weight: 900; letter-spacing: -2.4px; color: #1e74ff; margin: 0 0 6px; }
.hero-wordmark span { color: #0b2b67; }
.hero h1 { font-size: clamp(19px, 1.85vw, 29px); line-height: 1.02; letter-spacing: -0.9px; margin: 0 0 6px; font-weight: 850; max-width: 430px; }
.hero-description { font-size: 15px; line-height: 1.4; color: #5b7295; max-width: 445px; margin: 0 0 14px; }
.hero-feature-row { display: grid; grid-template-columns: repeat(4, 84px); gap: clamp(10px, 1.2vw, 18px); align-items: start; }
.hero-feature-item { width: 84px; text-align: center; color: #4e6487; }
.hero-feature-icon { width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 13px; background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(232,242,255,.95)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); display: grid; place-items: center; color: #197cff; }
.hero-feature-icon .icon { width: 27px; height: 27px; stroke-width: 1.9; }
.hero-feature-item strong { display: block; font-size: 12.5px; line-height: 1.3; font-weight: 500; }
.hero-art { min-width: 0; height: 395px; display: flex; align-items: center; justify-content: flex-end; margin-right: 0; padding: 0; position: relative; overflow: visible; }
/* Fade just the leftmost 10% of the new WEBP image into the full-width waves.
   All remaining pixels are shown at their original sharpness and opacity. */
.hero-illustration { display: block; height: 395px; width: auto; max-height: 395px; max-width: 100%; object-fit: contain; border: 0; border-radius: 0; transform: none; filter: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 95%, transparent 100%);
}

/* Barcode type cards */
.barcode-types { padding: 15px 0 36px; background: linear-gradient(#eef8ff, #f8fcff); }
.barcode-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.barcode-card { background: white; border: 1px solid #dcecfb; border-radius: 12px; min-width: 0; padding: 17px 18px 19px; text-align: center; box-shadow: 0 12px 24px rgba(43, 112, 184, .035); transition: transform .25s, box-shadow .25s; }
.barcode-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.barcode-card-image { height: 85px; display: flex; align-items: center; justify-content: center; margin-bottom: 5px; }
.barcode-card-image img { height: 79px; width: auto; max-width: 94%; object-fit: contain; }
.barcode-card-image.pdf-image img { width: 175px; height: 64px; }
.barcode-card-image.linear-image img { width: 174px; height: 67px; }
.barcode-card h2 { font-size: 18px; margin: 4px 0 5px; line-height: 1.22; letter-spacing: -.35px; }
.barcode-card p { font-size: 13px; color: var(--muted); max-width: 230px; margin: 0 auto; line-height: 1.48; }

/* How It Works — optimized WEBP illustration, no SVG diagram */
.how-section { padding: 58px 0 64px; background: #f9fcff; }
.section-title { text-align: center; max-width: 815px; margin: 0 auto 24px; }
.section-title h2 { font-size: clamp(30px, 3.1vw, 42px); line-height: 1.14; letter-spacing: -1.15px; margin: 8px 0 8px; }
.section-title p { font-size: 15px; color: var(--muted); margin: 0 auto; max-width: 670px; }
.workflow-container { width: min(1500px, calc(100% - 48px)); margin-inline: auto; }
.workflow-figure { margin: 0; }
.workflow-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-radius: 10px; }
.workflow-image-link { display: block; }
.workflow-image { display: block; width: 100%; max-width: none; height: auto; object-fit: contain; }
.workflow-mobile-hint { display: none; }

/* Benefits */
.benefits-section { background: linear-gradient(#fbfdff, #fff); padding: 53px 0 68px; }
.benefits-section .section-title { margin-bottom: 28px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
.benefit-card { background: white; border: 1px solid #daeafa; border-radius: 10px; padding: 21px 23px 22px; box-shadow: 0 8px 25px rgba(23,94,171,.035); }
.benefit-icon { color: var(--blue); width: 40px; height: 40px; stroke-width: 1.95; margin-bottom: 13px; }
.benefit-card h3 { font-size: 17px; margin: 0 0 7px; line-height: 1.3; letter-spacing: -.2px; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.48; }

/* Why online barcode generation — practical advantages */
.online-solution-section { position: relative; padding: 62px 0 70px; background: linear-gradient(160deg, #eef7ff 0%, #f7fbff 56%, #ffffff 100%); border-top: 1px solid #e5f0fc; }
.online-solution-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.online-solution-heading h2 { margin: 9px 0 10px; font-size: clamp(29px, 3.1vw, 41px); font-weight: 830; line-height: 1.18; letter-spacing: -1.1px; }
.online-solution-heading p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; max-width: 750px; }
.online-solution-cta { flex: 0 0 auto; margin-bottom: 5px; }
.online-solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.online-solution-card { background: rgba(255,255,255,.94); border: 1px solid #d8e9fb; border-radius: 11px; padding: 18px 18px 18px; box-shadow: 0 8px 20px rgba(40,113,192,.04); min-width: 0; transition: border-color .2s, transform .2s, box-shadow .2s; }
.online-solution-card:hover { border-color: #a8d1fa; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(40,113,192,.095); }
.online-solution-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 10px; background: linear-gradient(145deg,#e4f2ff,#f4f9ff); color: #087aff; border: 1px solid #dbecff; }
.online-solution-icon .icon { width: 20px; height: 20px; stroke-width: 1.85; }
.online-solution-card h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.25; letter-spacing: -.16px; }
.online-solution-card p { margin: 0; color: #597192; font-size: 12.5px; line-height: 1.5; }
.online-solution-card p code { font-size: .94em; padding: 1px 4px; background: #eaf3ff; color: #144e90; border-radius: 4px; }
.online-solution-formats { display: flex; align-items: flex-start; gap: 19px; margin-top: 17px; padding: 25px 28px; border-radius: 14px; border: 1px solid #b7d8f7; background: linear-gradient(110deg,#e0f0ff,#f2f8ff 80%); }
.online-solution-formats-icon { flex: 0 0 54px; width: 54px; height: 54px; background: #fff; color: #0d78ea; border: 1px solid #d1e7fc; display: grid; place-items: center; border-radius: 14px; box-shadow: 0 7px 21px rgba(27,102,186,.07); }
.online-solution-formats-icon .icon { width: 28px; height: 28px; }
.online-solution-formats-content { min-width: 0; }
.online-solution-formats h3 { margin: 0 0 5px; font-size: 20px; letter-spacing: -.35px; }
.online-solution-formats p { font-size: 13.5px; line-height: 1.55; color: #557192; margin: 0 0 14px; }
@media (max-width: 1020px) {
  .online-solution-heading { align-items: start; }
  .online-solution-cta { margin-top: 24px; }
  .online-solution-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 660px) {
  .online-solution-section { padding: 45px 0 52px; }
  .online-solution-heading { display: block; margin-bottom: 21px; }
  .online-solution-heading h2 { font-size: 29px; }
  .online-solution-heading p { font-size: 13px; }
  .online-solution-cta { margin-top: 15px; }
  .online-solution-grid { grid-template-columns: 1fr; gap: 10px; }
  .online-solution-card { padding: 16px 16px; }
  .online-solution-icon { width: 36px; height: 36px; margin-bottom: 8px; }
  .online-solution-card h3 { font-size: 14px; }
  .online-solution-card p { font-size: 12px; }
  .online-solution-formats { padding: 19px 17px; gap: 11px; }
  .online-solution-formats-icon { flex-basis: 39px; width: 39px; height: 39px; border-radius: 11px; }
  .online-solution-formats-icon .icon { width: 22px; height: 22px; }
  .online-solution-formats h3 { font-size: 17px; }
  .online-solution-formats p { font-size: 12px; }
}

/* Footer */
.site-footer { color: #ecf6ff; background: radial-gradient(circle at 0 0, #144375 0%, transparent 34%), linear-gradient(110deg,#0b2f5d, #061b38); }
.footer-top { display: grid; grid-template-columns: 1.8fr .8fr 1fr .9fr 1.25fr; gap: 29px; padding: 39px 0 30px; }
.footer-brand { display: inline-block; font-size: 29px; font-weight: 850; letter-spacing: -1.4px; line-height: 1; color: #fff; }
.footer-brand span { color: #68b7ff; }
.footer-about p { color: #abc5e3; margin: 10px 0 0; font-size: 12px; max-width: 260px; }
.footer-links, .footer-action { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.site-footer h3 { color: white; font-size: 12px; margin: 0 0 6px; font-weight: 750; }
.footer-links a, .footer-action p { font-size: 12px; color: #b5cae1; line-height: 1.48; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-action p { margin: 0 0 5px; }
.footer-action .button { min-height: 36px; padding: 9px 15px; font-size: 12px; }
.footer-bottom { border-top: 1px solid rgba(219,234,252,.12); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 0 21px; }
.footer-bottom p { margin: 0; font-size: 11px; color: #85a5ca; }

/* Footer cross-site navigation */
.footer-other-sites { display: flex; align-items: center; gap: 26px; border-top: 1px solid rgba(219,234,252,.12); padding: 16px 0; }
.footer-other-sites h3 { margin: 0; flex: 0 0 auto; color: #fff; font-size: 13px; }
.footer-sites-links { display: flex; flex-wrap: wrap; gap: 9px 26px; align-items: center; }
.footer-sites-links a { color: #b5d4f3; font-size: 13px; line-height: 1.45; transition: color .2s; }
.footer-sites-links a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 660px) {
  .footer-other-sites { align-items: flex-start; flex-direction: column; gap: 10px; padding: 15px 0; }
  .footer-sites-links { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Tablet */
@media (max-width: 1160px) {
  .container { width: min(var(--container), calc(100% - 54px)); }
  .header-inner { gap: 19px; }
  .brand { font-size: 27px; }
  .main-nav { gap: 17px; }
  .hero-layout { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 4px; height: auto; min-height: 0; padding: 0; }
  .hero-wordmark { font-size: clamp(42px, 4.7vw, 60px); margin-bottom: 6px; }
  .hero h1 { font-size: clamp(18px, 1.95vw, 26px); }
  .hero-description { font-size: 14px; max-width: 405px; }
  .hero-feature-row { grid-template-columns: repeat(4, 74px); gap: 8px; }
  .hero-feature-item { width: 74px; }
  .hero-feature-icon { width: 48px; height: 48px; }
  .hero-art { height: auto; margin-right: 0; padding: 0; overflow: visible; }
  .hero-illustration { height: auto; width: 50%; max-height: none; max-width: 50%; transform: none; }
  .benefit-card { padding-inline: 18px; }
}
@media (max-width: 920px) {
  .workflow-container { width: calc(100% - 36px); }
  .workflow-scroll { border: 1px solid #e0ebf7; background: white; }
  .workflow-image { width: 1150px; min-width: 1150px; }
  .workflow-mobile-hint { display: block; margin-top: 9px; color: #637998; font-size: 12px; text-align: center; }

  .main-nav { gap: 13px; }
  .main-nav a { font-size: 12px; }
  .header-cta { display: none; }
  .hero-layout { grid-template-columns: minmax(0,1fr); padding: 0; min-height: 0; }
  .hero-copy { text-align: center; padding: 0; }
  .hero-wordmark { font-size: clamp(64px, 11vw, 86px); margin: 0 0 14px; }
  .hero h1, .hero-description { margin-left: auto; margin-right: auto; }
  .hero h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 14px; }
  .hero-description { max-width: 560px; margin-bottom: 16px; }
  .hero-feature-row { justify-content: center; grid-template-columns: repeat(4, 84px); gap: 14px; }
  .hero-feature-item { width: 74px; }
  .hero-art { width: 100%; max-width: 720px; margin: 0 auto 0; padding: 0; justify-content: center; }
  .hero-illustration { height: auto; width: 50%; max-height: none; max-width: 50%; transform: none; }
  .barcode-grid, .benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-top { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
  .footer-about { grid-column: 1 / 3; }
}
@media (max-width: 660px) {
  .workflow-container { width: calc(100% - 24px); }
  .workflow-image { width: 1000px; min-width: 1000px; }
  .workflow-scroll { border-radius: 9px; }

  html { scroll-padding-top: 75px; }
  .container { width: calc(100% - 34px); }
  .header-inner { height: 69px; }
  .brand { font-size: 25px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { display: none; position: absolute; left: 0; top: 69px; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 14px 25px rgba(10,61,133,.11); padding: 14px 18px; flex-direction: column; gap: 0; align-items: stretch; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 15px; font-size: 14px; }
  .main-nav a.active::after { display: none; }
  .menu-toggle[aria-expanded="true"] .open-icon { display: none; }
  .menu-toggle[aria-expanded="true"] .close-icon { display: block; }
  .hero-layout { padding: 0; gap: 6px; }
  .hero-wordmark { font-size: clamp(48px, 14vw, 72px); letter-spacing: -2.5px; margin-bottom: 12px; }
  .hero h1 { font-size: clamp(26px, 6.9vw, 34px); line-height: 1.08; letter-spacing: -1px; margin: 0 auto 10px; }
  .hero-description { font-size: 14px; line-height: 1.35; margin-bottom: 14px; max-width: 360px; }
  .hero-feature-row { justify-content: center; grid-template-columns: repeat(4, minmax(0, 76px)); gap: 10px; }
  .hero-feature-item { width: 76px; }
  .hero-feature-icon { width: 50px; height: 50px; border-radius: 12px; margin-bottom: 8px; }
  .hero-feature-icon .icon { width: 25px; height: 25px; }
  .hero-feature-item strong { font-size: 12px; }
  .hero-art { max-width: 100%; margin-top: 4px; }
  .hero-illustration { width: 50%; max-width: 50%; }
  .hero::before { background-position: 48% center; }
  .barcode-types { padding: 7px 0 28px; }
  .barcode-grid, .benefits-grid { gap: 11px; }
  .barcode-card { padding: 14px 10px 17px; }
  .barcode-card-image { height: 73px; }
  .barcode-card-image img { height: 65px; }
  .barcode-card-image.pdf-image img, .barcode-card-image.linear-image img { width: 145px; }
  .barcode-card h2 { font-size: 16px; }
  .barcode-card p { font-size: 12px; }
  .how-section { padding: 44px 0; }
  .section-title { margin-bottom: 28px; }
  .section-title h2 { font-size: 30px; letter-spacing: -1px; }
  .section-title p { font-size: 13px; }
  .flow-stage-head { margin-bottom: 8px; }
  .benefits-section { padding: 43px 0 49px; }
  .benefit-card { padding: 17px 14px; }
  .benefit-icon { width: 34px; height: 34px; }
  .benefit-card h3 { font-size: 14px; }
  .benefit-card p { font-size: 12px; }
  .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); padding-top: 33px; gap: 24px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-action { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; gap: 5px; }
}
@media (max-width: 395px) {
  .hero-illustration { width: 50%; max-width: 50%; }
  .barcode-card-image.pdf-image img, .barcode-card-image.linear-image img { width: 130px; }
  .barcode-card h2 { font-size: 14px; }
  .barcode-card p { font-size: 11px; }
  .button-large { padding: 11px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Clickable barcode cards */
.barcode-card-action { padding: 0; overflow: hidden; }
.barcode-card-trigger { width: 100%; padding: 17px 18px 17px; background: transparent; border: 0; border-radius: inherit; display: flex; flex-direction: column; align-items: center; color: inherit; text-align: center; height: 100%; }
.barcode-card-trigger p { flex: 1; }
.barcode-card-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue-deep); font-weight: 750; font-size: 12px; margin-top: 12px; }
.barcode-card-link .icon { width: 14px; height: 14px; }
.barcode-card-action:hover .barcode-card-link { text-decoration: underline; }

/* Shared QR Code / DataMatrix / PDF417 / Linear Barcode modal */
.qr-modal { width: min(700px, calc(100vw - 32px)); max-height: min(92dvh, 1020px); padding: 0; border: 1px solid #d8e8f8; border-radius: 18px; background: #fff; color: var(--navy); box-shadow: 0 26px 90px rgba(5, 24, 55, .28); overflow: auto; overscroll-behavior: contain; }
.qr-modal::backdrop { background: rgba(4,19,45,.70); backdrop-filter: blur(5px); }
/* Give the Linear Barcode Advanced Settings labels room to stay on one line. */
#linear-modal { width: min(760px, calc(100vw - 32px)); }

.qr-dialog-shell { min-width: 0; }
.qr-dialog-header { position: sticky; top: 0; z-index: 4; display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 18px 26px 16px; background: linear-gradient(115deg, #f4f9ff, #fff); border-bottom: 1px solid #e1ebf7; }
.qr-dialog-title-group { display: flex; align-items: center; gap: 15px; min-width: 0; }
.qr-dialog-icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; background: #e1efff; border-radius: 13px; color: #0a79ed; }
.qr-dialog-icon .icon { width: 29px; height: 29px; }
.qr-dialog-eyebrow { color: var(--blue-deep); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.qr-dialog-header h2 { margin: 1px 0 2px; font-size: 26px; line-height: 1.2; letter-spacing: -.7px; }
.qr-dialog-header p { margin: 0; color: var(--muted); font-size: 13px; }
.qr-dialog-close { flex: none; display: grid; place-items: center; width: 36px; height: 36px; background: #fff; border: 1px solid #d7e5f7; border-radius: 9px; color: #496387; }
.qr-dialog-close:hover { color: #0b73e5; background: #eef7ff; }
.qr-generator-form { padding: 20px 26px 25px; }
.qr-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 6px; align-items: start; }
.qr-field { min-width: 0; }
.qr-field-wide { grid-column: 1 / -1; }
.qr-field label { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; font-size: 12px; font-weight: 700; margin-bottom: 5px; color: #1b3964; }
.qr-field label code { font-family: ui-monospace, Consolas, monospace; font-size: 10px; color: #8396b0; font-weight: 500; }
/* Three snug columns: fields fill their compact cells. The Data to Encode field spans all three columns, ending precisely at the third control edge. */
.qr-field > input, .qr-field select, .qr-field textarea, .qr-color-input { display: block; width: 100%; border: 1px solid #ccdff3; border-radius: 7px; background: #fff; color: #1b3964; font-size: 13px; min-height: 35px; }
.qr-field > input, .qr-field select, .qr-field textarea { padding: 6px 10px; }
.qr-field textarea { min-height: 58px; resize: vertical; line-height: 1.35; }
.qr-field > input:focus, .qr-field select:focus, .qr-field textarea:focus, .qr-color-input:focus-within { outline: 2px solid #aed5ff; border-color: #318efa; outline-offset: 1px; }
.qr-field select { cursor: pointer; }
.qr-color-input { display: flex; align-items: center; gap: 6px; padding: 3px 7px 3px 5px; }
.qr-color-swatch { flex: 0 0 32px; width: 32px; height: 26px; padding: 2px; border: 1px solid #c3d5ea; border-radius: 6px; background: white; }
.qr-color-swatch:hover, .qr-color-dropdown:hover { border-color: #1684fa; background: #eff7ff; }
.qr-swatch-fill { display: block; width: 100%; height: 100%; border: 1px solid #d4dce7; border-radius: 3px; }
.qr-color-input .qr-hex-prefix { color: #7690b2; font-size: 15px; }
.qr-color-input input[name] { flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #1b3964; font-family: ui-monospace, Consolas, monospace; font-size: 12px; text-transform: uppercase; }
.qr-color-input input[aria-invalid=true] { color: #b42318; }
.qr-color-dropdown { flex: 0 0 25px; height: 26px; display: grid; place-items: center; background: white; color: #0a73eb; border: 1px solid transparent; border-radius: 6px; }
.qr-color-dropdown .icon { width: 16px; height: 16px; }
.qr-color-palette { margin-top: 8px; padding: 12px; background: #f5faff; border: 1px solid #cbdff6; border-radius: 10px; box-shadow: 0 8px 18px rgba(15,87,169,.08); }
.qr-color-palette[hidden] { display: none; }
.advanced-settings-panel { position: relative; border: 1px solid #cfe4fb; border-radius: 16px; background: linear-gradient(135deg, #f3f9ff 0%, #eaf4ff 100%); overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.95); }
.advanced-settings-panel::before { content: ''; position: absolute; inset: auto -30px -30px auto; width: 180px; height: 180px; background: radial-gradient(circle, rgba(50,142,250,.12), rgba(50,142,250,0) 68%); pointer-events: none; }
.advanced-settings-panel::after { content: ''; position: absolute; left: -24px; top: -24px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(76,160,255,.16), rgba(76,160,255,0) 70%); pointer-events: none; }
.advanced-settings-summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; user-select: none; position: relative; z-index: 1; }
.advanced-settings-summary::-webkit-details-marker { display: none; }
.advanced-settings-icon { width: 48px; height: 48px; border-radius: 14px; display: inline-grid; place-items: center; color: #1f7cff; background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(220,237,255,.9)); box-shadow: 0 10px 22px rgba(52,121,210,.12); flex: 0 0 auto; }
.advanced-settings-icon .icon { width: 24px; height: 24px; }
.advanced-settings-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.advanced-settings-copy strong { font-size: 16px; line-height: 1.2; color: #103768; }
.advanced-settings-copy small { font-size: 12px; line-height: 1.45; color: #6280a6; }
.advanced-settings-chevron { margin-left: auto; width: 36px; height: 36px; border-radius: 12px; display: inline-grid; place-items: center; color: #5287c8; background: rgba(255,255,255,.78); border: 1px solid rgba(185,213,246,.9); transition: transform .22s ease, background-color .22s ease; }
.advanced-settings-chevron .icon { width: 18px; height: 18px; }
.details[open] > .advanced-settings-summary .advanced-settings-chevron, .advanced-settings-panel[open] > .advanced-settings-summary .advanced-settings-chevron { transform: rotate(180deg); background: rgba(255,255,255,.95); }
.advanced-settings-body { padding: 0 18px 18px; position: relative; z-index: 1; }
.advanced-settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 6px; }
.qr-palette-heading { font-size: 12px; font-weight: 700; color: #25476f; margin-bottom: 9px; }
.qr-palette-swatches { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 7px; }
.qr-preset-color { min-width: 0; height: 31px; border: 1px solid #b8c9de; border-radius: 6px; padding: 0; transition: outline-color .1s, transform .1s; }
.qr-preset-color:hover { transform: translateY(-1px); outline: 2px solid #9acaff; }
.qr-preset-color.is-selected { outline: 3px solid #1585ff; outline-offset: 1px; }
.qr-custom-color-label { display: flex !important; align-items: center; justify-content: space-between; margin: 12px 0 0 !important; font-size: 12px !important; }
.qr-custom-color-label input[type=color] { width: 64px; height: 34px; padding: 2px 4px; border: 1px solid #b8c9de; background: white; border-radius: 6px; cursor: pointer; }
.qr-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid #e7eff8; margin-top: 18px; padding-top: 16px; }
.qr-demo-label { display: inline-flex; align-items: center; gap: 7px; color: #7890ad; font-size: 12px; }
.qr-demo-label .icon { width: 15px; height: 15px; }
.qr-submit { min-width: 208px; }
.qr-submit:disabled { cursor: wait; opacity: .75; transform: none; }
.qr-result { border-top: 1px solid #e3ecf7; margin-top: 24px; padding-top: 22px; }
.qr-result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 15px; }
.qr-result-head h3 { font-size: 17px; line-height: 1.2; margin: 0; }
.qr-result-head a { font-size: 12px; font-weight: 700; color: var(--blue-deep); }
.qr-result-head a:hover { text-decoration: underline; }
.qr-result-preview { min-height: 160px; padding: 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(120deg, #f7fbff, #edf6ff); border: 1px solid #dceafa; border-radius: 12px; }
.qr-result-preview img { display: block; width: auto; max-width: 100%; max-height: 420px; height: auto; image-rendering: pixelated; border: 10px solid white; box-shadow: 0 6px 20px rgba(28,86,150,.10); }
.qr-result-preview img[hidden] { display: none; }
.qr-result-loading { color: #45668c; font-size: 14px; }
.qr-result-message { color: #b33b3b; margin: 10px 0 0; font-size: 12px; }
.qr-result-message:empty { display: none; }
body.qr-modal-open { overflow: hidden; }
/* Two compact columns for tablets; desktop generator dialogs use three. */
@media (min-width: 661px) and (max-width: 840px) {
  .qr-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #linear-modal .advanced-settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qr-modal { width: min(700px, calc(100vw - 28px)); }
  .qr-dialog-header { padding: 18px 21px 16px; }
  .qr-generator-form { padding: 19px 21px 24px; }
}
@media (max-width: 660px) {
  .barcode-card-trigger { padding: 14px 9px 15px; }
  .barcode-card-link { font-size: 10px; }
  .qr-modal { width: calc(100vw - 16px); max-height: 96dvh; border-radius: 12px; }
  #linear-modal { width: calc(100vw - 16px); }
  .qr-dialog-header { padding: 17px 15px; }
  .qr-dialog-title-group { gap: 10px; }
  .qr-dialog-icon { width: 42px; height: 42px; }
  .qr-dialog-icon .icon { width: 22px; height: 22px; }
  .qr-dialog-header h2 { font-size: 21px; }
  .qr-dialog-header p { font-size: 11px; }
  .qr-generator-form { padding: 19px 15px 23px; }
  .qr-form-grid { gap: 12px; grid-template-columns: 1fr; }
  .advanced-settings-summary { padding: 14px; gap: 10px; }
  .advanced-settings-icon { width: 42px; height: 42px; border-radius: 12px; }
  .advanced-settings-copy strong { font-size: 15px; }
  .advanced-settings-copy small { font-size: 11px; }
  .advanced-settings-body { padding: 0 14px 14px; }
  .advanced-settings-grid { grid-template-columns: 1fr; gap: 12px; }
  .qr-field label { font-size: 12px; }
  .qr-field label code { font-size: 10px; }
  .qr-field > input, .qr-field select, .qr-field textarea, .qr-color-input { width: 100%; font-size: 12px; }
  .qr-form-footer { align-items: stretch; }
  .qr-submit { width: 100%; }
  .qr-result-preview { padding: 13px; }
}
@media (max-width: 390px) {
  .qr-field-wide { grid-column: auto; }
}

/* Barcode format cards: title above graphic */
.barcode-card-trigger > h2 { margin: 2px 0 11px; line-height: 1.25; }
.barcode-card-trigger > .barcode-card-image { margin: 0 0 12px; }
@media (max-width: 660px) {
  .barcode-card-trigger > h2 { margin: 2px 0 8px; }
  .barcode-card-trigger > .barcode-card-image { margin-bottom: 8px; }
}


.workflow-container { width: min(100%, 1320px); margin: 0 auto; }
.workflow-figure { margin: 0; }
.workflow-scroll { width: min(100%, 1320px); margin: 0 auto; overflow: hidden; border-radius: 18px; border: 1px solid #dcecfb; background: rgba(255,255,255,.75); box-shadow: 0 12px 30px rgba(43,112,184,.05); }
.workflow-image { display: block; width: 100%; height: auto; }
.workflow-mobile-hint { display: none; }
@media (max-width: 760px) {
  .workflow-scroll { border-radius: 14px; }
}

/* Extended navigation (including Pricing and Support) */
@media (min-width: 851px) and (max-width: 1200px) {
  .main-nav { gap: 11px; }
  .main-nav a { font-size: 12px; }
  .header-cta { display: none; }
  .header-inner { gap: 13px; }
}
@media (min-width: 661px) and (max-width: 850px) {
  .header-inner { height: 72px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { display: none; position: absolute; left: 0; top: 72px; right: 0; background: white; border-bottom: 1px solid var(--border); box-shadow: 0 14px 25px rgba(10,61,133,.11); padding: 14px 18px; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 15px; font-size: 14px; }
  .main-nav a.active::after { display: none; }
  .menu-toggle[aria-expanded="true"] .open-icon { display:none; }
  .menu-toggle[aria-expanded="true"] .close-icon { display:block; }
}


/* Prominent, modern navigation — shared by home, docs, orders and support. */
.site-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #daeafa;
  box-shadow: 0 7px 22px rgba(16,72,134,.055);
}
.header-inner { gap: 22px; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 0 auto;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 43px;
  padding: 10px 17px;
  border: 1px solid #dfecfa;
  border-radius: 12px;
  background: #f5faff;
  color: #194574;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -.12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.main-nav a:hover {
  color: #006be7;
  background: #e7f3ff;
  border-color: #a4d1ff;
  box-shadow: 0 5px 13px rgba(10,114,227,.10);
  transform: translateY(-1px);
}
.main-nav a.active,
.main-nav a[aria-current="page"],
.main-nav a.active:hover {
  border-color: #006ee9;
  background: linear-gradient(135deg,#248fff,#0067e8);
  color: #fff;
  box-shadow: 0 6px 15px rgba(0,107,224,.20);
  transform: none;
}
.main-nav a.active::after { display: none; }
.main-nav a:focus-visible, .menu-toggle:focus-visible { outline: 3px solid #79b5ff; outline-offset: 3px; }
.menu-toggle {
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 43px;
  color: #086cdd;
  border: 1px solid #a7cdf8;
  border-radius: 12px;
  background: #edf6ff;
  box-shadow: 0 3px 10px rgba(18,113,208,.08);
  transition: background-color .2s, color .2s;
}
.menu-toggle:hover { color: #fff; background: #127df2; }
.menu-toggle[aria-expanded="true"] { background: #127df2; color: #fff; }
@media (min-width: 1061px) and (max-width: 1200px) {
  .header-inner { gap: 15px; }
  .main-nav { gap: 7px; }
  .main-nav a { min-height: 41px; padding: 10px 12px; font-size: 14px; }
}
@media (max-width: 1060px) {
  .header-inner { height: 72px; }
  .main-nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 2px);
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 13px;
    margin: 0;
    border: 1px solid #d4e7fa;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 35px rgba(9,60,130,.17);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { min-height: 48px; justify-content: flex-start; padding: 12px 16px; font-size: 15px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
}
@media (max-width: 660px) {
  .header-inner { height: 69px; }
  .main-nav { top: calc(100% + 2px); }
  .main-nav a { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav a, .menu-toggle { transition: none; }
}

/* Brand credit: second line under www.BCMaker.com in the shared header */
.header-brand-group { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-width: 0; }
.header-brand-group > .brand { display: block; line-height: 1.02; }
.header-brand-group > .powered-by { display: block; margin-left: 1px; font-size: 11.5px; font-weight: 500; line-height: 1.3; white-space: nowrap; letter-spacing: 0; color: #6c8099; }
.header-brand-group > .powered-by span { color: #087aff; font-weight: 650; }
.header-brand-group > .powered-by:hover span { text-decoration: underline; color: #005dc9; }
.header-brand-group > .powered-by:focus-visible { outline: 2px solid #79b5ff; outline-offset: 2px; border-radius: 2px; }
@media (max-width: 1200px) {
  .header-brand-group > .brand { font-size: 26px; }
  .header-brand-group > .powered-by { font-size: 10.5px; }
}
@media (max-width: 660px) {
  .header-brand-group { gap: 3px; }
  .header-brand-group > .brand { font-size: clamp(21px, 5.5vw, 25px); }
  .header-brand-group > .powered-by { font-size: 10px; }
}


/* Account sign-in bar — displayed beneath the main navigation on every page. */
.account-strip { position: relative; z-index: 4; background: linear-gradient(105deg, #f5faff 0%, #edf5ff 100%); border-bottom: 1px solid #d6e7f8; box-shadow: 0 3px 12px rgba(19, 77, 141, .035); }
.account-strip-inner { min-height: 60px; padding-block: 10px; display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; }
.account-prompt { display: flex; align-items: center; gap: 9px; font-size: 13px; white-space: nowrap; color: #385578; }
.account-prompt-icon { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #cde2fa; border-radius: 9px; background: white; color: #0a7afe; font-size: 18px; font-weight: 800; flex: none; }
.account-prompt strong { color: #0c356c; font-weight: 800; }
.account-prompt a { color: #db6619; font-weight: 800; text-decoration: underline; text-decoration-color: #ffbf88; text-underline-offset: 3px; }
.account-prompt a:hover { color: #af4b0d; }
.account-signin { display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 9px; margin: 0; min-width: 0; }
.account-signin label { font-size: 12px; font-weight: 750; color: #294a75; white-space: nowrap; }
.account-signin input { width: 145px; min-width: 0; height: 34px; border: 1px solid #c4daf3; border-radius: 7px; background: #fff; color: #112d59; padding: 6px 10px; font-size: 12px; box-shadow: inset 0 1px 3px rgba(10,65,124,.035); }
.account-signin input::placeholder { color: #92a3b9; }
.account-signin input:focus { outline: 2px solid #9dceff; outline-offset: 1px; border-color: #087aff; }
.account-submit { border: 0; flex: none; height: 34px; padding: 0 19px; border-radius: 7px; background: linear-gradient(115deg,#208aff,#0467e8); color: white; font-size: 12px; font-weight: 800; box-shadow: 0 4px 10px rgba(15,113,232,.15); transition: filter .2s ease, transform .2s ease; }
.account-submit:hover { filter: brightness(.94); transform: translateY(-1px); }
.account-forgot { color: #4e6f96; font-size: 12px; white-space: nowrap; text-decoration: underline; text-decoration-color: #b2c9e2; text-underline-offset: 3px; }
.account-forgot:hover { color: #0675f2; }
@media (max-width: 1080px) {
  .account-strip-inner { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding-block: 10px; }
  .account-prompt { justify-content: center; }
  .account-signin { justify-content: center; }
}
@media (max-width: 660px) {
  .account-strip-inner { align-items: stretch; gap: 9px; padding-block: 12px; }
  .account-prompt { width: 100%; justify-content: center; }
  .account-signin { display: grid; width: 100%; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px 10px; justify-content: stretch; }
  .account-signin label { align-self: end; }
  .account-signin label[for="account-signin-password"] { grid-column: 2; grid-row: 1; }
  .account-signin label[for="account-signin-email"] { grid-column: 1; grid-row: 1; }
  .account-signin input { width: 100%; height: 38px; font-size: 13px; }
  .account-signin #account-signin-email { grid-column: 1; grid-row: 2; }
  .account-signin #account-signin-password { grid-column: 2; grid-row: 2; }
  .account-submit { grid-column: 1; grid-row: 3; width: 100%; height: 38px; }
  .account-forgot { grid-column: 2; grid-row: 3; align-self: center; text-align: center; font-size: 12px; }
}

.demo-generator-url{margin-top:16px}.demo-generator-url label{display:block;margin-bottom:8px;color:#16395f;font-size:13px;font-weight:700}.demo-generator-url textarea{display:block;width:100%;box-sizing:border-box;min-height:82px;resize:vertical;padding:12px 14px;border:1px solid #c9def5;border-radius:10px;background:#f5f9ff;color:#17599c;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;white-space:pre-wrap;user-select:text}.demo-generator-url textarea:focus{outline:2px solid #1686f9;outline-offset:2px}

#linear-result .qr-result-message{font-size:14px;line-height:1.6;margin:0;padding:24px;text-align:center;max-width:100%}

.online-format-list p{margin:0;color:#244f80;font-size:14px;line-height:1.85;overflow-wrap:break-word}.online-format-list p+p{margin-top:12px}.online-format-list strong{font-weight:750;color:#123c6b;margin-right:5px}
