:root {
  color-scheme: light;
  --page: #f7fbfb;
  --hero: #e8f8fb;
  --surface: #ffffff;
  --ink: #202a2f;
  --muted: #65747b;
  --line: #d8e5e7;
  --orange: #ee5a00;
  --orange-dark: #c84a00;
  --teal: #0c7f83;
  --green: #1f8a4c;
  --yellow: #b7791f;
  --red: #b42318;
  --shadow-soft: 0 18px 50px rgba(38, 67, 72, 0.13);
  --shadow-card: 0 14px 34px rgba(32, 42, 47, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.orange-rule {
  height: 5px;
  background: var(--orange);
}

.site-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  background: var(--surface);
}

.brand {
  display: inline-grid;
  gap: 0;
  color: var(--orange);
  text-decoration: none;
  line-height: 1;
}

.brand-main {
  font-size: 1.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-main span {
  color: var(--orange-dark);
}

.brand-sub {
  justify-self: end;
  color: #244047;
  font-size: 0.68rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  align-items: center;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--orange-dark);
}

.top-actions,
.export-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button.primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 20px rgba(238, 90, 0, 0.18);
}

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

.button.ghost {
  background: #fff;
  border-color: #d9e2e4;
  color: var(--ink);
}

.button.ghost:hover {
  border-color: #b9c8cc;
}

.button.outline-danger {
  background: #fff8f5;
  border-color: #f2c7b4;
  color: #a23e05;
}

.button.outline-danger:hover {
  background: #fff0e9;
}

.hero {
  background: var(--hero);
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  gap: 58px;
  align-items: center;
  padding: 54px 0 46px;
}

.hero-copy {
  display: grid;
  align-content: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.subline {
  max-width: 660px;
  margin-bottom: 28px;
  color: #465c64;
  font-size: 1.08rem;
  line-height: 1.5;
}

.privacy-badge {
  width: min(690px, 100%);
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid #a9d8c3;
  border-radius: 8px;
  background: #f0fff7;
  color: #214536;
  line-height: 1.45;
}

.privacy-badge strong {
  color: var(--green);
}

.account-status {
  width: min(690px, 100%);
  display: grid;
  gap: 4px;
  margin: 14px 0 0;
  padding: 12px 16px;
  border: 1px solid #d9e5e7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #4c6269;
  line-height: 1.45;
}

.account-status strong {
  color: var(--ink);
}

.account-status.active {
  border-color: #a9d8c3;
  background: #f0fff7;
}

.account-status.active strong {
  color: var(--green);
}

.hero-upload {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(690px, 100%);
  min-height: 76px;
  padding: 12px 12px 12px 22px;
  background: var(--surface);
  border: 1px solid #c9dce1;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hero-upload-link {
  color: var(--ink);
  text-decoration: none;
}

.hero-upload:hover,
.hero-upload:focus,
.hero-upload.dragging {
  border-color: var(--orange);
  box-shadow: 0 22px 52px rgba(238, 90, 0, 0.18);
  outline: none;
}

.hero-upload.dragging {
  transform: translateY(-1px);
}

.hero-upload input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #31545b;
  pointer-events: none;
}

.upload-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.upload-text {
  display: grid;
  gap: 3px;
  min-width: 0;
  pointer-events: none;
}

.upload-text strong {
  overflow: hidden;
  color: #3a474c;
  font-size: 1.05rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-text small {
  color: var(--muted);
  font-size: 0.85rem;
}

.upload-cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  pointer-events: none;
}

.trust-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.trust-row div {
  min-width: 150px;
}

.trust-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.trust-row span {
  color: #526a72;
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.document-card {
  position: absolute;
  top: 38px;
  left: 0;
  width: 320px;
  height: 360px;
  padding: 28px;
  border: 1px solid #d9e3e5;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.doc-tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 7px;
  border-radius: 8px 0 0 0;
  background: var(--orange);
}

.doc-header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: #b84a0a;
  font-size: 0.82rem;
  font-weight: 800;
}

.shield {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff0e7;
  color: var(--orange-dark);
}

.doc-line {
  height: 10px;
  width: 72%;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #e8eef0;
}

.doc-line.wide {
  width: 100%;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.doc-grid span {
  height: 46px;
  border-radius: 8px;
  background: #f2f7f8;
}

.signature {
  width: 120px;
  height: 35px;
  margin-top: 42px;
  border-bottom: 3px solid #1f2d32;
  transform: rotate(-6deg);
}

.phone-card {
  position: absolute;
  right: 8px;
  top: 74px;
  width: 218px;
  height: 370px;
  padding: 12px;
  border: 10px solid #24282b;
  border-radius: 34px;
  background: #f7fafb;
  box-shadow: 0 20px 42px rgba(32, 42, 47, 0.28);
}

.phone-top {
  width: 74px;
  height: 16px;
  margin: -6px auto 12px;
  border-radius: 0 0 14px 14px;
  background: #24282b;
}

.phone-screen {
  display: grid;
  gap: 11px;
}

.phone-title {
  margin: 6px 0 8px;
  font-size: 0.94rem;
  font-weight: 900;
}

.phone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e1eaec;
  font-size: 0.84rem;
}

