:root {
  color-scheme: light;
  --ink: #171918;
  --muted: #626865;
  --line: #dfe3e1;
  --paper: #f5f6f4;
  --panel: #ffffff;
  --soft: #eef2f0;
  --accent: #185548;
  --accent-dark: #103f36;
  --accent-soft: #e7f0ed;
  --warning: #8a5715;
  --warning-soft: #fff7e8;
  --danger: #934519;
  --shadow: 0 20px 55px rgba(21, 29, 26, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a, button, input, select { font: inherit; letter-spacing: 0; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: 0.55; }
p { margin: 0; color: var(--muted); line-height: 1.58; }
h1, h2 { margin: 0; letter-spacing: 0; }

.topnav {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand span {
  display: grid; width: 32px; height: 32px; place-items: center;
  border-radius: 7px; background: var(--ink); color: white;
  font-size: 0.7rem; font-weight: 800;
}
.brand strong { font-size: 1rem; font-weight: 720; }
.topnav nav { display: flex; gap: 24px; }
.topnav nav a { color: var(--muted); font-size: 0.86rem; font-weight: 620; text-decoration: none; }
.topnav nav a:hover { color: var(--ink); }
.topnav nav .nav-cta { margin-left: 2px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: white; padding: 8px 12px; }
.currency-control {
  display: inline-flex; min-height: 34px; align-items: center; gap: 7px;
  border-left: 1px solid var(--line); padding-left: 16px;
}
.currency-control span { color: var(--muted); font-size: 0.68rem; font-weight: 650; white-space: nowrap; }
.currency-control select {
  min-height: 32px; border: 1px solid var(--line); border-radius: 6px; outline: none;
  background: var(--panel); color: var(--ink); font-size: 0.74rem; font-weight: 720; padding: 0 24px 0 8px;
}
.currency-control select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

main {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  min-width: 0;
  gap: 72px;
  margin: 0 auto;
  padding: 78px 0 48px;
}

.product-intro { max-width: 820px; margin: 0 auto; text-align: center; }
.product-intro > span, .section-kicker {
  display: block; margin-bottom: 14px; color: var(--accent);
  font-size: 0.72rem; font-weight: 760; text-transform: uppercase;
}
.product-intro h1 {
  max-width: 800px; font-size: clamp(2.65rem, 5.2vw, 4.7rem);
  font-weight: 700; line-height: 1.02;
}
.product-intro p { max-width: 680px; margin: 22px auto 0; font-size: 1.08rem; }
.intro-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 25px; }
.intro-actions a, .intro-actions button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
  border: 1px solid var(--ink); border-radius: 6px; font-weight: 700; padding: 0 18px; text-decoration: none;
}
.intro-actions .primary-action { background: var(--ink); color: white; }
.intro-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 16px; color: var(--muted); font-size: 0.75rem; }
.intro-facts span::before { content: "✓"; margin-right: 6px; color: var(--accent); font-weight: 800; }

