/* ==========================================================================
   ComandaPrint.ro — brand stylesheet
   TIPOMED print & finishing
   ========================================================================== */

:root {
  --ink: #161615;
  --ink-2: #292927;
  --ink-3: #51514d;
  --muted: #797972;
  --paper: #f6f3ec;
  --paper-2: #eee9df;
  --paper-3: #e5dfd3;
  --white: #fffdf9;
  --line: #ded7c9;
  --line-dark: rgba(255, 255, 255, 0.15);
  --red: #e30613;
  --red-deep: #bd020d;
  --red-soft: #ffe8e8;
  --green: #147a55;
  --green-soft: #e3f4ea;
  --amber: #b37a10;
  --amber-soft: #fbf0d5;
  --grey-brand: #878786;
  --cyan: #00a9c4;
  --magenta: #d6006e;
  --yellow: #f4c300;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --shadow-sm: 0 2px 10px rgba(22, 22, 21, 0.05);
  --shadow: 0 18px 50px rgba(22, 22, 21, 0.1);
  --shadow-lg: 0 32px 80px rgba(22, 22, 21, 0.16);
  --font-display: "Archivo", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --header-h: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo-Regular.ttf") format("truetype");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open { overflow: hidden; }
body.order-body { background: #f8f5ef; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.22);
}
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); box-shadow: 0 14px 30px rgba(227, 6, 19, 0.28); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-light:hover { border-color: var(--ink); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--ink); padding-inline: 10px; }
.btn-ghost:hover { color: var(--red); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.26); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-sm { min-height: 42px; padding-inline: 17px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.45; pointer-events: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s, gap 0.2s;
}
.text-link:hover { color: var(--red); gap: 12px; }
.text-link .icon { width: 16px; height: 16px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  letter-spacing: 0;
}
.eyebrow.on-dark { color: rgba(255, 255, 255, 0.6); }

/* --------------------------------------------------------------------------
   Announcement + header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 20px;
}
.topbar-left, .topbar-right, .topbar-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-right { gap: 22px; }
.topbar-item .icon { width: 13px; height: 13px; }
.topbar a { transition: color 0.2s; }
.topbar a:hover { color: #fff; }
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #54d693;
  box-shadow: 0 0 0 3px rgba(84, 214, 147, 0.14);
}
.topbar-sep { width: 1px; height: 13px; background: rgba(255, 255, 255, 0.2); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.92);
  border-bottom: 1px solid rgba(222, 215, 201, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.brand-logo { width: 128px; height: auto; }
.brand-divider {
  width: 1px;
  height: 29px;
  background: var(--line);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-copy strong {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.brand-copy span {
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--muted);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  position: relative;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--ink); background: rgba(22, 22, 21, 0.04); }
.main-nav a.is-active { color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  display: none;
  position: fixed;
  z-index: 49;
  inset: var(--header-h) 0 auto;
  padding: 18px 24px 26px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.mobile-nav .btn { margin-top: 18px; width: 100%; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 58px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 22, 21, 0.11) 0.75px, transparent 0.75px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 60%, #000 100%);
  opacity: 0.35;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: 60px;
}
.hero-copy { padding-bottom: 12px; }
.hero h1 {
  max-width: 680px;
  margin-bottom: 26px;
  font-size: clamp(58px, 6.5vw, 94px);
  line-height: 0.92;
  letter-spacing: -0.062em;
}
.hero h1 .hero-red { color: var(--red); }
.hero h1 .hero-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  text-stroke: 1.5px var(--ink);
}
.hero-lead {
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--ink-3);
  font-size: 18px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  color: var(--ink-3);
  font-size: 13px;
}
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points .icon { width: 15px; height: 15px; color: var(--red); }

.hero-visual {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}
.hero-stage {
  position: relative;
  width: 470px;
  max-width: 100%;
  height: 545px;
}
.stage-ring {
  position: absolute;
  width: 440px;
  height: 440px;
  left: 34px;
  top: 44px;
  border: 1px solid rgba(227, 6, 19, 0.22);
  border-radius: 50%;
}
.stage-ring::before {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px dashed rgba(22, 22, 21, 0.16);
  border-radius: 50%;
}
.stage-cross {
  position: absolute;
  color: var(--grey-brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.stage-cross.tl { top: 12px; left: 2px; }
.stage-cross.tr { top: 18px; right: -6px; writing-mode: vertical-rl; }
.stage-cross.bl { bottom: 4px; left: 18px; writing-mode: vertical-rl; }

.sheet-stack { position: absolute; inset: 42px 42px 46px 58px; }
.sheet {
  position: absolute;
  inset: 0;
  background: #fffdfa;
  border: 1px solid rgba(22, 22, 21, 0.09);
  box-shadow: 0 26px 55px rgba(22, 22, 21, 0.16);
}
.sheet-back {
  transform: rotate(-7deg) translate(-24px, 20px);
  background: #e9e3d7;
  box-shadow: 0 16px 38px rgba(22, 22, 21, 0.1);
}
.sheet-back-2 {
  transform: rotate(4deg) translate(16px, 13px);
  background: #f3eee4;
}
.sheet-main {
  padding: 34px 36px;
  transform: rotate(-1.2deg);
  overflow: hidden;
}
.sheet-main::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7px;
  background: linear-gradient(90deg, var(--cyan) 0 25%, var(--magenta) 25% 50%, var(--yellow) 50% 75%, var(--ink) 75% 100%);
  opacity: 0.8;
}
.sheet-brand { width: 104px; margin-bottom: 34px; opacity: 0.9; }
.sheet-kicker {
  margin-bottom: 9px;
  color: var(--grey-brand);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.sheet-title {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.sheet-title span { color: var(--red); }
.sheet-lines { display: grid; gap: 8px; margin-bottom: 26px; }
.sheet-line { height: 3px; background: #e5e1d9; border-radius: 99px; }
.sheet-line:nth-child(1) { width: 88%; }
.sheet-line:nth-child(2) { width: 72%; }
.sheet-line:nth-child(3) { width: 81%; }
.sheet-blocks { display: grid; grid-template-columns: 1.5fr 1fr; gap: 11px; margin-bottom: 26px; }
.sheet-block { height: 82px; background: #eee9df; }
.sheet-block.red { background: var(--red); }
.sheet-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sheet-mini { height: 8px; background: #e5e1d9; }
.sheet-mini:nth-child(2) { background: #c8c4bb; }

.order-float {
  position: absolute;
  right: -30px;
  bottom: 4px;
  width: 316px;
  background: #fff;
  border: 1px solid rgba(22, 22, 21, 0.09);
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(22, 22, 21, 0.18);
  padding: 18px;
  transform: rotate(1deg);
}
.of-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.of-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}
.of-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.of-top > span:last-child { color: var(--muted); font-size: 10px; }
.of-file { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.of-file-icon {
  width: 38px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 7px;
}
.of-file-icon .icon { width: 19px; height: 19px; }
.of-file strong { display: block; font-size: 13px; line-height: 1.2; }
.of-file small { color: var(--muted); font-size: 10px; }
.of-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.of-chips span {
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--paper);
  font-size: 10px;
  font-weight: 600;
}
.of-chips span.dark { background: var(--ink); color: #fff; }
.of-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.of-total small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 9px; }
.of-total strong { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.04em; }
.of-total .go {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.of-total .go .icon { width: 13px; height: 13px; }
.float-tag {
  position: absolute;
  left: -18px;
  top: 102px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(22, 22, 21, 0.2);
  transform: rotate(-2deg);
}
.float-tag .icon { width: 15px; height: 15px; color: #ff8f96; }

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 50px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stat {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.03em;
}
.hero-stat span { color: var(--muted); font-size: 12px; }

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 15px 26px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-item::after {
  content: "✳";
  color: var(--red);
  font-size: 17px;
  letter-spacing: 0;
}
.ticker-item:nth-child(3n)::after { color: var(--yellow); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Generic sections
   -------------------------------------------------------------------------- */

