:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #617068;
  --paper: #f3f5ef;
  --card: #fffef9;
  --line: #d9dfd7;
  --green: #286b4e;
  --green-dark: #194a36;
  --mint: #dcecdf;
  --red: #9d3b38;
  --shadow: 0 24px 70px rgba(23, 33, 29, .09);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 5%, rgba(137, 183, 151, .23), transparent 27rem),
    linear-gradient(180deg, #f8f9f4, var(--paper));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell { width: min(960px, calc(100% - 36px)); margin: 0 auto; padding: 72px 0 54px; }
.shell.compact { width: min(760px, calc(100% - 36px)); }
.hero { max-width: 760px; margin-bottom: 32px; }
.home-shell { width: min(1040px, calc(100% - 36px)); }
.home-nav { margin-bottom: 54px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-lockup img { width: 246px; height: 126px; object-fit: contain; object-position: left center; }
.home-nav strong { color: var(--ink); letter-spacing: -.02em; }
.home-hero { max-width: 860px; margin-bottom: 42px; }
.home-title { max-width: 950px; font-size: clamp(3.45rem, 9vw, 6.35rem); line-height: .9; }
.home-hero h2 { margin: 28px 0 0; font-size: clamp(1.28rem, 2.4vw, 1.72rem); font-weight: 750; letter-spacing: -.025em; }
.hero-limit { max-width: 800px; margin: 16px 0 0; color: #405048; line-height: 1.65; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: .73rem; font-weight: 800; letter-spacing: .14em; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 6.5vw, 4rem); font-weight: 500; line-height: .98; letter-spacing: -.04em; }
.intro { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.format-note { display: inline-block; margin: 18px 0 0; padding: 8px 11px; border-radius: 9px; color: #4d6257; background: rgba(220, 236, 223, .7); font-size: .79rem; }
.card { padding: clamp(24px, 5vw, 46px); border: 1px solid rgba(23, 33, 29, .1); border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.upload-card { max-width: 900px; margin: 0 auto; }
.upload-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.upload-card h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.45rem); font-weight: 500; letter-spacing: -.03em; }
.section-kicker { margin: 0 0 8px; color: var(--green); font-size: .71rem; font-weight: 800; letter-spacing: .12em; }
.beta-badge { flex: 0 0 auto; padding: 8px 11px; border: 1px solid #bad2c1; border-radius: 999px; color: var(--green-dark); background: #f0f8f1; font-size: .77rem; font-weight: 800; }
.upload-exclusion { margin: 0 0 26px; }
.secure-note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 26px; }
.field.wide { margin-bottom: 28px; }
label { display: block; margin-bottom: 9px; font-size: .92rem; font-weight: 750; }
label span { color: var(--muted); font-weight: 500; }
input[type="email"], input[type="text"], input[type="password"], input:not([type]), select {
  width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); background: #fff; font: inherit; outline: none;
}
input:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(40, 107, 78, .12); }
.field small, .dropzone small { display: block; margin-top: 8px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.dropzone { position: relative; padding: 27px; border: 1px dashed #aebbb2; border-radius: 15px; background: #f9faf6; }
.dropzone input { width: 100%; font: inherit; }
.dropzone span { display: block; margin-top: 9px; color: var(--muted); font-size: .85rem; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 11px; margin: 2px 0 28px; color: var(--muted); font-size: .83rem; font-weight: 500; line-height: 1.5; }
.consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--green); }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
  border: 0; border-radius: 13px; color: white; background: var(--green); font: inherit; font-weight: 800;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s;
}
button:hover, .button:hover { background: var(--green-dark); transform: translateY(-1px); }
button:disabled { opacity: .6; cursor: wait; }
.upload-note, .muted, .privacy-note { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.upload-note.error-text { color: var(--red); font-weight: 700; }
.upload-progress { height: 7px; margin-top: 18px; overflow: hidden; border-radius: 7px; background: #e6ebe4; }
.upload-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width .2s; }
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 28px 8px 0; }
.service-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 38px; }
.service-steps div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; padding: 17px; border: 1px solid rgba(23, 33, 29, .09); border-radius: 16px; background: rgba(255, 254, 249, .68); }
.service-steps b { grid-row: span 2; color: var(--green); font-size: .8rem; }
.service-steps strong { align-self: end; font-size: .88rem; }
.service-steps span { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.home-details { max-width: 900px; margin: 0 auto; padding-top: 34px; }
.details div { display: flex; flex-direction: column; gap: 6px; }
.details strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.details span { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.back { display: inline-block; margin-bottom: 22px; color: var(--green); font-weight: 700; text-decoration: none; }
.status-card { text-align: center; }
.status-card h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
.status-card .intro { margin-inline: auto; }
.status-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 22px; border-radius: 50%; background: var(--mint); }
.status-icon span { width: 16px; height: 16px; border-radius: 50%; background: var(--green); }
.status-icon.failed { background: #f5dfdc; }
.status-icon.failed span { background: var(--red); }
.status-icon.running span, .status-icon.queued span { animation: pulse 1.25s infinite; }
.job-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 34px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); text-align: left; }
.job-meta div { padding: 14px 16px; background: #fff; }
.job-meta dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.job-meta dd { margin: 5px 0 0; overflow-wrap: anywhere; font-size: .9rem; font-weight: 700; }
.downloads { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.downloads a:not(.button) { color: var(--green); font-size: .88rem; font-weight: 750; }
.button { flex-direction: column; padding-block: 9px; }
.button small { opacity: .75; font-weight: 500; }
.error-box { padding: 16px; border-radius: 12px; color: #6f2725; background: #fae9e6; font-size: .86rem; line-height: 1.55; text-align: left; overflow-wrap: anywhere; }
.workflow { margin: 30px 0 18px; text-align: left; }
.workflow-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 10px; font-size: .87rem; }
.workflow-head strong { color: var(--green-dark); }
.workflow-head span { color: var(--muted); font-variant-numeric: tabular-nums; }
.workflow-progress { height: 9px; overflow: hidden; border-radius: 9px; background: #e6ebe4; }
.workflow-progress span { display: block; height: 100%; border-radius: inherit; background: var(--green); transition: width .45s ease; }
.workflow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin: 14px 0 0; padding: 0; list-style: none; }
.workflow-steps li { color: var(--muted); font-size: .67rem; line-height: 1.32; }
.workflow-steps li::before { content: ""; display: block; width: 8px; height: 8px; margin-bottom: 6px; border-radius: 50%; background: #cbd4cc; }
.workflow-steps li.done, .workflow-steps li.current { color: var(--green-dark); font-weight: 700; }
.workflow-steps li.done::before { background: var(--green); }
.workflow-steps li.current::before { background: var(--green); animation: pulse 1.25s infinite; }
.live-metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin: 20px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--line); text-align: left; }
.live-metrics div { display: flex; flex-direction: column; gap: 5px; padding: 12px; background: #fff; }
.live-metrics span { color: var(--muted); font-size: .68rem; }
.live-metrics strong { font-size: .82rem; overflow-wrap: anywhere; }
.privacy-note { text-align: center; }
.topnav { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 28px; color: var(--muted); font-size: .84rem; }
.topnav a, .site-footer a, .legal a, .consent a { color: var(--green); }
.compact-card { text-align: center; }
.compact-card h2 { margin-top: 0; }
.warning-box, .success-box { margin-bottom: 24px; padding: 16px; border-radius: 12px; font-size: .86rem; line-height: 1.55; text-align: left; }
.warning-box { color: #6f5420; background: #fff1ca; }
.success-box { color: var(--green-dark); background: var(--mint); }
.order-summary { display: grid; grid-template-columns: 2fr 1fr; gap: 1px; margin-bottom: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.order-summary div { display: flex; flex-direction: column; gap: 6px; padding: 17px; background: #fff; }
.order-summary span { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.agreements { margin: 0 0 28px; padding: 0; border: 0; }
.agreements legend { margin-bottom: 18px; font-weight: 800; }
.agreements .consent { padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.agreements .consent-special { border-color: #9bb9a7; background: #f3f8f2; }
.payment-actions { display: grid; gap: 18px; }
.voucher-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
button.secondary { color: var(--green-dark); background: var(--mint); }
button.secondary:hover { color: #fff; background: var(--green); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 42px; font-size: .78rem; }
.legal { width: min(820px, calc(100% - 36px)); }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
.legal h2 { margin: 36px 0 10px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.legal p, .legal li, .legal dd { color: #405048; line-height: 1.7; }
.legal-version { padding: 10px 12px; border-radius: 10px; background: #fff1ca; font-size: .8rem; }
.legal-meta { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--line); }
.legal-meta dt, .legal-meta dd { margin: 0; padding: 14px; background: #fff; }
.legal-meta dt { font-weight: 800; }
.legal-form { margin-top: 28px; }
.seo-explainer { margin-top: 54px; padding: clamp(26px, 5vw, 46px); border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.64); }
.seo-explainer > h2 { margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 4vw, 2.55rem); font-weight: 500; }
.seo-explainer > p { max-width: 920px; color: var(--muted); line-height: 1.7; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.faq-grid article { padding: 20px; border-radius: 14px; background: #fff; }
.faq-grid h3 { margin: 0 0 9px; font-size: 1rem; }
.faq-grid p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.analytics-totals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0; }
.analytics-totals div { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.analytics-totals strong { color: var(--green-dark); font-size: 2.2rem; }
.analytics-totals span { color: var(--muted); font-size: .82rem; }
.analytics-chart { display: grid; gap: 9px; }
.analytics-row { display: grid; grid-template-columns: 94px 1fr 48px; align-items: center; gap: 12px; font-size: .78rem; }
.analytics-row progress { width: 100%; height: 12px; overflow: hidden; border: 0; border-radius: 10px; background: #e4ebe4; accent-color: var(--green); }
.table-wrap { overflow-x: auto; }
.analytics-dashboard table { width: 100%; border-collapse: collapse; background: #fff; }
.analytics-dashboard th, .analytics-dashboard td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; }
.active-job-list { display: grid; gap: 16px; }
.active-job-card { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.active-job-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.active-job-card progress { width: 100%; accent-color: var(--green); }
.active-job-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.active-job-card dl div { padding: 10px; border-radius: 9px; background: var(--mint); }
.active-job-card dt, .job-history small { display: block; color: var(--muted); font-size: .7rem; }
.active-job-card dd { margin: 3px 0 0; font-weight: 700; }
.empty-state { padding: 24px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }
.job-history table { min-width: 1080px; font-size: .78rem; }
.job-history td { vertical-align: top; line-height: 1.55; }
.job-history code { display: block; margin-top: 5px; font-size: .68rem; }
.job-history td > small { margin-top: 6px; }
.status-text { color: var(--green-dark); }
.status-failed, .status-cancelled { color: var(--red); }
.mail-events { min-width: 250px; }
.mail-events span { display: block; margin-bottom: 7px; padding: 7px; border-radius: 7px; background: var(--mint); }
.mail-events .mail-failed { color: #6f2725; background: #fae9e6; }
@keyframes pulse { 50% { transform: scale(.55); opacity: .4; } }
@media (max-width: 680px) {
  .shell { padding-top: 42px; }
  .home-nav { margin-bottom: 38px; }
  .brand-lockup img { width: 198px; height: 102px; }
  .home-title { font-size: clamp(3.05rem, 16vw, 4.7rem); line-height: .93; }
  .grid, .details, .order-summary { grid-template-columns: 1fr; }
  .service-steps { grid-template-columns: 1fr; margin-bottom: 28px; }
  .upload-card-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .card { border-radius: 18px; }
  .job-meta { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; gap: 8px; }
  .live-metrics { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps li { display: grid; grid-template-columns: 14px 1fr; align-items: center; }
  .workflow-steps li::before { margin: 0; }
  .voucher-row { grid-template-columns: 1fr; }
  .legal-meta { grid-template-columns: 1fr; }
  .faq-grid, .analytics-totals { grid-template-columns: 1fr; }
  .active-job-card dl { grid-template-columns: 1fr; }
}
