:root {
  --navy-950: #06142f;
  --navy-900: #071b43;
  --navy-800: #0a2a62;
  --blue-700: #0658e7;
  --blue-600: #0e66ff;
  --blue-500: #2c7cff;
  --blue-100: #eaf3ff;
  --cyan-100: #e9fbff;
  --ink: #102342;
  --muted: #5f6f88;
  --line: #dbe5f2;
  --soft: #f6f9fd;
  --white: #ffffff;
  --success: #0b9b6c;
  --shadow: 0 24px 65px rgba(3, 23, 61, .18);
  --radius: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; background: #fff; color: #071b43; padding: 12px 18px; z-index: 200; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(219,229,242,.85);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { width: 245px; flex: 0 0 auto; }
.brand img { width: 100%; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; }
.main-nav a { color: #33445e; font-weight: 700; font-size: .95rem; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--blue-600); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.login-link { font-weight: 800; color: #21334e; }
.language-switch { display: flex; align-items: center; gap: 5px; color: #98a5b7; font-size: .82rem; }
.lang-btn { border: 0; background: transparent; padding: 4px 2px; color: #697a91; font-weight: 800; cursor: pointer; }
.lang-btn.active { color: var(--blue-600); }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 0; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--blue-600);
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(14,102,255,.24);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(14,102,255,.3); }
.btn-small { min-height: 42px; padding-inline: 18px; font-size: .92rem; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); box-shadow: none; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-secondary { background: #fff; color: var(--blue-700); box-shadow: none; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(31,102,241,.22), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 58%, #0a275a);
  padding: 74px 0 80px;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255,255,255,.12); }
.hero-lines { position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -220px; top: -300px; border: 1px solid rgba(87,145,255,.22); box-shadow: 0 0 0 34px rgba(87,145,255,.05), 0 0 0 68px rgba(87,145,255,.04), 0 0 0 102px rgba(87,145,255,.03); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.18fr; gap: 54px; align-items: stretch; }
.eyebrow, .section-kicker { color: var(--blue-600); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: #79adff; }
.hero h1 { max-width: 650px; margin: 16px 0 18px; font-size: clamp(2.7rem, 5.1vw, 5.1rem); line-height: 1.02; letter-spacing: -.045em; }
.hero h1 span { color: #3181ff; }
.hero-lead { max-width: 650px; margin: 0 0 24px; color: #dbe7fb; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-points { display: grid; gap: 10px; margin: 25px 0 30px; }
.hero-points > div { display: flex; align-items: flex-start; gap: 10px; color: #f3f7ff; }
.point-icon { flex: 0 0 23px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: rgba(27,110,255,.18); border: 1px solid rgba(108,166,255,.55); color: #75adff; font-size: .8rem; font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-line { display: flex; gap: 10px; margin-top: 24px; color: #afc4e6; font-size: .88rem; }
.shield-mini { color: #5e9bff; }

.product-shell { border: 1px solid rgba(138,179,255,.34); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 32px 80px rgba(0,0,0,.34); transform: perspective(1200px) rotateY(-1.2deg); }
.product-topbar { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: var(--ink); border-bottom: 1px solid #e6edf6; background: #fbfdff; }
.mini-brand { font-weight: 900; font-size: .92rem; }
.mini-mark { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 7px; border-radius: 7px; color: #fff; background: var(--blue-600); }
.top-icons { display: flex; align-items: center; gap: 12px; }
.top-icons > span:not(.avatar) { width: 15px; height: 15px; border-radius: 50%; border: 2px solid #a7b5c9; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #173768; font-weight: 800; font-size: .75rem; }
.product-body { display: grid; grid-template-columns: 142px 1fr; min-height: 430px; }
.product-sidebar { padding: 22px 13px; background: #091f4d; }
.side-item { color: #a9beda; border-radius: 7px; padding: 10px 11px; margin-bottom: 7px; font-size: .72rem; font-weight: 700; }
.side-item.active { color: #fff; background: #125cdb; }
.dashboard { padding: 23px; color: var(--ink); background: #f6f9fd; }
.dash-title-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; }
.dash-overline { color: #7e8ca0; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.dashboard h2 { margin: 1px 0 0; font-size: 1.25rem; }
.upload-pill { border: 0; border-radius: 8px; padding: 10px 13px; background: var(--blue-600); color: #fff; font-size: .7rem; font-weight: 800; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.stat { padding: 14px; border: 1px solid #e1e8f2; border-radius: 10px; background: #fff; }
.stat span, .stat small { display: block; color: #75849a; font-size: .63rem; }
.stat strong { display: block; margin: 3px 0; color: #10264c; font-size: 1.15rem; }
.stat small { color: var(--success); }
.dash-lower { display: grid; grid-template-columns: 1.05fr .95fr; gap: 12px; margin-top: 12px; }
.chart-card, .invoice-card { min-height: 210px; padding: 14px; border: 1px solid #e1e8f2; border-radius: 10px; background: #fff; }
.card-heading { margin-bottom: 10px; font-size: .72rem; color: #1e3150; font-weight: 900; }
.chart { position: relative; height: 155px; overflow: hidden; }
.chart svg { position: absolute; inset: 8px 0 0; width: 100%; height: 140px; }
.grid-line { position: absolute; left: 0; right: 0; height: 1px; background: #edf1f6; }
.grid-line.l1 { top: 30px; }.grid-line.l2 { top: 78px; }.grid-line.l3 { top: 126px; }
.invoice-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 0; border-bottom: 1px solid #edf1f6; font-size: .62rem; }
.invoice-row:last-child { border-bottom: 0; }
.invoice-row span { color: #34445c; font-weight: 700; }
.invoice-row b { color: #172b4c; }
.invoice-row em { grid-column: 1 / -1; color: var(--success); font-style: normal; font-size: .57rem; }

.privacy-section { padding: 110px 0; background: linear-gradient(180deg, #fff, #f4f8fe); }
.privacy-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: center; }
.privacy-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.privacy-visual::before { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; background: radial-gradient(circle, #ddecff 0, #edf6ff 52%, transparent 53%); }
.shield-large { position: relative; z-index: 2; width: 230px; height: 275px; clip-path: polygon(50% 0, 93% 18%, 88% 70%, 50% 100%, 12% 70%, 7% 18%); display: grid; place-items: center; background: linear-gradient(160deg, #116cff, #073cae); filter: drop-shadow(0 25px 35px rgba(14,102,255,.25)); }
.shield-large::before { content: ""; position: absolute; inset: 16px; clip-path: inherit; background: linear-gradient(160deg, #f7fbff, #dcecff); }
.shield-core { position: relative; z-index: 2; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--blue-600); font-size: 2.5rem; font-weight: 900; }
.security-badge { position: absolute; z-index: 3; min-width: 70px; padding: 11px 13px; border-radius: 12px; color: #17417b; background: #fff; border: 1px solid #d7e5f7; box-shadow: 0 15px 36px rgba(9,39,86,.13); text-align: center; font-weight: 900; font-size: .8rem; }
.badge-one { left: 10px; top: 90px; }.badge-two { right: 15px; top: 150px; }.badge-three { left: 65px; bottom: 35px; }
.privacy-copy h2, .section-heading h2, .final-cta h2 { margin: 10px 0 18px; font-size: clamp(2rem, 3.8vw, 3.45rem); line-height: 1.08; letter-spacing: -.035em; }
.privacy-copy > p { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.security-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.security-list article { display: grid; grid-template-columns: 42px 1fr; gap: 13px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.8); }
.security-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--blue-700); background: var(--blue-100); font-weight: 900; font-size: .75rem; }
.security-list h3 { margin: 0 0 5px; font-size: 1rem; }
.security-list p { margin: 0; color: var(--muted); font-size: .9rem; }

.features-section, .how-section, .plans-section { padding: 95px 0; }
.features-section { background: #fff; }
.how-section { background: var(--soft); border-block: 1px solid #e7edf5; }
.plans-section { background: #fff; }
.centered { text-align: center; max-width: 800px; margin: 0 auto 42px; }
.section-note { margin: -6px 0 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { min-height: 235px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 30px rgba(13,45,94,.055); }
.feature-icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: var(--blue-700); background: linear-gradient(145deg, #e7f1ff, #f4f9ff); border: 1px solid #d6e6fc; font-weight: 900; }
.feature-card h3 { margin: 25px 0 10px; font-size: 1.08rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.workflow-intro { max-width: 690px; margin: 14px auto 0; line-height: 1.65; }
.workflow-walkthrough { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.workflow-line { position: absolute; z-index: 0; top: 38px; left: 9%; right: 9%; height: 3px; border-radius: 999px; background: linear-gradient(90deg,#8db9ff,#0e66ff,#f0a33c,#49a879); opacity: .55; }
.workflow-card { position: relative; z-index: 1; min-width: 0; min-height: 400px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: 0 16px 36px rgba(13,45,94,.075); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.workflow-card:hover { transform: translateY(-5px); border-color: #b9d2f5; box-shadow: 0 22px 42px rgba(13,45,94,.12); }
.workflow-card.review-card { border-color: #efcf98; box-shadow: 0 18px 38px rgba(186,112,9,.10); }
.workflow-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.workflow-number { color: #0a2a62; font-size: 1.7rem; font-weight: 900; letter-spacing: -.05em; }
.workflow-stage-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 1.15rem; font-weight: 900; box-shadow: 0 0 0 7px #f4f8ff; }
.workflow-stage-icon.upload,.workflow-stage-icon.process { background: linear-gradient(135deg,#0e66ff,#42a0ff); }
.workflow-stage-icon.review { background: linear-gradient(135deg,#da8213,#f3b54d); }
.workflow-stage-icon.export { background: linear-gradient(135deg,#148658,#4ab77d); }
.workflow-preview { min-height: 150px; margin-bottom: 24px; padding: 16px; border: 1px solid #dbe6f5; border-radius: 16px; background: linear-gradient(180deg,#fbfdff,#f2f7ff); }
.preview-dropzone { height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed #bcd0eb; border-radius: 13px; color: #0a2a62; background: rgba(255,255,255,.65); }
.preview-dropzone strong { margin-top: 10px; font-size: .9rem; }
.preview-dropzone small { margin-top: 3px; color: #7083a0; font-size: .72rem; }
.preview-file-stack { display: flex; align-items: center; justify-content: center; height: 34px; }
.preview-file-stack span { width: 38px; padding: 7px 5px; border-radius: 8px; color: #0e66ff; background: #fff; border: 1px solid #c8daf4; font-size: .58rem; font-weight: 900; box-shadow: 0 6px 14px rgba(13,53,115,.09); }
.preview-file-stack span:nth-child(1) { transform: rotate(-8deg) translateX(10px); }
.preview-file-stack span:nth-child(2) { z-index: 2; transform: translateY(-5px); }
.preview-file-stack span:nth-child(3) { transform: rotate(8deg) translateX(-10px); }
.preview-process-title { display: flex; justify-content: space-between; gap: 8px; color: #385677; font-size: .72rem; font-weight: 700; }
.preview-process-title b { color: #0e66ff; }
.preview-progress { height: 10px; margin: 12px 0 16px; overflow: hidden; border-radius: 999px; background: #dfe9f7; }
.preview-progress span { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#0e66ff,#46aa73); }
.preview-fields { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
.preview-fields span { padding: 10px 8px; border: 1px solid #dce6f4; border-radius: 9px; color: #58708e; background: #fff; font-size: .67rem; font-weight: 800; text-align: center; }
.review-preview { display: grid; gap: 8px; }
.preview-result-row { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 6px; align-items: center; padding: 9px 8px; border: 1px solid #e0e9f5; border-radius: 10px; color: #304a6d; background: #fff; font-size: .64rem; }
.preview-result-row b { overflow: hidden; text-overflow: ellipsis; }
.preview-result-row.flagged { border-color: #efc375; background: #fff8ea; box-shadow: 0 0 0 3px rgba(239,195,117,.18); }
.preview-status { padding: 5px 6px; border-radius: 999px; font-size: .57rem; font-weight: 900; text-align: center; }
.preview-status.ok { color: #0b774a; background: #e3f7ed; }
.preview-status.warn { color: #a46000; background: #ffedcf; }
.export-preview { position: relative; display: grid; gap: 10px; }
.preview-export-file { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #dbe6f4; border-radius: 11px; background: #fff; color: #445f7e; font-size: .7rem; font-weight: 800; }
.preview-export-file b { width: 34px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-size: .62rem; }
.preview-export-file.excel b { color: #08794b; background: #e3f6ed; }
.preview-export-file.pdf b { color: #c04b3f; background: #fde9e7; }
.preview-export-done { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px; border-radius: 10px; color: #08794b; background: #e6f7ef; font-size: .72rem; font-weight: 900; }
.workflow-card h3 { margin: 0 0 10px; color: #0a2a62; font-size: 1.15rem; }
.workflow-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.workflow-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1000px; margin: 30px auto 0; }
.workflow-benefits span { position: relative; padding: 10px 15px 10px 32px; border: 1px solid #d6e4f6; border-radius: 999px; color: #365373; background: #fff; font-size: .78rem; font-weight: 800; box-shadow: 0 8px 18px rgba(13,45,94,.045); }
.workflow-benefits span::before { content: "✓"; position: absolute; left: 13px; color: #13845a; font-weight: 900; }

.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; max-width: 1080px; margin-inline: auto; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.plan-card.featured { border: 2px solid var(--blue-600); box-shadow: 0 20px 46px rgba(14,102,255,.14); transform: translateY(-10px); }
.popular { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: var(--blue-600); color: #fff; font-size: .72rem; font-weight: 900; white-space: nowrap; }
.plan-card h3 { margin: 0; font-size: 1.35rem; }
.plan-audience { min-height: 48px; color: var(--muted); }
.plan-limit { min-height: 100px; padding: 20px 0; border-block: 1px solid #e9eef5; }
.plan-limit strong { display: block; font-size: 2rem; letter-spacing: -.04em; color: #0b285a; }
.plan-limit span { display: block; color: var(--muted); font-size: .88rem; }
.plan-card ul { flex: 1; display: grid; gap: 11px; list-style: none; padding: 22px 0 25px; margin: 0; color: #35455c; font-size: .93rem; }
.plan-card li::before { content: "✓"; margin-right: 9px; color: var(--success); font-weight: 900; }
.btn-plan { width: 100%; min-height: 46px; padding-inline: 12px; font-size: .9rem; }
.enterprise { background: linear-gradient(180deg, #fbfdff, #f3f8ff); }

.final-cta { padding: 70px 0; color: #fff; background: linear-gradient(135deg, #082258, #0e4fb5); }
.cta-inner { display: grid; grid-template-columns: 1.35fr .65fr; gap: 45px; align-items: center; }
.final-cta h2 { max-width: 800px; margin-bottom: 0; }
.section-kicker.light { color: #9bc1ff; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

.site-footer { color: #d5e0f1; background: var(--navy-950); padding-top: 66px; }
.footer-grid { display: grid; gap: 30px; }
.footer-grid-simple { grid-template-columns: 1.3fr repeat(3,minmax(0,1fr)); align-items: start; }
.footer-brand img { width: 240px; padding: 8px; border-radius: 10px; background: #fff; }
.footer-brand p { max-width: 320px; }
.footer-small { color: #8fa4c2; font-size: .82rem; }
.site-footer h3 { margin: 0 0 14px; color: #fff; font-size: .95rem; }
.site-footer a, .site-footer span { display: block; margin: 9px 0; color: #aebed3; font-size: .88rem; }
.site-footer a:hover { color: #fff; }
.footer-info-card { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; min-width: 0; }
.footer-icon-seal { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-700); background: #fff; font-weight: 900; font-size: 1rem; box-shadow: 0 0 0 8px rgba(255,255,255,.06); }
.footer-icon-seal.legal { font-family: Georgia,serif; font-size: 1.45rem; }
.footer-icon-seal.privacy svg { width: 27px; height: 27px; fill: currentColor; }
.footer-info-card strong { display: block; margin: 0 0 7px; color: #fff; font-size: .92rem; line-height: 1.4; }
.footer-info-card span,.footer-info-card a { margin: 0; line-height: 1.55; }
.footer-info-card a { text-decoration: underline; text-decoration-color: rgba(174,190,211,.35); text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 45px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom span, .footer-bottom a { margin: 0; font-size: .8rem; }

@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .brand { width: 210px; }
  .nav-actions .btn-small { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .product-shell { max-width: 850px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 40px; }
  .privacy-visual { min-height: 390px; }
  .feature-grid, .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card.featured { transform: none; }
  .workflow-walkthrough { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 780px; }
  .workflow-line { display: none; }
  .footer-grid-simple { grid-template-columns: 1.2fr 1fr; }
}

@media (max-width: 820px) {
  .site-header { position: relative; }
  .nav-wrap { min-height: 70px; flex-wrap: wrap; }
  .brand { width: 205px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; order: 4; flex-basis: 100%; flex-direction: column; align-items: flex-start; padding: 12px 0 22px; }
  .main-nav.open { display: flex; }
  .nav-actions { margin-left: auto; }
  .login-link { display: none; }
  .hero { padding-top: 55px; }
  .product-body { grid-template-columns: 105px 1fr; }
  .dashboard { padding: 15px; }
  .dash-lower { grid-template-columns: 1fr; }
  .invoice-card { display: none; }
  .security-list { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 26px, var(--container)); }
  .nav-actions { gap: 8px; }
  .language-switch { display: none; }
  .hero h1 { font-size: 2.75rem; }
  .hero-points { font-size: .92rem; }
  .product-shell { transform: none; }
  .product-body { grid-template-columns: 1fr; }
  .product-sidebar { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:last-child { grid-column: 1 / -1; }
  .privacy-section, .features-section, .how-section, .plans-section { padding: 72px 0; }
  .privacy-visual { min-height: 330px; }
  .shield-large { width: 185px; height: 220px; }
  .privacy-visual::before { width: 300px; height: 300px; }
  .security-badge { min-width: 60px; font-size: .7rem; }
  .feature-grid, .plans-grid { grid-template-columns: 1fr; }
  .workflow-walkthrough { grid-template-columns: 1fr; max-width: 430px; }
  .workflow-card { min-height: auto; }
  .workflow-benefits { align-items: stretch; flex-direction: column; }
  .workflow-benefits span { width: 100%; }
  .footer-grid-simple { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

/* AAF Multistore operator details */
.operator-bar {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 44px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}
.operator-logo-wrap {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
}
.operator-logo-wrap img { max-height: 105px; width: auto; }
.operator-copy { display: grid; gap: 5px; }
.operator-copy strong { color: #fff; font-size: 1rem; }
.operator-copy span, .operator-copy a { display: inline; margin: 0; color: #aebed3; font-size: .86rem; }
.operator-copy a:hover { color: #fff; }
.footer-product-note { color: #8fa4c2 !important; }

/* Legal terms page */
.legal-main { background: #f7f9fc; }
.legal-hero {
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(44,124,255,.24), transparent 32%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 60%, #0a2a62);
  padding: 72px 0;
}
.legal-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.legal-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.legal-hero p { max-width: 760px; margin: 0; color: #d8e4f6; font-size: 1.08rem; }
.legal-version {
  min-width: 235px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 15px;
  background: rgba(255,255,255,.07);
}
.legal-version strong, .legal-version span { display: block; margin: 0; }
.legal-version strong { color: #fff; }
.legal-version span { color: #b7c9e4; font-size: .86rem; margin-top: 5px; }
.legal-content-section { padding: 76px 0 100px; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 42px; align-items: start; }
.legal-toc {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 7px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13,45,94,.055);
}
.legal-toc strong { margin-bottom: 6px; color: var(--ink); }
.legal-toc a { color: #5d6d84; font-size: .82rem; line-height: 1.35; }
.legal-toc a:hover { color: var(--blue-600); }
.legal-document {
  padding: 44px 50px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(13,45,94,.07);
}
.legal-document section { scroll-margin-top: 110px; padding: 3px 0 27px; border-bottom: 1px solid #e8edf4; }
.legal-document section + section { padding-top: 28px; }
.legal-document section:last-of-type { border-bottom: 0; }
.legal-document h2 { margin: 0 0 13px; color: #102a56; font-size: 1.45rem; letter-spacing: -.015em; }
.legal-document p { margin: 0 0 13px; color: #4f6077; }
.legal-document ul { color: #4f6077; padding-left: 22px; }
.legal-document li { margin: 8px 0; }
.legal-document a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-notice, .legal-review-note {
  margin-bottom: 32px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #edf5ff;
  border: 1px solid #cfe2ff;
}
.legal-notice strong, .legal-review-note strong { color: #0c3d91; }
.legal-notice p { margin: 7px 0 0; }
.legal-review-note { margin: 34px 0 0; background: #fff8e8; border-color: #f0d89d; color: #66522c; }
.legal-contact-card {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}
.legal-contact-card img { max-height: 145px; width: auto; margin: auto; }
.legal-contact-card > div { display: grid; gap: 5px; }
.legal-contact-card strong { color: #102a56; font-size: 1.08rem; }
.legal-contact-card span { color: #4f6077; }

@media (max-width: 900px) {
  .legal-hero-inner { grid-template-columns: 1fr; align-items: start; }
  .legal-version { width: fit-content; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; grid-template-columns: 1fr 1fr; }
  .legal-toc strong { grid-column: 1 / -1; }
  .operator-bar { grid-template-columns: 125px 1fr; }
}

@media (max-width: 620px) {
  .operator-bar { grid-template-columns: 1fr; text-align: center; }
  .operator-logo-wrap { width: 150px; margin-inline: auto; }
  .legal-hero { padding: 54px 0; }
  .legal-content-section { padding: 45px 0 70px; }
  .legal-toc { grid-template-columns: 1fr; }
  .legal-document { padding: 28px 22px; }
  .legal-contact-card { grid-template-columns: 1fr; text-align: center; }
}

/* InvoiceCY homepage workflow, live packages and contact form — 2026-07-23 */
.login-stack {
  min-width: 92px;
  min-height: 52px;
  padding-block: 8px;
  flex-direction: column;
  gap: 1px;
  line-height: 1.02;
  text-align: center;
}
.login-stack span { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .82; }
.login-stack strong { font-size: .98rem; }
.nav-actions .login-stack { min-width: 78px; min-height: 46px; }

.workflow-demo { position: relative; min-width: 0; align-self: stretch; display: flex; }
.workflow-window {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 49, 117, .12);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 60px rgba(10,42,98,.16);
}
.workflow-window-bar { flex: 0 0 64px; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; color: #fff; background: #071b43; }
.workflow-status { display: flex; align-items: center; gap: 8px; color: #bcd2f4; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.workflow-status > span:first-child { width: 9px; height: 9px; border-radius: 50%; background: #45d483; box-shadow: 0 0 0 5px rgba(69,212,131,.13); animation: workflow-status-pulse 2s ease-in-out infinite; }
.workflow-canvas { position: relative; color: var(--ink); background: radial-gradient(circle at 20% 20%,rgba(52,129,255,.14),transparent 35%), linear-gradient(180deg,#fbfdff,#eef5ff); }
.workflow-canvas-sim { flex: 1 1 auto; min-height: 0; padding: 22px; }
.sim-shell { position: relative; height: 100%; min-height: 0; display: flex; flex-direction: column; padding: 16px; border: 1px solid #d8e4f5; border-radius: 20px; background: rgba(255,255,255,.95); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 16px 36px rgba(13,53,115,.08); }
.sim-topline { flex: 0 0 auto; min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sim-stage-track { min-width: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.sim-stage-track span { position: relative; min-width: 0; padding: 7px 9px 7px 19px; border-radius: 999px; color: #7588a3; background: #f0f4fa; font-size: .67rem; font-weight: 900; line-height: 1; text-align: center; white-space: nowrap; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.sim-stage-track span::before { content: ""; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; border-radius: 50%; transform: translateY(-50%); background: currentColor; }
.sim-track-upload { animation: sim-track-upload 10s ease-in-out infinite; }
.sim-track-process { animation: sim-track-process 10s ease-in-out infinite; }
.sim-track-review { animation: sim-track-review 10s ease-in-out infinite; }
.sim-track-export { animation: sim-track-export 10s ease-in-out infinite; }
.sim-chip { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; color: #0e66ff; background: #e7f0ff; font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.sim-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; border-radius: 18px; }
.sim-upload-panel,.sim-processing-panel,.sim-results-panel,.sim-actions-panel,.sim-export-panel { position: absolute; border: 1px solid #d7e3f4; border-radius: 18px; background: #fff; box-shadow: 0 12px 24px rgba(13,53,115,.06); }
.sim-upload-panel { inset: 0; display: flex; flex-direction: column; padding: 18px; opacity: 0; pointer-events: none; animation: sim-stage-upload 10s ease-in-out infinite; }
.sim-upload-copy { flex: 0 0 auto; margin-bottom: 12px; }
.sim-upload-copy strong,.sim-upload-copy small { display: block; }
.sim-upload-copy strong { color: #0a2a62; font-size: 1rem; }
.sim-upload-copy small { margin-top: 5px; color: #6c7f9b; font-size: .79rem; }
.sim-dropzone { position: relative; flex: 1 1 auto; min-height: 0; display: grid; place-content: center; border: 2px dashed #bfd2ee; border-radius: 16px; background: linear-gradient(180deg,#f8fbff,#eef5ff); text-align: center; overflow: hidden; }
.sim-drop-icon { width: 48px; height: 48px; margin: 0 auto; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg,#0e66ff,#42a0ff); font-size: 1.4rem; font-weight: 900; box-shadow: 0 10px 20px rgba(14,102,255,.24); }
.sim-drop-label { margin-top: 10px; color: #0a2a62; font-weight: 800; }
.sim-drop-sub { margin-top: 3px; color: #6c7f9b; font-size: .8rem; }
.sim-file-ghost { position: absolute; top: 16px; left: -44px; z-index: 2; display: flex; align-items: center; gap: 10px; min-width: 200px; padding: 11px 14px; border: 1px solid #c8daf4; border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgba(13,53,115,.14); animation: sim-file-drop-compact 10s ease-in-out infinite; }
.sim-file-type { flex: 0 0 auto; padding: 5px 8px; border-radius: 10px; color: #0e66ff; background: #e8f1ff; font-size: .72rem; font-weight: 900; letter-spacing: .05em; }
.sim-file-name { color: #28476c; font-size: .84rem; font-weight: 700; }
.sim-processing-panel { inset: 18% 5%; display: flex; flex-direction: column; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; animation: sim-stage-process 10s ease-in-out infinite; }
.sim-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.sim-panel-head span { color: #4f6789; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sim-panel-head strong { color: #0a2a62; font-size: .92rem; }
.sim-progress-track { position: relative; height: 14px; overflow: hidden; border-radius: 999px; background: #e8f0fb; }
.sim-progress-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg,#0e66ff,#46aa73); animation: sim-progress-fill-compact 10s linear infinite; }
.sim-progress-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; color: #6c7f9b; font-size: .8rem; }
.sim-results-panel { inset: 0 0 66px; padding: 15px 17px; opacity: 0; pointer-events: none; animation: sim-stage-results 10s ease-in-out infinite; }
.sim-table { display: grid; gap: 8px; }
.sim-row { display: grid; grid-template-columns: 1.05fr 1.2fr .8fr; gap: 10px; align-items: center; padding: 9px 11px; border-radius: 11px; font-size: .78rem; }
.sim-row-head { color: #6c7f9b; background: #f5f8fd; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.sim-result { border: 1px solid #e0e9f7; background: #fff; }
.row-one { animation: sim-row-one-compact 10s ease-in-out infinite; }
.row-two { animation: sim-row-two-compact 10s ease-in-out infinite; }
.row-three { animation: sim-row-three-compact 10s ease-in-out infinite; }
.sim-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 82px; padding: 5px 8px; border-radius: 999px; font-size: .68rem; font-weight: 800; }
.sim-badge.ok { color: #0f7a4d; background: #e6f7ef; }
.sim-badge.review { color: #b26b00; background: #fff3df; }
.sim-actions-panel { left: 0; right: 0; bottom: 0; height: 54px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 9px 12px; opacity: 0; pointer-events: none; animation: sim-stage-actions 10s ease-in-out infinite; }
.sim-action { min-width: 120px; padding: 10px 14px; border: 0; border-radius: 11px; font: inherit; font-size: .78rem; font-weight: 800; cursor: default; }
.sim-action.review { color: #0e66ff; background: #eaf2ff; }
.sim-action.export { color: #fff; background: linear-gradient(135deg,#0e66ff,#137af6); box-shadow: 0 12px 24px rgba(14,102,255,.22); animation: sim-export-pulse-compact 10s ease-in-out infinite; }
.sim-export-panel { inset: 0; display: flex; flex-direction: column; padding: 16px; opacity: 0; pointer-events: none; animation: sim-stage-export 10s ease-in-out infinite; }
.sim-export-titlebar { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sim-export-titlebar > div { display: flex; align-items: center; gap: 9px; }
.sim-export-titlebar strong { color: #0a2a62; font-size: .95rem; }
.sim-export-titlebar small { color: #5e718e; font-size: .74rem; font-weight: 700; }
.sim-export-check { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #16865a; font-weight: 900; box-shadow: 0 8px 18px rgba(22,134,90,.22); }
.sim-explorer { flex: 1 1 auto; min-height: 0; overflow: hidden; border: 1px solid #d7e3f4; border-radius: 15px; background: #fff; box-shadow: 0 12px 24px rgba(13,53,115,.06); }
.sim-explorer-bar { min-height: 42px; display: flex; align-items: center; gap: 9px; padding: 10px 14px; color: #28476c; background: #f3f7fc; border-bottom: 1px solid #dfe8f5; font-size: .79rem; font-weight: 800; }
.sim-folder-icon { color: #e6a400; font-size: 1rem; }
.sim-explorer-list { padding: 8px; display: grid; gap: 7px; }
.sim-explorer-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid #e3eaf4; border-radius: 11px; background: #fff; opacity: 0; transform: translateY(8px); }
.sim-explorer-row:nth-child(1) { animation: sim-export-file-one 10s ease-in-out infinite; }
.sim-explorer-row:nth-child(2) { animation: sim-export-file-two 10s ease-in-out infinite; }
.sim-explorer-row:nth-child(3) { animation: sim-export-file-three 10s ease-in-out infinite; }
.sim-explorer-row:nth-child(4) { animation: sim-export-file-four 10s ease-in-out infinite; }
.sim-file-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; font-size: .66rem; font-weight: 900; letter-spacing: .02em; }
.sim-file-icon.excel { background: #16865a; }
.sim-file-icon.pdf { background: #d54747; }
.sim-explorer-row span:nth-child(2) { min-width: 0; }
.sim-explorer-row strong,.sim-explorer-row small { display: block; }
.sim-explorer-row strong { overflow: hidden; color: #1f385a; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.sim-explorer-row small { margin-top: 2px; color: #71829a; font-size: .65rem; }
.sim-explorer-row b { color: #71829a; font-size: .65rem; font-weight: 700; }
.workflow-footer { flex: 0 0 54px; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; color: #355274; background: #e8f1ff; font-size: .82rem; font-weight: 700; text-align: center; }
.workflow-lock { color: #0e66ff; }
.contact-form { padding: 26px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(255,255,255,.1); box-shadow: 0 22px 55px rgba(0,0,0,.18); backdrop-filter: blur(10px); }
.contact-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; color: #fff; font-size: .84rem; font-weight: 800; }
.contact-form input,.contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.32); border-radius: 10px; padding: 12px 13px; color: #0e1d36; background: #fff; outline: none; }
.contact-form input:focus,.contact-form textarea:focus { border-color: #8fc0ff; box-shadow: 0 0 0 4px rgba(143,192,255,.18); }
.contact-message { grid-column: 1 / -1; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-turnstile { width: 100%; margin-top: 18px; overflow: hidden; }
.contact-turnstile .cf-turnstile { width: 100%; max-width: 100%; }
.contact-submit { margin-top: 18px; }
.contact-note { margin: 12px 0 0; color: #c5d7f0; font-size: .78rem; }
.contact-result { margin-bottom: 16px; padding: 12px 14px; border-radius: 10px; font-weight: 800; }
.contact-result.success { color: #075b39; background: #dcfae6; }
.contact-result.error { color: #8a1c13; background: #fee4e2; }

@keyframes workflow-status-pulse { 0%,100%{opacity:.65} 50%{opacity:1} }
@keyframes sim-track-upload { 0%,22%{color:#fff;background:#0e66ff;box-shadow:0 6px 14px rgba(14,102,255,.2)} 27%,100%{color:#7588a3;background:#f0f4fa;box-shadow:none} }
@keyframes sim-track-process { 0%,22%{color:#7588a3;background:#f0f4fa} 27%,47%{color:#fff;background:#0e66ff;box-shadow:0 6px 14px rgba(14,102,255,.2)} 52%,100%{color:#7588a3;background:#f0f4fa;box-shadow:none} }
@keyframes sim-track-review { 0%,47%{color:#7588a3;background:#f0f4fa} 52%,74%{color:#fff;background:#d8891b;box-shadow:0 6px 14px rgba(216,137,27,.2)} 79%,100%{color:#7588a3;background:#f0f4fa;box-shadow:none} }
@keyframes sim-track-export { 0%,74%{color:#7588a3;background:#f0f4fa} 79%,100%{color:#fff;background:#16865a;box-shadow:0 6px 14px rgba(22,134,90,.2)} }
@keyframes sim-stage-upload { 0%,22%{opacity:1;transform:translateX(0)} 27%,100%{opacity:0;transform:translateX(-18px)} }
@keyframes sim-file-drop-compact { 0%,4%{transform:translate(0,0) scale(1);opacity:0} 8%,16%{transform:translate(82px,22px) scale(1);opacity:1} 21%{transform:translate(132px,52px) scale(.94);opacity:1} 25%,100%{transform:translate(132px,52px) scale(.9);opacity:0} }
@keyframes sim-stage-process { 0%,22%{opacity:0;transform:translateX(18px)} 27%,47%{opacity:1;transform:translateX(0)} 52%,100%{opacity:0;transform:translateX(-18px)} }
@keyframes sim-progress-fill-compact { 0%,27%{width:0} 33%{width:14%} 43%{width:72%} 48%,100%{width:100%} }
@keyframes sim-stage-results { 0%,47%{opacity:0;transform:translateY(12px)} 52%,74%{opacity:1;transform:translateY(0)} 79%,100%{opacity:0;transform:translateX(-18px)} }
@keyframes sim-row-one-compact { 0%,50%{opacity:0;transform:translateY(8px)} 56%,74%{opacity:1;transform:translateY(0)} 79%,100%{opacity:0;transform:translateX(-12px)} }
@keyframes sim-row-two-compact { 0%,54%{opacity:0;transform:translateY(8px)} 60%,74%{opacity:1;transform:translateY(0)} 79%,100%{opacity:0;transform:translateX(-12px)} }
@keyframes sim-row-three-compact { 0%,58%{opacity:0;transform:translateY(8px)} 64%,74%{opacity:1;transform:translateY(0)} 79%,100%{opacity:0;transform:translateX(-12px)} }
@keyframes sim-stage-actions { 0%,64%{opacity:0;transform:translateY(8px)} 68%,74%{opacity:1;transform:translateY(0)} 79%,100%{opacity:0;transform:translateY(8px)} }
@keyframes sim-export-pulse-compact { 0%,78%,100%{transform:scale(1);box-shadow:0 12px 24px rgba(14,102,255,.22)} 84%,92%{transform:scale(1.035);box-shadow:0 16px 30px rgba(14,102,255,.3)} }
@keyframes sim-stage-export { 0%,74%{opacity:0;transform:translateX(18px)} 79%,100%{opacity:1;transform:translateX(0)} }
@keyframes sim-export-file-one { 0%,77%{opacity:0;transform:translateY(8px)} 82%,100%{opacity:1;transform:translateY(0)} }
@keyframes sim-export-file-two { 0%,80%{opacity:0;transform:translateY(8px)} 85%,100%{opacity:1;transform:translateY(0)} }
@keyframes sim-export-file-three { 0%,83%{opacity:0;transform:translateY(8px)} 88%,100%{opacity:1;transform:translateY(0)} }
@keyframes sim-export-file-four { 0%,86%{opacity:0;transform:translateY(8px)} 91%,100%{opacity:1;transform:translateY(0)} }

@media(max-width:1100px) {
  .nav-actions .login-stack { min-width: 70px; }
  .workflow-window { min-height: 590px; }
  .workflow-canvas-sim { padding: 18px; }
  .sim-stage-track span { padding-inline: 16px 7px; font-size: .62rem; }
  .sim-stage-track span::before { left: 7px; }
}
@media(max-width:800px) {
  .nav-actions .login-stack { display: none; }
  .hero-grid { align-items: start; }
  .workflow-window { min-height: 560px; transform: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media(max-width:600px) {
  .workflow-walkthrough { grid-template-columns: 1fr; max-width: 430px; }
  .workflow-card { min-height: auto; }
  .workflow-benefits { align-items: stretch; flex-direction: column; }
  .workflow-benefits span { width: 100%; }
  .workflow-window { min-height: 520px; border-radius: 18px; }
  .workflow-window-bar { flex-basis: 56px; min-height: 56px; padding: 11px 14px; }
  .workflow-status { font-size: .66rem; }
  .workflow-canvas-sim { padding: 12px; }
  .sim-shell { padding: 10px; border-radius: 15px; }
  .sim-topline { min-height: 32px; margin-bottom: 8px; }
  .sim-stage-track { gap: 4px; }
  .sim-stage-track span { padding: 6px 5px; font-size: .56rem; }
  .sim-stage-track span::before { display: none; }
  .sim-chip { padding: 5px 8px; font-size: .6rem; }
  .sim-upload-panel { padding: 13px; }
  .sim-upload-copy { margin-bottom: 8px; }
  .sim-upload-copy strong { font-size: .9rem; }
  .sim-upload-copy small { font-size: .7rem; }
  .sim-processing-panel { inset: 20% 3%; padding: 16px; }
  .sim-panel-head { gap: 7px; margin-bottom: 10px; }
  .sim-panel-head span { font-size: .65rem; }
  .sim-panel-head strong { font-size: .78rem; }
  .sim-progress-meta { gap: 8px; margin-top: 8px; font-size: .67rem; }
  .sim-results-panel { inset: 0 0 58px; padding: 10px; }
  .sim-table { gap: 6px; }
  .sim-row { grid-template-columns: .95fr 1.15fr .78fr; gap: 5px; padding: 7px; font-size: .65rem; }
  .sim-row-head { font-size: .58rem; }
  .sim-badge { min-width: 0; padding: 4px 6px; font-size: .58rem; }
  .sim-actions-panel { height: 48px; gap: 7px; padding: 7px 8px; }
  .sim-action { min-width: 0; padding: 8px 10px; font-size: .66rem; }
  .sim-file-ghost { min-width: 155px; padding: 9px 10px; }
  .sim-export-panel { padding: 10px; }
  .sim-export-titlebar { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 8px; }
  .sim-export-titlebar strong { font-size: .8rem; }
  .sim-export-titlebar small { font-size: .62rem; }
  .sim-export-check { width: 24px; height: 24px; }
  .sim-explorer-bar { min-height: 34px; padding: 7px 9px; font-size: .68rem; }
  .sim-explorer-list { gap: 5px; padding: 6px; }
  .sim-explorer-row { grid-template-columns: 32px 1fr auto; gap: 7px; padding: 6px 7px; }
  .sim-file-icon { width: 30px; height: 30px; border-radius: 8px; font-size: .54rem; }
  .sim-explorer-row strong { font-size: .63rem; }
  .sim-explorer-row small,.sim-explorer-row b { font-size: .54rem; }
  .workflow-footer { flex-basis: 48px; min-height: 48px; padding: 9px 12px; font-size: .69rem; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-message { grid-column: auto; }
}
@media(prefers-reduced-motion:reduce) {
  /*
   * The InvoiceCY workflow demonstration remains animated so visitors can
   * see the complete upload-to-export process. Reduced-motion behaviour
   * remains active for every other element on the website.
   */
  .workflow-status > span:first-child {
    animation: workflow-status-pulse 2s ease-in-out infinite !important;
  }
  .sim-track-upload {
    animation: sim-track-upload 10s ease-in-out infinite !important;
  }
  .sim-track-process {
    animation: sim-track-process 10s ease-in-out infinite !important;
  }
  .sim-track-review {
    animation: sim-track-review 10s ease-in-out infinite !important;
  }
  .sim-track-export {
    animation: sim-track-export 10s ease-in-out infinite !important;
  }
  .sim-upload-panel {
    animation: sim-stage-upload 10s ease-in-out infinite !important;
  }
  .sim-file-ghost {
    animation: sim-file-drop-compact 10s ease-in-out infinite !important;
  }
  .sim-processing-panel {
    animation: sim-stage-process 10s ease-in-out infinite !important;
  }
  .sim-progress-fill {
    animation: sim-progress-fill-compact 10s linear infinite !important;
  }
  .sim-results-panel {
    animation: sim-stage-results 10s ease-in-out infinite !important;
  }
  .row-one {
    animation: sim-row-one-compact 10s ease-in-out infinite !important;
  }
  .row-two {
    animation: sim-row-two-compact 10s ease-in-out infinite !important;
  }
  .row-three {
    animation: sim-row-three-compact 10s ease-in-out infinite !important;
  }
  .sim-actions-panel {
    animation: sim-stage-actions 10s ease-in-out infinite !important;
  }
  .sim-action.export {
    animation: sim-export-pulse-compact 10s ease-in-out infinite !important;
  }
  .sim-export-panel {
    animation: sim-stage-export 10s ease-in-out infinite !important;
  }
  .sim-explorer-row:nth-child(1) {
    animation: sim-export-file-one 10s ease-in-out infinite !important;
  }
  .sim-explorer-row:nth-child(2) {
    animation: sim-export-file-two 10s ease-in-out infinite !important;
  }
  .sim-explorer-row:nth-child(3) {
    animation: sim-export-file-three 10s ease-in-out infinite !important;
  }
  .sim-explorer-row:nth-child(4) {
    animation: sim-export-file-four 10s ease-in-out infinite !important;
  }
}