.product-workspace {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(430px, 1.28fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.workspace-topbar {
  display: flex; grid-column: 1 / -1; align-items: center; gap: 22px;
  min-height: 48px; border-bottom: 1px solid var(--line); background: #fafbfa; padding: 0 20px;
}
.workspace-topbar span { display: inline-flex; align-items: center; gap: 7px; color: #626865; font-size: 0.76rem; font-weight: 660; }
.workspace-topbar span i { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid #cfd5d2; border-radius: 50%; font-size: 0.65rem; font-style: normal; }
.workspace-topbar span.is-active { color: var(--accent); }
.workspace-topbar span.is-active i { border-color: var(--accent); background: var(--accent); color: white; }
.workspace-topbar small { margin-left: auto; color: var(--accent); font-size: 0.72rem; font-weight: 680; }

.workspace-copy {
  display: grid; align-content: center; gap: 0;
  border-right: 1px solid var(--line); padding: 48px;
}
.workspace-copy h2 { max-width: 340px; font-size: 2rem; line-height: 1.12; }
.workspace-copy > p { margin-top: 13px; font-size: 0.96rem; }
.quiet-proof { display: grid; gap: 0; margin: 30px 0 0; }
.quiet-proof div { display: grid; gap: 4px; border-top: 1px solid var(--line); padding: 15px 0; }
.quiet-proof dt { color: var(--muted); font-size: 0.73rem; font-weight: 650; text-transform: uppercase; }
.quiet-proof dd { margin: 0; font-size: 0.9rem; font-weight: 650; }

.converter-card { display: grid; gap: 14px; padding: 28px; }
.dropzone {
  display: grid; gap: 16px; min-height: 410px;
  border: 1px dashed #aeb8b4; border-radius: 7px;
  background: #fafbfa; padding: 24px;
}
.dropzone.has-file { border-color: var(--accent); background: #f7faf9; }
.dropzone.is-dragging { border-color: var(--accent); background: var(--accent-soft); }
.upload-target {
  display: grid; min-height: 250px; align-content: center;
  justify-items: center; gap: 10px; cursor: pointer; text-align: center;
}
.upload-target input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-icon {
  display: grid; width: 48px; height: 48px; place-items: center;
  border-radius: 7px; background: var(--accent); color: white;
  font-size: 1.65rem; line-height: 1;
}
.upload-title { margin-top: 6px; font-size: 1.18rem; font-weight: 720; }
.upload-help { color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.selected-file {
  max-width: 100%; margin-top: 7px; border: 1px solid var(--line);
  border-radius: 6px; background: white; color: var(--muted);
  font-size: 0.82rem; font-weight: 620; overflow-wrap: anywhere; padding: 8px 10px;
}
.has-file .selected-file { border-color: #a8c4bc; background: var(--accent-soft); color: var(--accent-dark); }
.password-field { display: grid; gap: 7px; text-align: left; }
.password-field > span { font-size: 0.8rem; font-weight: 680; }
.password-field small { color: var(--muted); font-weight: 500; }
.password-field input, .manual-check input {
  width: 100%; min-height: 44px; border: 1px solid var(--line);
  border-radius: 6px; background: white; padding: 0 12px;
}
.password-field input:focus, .manual-check input:focus { border-color: var(--accent); outline: 3px solid rgba(24, 85, 72, 0.1); }
.upload-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; }

button, .payment-box a, .download-buttons a, .legal-links a, .back-home, .seo-entry-grid a {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--ink); border-radius: 6px; background: var(--ink);
  color: white; font-weight: 680; padding: 0 18px; text-decoration: none;
}
.secondary-button { border-color: var(--line); background: white; color: var(--ink); }
.secondary-button:hover { border-color: #b9c0bd; background: var(--soft); }
.upload-assurance { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.76rem; }
.upload-assurance span::before { content: "✓"; margin-right: 6px; color: var(--accent); font-weight: 800; }
.checkout-assurance { border-top: 1px solid var(--line); padding-top: 12px; font-size: 0.76rem; }

.result-band {
  display: grid; grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
  width: 100%; min-width: 0; gap: 16px; scroll-margin-top: 22px;
}
.status-panel, .preview-section {
  min-width: 0;
  border: 1px solid var(--line); border-radius: 8px;
  background: white; box-shadow: var(--shadow); padding: 24px;
}
.preview-section { overflow: hidden; }
.status-title { display: grid; gap: 5px; margin-bottom: 20px; }
.status-title span, dt { color: var(--muted); font-size: 0.74rem; }
.status-title strong { font-size: 1.28rem; }
.order-reference {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 8px;
  margin-bottom: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fafbfa; padding: 10px;
}
.order-reference > span { grid-column: 1 / -1; color: var(--muted); font-size: 0.7rem; }
.order-reference strong { overflow-wrap: anywhere; font-size: 0.82rem; }
.order-reference button { min-height: 34px; padding: 0 10px; font-size: 0.72rem; }
.status-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.status-panel dl div { border-top: 1px solid var(--line); padding-top: 12px; }
dd { margin: 4px 0 0; font-size: 1rem; font-weight: 700; }

.diagnosis-box, .quality-box, .recommendations, .export-pack {
  display: grid; gap: 8px; margin-top: 14px;
  border: 1px solid var(--line); border-radius: 7px; padding: 14px;
}
.diagnosis-box span { color: var(--muted); font-size: 0.84rem; line-height: 1.45; }
.diagnosis-box.is-good, .quality-box { border-color: #c9ddd7; background: var(--accent-soft); }
.diagnosis-box.is-review, .quality-box.grade-c, .quality-box.grade-d { border-color: #ead7b6; background: var(--warning-soft); }
.quality-score { display: grid; gap: 3px; }
.quality-score span, .export-pack-head span { color: var(--muted); font-size: 0.7rem; font-weight: 720; text-transform: uppercase; }
.quality-score strong { color: var(--accent-dark); font-size: 2.35rem; line-height: 1; }
.quality-score em { font-size: 0.84rem; font-style: normal; font-weight: 680; }
.quality-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.quality-metrics span { border: 1px solid rgba(24, 85, 72, 0.12); border-radius: 5px; background: rgba(255,255,255,.7); color: var(--muted); font-size: 0.72rem; padding: 8px; }
.quality-metrics strong { display: block; color: var(--ink); font-size: 0.92rem; }

.payment-box { display: grid; gap: 11px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.payment-title { font-size: 1rem; }
.payment-box p { font-size: 0.85rem; }
.payment-box a { border-color: var(--accent); background: var(--accent); }
.consent-row {
  display: grid; grid-template-columns: auto 1fr; gap: 9px;
  align-items: start; border: 1px solid var(--line); border-radius: 6px;
  background: #fafbfa; color: var(--muted); font-size: 0.78rem; line-height: 1.42; padding: 11px;
}
.consent-row input { margin-top: 2px; }
.consent-row.needs-consent { border-color: #cf7651; background: #fff1ec; box-shadow: 0 0 0 3px rgba(147, 69, 25, 0.1); }
.consent-hint { grid-column: 2; color: var(--danger); font-size: 0.72rem; }
.payment-box a.is-locked, .download-buttons a.is-locked { cursor: not-allowed; opacity: 0.42; filter: grayscale(0.7); }
.unlock-list { display: grid; gap: 6px; }
.unlock-list span { color: var(--muted); font-size: 0.78rem; }
.unlock-list span::before { content: "✓"; margin-right: 7px; color: var(--accent); font-weight: 800; }
.payment-note { color: var(--muted); line-height: 1.4; }
.support-inline {
  min-height: auto !important; justify-content: flex-start !important; border: 0 !important;
  background: transparent !important; color: var(--accent) !important; font-size: 0.78rem;
  padding: 2px 0 !important; text-decoration: underline !important; text-underline-offset: 3px;
}
.manual-check { display: grid; gap: 8px; }
.manual-check button { border-color: var(--accent); background: var(--accent); }
.payment-box.is-free .manual-check, .payment-box.is-free #checkStatusButton { display: none; }
.payment-box.is-automated .manual-check { display: none; }
.fulfillment-text { color: var(--accent); font-size: 0.8rem; font-weight: 620; }

.horizontal { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.preview-section h2 { font-size: 1.35rem; }
.preview-section .panel-head p { margin-top: 6px; font-size: 0.88rem; }
.download-buttons { display: flex; gap: 6px; }
.download-buttons a { min-height: 36px; border-color: var(--line); background: var(--soft); color: var(--ink); font-size: 0.76rem; padding: 0 11px; }
.warnings { display: grid; gap: 8px; margin-top: 14px; }
.warning { border-left: 2px solid var(--danger); background: var(--warning-soft); color: #60300f; font-size: 0.84rem; padding: 10px 12px; }
.recommendations { background: var(--accent-soft); }
.recommendations strong { color: var(--accent-dark); font-size: 0.82rem; }
.recommendations div { color: #365a51; font-size: 0.8rem; line-height: 1.42; }
.recommendations div::before { content: "→"; margin-right: 7px; }
.export-pack { background: #fafbfa; }
.review-toolbar {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px;
  margin-top: 14px; border: 1px solid var(--line); border-radius: 7px; background: #fafbfa; padding: 12px;
}
.review-toolbar > div { display: grid; gap: 3px; }
.review-toolbar strong { font-size: 0.86rem; }
.review-toolbar span { color: var(--muted); font-size: 0.76rem; }
.correction-status { grid-column: 1 / -1; }
#previewTable td.is-editable { min-width: 110px; padding: 4px; }
#previewTable td.is-editable input {
  width: 100%; min-width: 92px; border: 1px solid transparent; border-radius: 4px;
  background: transparent; color: inherit; font: inherit; padding: 7px;
}
#previewTable td.is-editable input:hover { border-color: var(--line); background: white; }
#previewTable td.is-editable input:focus { border-color: var(--accent); background: white; outline: 3px solid rgba(24,85,72,.1); }
#previewTable td.is-editable.is-dirty input { border-color: #b9872e; background: #fff8e9; }
.row-pagination {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px;
}
.row-pagination span { color: var(--muted); font-size: 0.8rem; font-weight: 650; text-align: center; }
.row-pagination button { min-width: 96px; }
.export-pack-head { display: flex; justify-content: space-between; gap: 10px; }
.export-pack-head strong { color: var(--accent); font-size: 0.82rem; }
.export-pack-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.export-pack-grid article { border: 1px solid var(--line); border-radius: 5px; background: white; padding: 9px; }
.export-pack-grid article.is-ready { border-color: #c8ddd7; background: var(--accent-soft); }
.export-pack-grid strong, .export-pack-grid span { display: block; }
.export-pack-grid strong { font-size: 0.78rem; }
.export-pack-grid span { margin-top: 4px; color: var(--muted); font-size: 0.68rem; line-height: 1.35; }
.insights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.insights-grid div { border: 1px solid var(--line); border-radius: 5px; background: #fafbfa; padding: 9px; }
.insights-grid span, .insights-grid strong { display: block; }
.insights-grid span { color: var(--muted); font-size: 0.68rem; }
.insights-grid strong { margin-top: 3px; font-size: 0.86rem; overflow-wrap: anywhere; }

.table-wrap { position: relative; width: 100%; max-width: 100%; min-width: 0; overflow: auto; max-height: 470px; margin-top: 14px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.preview-watermark { position: sticky; top: 0; z-index: 3; border-bottom: 1px solid var(--line); background: #f7f8f7; color: var(--muted); font-size: 0.72rem; font-weight: 620; padding: 8px 11px; }
table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
th, td { border-bottom: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; white-space: nowrap; user-select: none; }
th { position: sticky; top: 32px; z-index: 2; background: var(--soft); color: #4b514e; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
tbody tr.is-review-row td { background: var(--warning-soft); }
tbody tr.is-limited-row td { background: #f5f6f5; color: #737976; }
.status-cell { font-weight: 700; }
.status-cell[data-status="ok"] { color: var(--accent); }
.status-cell[data-status="review"] { color: var(--warning); }
.empty-state { height: 110px; color: var(--muted); text-align: center; vertical-align: middle; white-space: normal; }
.feedback-box {
  display: grid; grid-template-columns: 1fr auto; gap: 12px 18px;
  align-items: center; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 16px;
}
.feedback-box strong, .feedback-box span { display: block; }
.feedback-box strong { font-size: 0.86rem; }
.feedback-box div > span { margin-top: 4px; color: var(--muted); font-size: 0.75rem; }
.feedback-actions { display: flex; gap: 7px; }
.feedback-actions button { min-height: 36px; font-size: 0.76rem; padding: 0 12px; }
.feedback-status { grid-column: 1 / 3; color: var(--accent); font-size: 0.75rem; }

.output-showcase {
  display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 44px; align-items: center;
}
.showcase-copy h2, .pricing-copy h2, .faq-section h2 { font-size: 2rem; line-height: 1.15; }
.showcase-copy > p { margin-top: 15px; }
.showcase-list { display: grid; gap: 0; margin-top: 24px; }
.showcase-list span { border-top: 1px solid var(--line); font-size: 0.88rem; font-weight: 620; padding: 13px 0; }
.showcase-list span::before { content: "✓"; margin-right: 9px; color: var(--accent); font-weight: 800; }
.sample-workbook-link { display: inline-flex; width: fit-content; margin-top: 20px; color: var(--accent); font-size: 0.84rem; font-weight: 720; text-underline-offset: 4px; }
.workbook-figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.workbook-figure img { display: block; width: 100%; height: auto; }
.workbook-figure figcaption { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; padding: 10px 13px; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip div { padding: 28px 26px; }
.trust-strip div + div { border-left: 1px solid var(--line); }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-size: 0.94rem; }
.trust-strip span { margin-top: 6px; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }

.pricing-section {
  display: grid; grid-template-columns: .72fr 1.28fr; gap: 24px 42px;
  align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.pricing-copy p { max-width: 470px; margin-top: 12px; }
.launch-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.launch-prices article {
  position: relative; display: grid; min-height: 150px; align-content: start;
  border: 1px solid var(--line); border-radius: 7px; background: white; padding: 19px;
}
.launch-prices article.is-featured { border-color: #94bdb2; box-shadow: 0 12px 32px rgba(21, 29, 26, 0.07); }
.launch-prices span { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--muted); font-size: 0.7rem; font-weight: 720; text-transform: uppercase; }
.launch-prices span i { border-radius: 4px; background: var(--accent-soft); color: var(--accent-dark); font-size: 0.58rem; font-style: normal; padding: 4px 5px; white-space: nowrap; }
.launch-prices strong { display: flex; align-items: baseline; gap: 5px; margin-top: 19px; font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.launch-prices strong b { font: inherit; }
.launch-prices strong em { color: var(--muted); font-size: 0.68rem; font-style: normal; font-weight: 700; }
.launch-prices small { margin-top: 10px; color: var(--muted); font-size: 0.72rem; line-height: 1.4; }
.pricing-footnote { grid-column: 2; color: var(--muted); font-size: 0.72rem; }
.conversion-promise {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 14px 24px; align-items: center;
  border: 1px solid #c7dcd6; border-radius: 7px; background: var(--accent-soft); padding: 16px 18px;
}
.conversion-promise strong { color: var(--accent-dark); font-size: 0.84rem; }
.conversion-promise span { color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.conversion-promise a { color: var(--accent); font-size: 0.76rem; font-weight: 700; white-space: nowrap; }

.faq-section { display: grid; grid-template-columns: .36fr 1fr; gap: 48px; }
.faq-grid { display: grid; border-top: 1px solid var(--line); }
.faq-grid details { border-bottom: 1px solid var(--line); padding: 0; }
.faq-grid summary { position: relative; cursor: pointer; font-size: 0.9rem; font-weight: 700; list-style: none; padding: 18px 34px 18px 0; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: "+"; position: absolute; right: 4px; color: var(--muted); font-size: 1.15rem; font-weight: 500; }
.faq-grid details[open] summary::after { content: "−"; }
.faq-grid p { max-width: 680px; padding: 0 34px 18px 0; font-size: 0.82rem; }

.legal-section { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; }
.legal-section p { font-size: 0.78rem; }
.legal-links { display: flex; gap: 7px; }
.legal-links a { min-height: 34px; border-color: var(--line); background: transparent; color: var(--muted); font-size: 0.76rem; padding: 0 10px; }

.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(18,21,20,.58); padding: 18px; }
.modal-panel { position: relative; display: grid; width: min(500px, 100%); gap: 12px; border-radius: 8px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.24); padding: 28px; }
.modal-panel h2 { font-size: 1.5rem; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 34px; min-height: 34px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); padding: 0; }
.modal-details { display: grid; gap: 7px; }
.modal-details p { border-left: 2px solid var(--danger); background: var(--warning-soft); padding: 9px 11px; }
.modal-support { color: var(--accent); font-size: 0.82rem; font-weight: 650; text-align: center; text-underline-offset: 3px; }

.support-shell {
  width: min(1180px, calc(100% - 40px)); gap: 58px; padding-top: 72px;
}
.support-hero { max-width: 820px; }
.support-hero h1 { max-width: 760px; margin-top: 12px; font-size: 3.65rem; line-height: 1.02; }
.support-hero p { max-width: 720px; margin-top: 18px; font-size: 1.03rem; }
.support-assistant {
  display: grid; grid-template-columns: 0.58fr 1fr; gap: 24px 48px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 38px 0;
}
.support-assistant-head h2, .support-request-copy h2, .ticket-panel h2 { margin-top: 8px; font-size: 2rem; }
.support-assistant-head > span { color: var(--muted); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.support-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.support-topics button {
  justify-content: flex-start; border-color: var(--line); background: white; color: var(--ink);
  font-size: 0.84rem; text-align: left; padding: 13px 15px;
}
.support-topics button:hover, .support-topics button.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.assistant-answer {
  grid-column: 2; display: grid; gap: 8px; min-height: 122px;
  border: 1px solid #cbded8; border-radius: 8px; background: var(--accent-soft); padding: 20px;
}
.assistant-answer strong { color: var(--accent-dark); }
.assistant-answer p { font-size: 0.88rem; }
.assistant-answer a { width: fit-content; color: var(--accent); font-size: 0.82rem; font-weight: 700; text-underline-offset: 3px; }
.support-request {
  display: grid; grid-template-columns: 0.7fr 1fr; gap: 64px; align-items: start;
}
.support-request-copy > p { max-width: 480px; margin-top: 14px; }
.support-standard { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.support-standard strong, .support-standard span { border-bottom: 1px solid var(--line); padding: 12px 0; }
.support-standard span { color: var(--muted); font-size: 0.82rem; }
.support-standard span::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 800; }
.support-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); padding: 26px;
}
.support-form label { display: grid; gap: 7px; color: var(--ink); font-size: 0.79rem; font-weight: 700; }
.support-form label small { color: var(--muted); font-weight: 500; }
.support-form label:nth-child(4), .support-form button, .support-form-status { grid-column: 1 / -1; }
.support-form input, .support-form select, .support-form textarea, .support-ticket textarea, .support-ticket select {
  width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 6px;
  background: white; color: var(--ink); font: inherit; font-weight: 500; padding: 11px 12px;
}
.support-form textarea, .support-ticket textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.support-form input:focus, .support-form select:focus, .support-form textarea:focus, .support-ticket textarea:focus, .support-ticket select:focus {
  border-color: var(--accent); outline: 3px solid rgba(24, 85, 72, 0.1);
}
.support-form-status { min-height: 20px; color: var(--danger); font-size: 0.8rem; }
.ticket-panel {
  display: grid; grid-template-columns: 0.55fr 1fr; gap: 20px 48px;
  border: 1px solid #cbded8; border-radius: 8px; background: var(--accent-soft); padding: 28px;
}
.ticket-panel dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.ticket-panel dl div { border-left: 1px solid #bad4cc; padding-left: 12px; }
.ticket-panel > p, .ticket-refund, .ticket-panel > button { grid-column: 2; }
.ticket-refund { border: 1px solid #a9cbc0; border-radius: 6px; background: white; color: var(--accent-dark); font-size: 0.85rem; font-weight: 700; padding: 12px; }
.ticket-panel > button { width: fit-content; }
.support-policy {
  display: grid; grid-template-columns: 0.5fr 1fr auto; gap: 28px; align-items: center;
  border-top: 1px solid var(--line); padding: 30px 0 10px;
}
.support-policy p { font-size: 0.84rem; }
.support-policy a { color: var(--accent); font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.support-ticket label { display: grid; gap: 5px; font-size: 0.76rem; font-weight: 700; }
.admin-ticket-head, .admin-ticket-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.admin-ticket-head span { border-radius: 4px; background: var(--soft); font-size: 0.72rem; padding: 5px 8px; }
.admin-ticket-actions select { width: auto; min-width: 160px; }
.danger-button { border-color: #8f2d23; background: #8f2d23; }

.doc-shell { width: min(800px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 64px; }
.doc-shell h1 { margin: 30px 0 12px; font-size: clamp(2.2rem, 5vw, 4rem); }
.doc-shell section { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.back-home { border-color: var(--line); background: white; color: var(--ink); }

.guides-shell, .article-shell { width: min(1120px, calc(100% - 40px)); }
.guides-hero { max-width: 850px; padding: 30px 0 12px; }
.guides-hero h1, .article-header h1 { max-width: 900px; font-size: clamp(2.6rem, 5.5vw, 4.8rem); font-weight: 700; line-height: 1.02; }
.guides-hero p { max-width: 720px; margin-top: 22px; font-size: 1.08rem; }
.topnav nav a[aria-current="page"] { color: var(--ink); }

.guide-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0;
}
.guide-label { color: var(--accent); font-size: 0.72rem; font-weight: 760; text-transform: uppercase; }
.guide-featured h2, .guide-library-head h2, .guide-conversion-band h2, .related-guides h2 { margin-top: 10px; font-size: 2rem; line-height: 1.15; }
.guide-featured p { max-width: 540px; margin-top: 13px; }
.text-link { display: inline-block; margin-top: 20px; color: var(--accent); font-size: 0.88rem; font-weight: 720; text-underline-offset: 4px; }
.guide-featured-steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.guide-featured-steps span { display: grid; gap: 18px; min-height: 125px; align-content: space-between; color: var(--muted); font-size: 0.78rem; font-weight: 680; padding: 18px; }
.guide-featured-steps span + span { border-left: 1px solid var(--line); }
.guide-featured-steps i { color: var(--accent); font-size: 0.74rem; font-style: normal; }

.guide-library { display: grid; gap: 30px; }
.guide-library-head { display: grid; grid-template-columns: 1fr .65fr; gap: 40px; align-items: end; }
.guide-library-head p { font-size: 0.9rem; }
.guide-grid { display: grid; border-top: 1px solid var(--line); }
.guide-grid article { display: grid; grid-template-columns: 64px 1fr auto; gap: 22px; align-items: center; border-bottom: 1px solid var(--line); padding: 26px 0; }
.guide-index { color: #9aa19e; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.guide-grid article > div { display: grid; gap: 7px; }
.guide-grid small { color: var(--accent); font-size: 0.68rem; font-weight: 720; text-transform: uppercase; }
.guide-grid h3 { margin: 0; font-size: 1.28rem; }
.guide-grid p { max-width: 660px; font-size: 0.86rem; }
.guide-grid article > a { color: var(--accent); font-size: 0.82rem; font-weight: 720; text-underline-offset: 4px; }

.guide-conversion-band {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  border-radius: 8px; background: var(--accent-dark); color: white; padding: 38px 42px;
}
.guide-conversion-band span { color: #b9d5cd; font-size: 0.72rem; font-weight: 720; text-transform: uppercase; }
.guide-conversion-band h2 { max-width: 650px; }
.guide-conversion-band p { margin-top: 10px; color: #c8d9d4; }
.guide-conversion-band > a { display: inline-flex; min-height: 46px; align-items: center; border-radius: 6px; background: white; color: var(--accent-dark); font-weight: 740; padding: 0 18px; text-decoration: none; }

.article-shell { gap: 64px; padding-top: 52px; }
.article-header { max-width: 960px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 54px; color: var(--muted); font-size: 0.76rem; }
.breadcrumbs a { color: var(--accent); text-underline-offset: 3px; }
.article-lede { max-width: 800px; margin-top: 22px; font-size: 1.12rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 25px; color: var(--muted); font-size: 0.72rem; }
.article-meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 12px 2px 0; border-radius: 50%; background: #a5aca8; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: 72px; align-items: start; margin-top: 58px; }
.article-content { min-width: 0; }
.article-content section { scroll-margin-top: 24px; border-top: 1px solid var(--line); padding: 32px 0 8px; }
.article-content section:first-child { border-top-color: var(--ink); }
.article-content h2 { max-width: 720px; font-size: 1.7rem; line-height: 1.2; }
.article-content p { max-width: 760px; margin-top: 14px; }
.article-content p a { color: var(--accent); font-weight: 650; text-underline-offset: 3px; }
.article-content code { border-radius: 4px; background: var(--soft); color: var(--ink); font-size: .88em; padding: 2px 5px; }

.guide-callout { display: grid; gap: 7px; max-width: 760px; margin-top: 22px; border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 17px 20px; }
.guide-callout strong { color: var(--accent-dark); }
.guide-callout p { margin: 0; font-size: 0.88rem; }
.guide-checklist { display: grid; gap: 0; max-width: 760px; margin: 20px 0 0; padding: 0; list-style: none; }
.guide-checklist li { position: relative; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.52; padding: 12px 0 12px 28px; }
.guide-checklist li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 800; }
.process-strip { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 760px; margin-top: 22px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.process-strip span { display: grid; gap: 18px; color: var(--muted); font-size: 0.78rem; font-weight: 680; padding: 15px; }
.process-strip span + span { border-left: 1px solid var(--line); }
.process-strip i { color: var(--accent); font-size: 0.66rem; font-style: normal; }
.formula-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 760px; margin-top: 22px; border: 1px solid var(--line); border-radius: 7px; background: white; padding: 16px; }
.formula-line span { border-radius: 4px; background: var(--soft); font-size: 0.78rem; font-weight: 680; padding: 8px 10px; }
.formula-line b { color: var(--accent); }
.inline-converter-cta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; max-width: 760px; margin-top: 24px; border: 1px solid #bfd7cf; border-radius: 7px; background: var(--accent-soft); padding: 20px; }
.inline-converter-cta strong { color: var(--accent-dark); }
.inline-converter-cta p { margin: 5px 0 0; font-size: 0.82rem; }
.inline-converter-cta a, .rail-cta a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border-radius: 6px; background: var(--accent); color: white; font-size: 0.82rem; font-weight: 720; padding: 0 15px; text-decoration: none; }

.source-comparison { display: grid; grid-template-columns: 1fr 1fr; max-width: 760px; margin-top: 22px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.source-comparison article { padding: 22px; }
.source-comparison article + article { border-left: 1px solid var(--line); }
.source-comparison span, .review-matrix span { color: var(--accent); font-size: 0.68rem; font-weight: 720; text-transform: uppercase; }
.source-comparison strong, .source-comparison p { display: block; }
.source-comparison strong { margin-top: 12px; font-size: 1.05rem; }
.source-comparison p { margin-top: 7px; font-size: 0.82rem; }
.failure-list, .review-matrix { display: grid; grid-template-columns: 1fr 1fr; max-width: 760px; margin-top: 22px; border-top: 1px solid var(--line); }
.failure-list div, .review-matrix div { display: grid; gap: 5px; border-bottom: 1px solid var(--line); padding: 15px 0; }
.failure-list div:nth-child(odd), .review-matrix div:nth-child(odd) { padding-right: 22px; }
.failure-list div:nth-child(even), .review-matrix div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 22px; }
.failure-list span { color: var(--muted); font-size: 0.82rem; }
.numbered-guide { display: grid; gap: 0; max-width: 760px; margin: 20px 0 0; padding: 0; counter-reset: guide-step; list-style: none; }
.numbered-guide li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; border-top: 1px solid var(--line); padding: 15px 0; counter-increment: guide-step; }
.numbered-guide strong::before { content: counter(guide-step, decimal-leading-zero) " "; margin-right: 9px; color: var(--accent); font-size: 0.7rem; }
.numbered-guide span { color: var(--muted); font-size: 0.84rem; line-height: 1.48; }
.review-matrix strong { margin-top: 2px; font-size: 0.9rem; }
.article-product-figure { max-width: 760px; margin: 22px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.article-product-figure img { display: block; width: 100%; height: auto; }
.article-product-figure figcaption { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; padding: 10px 13px; }

.article-rail { position: sticky; top: 24px; display: grid; gap: 26px; }
.rail-cta { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); padding: 20px; }
.rail-cta > span { color: var(--accent); font-size: 0.67rem; font-weight: 740; text-transform: uppercase; }
.rail-cta > strong { font-size: 1.08rem; line-height: 1.25; }
.rail-cta p { font-size: 0.79rem; }
.rail-cta a { margin-top: 5px; }
.article-rail nav { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.article-rail nav strong { margin-bottom: 3px; font-size: 0.74rem; }
.article-rail nav a { color: var(--muted); font-size: 0.76rem; text-decoration: none; }
.article-rail nav a:hover { color: var(--accent); }

.related-guides { border-top: 1px solid var(--line); padding-top: 34px; }
.related-guides > div { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; border-top: 1px solid var(--line); }
.related-guides a { display: grid; gap: 9px; min-height: 120px; align-content: center; color: var(--ink); padding: 22px 0; text-decoration: none; }
.related-guides a + a { border-left: 1px solid var(--line); padding-left: 28px; }
.related-guides small { color: var(--accent); font-size: 0.68rem; font-weight: 720; text-transform: uppercase; }
.related-guides strong { font-size: 1rem; }
.admin-controls, .admin-orders { display: grid; gap: 10px; }
.admin-order { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 7px; background: white; padding: 14px; }
.admin-order pre { overflow: auto; background: var(--soft); padding: 10px; }
.hidden { display: none !important; }

@media (max-width: 900px) {
  main { gap: 56px; padding-top: 58px; }
  .product-workspace, .result-band, .output-showcase, .pricing-section, .faq-section { grid-template-columns: 1fr; }
  .workspace-copy { border-right: 0; border-bottom: 1px solid var(--line); padding: 34px; }
  .quiet-proof { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pricing-section { gap: 28px; }
  .pricing-footnote { grid-column: 1; }
  .support-request, .ticket-panel { grid-template-columns: 1fr; }
  .ticket-panel > p, .ticket-refund, .ticket-panel > button { grid-column: 1; }
  .article-layout { grid-template-columns: 1fr; gap: 42px; }
  .article-rail { position: static; grid-row: 1; }
  .article-rail nav { display: none; }
  .rail-cta { grid-template-columns: 1fr auto; align-items: center; }
  .rail-cta > span, .rail-cta > strong, .rail-cta > p { grid-column: 1; }
  .rail-cta a { grid-column: 2; grid-row: 1 / 4; }
}

@media (max-width: 680px) {
  .topnav { width: calc(100% - 24px); min-height: 62px; }
  .topnav nav { gap: 12px; }
  .topnav nav a:nth-child(-n+2) { display: none; }
  .topnav nav .nav-cta { display: none; }
  .currency-control { margin-left: auto; border-left: 0; padding-left: 0; }
  .currency-control span { display: none; }
  main { width: calc(100% - 24px); gap: 44px; padding: 44px 0 34px; }
  .product-intro h1 { font-size: 2.45rem; }
  .product-intro p { font-size: 0.98rem; }
  .workspace-copy, .converter-card, .status-panel, .preview-section, .pricing-section { padding: 22px; }
  .workspace-copy h2, .showcase-copy h2, .pricing-copy h2, .faq-section h2 { font-size: 1.65rem; }
  .trust-strip, .faq-grid, .upload-actions, .export-pack-grid, .insights-grid, .quality-metrics { grid-template-columns: 1fr; }
  .quiet-proof { display: none; }
  .workspace-topbar { gap: 10px; padding: 0 12px; }
  .workspace-topbar small { display: none; }
  .workspace-topbar span { flex: 1; justify-content: center; }
  .dropzone { min-height: 370px; padding: 16px; }
  .upload-target { min-height: 225px; }
  .horizontal { flex-direction: column; }
  .download-buttons { display: grid; width: 100%; grid-template-columns: repeat(5, 1fr); }
  .download-buttons a { min-width: 0; padding: 0 5px; }
  .trust-strip { border: 0; }
  .trust-strip div { border-top: 1px solid var(--line); padding: 18px 0; }
  .trust-strip div + div { border-left: 0; }
  .pricing-section { padding: 30px 0; }
  .launch-prices { grid-template-columns: 1fr; }
  .launch-prices article { min-height: 132px; }
  .legal-section { align-items: flex-start; flex-direction: column; }
  .conversion-promise { grid-template-columns: 1fr; gap: 7px; }
  .feedback-box { grid-template-columns: 1fr; }
  .feedback-status { grid-column: 1; }
  .review-toolbar { grid-template-columns: 1fr; }
  .correction-status { grid-column: 1; }
  .row-pagination { grid-template-columns: 1fr 1fr; }
  .row-pagination span { grid-column: 1 / -1; grid-row: 1; }
  .support-shell { width: calc(100% - 24px); gap: 42px; padding-top: 46px; }
  .support-hero h1 { font-size: 2.5rem; }
  .support-assistant { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .support-topics { grid-template-columns: 1fr; }
  .assistant-answer { grid-column: 1; }
  .support-request { gap: 28px; }
  .support-form { grid-template-columns: 1fr; padding: 20px; }
  .support-form label, .support-form label:nth-child(4), .support-form button, .support-form-status { grid-column: 1; }
  .ticket-panel { padding: 20px; }
  .ticket-panel dl { grid-template-columns: 1fr; }
  .ticket-panel dl div { border-top: 1px solid #bad4cc; border-left: 0; padding: 9px 0 0; }
  .support-policy { grid-template-columns: 1fr; gap: 10px; }
  .guides-shell, .article-shell { width: calc(100% - 24px); }
  .guides-hero h1, .article-header h1 { font-size: 2.45rem; }
  .guide-featured, .guide-library-head, .guide-conversion-band { grid-template-columns: 1fr; gap: 26px; }
  .guide-featured-steps { grid-template-columns: 1fr 1fr; }
  .guide-featured-steps span:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .guide-featured-steps span:nth-child(4) { border-top: 1px solid var(--line); }
  .guide-grid article { grid-template-columns: 38px 1fr; gap: 14px; }
  .guide-grid article > a { grid-column: 2; }
  .guide-conversion-band { padding: 26px; }
  .guide-conversion-band > a { width: 100%; }
  .breadcrumbs { margin-bottom: 38px; }
  .article-layout { margin-top: 40px; }
  .article-content h2 { font-size: 1.45rem; }
  .process-strip, .source-comparison, .failure-list, .review-matrix, .related-guides > div { grid-template-columns: 1fr; }
  .process-strip span + span, .source-comparison article + article, .related-guides a + a { border-top: 1px solid var(--line); border-left: 0; }
  .failure-list div:nth-child(odd), .review-matrix div:nth-child(odd) { padding-right: 0; }
  .failure-list div:nth-child(even), .review-matrix div:nth-child(even) { border-left: 0; padding-left: 0; }
  .numbered-guide li, .inline-converter-cta, .rail-cta { grid-template-columns: 1fr; gap: 9px; }
  .inline-converter-cta a { margin-top: 8px; }
  .rail-cta a { grid-column: 1; grid-row: auto; }
  .related-guides a + a { padding-left: 0; }
}