.section { padding: 108px 0; }
.section-sm { padding: 76px 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.55fr);
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 54px;
}
.section-head h2 {
  max-width: 690px;
  margin-bottom: 0;
  font-size: clamp(40px, 4.3vw, 66px);
  letter-spacing: -0.055em;
}
.section-head p {
  max-width: 390px;
  margin-bottom: 5px;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.65;
}
.section-head.center {
  display: block;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 52px;
  text-align: center;
}
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { margin-inline: auto; }

/* Services */
.services-section { background: var(--paper); }
.service-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
}
.service-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.25s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c9c1b1; }
.service-card.feature {
  grid-row: span 2;
  min-height: 576px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  background: var(--paper-2);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: inset 0 3px 0 var(--red);
}
.service-card.feature::after {
  content: "Aa";
  position: absolute;
  right: -15px;
  bottom: -67px;
  font-family: var(--font-display);
  font-size: 280px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.09em;
  color: rgba(22, 22, 21, 0.045);
  pointer-events: none;
}
.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: var(--paper);
  border-radius: 13px;
  color: var(--ink);
}
.service-icon .icon { width: 23px; height: 23px; }
.service-card.feature .service-icon { background: var(--white); color: var(--red); }
.service-card h3 { margin-bottom: 12px; font-size: 29px; letter-spacing: -0.045em; }
.service-card p { max-width: 360px; margin-bottom: 22px; color: var(--ink-3); font-size: 14px; line-height: 1.6; }
.service-card.feature p { color: var(--ink-3); }
.service-card .text-link { margin-top: auto; font-size: 13px; }
.service-card.feature .text-link { color: var(--ink); }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.service-tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 600;
}
.service-card.feature .service-tags span { border-color: var(--line); color: var(--ink-3); background: var(--white); }
.feature-bottom { position: relative; z-index: 1; }
.feature-visual {
  position: relative;
  height: 160px;
  margin: 22px 0 30px;
}
.feature-sheet {
  position: absolute;
  left: 14px;
  top: 8px;
  width: 115px;
  height: 158px;
  padding: 14px;
  background: #fff;
  transform: rotate(-7deg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.feature-sheet:nth-child(2) { left: 87px; top: 0; transform: rotate(4deg); background: #f2ede4; }
.feature-sheet:nth-child(3) { left: 160px; top: 14px; transform: rotate(10deg); }
.feature-sheet .fs-logo { width: 44px; margin-bottom: 15px; opacity: 0.75; }
.feature-sheet .fs-line { height: 3px; margin-bottom: 7px; background: #ddd8ce; }
.feature-sheet .fs-line.short { width: 55%; }
.feature-sheet .fs-block { height: 32px; margin-top: 14px; background: var(--red); }

/* Process */
.process-section { background: var(--paper-2); border-block: 1px solid var(--line); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.process-card {
  position: relative;
  min-height: 260px;
  padding: 25px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.process-num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 52px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.process-num::after {
  content: "";
  width: 41px;
  height: 1px;
  background: var(--line-dark);
}
.process-card .icon-box {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
  background: var(--white);
}
.process-card .icon-box .icon { width: 19px; height: 19px; }
.process-card h3 { margin-bottom: 8px; font-size: 20px; letter-spacing: -0.035em; }
.process-card p { margin: 0; color: var(--ink-3); font-size: 13px; line-height: 1.55; }

/* Finishing dark */
.finishing-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border-block: 1px solid var(--line);
}
.finishing-section::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -250px;
  top: -300px;
  border: 1px solid rgba(22, 22, 21, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(22, 22, 21, 0.016), 0 0 0 200px rgba(22, 22, 21, 0.01);
  pointer-events: none;
}
.finishing-section .section-head { position: relative; z-index: 1; }
.finishing-section .section-head h2 { max-width: 780px; }
.finishing-section .section-head p { color: var(--ink-3); }
.finishing-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.finish-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.finish-card:hover { border-color: #c9c1b1; box-shadow: var(--shadow-sm); }
.finish-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 38px; }
.finish-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.finish-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
}
.finish-icon .icon { width: 24px; height: 24px; }
.finish-card h3 { margin-bottom: 20px; font-size: 25px; letter-spacing: -0.04em; }
.finish-list { list-style: none; display: grid; gap: 11px; margin-bottom: 24px; }
.finish-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.35;
}
.finish-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--red);
}
.finish-card .finish-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}
.finish-bottom span { color: var(--muted); font-size: 11px; }
.finish-bottom strong { font-family: var(--font-display); font-size: 17px; font-weight: 400; }
.finish-bottom strong em { font-style: normal; color: var(--red); }