.phone-row.green strong {
  color: var(--green);
}

.phone-row.yellow strong {
  color: var(--yellow);
}

.phone-button {
  min-height: 42px;
  display: grid;
  place-items: center;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
}

.notice-strip,
.app-workbench,
.pricing-section,
.seo-section,
.site-footer,
.content-page {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.notice-strip {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid #f0cfbd;
  border-radius: 8px;
  background: #fff8f4;
  color: #5b3d2b;
  line-height: 1.5;
}

.notice-strip strong {
  color: #9f3c00;
}

.app-workbench {
  display: grid;
  gap: 16px;
  padding: 24px 0 34px;
}

.landing-page .app-workbench {
  display: none;
}

.summary-grid,
.toolbar,
.invoice-list,
.detail-panel,
.price-card,
.seo-section article,
.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 8px;
  overflow: hidden;
}

.metric {
  min-height: 104px;
  padding: 18px;
  border-right: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 5px;
}

.metric:last-child {
  border-right: 0;
}

.metric-label,
.metric span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
}

.metric strong {
  font-size: 2rem;
  line-height: 1;
}

.metric.ok strong {
  color: var(--green);
}

.metric.warn strong {
  color: var(--yellow);
}

.metric.bad strong {
  color: var(--red);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: end;
  border-radius: 8px;
  padding: 18px;
}

.search {
  display: grid;
  gap: 7px;
}

.search span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.search input {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--ink);
  background: #fbfdfd;
}

.search input:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(238, 90, 0, 0.14);
}

.segmented {
  min-height: 46px;
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(62px, 1fr));
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fbfdfd;
}

.segment {
  min-width: 62px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-weight: 850;
}

.segment:last-child {
  border-right: 0;
}

.segment.active {
  background: var(--ink);
  color: #fff;
}

.export-actions {
  grid-column: 1 / -1;
}

.invoice-list {
  border-radius: 8px;
  overflow: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

tbody tr {
  background: var(--surface);
}

tbody tr:hover,
tbody tr.selected {
  background: #f2fbfc;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.empty-row td {
  color: var(--muted);
  text-align: center;
  padding: 36px 16px;
}

.status-pill {
  display: inline-flex;
  min-width: 72px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 850;
}

.status-green {
  background: #e7f6ec;
  color: var(--green);
}

.status-yellow {
  background: #fff3d8;
  color: #8a5a10;
}

.status-red {
  background: #ffe8e5;
  color: var(--red);
}

.invoice-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  text-align: left;
  font-weight: 850;
}

.invoice-button:hover {
  color: var(--orange-dark);
}

.cell-muted {
  color: var(--muted);
  font-size: 0.85rem;
}

.detail-panel {
  border-radius: 8px;
  padding: 18px;
}

.detail-empty {
  color: var(--muted);
}

.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.detail-head > div:last-child {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.detail-title {
  display: grid;
  gap: 6px;
}

.detail-title h2 {
  margin: 0;
  font-size: 1.25rem;
}

.detail-title p {
  margin: 0;
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.fact {
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.fact span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  overflow-wrap: anywhere;
}

.findings {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.findings li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.recommendation-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.recommendation-head {
  display: grid;
  gap: 5px;
}

.recommendation-head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.recommendation-head strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.recommendation-block p {
  margin: 0;
  color: var(--muted);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.action-grid > div {
  padding: 12px 0 0;
  border-top: 3px solid var(--line);
}

.recommendation-block.status-green .action-grid > div {
  border-top-color: var(--green);
}

.recommendation-block.status-yellow .action-grid > div {
  border-top-color: var(--yellow);
}

.recommendation-block.status-red .action-grid > div {
  border-top-color: var(--red);
}

.action-grid h3 {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

.action-grid ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 7px;
}

.action-grid li {
  color: var(--ink);
}

.recommendation-note {
  font-size: 0.92rem;
}

.finding-severity {
  font-weight: 850;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.severity-error {
  color: var(--red);
}

.severity-warning {
  color: var(--yellow);
}

.severity-info {
  color: #2457a6;
}

.severity-ok {
  color: var(--green);
}

.score-bar {
  height: 10px;
  border-radius: 999px;
  background: #e6eef0;
  overflow: hidden;
  margin: 8px 0 18px;
}

.score-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange);
}

.hash {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.78rem;
}

.pricing-section,
.seo-section {
  padding: 18px 0 42px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.12;
}

.section-head p:not(.eyebrow) {
  color: #4c6269;
  line-height: 1.55;
}

.pricing-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card,
.seo-section article,
.content-card {
  border-radius: 8px;
}

.price-card {
  min-height: 360px;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
}

.price-card.featured {
  border-color: #f3a26f;
  box-shadow: 0 22px 50px rgba(238, 90, 0, 0.16);
}

.price-label {
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  font-size: 2.1rem;
  line-height: 1;
}

.price-card p,
.price-card li,
.seo-section article p,
.content-card p,
.content-card li {
  color: #4c6269;
  line-height: 1.55;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.price-card .button {
  align-self: end;
  width: 100%;
}

.price-card .fineprint {
  margin: -4px 0 0;
  font-size: 0.86rem;
}

.payment-info {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #a9d8c3;
  border-radius: 8px;
  background: #f0fff7;
  color: #214536;
  line-height: 1.5;
}

.payment-info span {
  color: #315f4b;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
}

.payment-modal.open {
  display: block;
}

.payment-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 30, 34, 0.48);
}

.payment-dialog {
  position: relative;
  width: min(520px, calc(100% - 28px));
  margin: 9vh auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(20, 30, 35, 0.28);
}

.payment-dialog h2 {
  margin-bottom: 10px;
  font-size: 1.7rem;
}

.payment-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
}

.payment-copy,
.payment-security {
  color: #4c6269;
  line-height: 1.5;
}

.payment-security.small {
  font-size: 0.86rem;
}

.payment-email {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}

.payment-email span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.payment-email input {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
}

.payment-email input:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(238, 90, 0, 0.14);
}

