:root {
  --page: #f6f6f7;
  --surface: #ffffff;
  --surface-muted: #f1f1f2;
  --ink: #1f2024;
  --muted: #72757f;
  --soft: #e7e8ec;
  --line: #dedfe4;
  --blue: #2d8ed0;
  --blue-dark: #1777bb;
  --blue-soft: #e9f5ff;
  --violet-soft: #f3f2ff;
  --green: #178a55;
  --red: #a33a3a;
  --shadow: 0 16px 44px rgba(32, 34, 40, 0.08);
  --radius: 8px;
  --header-height: 54px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.verifemail-embedded-app {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

code {
  border-radius: 5px;
  background: var(--blue-soft);
  color: #176ca8;
  padding: 0.08em 0.32em;
  font-size: 0.92em;
}

button,
input,
select {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

.site-header {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 108px;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.brand,
.nav-links,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 8px;
  color: #2b2d33;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nav-links {
  justify-content: end;
  gap: 28px;
}

.nav-links a,
.site-footer a {
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a {
  color: var(--ink);
  font-size: 16px;
}

.site-header .header-actions .button {
  font-size: 16px;
}

.site-footer a {
  color: #4d5058;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--blue-dark);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  background: transparent;
  color: inherit;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(45, 142, 208, 0.28);
  outline-offset: 3px;
}

.button.small {
  min-height: 30px;
  padding: 0 20px;
  font-size: 0.76rem;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 22px rgba(45, 142, 208, 0.22);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  border-color: #d2d4da;
  background: #fff;
  color: #343740;
}

.button.secondary:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
  box-shadow: none;
}

.button[aria-busy="true"] {
  position: relative;
  padding-right: 50px;
}

.button[aria-busy="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 15px;
  height: 15px;
  margin-top: -7.5px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 780ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero {
  min-height: auto;
  display: grid;
  place-items: start center;
  padding: 58px 24px 46px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.96), rgba(246, 246, 247, 0) 56%),
    linear-gradient(180deg, #fbfbfc 0%, #f6f6f7 100%);
}

.hero-inner {
  width: min(880px, 100%);
  display: grid;
  justify-items: center;
  gap: 28px;
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.hero h1 {
  max-width: 840px;
  color: #202126;
  font-size: clamp(2.25rem, 4.3vw, 3.75rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 480px;
  color: #666a74;
  font-size: 0.95rem;
  line-height: 1.55;
}

.upload-card {
  width: min(440px, 100%);
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  padding: 26px;
  box-shadow: 0 18px 44px rgba(26, 29, 36, 0.06);
}

.upload-dropzone {
  position: relative;
  min-height: 188px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  border: 1px dashed #d1d2d8;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
}

.upload-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-dropzone label {
  display: grid;
  justify-items: center;
  gap: 9px;
  cursor: pointer;
}

.upload-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: #706cff;
  font-size: 1.1rem;
  font-weight: 900;
}

.upload-dropzone strong {
  color: #3a3d45;
  font-size: 1.05rem;
}

.upload-dropzone label span:last-child {
  max-width: 310px;
  color: #777b85;
  font-size: 0.82rem;
  line-height: 1.4;
}

.browse-button {
  min-height: 34px;
  padding: 0 22px;
  font-size: 0.76rem;
}

.upload-summary {
  min-height: 150px;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 1px solid #d9dbe1;
  border-radius: 12px;
  background: #fff;
  padding: 26px 20px;
  text-align: center;
}

.upload-summary img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.upload-summary span,
.summary-row span,
.metric span,
.field > span,
.field-label {
  color: #575b66;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.upload-summary strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.upload-replace-link {
  border: 0;
  background: transparent;
  color: #6f7380;
  padding: 0;
  font: inherit;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.upload-replace-link:hover,
.upload-replace-link:focus-visible {
  color: var(--blue-dark);
}

.upload-success {
  min-height: 188px;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 1px solid #d9dbe1;
  border-radius: 12px;
  background: #fff;
  padding: 30px 20px;
  text-align: center;
  animation: success-pop 360ms ease both;
}

.upload-success img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.upload-success strong {
  color: #2e323a;
  font-size: 1rem;
  font-weight: 700;
}

@keyframes success-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.status-message {
  min-height: 22px;
  color: #6a6e78;
  font-size: 0.9rem;
  line-height: 1.5;
}

.status-message:empty {
  display: none;
}

.checkout-stage {
  width: min(1060px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(430px, 1.08fr);
  gap: 22px;
  margin: 0 auto;
  padding: 24px 0 64px;
  align-items: start;
}

.checkout-stage:has(#quotePanel.hidden):has(#billingPanel.hidden):has(#processingPanel.hidden) {
  display: none;
}

.checkout-stage:has(#billingPanel.hidden) {
  max-width: 780px;
  grid-template-columns: 1fr;
}

.checkout-stage:has(#processingPanel:not(.hidden)) {
  max-width: 960px;
  grid-template-columns: 1fr;
  min-height: 72svh;
  align-items: center;
  justify-items: stretch;
}

.quote-section,
.billing-section,
.processing-section {
  display: grid;
  gap: 16px;
  animation: panel-enter 260ms ease both;
}

.processing-section {
  width: 100%;
  justify-items: center;
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quote-card,
.billing-shell,
.process-card {
  border: 1px solid #d8d9de;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(24, 27, 34, 0.06);
}

.quote-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.quote-card h2,
.billing-shell h2,
.process-card h1,
.process-card h2 {
  font-size: clamp(1.22rem, 1.6vw, 1.5rem);
  font-weight: 760;
  line-height: 1.16;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ececf0;
}

.summary-row.compact {
  padding-bottom: 12px;
}

.summary-row.total {
  padding-top: 2px;
}

.summary-row strong {
  font-size: 1.05rem;
  font-weight: 780;
  text-align: right;
}

.summary-row .price {
  color: var(--blue-dark);
  font-size: 1.25rem;
}

.summary-breakdown {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid #ececf0;
}

.summary-support {
  display: none;
}

.summary-breakdown div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.summary-breakdown span,
.summary-row span {
  color: #6f7380;
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-breakdown strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
}

.summary-breakdown p,
.quote-total-note {
  color: #858892;
  font-size: 0.84rem;
  line-height: 1.45;
}

.quote-total-note {
  margin-top: -10px;
}

.field {
  display: grid;
  gap: 8px;
}

.summary-field {
  margin-top: 4px;
}

.field-note {
  color: #858892;
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.45;
}

select,
input[type="email"],
input[type="text"] {
  width: 100%;
  min-height: 54px;
  border: 1px solid #d2d4da;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 16px;
  font-size: 1rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.checkout-stage select,
.checkout-stage input[type="email"],
.checkout-stage input[type="text"] {
  min-height: 46px;
  padding: 10px 13px;
  font-size: 0.94rem;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #676b75 50%),
    linear-gradient(135deg, #676b75 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 23px,
    calc(100% - 14px) 23px;
  background-size: 8px 8px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

input::placeholder {
  color: #838996;
}

.quote-submit {
  justify-self: start;
}

body[data-app-view="billing"] .quote-submit,
body[data-app-view="ordering"] .quote-submit,
body[data-app-view="checkout"] .quote-submit {
  display: none;
}

.summary-note {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid #e0e1e5;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  padding: 24px;
}

.summary-note span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid #7a78ff;
  border-radius: 50%;
  color: #706cff;
  font-size: 0.84rem;
  font-weight: 900;
}

.summary-note p {
  color: #5f626c;
  line-height: 1.45;
}

body[data-app-view="billing"] .summary-note,
body[data-app-view="ordering"] .summary-note,
body[data-app-view="checkout"] .summary-note {
  display: none;
}

.sample-wrap {
  max-height: 260px;
  overflow: auto;
  border: 1px solid #e2e3e8;
  border-radius: 12px;
  background: #fff;
}

body[data-app-view="billing"] .sample-wrap,
body[data-app-view="ordering"] .sample-wrap,
body[data-app-view="checkout"] .sample-wrap {
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid #ececf0;
  text-align: left;
  white-space: nowrap;
}

th {
  background: #f7f8fa;
  color: #575b66;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.billing-shell {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.billing-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.billing-title-row > span {
  color: #5b5f67;
  font-size: 1.05rem;
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  align-items: start;
}

.field-wide {
  grid-column: 1 / -1;
}

.field-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.field-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.field-badge.required {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.field-badge.optional {
  background: #edf6f1;
  color: #367153;
}

.field small {
  color: #787c86;
  font-size: 0.76rem;
  line-height: 1.32;
}

.tax-input-wrap {
  position: relative;
  display: block;
}

.tax-input-wrap input {
  padding-right: 46px;
}

.tax-status {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 22px;
  height: 22px;
  display: none;
  place-items: center;
  border-radius: 50%;
  pointer-events: none;
  transform: translateY(-50%);
}

.tax-status[data-state="valid"],
.tax-status[data-state="invalid"],
.tax-status[data-state="unavailable"],
.tax-status[data-state="pending"] {
  display: grid;
}

.tax-status[data-state="valid"] {
  background: #e7f6ee;
  color: var(--green);
}

.tax-status[data-state="valid"]::before {
  content: "✓";
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

.tax-status[data-state="invalid"],
.tax-status[data-state="unavailable"] {
  background: #fcebec;
  color: var(--red);
}

.tax-status[data-state="invalid"]::before,
.tax-status[data-state="unavailable"]::before {
  content: "×";
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.tax-status[data-state="pending"] {
  background: #f2f7fb;
}

.tax-status[data-state="pending"]::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #c9dceb;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 780ms linear infinite;
}

#billingVatId[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(163, 58, 58, 0.1);
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-consent {
  flex: 1 1 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #555963;
  font-size: 0.82rem;
  line-height: 1.38;
}

.legal-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 0;
}

.legal-consent a {
  color: #1f2024;
  font-weight: 700;
}

.checkout-button {
  min-height: 50px;
  flex: 1 1 100%;
  font-size: 0.94rem;
}

.checkout-button::after {
  content: "→";
  font-size: 1.55rem;
  line-height: 0;
}

.checkout-stage:has(#billingPanel.hidden) .checkout-button::after {
  content: none;
}

.checkout-button[aria-busy="true"]::after {
  content: "";
  font-size: inherit;
  line-height: inherit;
}

.checkout-status {
  flex: 1 1 100%;
  min-height: 22px;
  color: #6d717b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.checkout-status[data-state="pending"] {
  color: #176ca8;
}

.checkout-status[data-state="error"] {
  color: var(--red);
}

.process-card {
  width: min(840px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(34px, 6vw, 56px);
  text-align: center;
}

.process-card > p {
  max-width: 620px;
  color: #666a74;
  font-size: 1.05rem;
  line-height: 1.55;
}

.processing-spinner {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(49, 122, 185, 0.16);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: processing-spin 850ms linear infinite;
}

body[data-app-view="completed"] .processing-spinner,
body[data-app-view="failed"] .processing-spinner,
body[data-app-view="expired"] .processing-spinner,
body[data-job-status="completed"] .processing-spinner,
body[data-job-status="failed"] .processing-spinner,
body[data-job-status="expired"] .processing-spinner,
body[data-job-status="support"] .processing-spinner {
  display: none;
}

@keyframes processing-spin {
  to {
    transform: rotate(360deg);
  }
}

.progress-track {
  width: min(450px, 100%);
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e5e8;
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 420ms ease;
}

.benefits-section,
.use-cases-section,
.testimonial-section,
.faq-section,
.final-cta {
  padding: 80px 24px;
}

.benefit-grid,
.use-case-grid {
  width: min(1040px, 100%);
  display: grid;
  margin: 0 auto;
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.benefit-grid article {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid #e1e2e7;
  border-radius: 12px;
  background: #fff;
  padding: 24px;
}

.segment-icon {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.benefit-grid h3,
.use-case-grid h3 {
  color: #393c44;
  font-size: 1rem;
  line-height: 1.25;
}

.benefit-grid p,
.use-case-grid p {
  color: #676b75;
  font-size: 0.84rem;
  line-height: 1.55;
}

.use-cases-section h2 {
  max-width: 900px;
  margin: 0 auto 54px;
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.use-case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 64px;
}

.use-case-grid article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}

.use-case-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue);
}

.use-case-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.use-case-grid article:nth-child(even) .use-case-icon {
  background: #2387c8;
}

.testimonial-section {
  background: #f0f0f1;
}

.testimonial-inner {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 44px;
  align-items: center;
  margin: 0 auto;
}

.testimonial-inner img {
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-inner figure {
  display: grid;
  gap: 18px;
}

.testimonial-inner figure > span {
  color: #cbcaff;
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.7;
}

.testimonial-inner blockquote {
  color: #42454e;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.45;
}

.testimonial-inner figcaption {
  display: grid;
  gap: 3px;
  color: #575b66;
  font-size: 0.82rem;
}

.testimonial-inner figcaption strong {
  color: #2f3239;
}

.faq-layout {
  width: min(720px, 100%);
  display: grid;
  gap: 36px;
  margin: 0 auto;
}

.faq-layout h2 {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.1;
}

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

.faq-item {
  border: 1px solid #e5e6ea;
  border-radius: 8px;
  background: #fff;
}

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

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

.faq-item h3 {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

.faq-item summary span {
  display: grid;
  place-items: center;
  color: #3f434b;
  transition: transform 180ms ease;
}

.faq-item summary span::before {
  content: "⌄";
  font-size: 1rem;
  font-weight: 900;
}

.faq-item[open] summary span {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  gap: 12px;
  padding: 0 20px 20px;
}

.faq-answer p {
  color: #5f636e;
  font-size: 0.93rem;
  line-height: 1.62;
}

.final-cta {
  width: min(1040px, calc(100% - 48px));
  display: grid;
  justify-items: center;
  gap: 20px;
  margin: 0 auto 92px;
  border-radius: 20px;
  background: #fff;
  padding: clamp(42px, 6vw, 62px) 24px;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.1;
}

.final-cta p {
  max-width: 540px;
  color: #8a8d96;
  line-height: 1.55;
}

.site-footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 32px;
  padding: 58px 108px;
  border-top: 1px solid #ececf0;
  background: #fff;
}

.site-footer strong {
  color: #2f3239;
  font-size: 1.05rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.shell {
  width: min(960px, calc(100% - 48px));
  min-height: 100svh;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 56px 0;
}

.workspace {
  width: 100%;
}

.status-card,
.panel {
  width: min(840px, 100%);
  display: grid;
  justify-items: center;
  gap: 22px;
  margin: 0 auto;
  border: 1px solid #d8d9de;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(34px, 6vw, 60px);
  text-align: center;
  box-shadow: var(--shadow);
}

.status-icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(45, 142, 208, 0.24);
}

.status-progress-page:not([data-job-status="completed"]) .status-icon {
  display: none;
}

.status-card h1,
.panel-heading h1,
.topbar h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.status-card p,
.panel p {
  max-width: 610px;
  color: #666a74;
  font-size: 1.04rem;
  line-height: 1.55;
}

.status-pill {
  display: inline-grid;
  place-items: center;
  min-width: 104px;
  min-height: 34px;
  border: 1px solid #d8d9de;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  padding: 0 14px;
  font-size: 0.8rem;
  font-weight: 850;
}

.topbar,
.panel-heading {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.eyebrow {
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  padding: 0 24px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(45, 142, 208, 0.22);
}

.download.secondary {
  border-color: #d2d4da;
  background: #fff;
  color: #343740;
  box-shadow: none;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .checkout-stage,
  .checkout-stage:has(#billingPanel.hidden) {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-inner {
    grid-template-columns: 150px 1fr;
  }

  .testimonial-inner img {
    width: 150px;
  }

  .site-footer {
    padding: 44px 24px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  .upload-card {
    padding: 18px;
  }

  .checkout-stage {
    width: min(100% - 32px, 1160px);
    padding: 32px 0 68px;
  }

  .quote-card,
  .billing-shell,
  .process-card {
    border-radius: 18px;
    padding: 24px;
  }

  .billing-grid,
  .benefit-grid,
  .use-case-grid,
  .testimonial-inner,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .testimonial-inner {
    justify-items: center;
    text-align: center;
  }

  .use-case-grid {
    gap: 26px;
  }

  .benefits-section,
  .use-cases-section,
  .testimonial-section,
  .faq-section,
  .final-cta {
    padding: 58px 16px;
  }

  .final-cta {
    width: min(100% - 32px, 1040px);
    margin-bottom: 58px;
  }

  .site-footer {
    justify-items: start;
  }

  .site-footer nav {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .upload-summary,
  .summary-row,
  .billing-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .summary-row strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .processing-spinner {
    animation: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