/* Pricing */
.pricing-section { background: var(--paper); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.price-cell {
  padding: 31px 26px;
  border-right: 1px solid var(--line);
}
.price-cell:last-child { border-right: 0; }
.price-cell .price-icon { color: var(--red); margin-bottom: 35px; }
.price-cell .price-icon .icon { width: 25px; height: 25px; }
.price-cell small {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.price-cell strong span { margin-left: 3px; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-cell p { margin: 9px 0 0; color: var(--ink-3); font-size: 12px; }
.price-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
}
.price-note .icon { width: 14px; height: 14px; margin-top: 2px; }

/* Cloud */
.cloud-section { background: var(--paper-2); border-block: 1px solid var(--line); }
.cloud-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}
.cloud-copy h2 { margin-bottom: 18px; font-size: clamp(38px, 4vw, 58px); }
.cloud-copy p { max-width: 450px; margin-bottom: 27px; color: var(--ink-3); }
.cloud-providers { display: grid; gap: 10px; }
.cloud-provider {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}
.cloud-provider:hover { background: #fff; border-color: #c7bfaf; transform: translateX(4px); }
.provider-logo {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
}
.provider-logo .icon { width: 23px; height: 23px; }
.cloud-provider strong { display: block; font-size: 15px; }
.cloud-provider small { color: var(--muted); font-size: 11px; }
.cloud-provider .arrow { margin-left: auto; color: var(--muted); }
.cloud-provider .arrow .icon { width: 16px; height: 16px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 80px; }
.faq-intro h2 { margin-bottom: 18px; font-size: clamp(38px, 4vw, 56px); }
.faq-intro p { max-width: 350px; color: var(--ink-3); }
.faq-intro .text-link { margin-top: 16px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  color: var(--ink-3);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-item p { max-width: 600px; margin: -2px 0 25px; color: var(--ink-3); font-size: 14px; line-height: 1.65; }

/* CTA */
.cta-section { padding: 20px 0 108px; background: var(--paper); }
.cta-box {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 62px 68px;
  background: var(--red);
  border-radius: var(--radius-xl);
  color: #fff;
}
.cta-box::before {
  content: "O";
  position: absolute;
  right: 120px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 480px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; max-width: 650px; }
.cta-copy h2 { margin-bottom: 17px; font-size: clamp(43px, 5vw, 72px); letter-spacing: -0.06em; }
.cta-copy p { max-width: 470px; margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 16px; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 220px; }
.cta-actions .btn-light { border-color: #fff; }
.cta-actions small { text-align: center; color: rgba(255, 255, 255, 0.55); font-size: 10px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 68px 0 26px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr;
  gap: 45px;
  padding-bottom: 55px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand-logo { width: 150px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 280px; margin-bottom: 0; color: rgba(255, 255, 255, 0.5); font-size: 13px; line-height: 1.7; }
.footer-col h4 {
  margin-bottom: 17px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.footer-col a, .footer-col span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-contact a { display: flex; align-items: center; gap: 8px; }
.footer-contact .icon { width: 14px; height: 14px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
}
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom a:hover { color: #fff; }
.footer-flag { display: flex; align-items: center; gap: 7px; }
.footer-flag::before { content: ""; width: 16px; height: 10px; background: linear-gradient(90deg, #002b7f 33.3%, #fcd116 33.3% 66.6%, #ce1126 66.6%); border-radius: 1px; }

/* --------------------------------------------------------------------------
   Order page
   -------------------------------------------------------------------------- */

.order-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 38px;
  background: var(--ink);
  color: var(--paper);
}
.order-hero::after {
  content: "";
  position: absolute;
  right: 7%;
  top: -80px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.02), 0 0 0 140px rgba(255, 255, 255, 0.014);
  pointer-events: none;
}
.order-hero .container { position: relative; z-index: 1; }
.order-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}
.order-breadcrumb a { transition: color 0.2s; }
.order-breadcrumb a:hover { color: #fff; }
.order-breadcrumb .icon { width: 12px; height: 12px; }
.order-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.order-hero h1 { margin-bottom: 12px; font-size: clamp(38px, 4.8vw, 62px); letter-spacing: -0.055em; }
.order-hero p { max-width: 560px; margin: 0; color: rgba(255, 255, 255, 0.55); font-size: 14px; }
.order-hero-aside {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-bottom: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}
.order-hero-aside .icon { color: #6fe0a7; width: 17px; height: 17px; }

.order-page { padding: 34px 0 90px; background: var(--paper); }
.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 34px;
  padding: 0 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.stepper::-webkit-scrollbar { display: none; }
.step-item {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.step-item + .step-item::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: 0 0 26px;
  margin: 0 13px;
  background: var(--line);
}
.step-dot {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.step-item.is-active { color: var(--ink); }
.step-item.is-active .step-dot { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 4px var(--red-soft); }
.step-item.is-done { color: var(--ink-3); }
.step-item.is-done .step-dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.step-item.is-done .step-dot .num { display: none; }
.step-item.is-done .step-dot .tick { display: block; }
.step-item .tick { display: none; width: 12px; height: 12px; }

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 366px;
  align-items: start;
  gap: 24px;
}
.order-main { min-width: 0; }
.order-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  animation: panelIn 0.35s var(--ease);
}
.order-panel.is-active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.panel-kicker {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.panel-head h2 { margin-bottom: 7px; font-size: 30px; letter-spacing: -0.045em; }
.panel-head p { margin: 0; color: var(--ink-3); font-size: 13px; }
.panel-head .step-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding: 40px 30px;
  border: 1.5px dashed #c8c0b1;
  border-radius: var(--radius);
  background:
    radial-gradient(rgba(22, 22, 21, 0.07) 0.7px, transparent 0.7px) 0 0 / 19px 19px,
    var(--paper);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.dropzone:hover, .dropzone.is-dragging { border-color: var(--red); background-color: #fdf8f2; }
.dropzone.is-dragging { background-color: var(--red-soft); }
.upload-orb {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: transform 0.35s var(--ease), background 0.25s;
}
.dropzone:hover .upload-orb { transform: translateY(-4px); background: var(--red); }
.upload-orb .icon { width: 28px; height: 28px; }
.dropzone h3 { margin-bottom: 7px; font-size: 25px; letter-spacing: -0.04em; }
.dropzone .dz-sub { margin-bottom: 20px; color: var(--ink-3); font-size: 13px; }
.dropzone .dz-sub button { border: 0; background: none; padding: 0; color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dz-meta { margin-top: 16px; color: var(--muted); font-size: 10px; letter-spacing: 0.03em; }
.dz-badge {
  position: absolute;
  top: 17px;
  left: 17px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.dz-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

.cloud-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}
.cloud-row > span { margin-right: 3px; color: var(--muted); font-size: 10px; }
.cloud-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 37px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  transition: border-color 0.2s, transform 0.2s;
}
.cloud-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.cloud-btn .icon { width: 16px; height: 16px; }
.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 10px;
}
.security-note .icon { width: 13px; height: 13px; }

/* File analysed */
.document-card {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.doc-preview-wrap { position: relative; }
.doc-preview {
  position: relative;
  aspect-ratio: 0.707;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(22, 22, 21, 0.09);
}
.doc-preview canvas { width: 100%; height: 100%; object-fit: contain; }
.doc-preview .preview-placeholder { color: #c8c1b4; }
.doc-preview .preview-placeholder .icon { width: 34px; height: 34px; }
.doc-preview-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 1;
  padding: 4px 6px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.doc-info { min-width: 0; display: flex; flex-direction: column; }
.doc-file-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.doc-file-line h3 {
  max-width: 370px;
  margin-bottom: 3px;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.doc-file-line small { color: var(--muted); font-size: 10px; }
.doc-actions { display: flex; gap: 2px; }
.icon-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink-3);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.icon-btn:hover { color: var(--red); border-color: var(--red); background: var(--red-soft); }
.icon-btn .icon { width: 15px; height: 15px; }

.detected {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 15px;
  padding: 10px 12px;
  border: 1px solid #cfe7da;
  border-radius: 7px;
  background: var(--green-soft);
  color: #236347;
  font-size: 10px;
  line-height: 1.45;
}
.detected .icon { width: 14px; height: 14px; margin-top: 1px; }
.detected strong { font-weight: 700; }
.detected.warning { border-color: #ecd7a7; background: var(--amber-soft); color: #73530c; }
.detected.error { border-color: #f0c1c4; background: var(--red-soft); color: #8b121b; }

.doc-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-top: auto; }
.doc-fact {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.doc-fact span { display: block; margin-bottom: 2px; color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.doc-fact strong { display: block; font-size: 12px; line-height: 1.2; }
.doc-fact.detect strong { color: var(--red); }

.analysis-loader {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  margin-top: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink-3);
  font-size: 12px;
}
.analysis-loader.is-visible { display: flex; }
.spinner {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 2px solid var(--line);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Settings */
.setting-group { margin-bottom: 27px; }
.setting-group:last-child { margin-bottom: 0; }
.setting-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
}
.setting-label .hint {
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  cursor: help;
}
.setting-label .hint .icon { width: 13px; height: 13px; }
.option-grid { display: grid; gap: 7px; }
.option-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.option-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.option-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.option-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.option-grid.cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.option-input { position: absolute; opacity: 0; pointer-events: none; }
.option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 75px;
  padding: 11px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.option:hover { border-color: #b9b1a3; transform: translateY(-1px); }
.option strong { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 700; line-height: 1.2; }
.option small { color: var(--muted); font-size: 8.5px; line-height: 1.25; }
.option .option-icon { margin-bottom: 7px; color: var(--ink-3); }
.option .option-icon .icon { width: 19px; height: 19px; }
.option-input:checked + .option {
  border-color: var(--red);
  background: var(--red-soft);
  box-shadow: inset 0 0 0 1px var(--red);
}
.option-input:checked + .option strong { color: var(--red-deep); }
.option-input:checked + .option .option-icon { color: var(--red); }
.option-input:checked + .option::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.option-input:focus-visible + .option { outline: 2px solid var(--red); outline-offset: 2px; }
.option.as-row {
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
  text-align: left;
}
.option.as-row strong { margin: 0; }
.option.as-row small { margin-left: auto; }

.copies-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.counter {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  overflow: hidden;
}
.counter button {
  width: 43px;
  height: 47px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  transition: background 0.2s;
}
.counter button:hover { background: var(--paper-3); }
.counter button .icon { width: 15px; height: 15px; }
.counter input {
  width: 52px;
  height: 47px;
  border: 0;
  border-inline: 1px solid var(--line);
  background: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  outline: none;
  -moz-appearance: textfield;
}
.counter input::-webkit-inner-spin-button, .counter input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.copy-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.copy-presets button {
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.copy-presets button:hover, .copy-presets button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.setting-divider { height: 1px; margin: 29px 0; background: var(--line); }
.settings-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.settings-note .icon { width: 13px; height: 13px; margin-top: 1px; flex: 0 0 auto; }

.page-layout-icon {
  width: 31px;
  height: 39px;
  display: grid;
  gap: 2px;
  padding: 3px;
  margin: 0 auto 7px;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.page-layout-icon span { background: currentColor; opacity: 0.55; border-radius: 0.5px; }
.page-layout-icon.one { grid-template-columns: 1fr; }
.page-layout-icon.two-h { grid-template-columns: 1fr 1fr; }
.page-layout-icon.two-v { grid-template-rows: 1fr 1fr; }
.page-layout-icon.four { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

/* Finishing options */
.finish-group { margin-bottom: 27px; }
.finish-group:last-child { margin-bottom: 0; }
.finish-group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.finish-group-head h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.finish-group-head span { color: var(--muted); font-size: 9px; }
.finish-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.finish-option .option { min-height: 70px; align-items: flex-start; text-align: left; padding: 13px 36px 13px 13px; }
.finish-option .option strong { margin-bottom: 2px; }
.finish-option .option small { font-size: 9px; }
.finish-option .option .price {
  position: absolute;
  right: 12px;
  bottom: 11px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-3);
}
.finish-option .option .mini-icon { color: var(--ink-3); margin-bottom: 6px; }
.finish-option .option .mini-icon .icon { width: 16px; height: 16px; }
.finish-option .option-input:checked + .option .price { color: var(--red-deep); }
.finish-options.three { grid-template-columns: repeat(3, 1fr); }
.finish-options.three .option { min-height: 84px; }

.comment-box { margin-top: 28px; }
.comment-box label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; font-size: 12px; font-weight: 700; }
.comment-box label span { color: var(--muted); font-size: 9px; font-weight: 400; }
.comment-box label .optional { padding: 2px 6px; border: 1px solid var(--line); border-radius: 99px; font-size: 8px; letter-spacing: 0.04em; }
.comment-wrap { position: relative; }
.comment-wrap textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 13px 14px 28px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  font-size: 12px;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.comment-wrap textarea:focus { border-color: var(--red); background: #fff; }
.comment-count { position: absolute; right: 12px; bottom: 8px; color: var(--muted); font-size: 9px; }

/* Checkout form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; }
.form-field label .optional { color: var(--muted); font-size: 9px; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-field textarea { min-height: 84px; padding-block: 11px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.07); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a9a399; }
.form-field .field-error { display: none; color: var(--red-deep); font-size: 10px; }
.form-field.has-error input, .form-field.has-error select { border-color: var(--red); }
.form-field.has-error .field-error { display: block; }
.form-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 28px 0 13px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.form-section-title:first-child { margin-top: 0; }
.form-section-title .icon { width: 14px; height: 14px; color: var(--red); }

.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.delivery-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.delivery-option:hover { border-color: #b9b1a3; }
.delivery-option .radio-dot {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 2px;
  border: 1px solid #b9b1a3;
  border-radius: 50%;
  background: #fff;
  transition: border 0.2s;
}
.delivery-option strong { display: block; margin-bottom: 2px; font-size: 12px; }
.delivery-option small { display: block; color: var(--muted); font-size: 9px; line-height: 1.4; }
.delivery-option .delivery-price { margin-left: auto; font-size: 10px; font-weight: 700; }
.delivery-option input { position: absolute; opacity: 0; }
.delivery-option input:checked ~ .radio-dot { border: 4px solid var(--red); }
.delivery-option:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.delivery-option:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.55;
  cursor: pointer;
}
.checkline input { width: 15px; height: 15px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--red); }
.checkline a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.checkline.has-error { color: var(--red-deep); }
.checkline.has-error input { outline: 2px solid var(--red); outline-offset: 2px; }

.file-delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 13px;
  border: 1px solid #d9d2c4;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.5;
}
.file-delivery-note .icon { width: 15px; height: 15px; color: var(--red); margin-top: 1px; }
.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 9px;
}
.secure-badge .icon { width: 12px; height: 12px; }

/* Panel nav */
.panel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.panel-nav .btn { min-width: 142px; }
.panel-nav .back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
}
.panel-nav .back-link:hover { color: var(--red); }
.panel-nav .back-link .icon { width: 15px; height: 15px; }
.panel-nav .spacer { flex: 1; }

/* Summary */
.order-summary {
  position: sticky;
  top: 20px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(22, 22, 21, 0.12);
}
.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}
.summary-head h2 { margin: 0; font-size: 14px; letter-spacing: 0.01em; }
.summary-head span { color: rgba(255, 255, 255, 0.38); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.summary-body { padding: 20px 22px 21px; }
.summary-file {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.summary-thumb {
  width: 47px;
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
}
.summary-thumb canvas, .summary-thumb img { width: 100%; height: 100%; object-fit: cover; }
.summary-thumb .icon { width: 21px; height: 21px; }
.summary-file-info { min-width: 0; }
.summary-file-info strong { display: block; max-width: 220px; overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.summary-file-info small { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.42); font-size: 9px; }
.summary-file-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  color: #7ed9ab;
  font-size: 8px;
  font-weight: 600;
}
.summary-file-state::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #7ed9ab; }
.summary-file-state.is-empty { color: rgba(255, 255, 255, 0.35); }
.summary-file-state.is-empty::before { background: rgba(255, 255, 255, 0.3); }
.summary-settings { display: grid; gap: 7px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.summary-setting { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; font-size: 10px; line-height: 1.35; }
.summary-setting span { color: rgba(255, 255, 255, 0.42); }
.summary-setting strong { max-width: 200px; text-align: right; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.summary-price-lines { display: grid; gap: 8px; padding: 16px 0; }
.price-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 10px; }
.price-line span { color: rgba(255, 255, 255, 0.45); }
.price-line strong { font-weight: 500; }
.price-line.discount span, .price-line.discount strong { color: #76d5a4; }
.summary-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.summary-total small { display: block; margin-bottom: 2px; color: rgba(255, 255, 255, 0.42); font-size: 9px; }
.summary-total strong { font-family: var(--font-display); font-size: 31px; line-height: 1; letter-spacing: -0.05em; }
.summary-total .vat { color: rgba(255, 255, 255, 0.35); font-size: 8px; text-align: right; }
.summary-cta { padding: 0 22px 21px; }
.summary-cta .btn { width: 100%; min-height: 48px; }
.summary-cta .btn-dark { background: var(--red); border-color: var(--red); }
.summary-cta .btn-dark:hover { background: var(--red-deep); }
.summary-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 13px 22px 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.33);
  font-size: 8.5px;
  line-height: 1.5;
}
.summary-note .icon { width: 11px; height: 11px; margin-top: 1px; flex: 0 0 auto; }
.summary-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  margin: 0 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8.5px;
}
.summary-badge .icon { width: 12px; height: 12px; }

.mobile-summary-bar { display: none; }
.mobile-summary-bar .ms-unit { display: none; }

/* Success */
.success-screen { display: none; }
.success-screen.is-visible { display: block; animation: panelIn 0.45s var(--ease); }
.success-card {
  position: relative;
  overflow: hidden;
  padding: 45px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
}
.success-card::after {
  content: "✓";
  position: absolute;
  right: 30px;
  top: 10px;
  font-family: var(--font-display);
  font-size: 220px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}
.success-icon {
  width: 61px;
  height: 61px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(227, 6, 19, 0.18);
}
.success-icon .icon { width: 28px; height: 28px; }
.success-card h2 { max-width: 600px; margin-bottom: 13px; font-size: 43px; letter-spacing: -0.05em; }
.success-card > p { max-width: 550px; margin-bottom: 25px; color: rgba(255, 255, 255, 0.56); font-size: 13px; }
.success-order {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}
.success-order span { color: rgba(255, 255, 255, 0.37); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; }
.success-order strong { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.02em; }
.success-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.success-detail span { display: block; margin-bottom: 3px; color: rgba(255, 255, 255, 0.36); font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; }
.success-detail strong { display: block; font-size: 13px; font-weight: 500; }
.success-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.success-actions .btn { min-height: 44px; font-size: 12px; }
.success-help { margin-top: 18px; color: rgba(255, 255, 255, 0.37); font-size: 10px; }
.success-help a { color: rgba(255, 255, 255, 0.75); text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   Cloud modal
   -------------------------------------------------------------------------- */

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(14, 14, 13, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.modal-backdrop.is-open { display: flex; }
.modal {
  width: min(500px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border-radius: 19px;
  background: var(--white);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
  animation: modalIn 0.3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 25px 18px;
}
.modal-head h2 { margin-bottom: 5px; font-size: 24px; letter-spacing: -0.04em; }
.modal-head p { margin: 0; color: var(--muted); font-size: 11px; }
.modal-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}
.modal-close:hover { background: var(--paper); }
.modal-close .icon { width: 16px; height: 16px; }
.modal-body { padding: 0 25px 25px; }
.provider-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 20px; }
.provider-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 10px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.provider-tab .icon { width: 16px; height: 16px; }
.provider-tab:hover { border-color: #b6ae9f; }
.provider-tab.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.cloud-modal-info {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 18px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.5;
}
.cloud-modal-info .icon { width: 14px; height: 14px; color: var(--red); margin-top: 1px; }
.cloud-connect-row { display: flex; gap: 8px; margin-bottom: 17px; }
.cloud-connect-row .btn { flex: 1; min-height: 43px; font-size: 11px; }
.modal-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 17px 0;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.modal-divider::before, .modal-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cloud-url-form { display: flex; flex-direction: column; gap: 8px; }
.cloud-url-form input {
  width: 100%;
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 12px;
  outline: none;
}
.cloud-url-form input:focus { border-color: var(--red); background: #fff; }
.cloud-url-form .btn { width: 100%; min-height: 45px; }
.cloud-tip { margin: 13px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.cloud-tip a { text-decoration: underline; text-underline-offset: 2px; }
.cloud-error { display: none; margin-top: 10px; color: var(--red-deep); font-size: 10px; }
.cloud-error.is-visible { display: block; }

/* Toast */
.toast-stack { position: fixed; z-index: 120; right: 20px; bottom: 20px; display: grid; gap: 8px; pointer-events: none; }
.toast {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 330px;
  padding: 12px 15px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  line-height: 1.45;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s var(--ease);
}
.toast .icon { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; color: #7ed9ab; }
.toast.error .icon { color: #ff8f96; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Content pages
   -------------------------------------------------------------------------- */

.content-hero { padding: 70px 0 50px; border-bottom: 1px solid var(--line); }
.content-hero h1 { max-width: 820px; margin-bottom: 18px; font-size: clamp(45px, 6vw, 76px); letter-spacing: -0.06em; }
.content-hero p { max-width: 610px; margin: 0; color: var(--ink-3); font-size: 16px; }
.content-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 70px; padding: 65px 0 100px; }
.content-aside { position: sticky; top: 30px; align-self: start; }
.content-aside h3 { margin-bottom: 17px; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.content-aside a { display: block; padding: 7px 0; color: var(--ink-3); font-size: 13px; }
.content-aside a:hover { color: var(--red); }
.prose h2 { margin: 38px 0 13px; font-size: 30px; letter-spacing: -0.04em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 9px; font-family: var(--font-body); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.prose p, .prose li { color: var(--ink-3); font-size: 14px; line-height: 1.75; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 18px; }
.prose li { margin-bottom: 5px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.prose .callout {
  display: flex;
  gap: 13px;
  padding: 18px 20px;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
}
.prose .callout .icon { width: 19px; height: 19px; color: var(--red); flex: 0 0 auto; margin-top: 2px; }
.prose .callout p { margin: 0; font-size: 12px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.contact-card .icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
}
.contact-card .icon-box .icon { width: 19px; height: 19px; }
.contact-card h2 { margin-bottom: 8px; font-size: 23px; letter-spacing: -0.04em; }
.contact-card p { margin-bottom: 16px; color: var(--ink-3); font-size: 13px; line-height: 1.6; }
.contact-card a { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .main-nav { gap: 0; }
  .main-nav a { padding-inline: 9px; font-size: 13px; }
  .brand-logo { width: 110px; }
  .hero-grid { gap: 30px; }
  .order-float { right: -8px; }
  .hero-stage { transform: scale(0.93); transform-origin: center; }
  .order-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .footer-top { grid-template-columns: 1.2fr 0.7fr 0.7fr 1fr; gap: 30px; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .container { width: calc(100% - 40px); }
  .main-nav { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-primary { min-height: 43px; padding-inline: 17px; font-size: 13px; }
  .menu-toggle { display: inline-flex; }
  .site-header .nav-actions { gap: 5px; }
  .hero { padding-top: 52px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; margin-top: 10px; }
  .hero-stage { transform: scale(0.9); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
  .hero-stat { border-bottom: 1px solid var(--line); }
  .hero-stat:nth-child(2n) { border-right: 0; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-stat:nth-last-child(-n+2) { border-bottom: 0; }
  .hero-stat:nth-child(3) { padding-left: 0; }
  .hero-stat:nth-child(4) { padding-left: 24px; }
  .section { padding: 78px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 35px; }
  .section-head p { max-width: 520px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card.feature { grid-column: span 2; grid-row: auto; min-height: 400px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .finishing-grid { grid-template-columns: 1fr; }
  .finish-card { min-height: auto; }
  .finish-top { margin-bottom: 25px; }
  .finish-list { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-cell:nth-child(2) { border-right: 0; }
  .price-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cloud-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro p { max-width: 500px; }
  .cta-box { padding: 48px 42px; display: block; }
  .cta-actions { margin-top: 30px; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cta-actions small { width: 100%; text-align: left; }
  .cta-box::before { right: -60px; font-size: 400px; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 38px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; }

  .order-hero { padding: 36px 0 30px; }
  .order-hero-row { display: block; }
  .order-hero-aside { margin-top: 18px; }
  .order-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; display: none; }
  .order-page { padding-bottom: 105px; }
  .mobile-summary-bar {
    position: fixed;
    z-index: 40;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 10px 9px 17px;
    border-radius: 13px;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
  }
  .mobile-summary-bar .ms-total { flex: 1; }
  .mobile-summary-bar .ms-unit { display: block; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.14); text-align: right; }
  .mobile-summary-bar .ms-unit strong { font-size: 13px; }
  .mobile-summary-bar small { display: block; color: rgba(255, 255, 255, 0.45); font-size: 8px; }
  .mobile-summary-bar strong { font-family: var(--font-display); font-size: 16px; letter-spacing: -0.03em; }
  .mobile-summary-bar .btn { min-height: 42px; padding-inline: 17px; font-size: 11px; }
  .content-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
  .content-aside { position: static; }
  .content-aside a { display: inline-block; margin-right: 15px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 32px); }
  .topbar-inner { justify-content: center; min-height: 31px; }
  .topbar-right { display: none; }
  .topbar-left { font-size: 10px; }
  .brand-logo { width: 100px; }
  .brand-copy { display: none; }
  .brand-divider { display: none; }
  .nav-actions .btn-primary span { display: none; }
  .nav-actions .btn-primary .icon { display: block; }
  .nav-actions .btn-primary { width: 43px; padding: 0; }
  .hero { padding: 42px 0 38px; }
  .hero h1 { font-size: clamp(47px, 14vw, 68px); margin-bottom: 20px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { gap: 9px; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 8px 16px; font-size: 11px; }
  .hero-visual { min-height: 440px; margin-inline: -12px; }
  .hero-stage { transform: scale(0.68); transform-origin: center top; }
  .float-tag { left: -4px; }
  .order-float { right: -4px; bottom: 26px; }
  .hero-stats { margin-top: 4px; }
  .hero-stat { padding: 15px 15px; }
  .hero-stat strong { font-size: 17px; }
  .hero-stat span { font-size: 10px; }
  .section { padding: 58px 0; }
  .section-head h2 { font-size: 38px; }
  .section-head p { font-size: 14px; }
  .section-head { margin-bottom: 28px; }
  .eyebrow { margin-bottom: 14px; font-size: 9px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card.feature { grid-column: auto; min-height: 480px; padding: 27px; }
  .service-card { padding: 25px; min-height: 230px; }
  .service-card h3 { font-size: 24px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .process-card { min-height: 210px; padding: 18px; }
  .process-num { margin-bottom: 30px; }
  .process-card h3 { font-size: 16px; }
  .process-card p { font-size: 11px; }
  .process-card .icon-box { width: 36px; height: 36px; margin-bottom: 13px; }
  .finish-card { padding: 23px; }
  .finish-list { grid-template-columns: 1fr; }
  .finish-card h3 { font-size: 22px; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-cell { padding: 22px 17px; }
  .price-cell strong { font-size: 27px; }
  .price-cell .price-icon { margin-bottom: 24px; }
  .price-cell p { font-size: 10px; }
  .cloud-copy h2, .faq-intro h2 { font-size: 36px; }
  .cta-section { padding-bottom: 58px; }
  .cta-box { padding: 35px 25px 28px; border-radius: 22px; }
  .cta-copy h2 { font-size: 39px; }
  .cta-copy p { font-size: 13px; }
  .cta-actions { display: grid; grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
  .cta-box::before { right: -100px; font-size: 320px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand p { font-size: 12px; }
  .footer-bottom { display: grid; gap: 10px; font-size: 10px; }
  .footer-bottom .legal-links { flex-wrap: wrap; gap: 12px; }
  .site-footer { padding-top: 48px; }

  .order-hero { padding: 28px 0 24px; }
  .order-breadcrumb { margin-bottom: 17px; font-size: 10px; }
  .order-hero h1 { font-size: 37px; }
  .order-hero p { font-size: 12px; }
  .order-hero-aside { font-size: 10px; }
  .order-page { padding-top: 22px; }
  .stepper { margin-bottom: 23px; }
  .step-item { font-size: 10px; gap: 6px; }
  .step-item + .step-item::before { width: 12px; flex-basis: 12px; margin-inline: 7px; }
  .step-dot { width: 23px; height: 23px; font-size: 9px; }
  .order-panel { padding: 20px 16px; border-radius: 17px; }
  .panel-head { margin-bottom: 20px; }
  .panel-head h2 { font-size: 25px; }
  .panel-head p { font-size: 11px; }
  .panel-head .step-badge { display: none; }
  .dropzone { min-height: 285px; padding: 30px 15px; }
  .dropzone h3 { font-size: 21px; }
  .dropzone .dz-sub { font-size: 11px; }
  .dz-badge { top: 12px; left: 12px; }
  .cloud-row { gap: 6px; }
  .cloud-btn { min-height: 34px; padding-inline: 8px; font-size: 9px; }
  .cloud-btn .icon { width: 14px; height: 14px; }
  .security-note { font-size: 8.5px; }
  .document-card { grid-template-columns: 105px minmax(0, 1fr); gap: 13px; padding: 12px; }
  .doc-file-line h3 { font-size: 13px; max-width: 155px; }
  .doc-file-line small { font-size: 8px; }
  .doc-actions .icon-btn { width: 27px; height: 27px; }
  .detected { font-size: 8.5px; padding: 8px 9px; }
  .doc-facts { grid-template-columns: 1fr 1fr; }
  .doc-fact span { font-size: 7px; }
  .doc-fact strong { font-size: 10px; }
  .option-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .option-grid.cols-3 .option:last-child { grid-column: 1 / -1; }
  .option-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .option-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .option-grid.cols-7 { grid-template-columns: repeat(7, minmax(72px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
  .option { min-height: 67px; }
  .option strong { font-size: 11px; }
  .setting-group { margin-bottom: 22px; }
  .copies-row { flex-wrap: wrap; }
  .copy-presets { width: 100%; }
  .finish-options, .finish-options.three { grid-template-columns: 1fr; }
  .finish-option .option { min-height: 64px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .delivery-options { grid-template-columns: 1fr; }
  .panel-nav { margin-top: 23px; padding-top: 18px; }
  .panel-nav .btn { min-width: 0; padding-inline: 15px; font-size: 12px; }
  .panel-nav .back-link { font-size: 11px; }
  .success-card { padding: 28px 22px; }
  .success-card h2 { font-size: 34px; }
  .success-details { grid-template-columns: 1fr 1fr; }
  .success-actions .btn { width: 100%; }
  .mobile-summary-bar { left: 10px; right: 10px; bottom: 10px; }
  .modal { border-radius: 15px; }
  .modal-head { padding: 20px 18px 15px; }
  .modal-body { padding: 0 18px 20px; }
  .provider-tabs { gap: 4px; }
  .provider-tab { font-size: 9px; min-height: 40px; }
  .provider-tab .icon { width: 14px; height: 14px; }
  .content-hero { padding: 42px 0 32px; }
  .content-hero h1 { font-size: 40px; }
  .content-hero p { font-size: 14px; }
  .content-layout { padding-bottom: 65px; }
  .contact-card { padding: 23px; }
  .toast-stack { left: 12px; right: 12px; bottom: 82px; }
  .toast { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Small state helpers */
.setting-group.is-muted { opacity: 0.42; pointer-events: none; }
.document-card[hidden], .dropzone[hidden] { display: none !important; }
.order-panel[hidden] { display: none !important; }

[hidden] { display: none !important; }

@font-face {
  font-family: "Noto Sans";
  src: url("/assets/fonts/NotoSans-Regular.ttf") format("truetype");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/assets/fonts/NotoSans-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

.hero-copy, .hero-visual { min-width: 0; }

@media (max-width: 640px) {
  .hero-visual {
    width: 100%;
    min-height: 0;
    height: 400px;
    overflow: hidden;
  }
  .hero-stage {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.68);
    transform-origin: top center;
  }
  .step-item { gap: 5px; font-size: 9px; }
  .step-item + .step-item::before { width: 7px; flex-basis: 7px; margin-inline: 4px; }
}

/* Promo strip for personalized products */
.personalized-promo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .personalized-promo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .personalized-promo-grid { grid-template-columns: 1fr; } }

@media (max-width: 1040px) {
  .main-nav { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
}

.footer-brand .footer-order-note { margin-top: 7px; color: rgba(255, 255, 255, 0.4); font-size: 11px; line-height: 1.55; }

.process-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.process-track { display: flex; flex-direction: column; gap: 16px; }
.process-track-head { display: flex; align-items: center; gap: 13px; padding: 4px 2px 2px; }
.process-track-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--red); }
.process-track-icon .icon { width: 20px; height: 20px; }
.process-track-kicker { display: block; margin-bottom: 4px; font-size: 9px; font-weight: 750; letter-spacing: .13em; color: var(--red); }
.process-track-head h3 { margin: 0; font-size: 20px; letter-spacing: -.035em; }
.process-track .process-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
.process-track .process-card { min-height: 0; padding: 17px 15px 16px; }
.process-track .process-num { margin-bottom: 22px; }
.process-track .process-card h3 { font-size: 15px; }
.process-track .process-card p { font-size: 11px; }
.process-track .text-link { align-self: flex-start; }
@media (max-width: 900px) { .process-split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .process-track .process-grid { grid-template-columns: 1fr; } .process-track-head h3 { font-size: 18px; } }