.auth-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.auth-form label {
  display: grid;
  gap: 7px;
}

.auth-form label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.auth-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

.pricing-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payment-plan-box {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--hero);
}

.payment-plan-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.payment-plan-choice {
  min-height: 76px;
  display: grid;
  gap: 4px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  padding: 12px;
}

.payment-plan-choice span {
  font-size: 0.86rem;
  font-weight: 850;
}

.payment-plan-choice strong {
  font-size: 0.98rem;
}

.payment-plan-choice.active {
  border-color: var(--orange);
  background: #fff5ee;
  box-shadow: 0 8px 18px rgba(238, 90, 0, 0.12);
}

.payment-plan-box span {
  font-weight: 850;
}

.payment-plan-box strong {
  font-size: 1.35rem;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-option {
  display: grid;
  gap: 4px;
  min-height: 92px;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.payment-option:hover {
  border-color: var(--orange);
}

.payment-option span {
  font-weight: 900;
}

.payment-option small {
  color: var(--muted);
}

.payment-option.stripe {
  background: #f7f5ff;
}

.payment-option.paypal {
  background: #f3f9ff;
}

.payment-option.disabled {
  opacity: 0.62;
}

.seo-section {
  padding-bottom: 56px;
}

.seo-section article {
  padding: 18px;
}

.seo-section h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange-dark);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px 0 40px;
  color: #4c6269;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--ink);
}

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

.site-footer a {
  color: #4c6269;
  font-weight: 750;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--orange-dark);
}

.page-hero {
  background: var(--hero);
}

.page-hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 42px;
}

.page-hero h1 {
  max-width: 880px;
}

.content-page {
  display: grid;
  gap: 16px;
  padding: 24px 0 52px;
}

.content-card {
  padding: 22px;
}

.content-card h2 {
  margin-top: 4px;
  font-size: 1.35rem;
}

.content-card h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.content-card ul,
.content-card ol {
  padding-left: 22px;
}

.placeholder {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid #f2c7b4;
  border-radius: 6px;
  background: #fff8f5;
  color: #9f3c00;
  font-weight: 800;
}

.legal-note {
  padding: 14px 16px;
  border: 1px solid #f0cfbd;
  border-radius: 8px;
  background: #fff8f4;
  color: #5b3d2b;
  line-height: 1.5;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.faq-list summary {
  padding: 18px;
  cursor: pointer;
  font-weight: 850;
}

.faq-list details > div {
  padding: 0 18px 18px;
  color: #4c6269;
  line-height: 1.55;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .document-card {
    left: 6%;
  }

  .phone-card {
    right: 14%;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .export-actions,
  .top-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero-inner,
  .page-hero-inner,
  .notice-strip,
  .app-workbench,
  .pricing-section,
  .seo-section,
  .content-page,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    min-height: 74px;
    gap: 12px;
  }

  .brand-main {
    font-size: 1.35rem;
  }

  .top-actions {
    justify-content: flex-end;
  }

  .nav-links {
    gap: 18px;
  }

  .hero-inner {
    min-height: 0;
    padding: 38px 0 28px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-upload {
    grid-template-columns: 28px minmax(0, 1fr);
    border-radius: 22px;
    padding: 16px;
  }

  .upload-cta {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .document-card {
    left: 0;
    width: 260px;
    height: 300px;
    padding: 22px;
  }

  .phone-card {
    right: 0;
    top: 60px;
    width: 172px;
    height: 300px;
    border-width: 8px;
  }

  .phone-row {
    min-height: 38px;
  }

  .summary-grid,
  .facts {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .segmented {
    grid-template-columns: repeat(2, minmax(90px, 1fr));
    border-radius: 18px;
  }

  .segment:nth-child(2) {
    border-right: 0;
  }

  .segment:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .detail-head {
    display: grid;
  }

  .detail-head > div:last-child {
    justify-content: flex-start;
  }

  .findings li {
    grid-template-columns: 1fr;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid,
  .pricing-grid.compact,
  .feature-grid,
  .payment-plan-list,
  .payment-options {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
