:root {
  --color-primary: #EF8201;
  --color-secondary: #36423E;
  --color-text: #1B211F;
  --color-accent: #066644;
  --color-bg: #F7F6F3;
  --color-surface: #FFFFFF;
  --color-muted: #66706C;
  --color-border: rgba(54, 66, 62, 0.12);
  --shadow-soft: 0 14px 34px rgba(27, 33, 31, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top right, rgba(239, 130, 1, 0.10), transparent 28%),
    linear-gradient(180deg, #fbfaf7 0%, var(--color-bg) 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(247, 246, 243, 0.84);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  color: var(--color-secondary);
  font-size: 1rem;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  background: rgba(54, 66, 62, 0.07);
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: stretch;
}

.hero-content,
.hero-panel {
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.hero-content {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--color-border);
  padding: 40px;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(54,66,62,0.98) 0%, rgba(27,33,31,0.98) 100%);
  color: #fff;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(6, 102, 68, 0.10);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-secondary);
}

.hero-lead {
  margin: 0;
  font-size: 1.08rem;
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

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

.button-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(239, 130, 1, 0.24);
}

.button-secondary {
  background: transparent;
  border-color: rgba(54, 66, 62, 0.18);
  color: var(--color-secondary);
}

.button-print {
  min-height: 58px;
  padding: 0 28px;
  border-radius: 8px;
  background: var(--color-primary);
  border: 2px solid #fff;
  color: #fff;
  box-shadow:
    0 0 0 3px rgba(239, 130, 1, 0.34),
    0 16px 34px rgba(239, 130, 1, 0.42);
  letter-spacing: 0;
  text-transform: uppercase;
  animation: cta-pulse 2.2s ease-in-out infinite;
}

.button-print:hover {
  background: #d87500;
  border-color: #fff;
  box-shadow:
    0 0 0 4px rgba(239, 130, 1, 0.44),
    0 20px 42px rgba(239, 130, 1, 0.50);
}

.button-print:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 4px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.mini-card {
  background: #fff;
  border: 1px solid rgba(54,66,62,0.09);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.mini-card strong {
  display: block;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.mini-card span {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.report-card,
.panel-note,
.info-card,
.feature-card,
.steps-card,
.launch-box {
  border-radius: 22px;
}

.report-card,
.panel-note {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 22px;
}

.report-card h2,
.panel-note h3 {
  margin: 0 0 12px;
  color: #fff;
}

.report-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.report-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status.ok {
  background: rgba(18, 194, 123, 0.18);
  color: #111;
}

.status.mid {
  background: #ffe08a;
  border: 1px solid #d59a00;
  color: #2d2200;
}

.status.warn {
  background: #ffb3b3;
  border: 1px solid #c73535;
  color: #3d0909;
}

.status.review {
  background: #ffe08a;
  border: 1px solid #d59a00;
  color: #2d2200;
}

.status.info {
  background: #cfe8ff;
  border: 1px solid #4d9de0;
  color: #0b3558;
}

.panel-note p {
  margin: 0;
  color: rgba(255,255,255,0.80);
}

.section {
  padding: 36px 0;
}

.alt-section {
  background: rgba(255,255,255,0.38);
  border-top: 1px solid rgba(54,66,62,0.06);
  border-bottom: 1px solid rgba(54,66,62,0.06);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.left-tight {
  margin-bottom: 0;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  line-height: 1.15;
  color: var(--color-secondary);
}

.section-heading p {
  margin: 0;
  color: var(--color-muted);
  max-width: 72ch;
}

.card-grid {
  display: grid;
  gap: 20px;
}

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

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

.info-card,
.feature-card,
.steps-card,
.launch-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.info-card,
.feature-card {
  padding: 24px;
}

.info-card h3,
.feature-card h3 {
  margin: 0 0 10px;
  color: var(--color-secondary);
}

.info-card p,
.feature-card p {
  margin: 0;
  color: var(--color-muted);
}

.feature-number {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(239,130,1,0.14), rgba(54,66,62,0.09));
  border: 1px solid rgba(54,66,62,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.steps-card {
  padding: 24px;
}

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

.steps-list li {
  display: grid;
  gap: 4px;
  padding-left: 24px;
  position: relative;
}

.steps-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

.steps-list strong {
  color: var(--color-secondary);
}

.steps-list span {
  color: var(--color-muted);
}

.launch-section {
  padding-bottom: 72px;
}

.result-section {
  padding-top: 0;
  padding-bottom: 72px;
}

.result-shell {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  border-radius: 28px;
  padding: 28px;
}

.error-shell {
  border-color: rgba(163, 41, 41, 0.16);
}

.loading-shell {
  text-align: left;
}

.loading-bar {
  width: 100%;
  height: 16px;
  border-radius: 999px;
  background: rgba(54, 66, 62, 0.10);
  overflow: hidden;
  margin: 20px 0 14px;
}

.loading-bar-fill {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), #ffb356);
  animation: loading-slide 1.2s ease-in-out infinite;
}

.loading-url {
  margin: 0;
  color: var(--color-muted);
  word-break: break-word;
}

.result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.result-top h2 {
  margin: 0 0 8px;
  color: var(--color-secondary);
}

.result-lead,
.result-url {
  margin: 0;
}

.result-lead {
  color: var(--color-text);
  font-size: 1.05rem;
}

.result-url {
  margin-top: 8px;
  color: var(--color-muted);
  word-break: break-word;
}

.result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-actions form {
  margin: 0;
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.summary-card,
.result-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 22px;
  min-width: 0;
}

.summary-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.summary-card span {
  color: var(--color-muted);
  font-weight: 600;
}

.summary-card-score {
  background: rgba(239, 130, 1, 0.10);
  border-color: rgba(239, 130, 1, 0.34);
}

.summary-card-ok {
  background: rgba(18, 194, 123, 0.16);
  border-color: rgba(18, 194, 123, 0.42);
}

.summary-card-mid,
.summary-card-review {
  background: #fff4cc;
  border-color: #d59a00;
}

.summary-card-score strong,
.summary-card-score span,
.summary-card-ok strong,
.summary-card-ok span,
.summary-card-mid strong,
.summary-card-mid span,
.summary-card-review strong,
.summary-card-review span {
  color: var(--color-secondary);
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  color: var(--color-muted);
}

.brand-callout {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(6, 102, 68, 0.08);
  border: 1px solid rgba(6, 102, 68, 0.12);
  color: var(--color-secondary);
}

.brand-callout strong {
  margin-right: 8px;
}

.diagnosis-card {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(6, 102, 68, 0.16);
  border-radius: 18px;
  background: rgba(6, 102, 68, 0.07);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.diagnosis-card strong {
  display: block;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.diagnosis-card p,
.diagnosis-meta {
  margin: 0;
  color: var(--color-muted);
}

.diagnosis-meta {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.result-grid {
  margin-top: 24px;
  align-items: start;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.result-card h3 {
  margin: 0 0 16px;
  color: var(--color-secondary);
  overflow-wrap: anywhere;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.section-score {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(239, 130, 1, 0.14);
  color: var(--color-secondary);
  font-size: 0.82rem;
  line-height: 1.4;
}

.export-box {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(54, 66, 62, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.export-box h3 {
  margin: 0 0 8px;
  color: var(--color-secondary);
}

.export-box p {
  margin: 0 0 8px;
  color: var(--color-muted);
  max-width: 72ch;
}

.export-box small {
  color: var(--color-muted);
  font-weight: 600;
}

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

.export-actions form {
  margin: 0;
}

.result-list {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.result-item {
  border-top: 1px solid rgba(54, 66, 62, 0.08);
  padding-top: 14px;
  min-width: 0;
}

.result-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.result-card .result-item-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  width: 100%;
}

.result-card .result-item-head strong {
  display: block;
  color: var(--color-secondary);
  min-width: 0;
  overflow-wrap: anywhere;
  width: 100%;
}

.paid-marker {
  color: var(--color-primary);
  font-weight: 900;
  margin-left: 4px;
}

.result-item p {
  margin: 8px 0 0;
  color: var(--color-muted);
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.result-card .result-item .status {
  margin-top: 10px;
  white-space: nowrap;
  max-width: 100%;
  align-self: flex-start;
}

.result-card {
  overflow: hidden;
}

.result-note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.result-note p {
  flex: 1 1 360px;
}

.result-note form {
  margin: 0;
  flex: 0 0 auto;
}

.launch-box {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.scope-note {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(54, 66, 62, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.scope-note p {
  margin: 0;
  color: var(--color-muted);
  max-width: none;
}

.legal-note {
  background: rgba(54, 66, 62, 0.04);
}

.launch-copy h2 {
  margin: 0 0 10px;
  color: var(--color-secondary);
}

.launch-copy p {
  margin: 0;
  color: var(--color-muted);
  max-width: 62ch;
}

.audit-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(100%, 520px);
}

.audit-form input {
  flex: 1 1 280px;
  min-height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(54,66,62,0.16);
  padding: 0 18px;
  font: inherit;
  color: var(--color-text);
  background: #fff;
}

.audit-form input:focus {
  outline: none;
  border-color: rgba(239,130,1,0.75);
  box-shadow: 0 0 0 4px rgba(239,130,1,0.12);
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 0 36px;
  color: var(--color-muted);
  font-size: 0.96rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer-links a:hover {
  color: #c86c00;
  font-weight: 800;
}

.footer-separator {
  color: rgba(54, 66, 62, 0.42);
  font-weight: 700;
}

.footer-link-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  position: relative;
  color: var(--color-secondary);
}

.icon-terms {
  border: 2px solid currentColor;
  border-radius: 2px;
}

.icon-terms::before,
.icon-terms::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  height: 2px;
  background: currentColor;
}

.icon-terms::before {
  top: 3px;
}

.icon-terms::after {
  bottom: 3px;
}

.icon-imprint::before {
  content: "";
  position: absolute;
  inset: 1px 2px;
  border: 2px solid currentColor;
  border-top-width: 5px;
  border-radius: 2px;
}

.icon-cookie {
  border-radius: 50%;
  background: currentColor;
}

.icon-cookie::before,
.icon-cookie::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--color-bg);
}

.icon-cookie::before {
  width: 4px;
  height: 4px;
  right: 1px;
  top: 1px;
}

.icon-cookie::after {
  width: 2px;
  height: 2px;
  left: 4px;
  bottom: 3px;
}

.icon-privacy::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 1px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.icon-privacy::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 0;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
}

.print-body {
  background: #fff;
}

.print-wrap {
  width: min(980px, calc(100% - 32px));
  margin: 32px auto 48px;
  padding-left: 24px;
}

.print-header,
.print-summary,
.print-section,
.print-note {
  border: 1px solid rgba(54, 66, 62, 0.12);
  border-radius: 20px;
  padding: 20px 22px;
  margin-bottom: 18px;
  background: #fff;
}

.print-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.print-header h1,
.print-summary h2,
.print-section h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.print-kicker,
.print-url,
.print-meta,
.print-note p {
  margin: 0;
  color: var(--color-muted);
}

.print-meta {
  display: grid;
  gap: 6px;
}

.print-table {
  display: grid;
  gap: 14px;
}

.print-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) minmax(90px, 0.7fr) minmax(0, 2fr);
  gap: 12px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(54, 66, 62, 0.14);
  min-width: 0;
  align-items: start;
}

.print-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.print-label,
.print-status {
  font-weight: 700;
  color: var(--color-secondary);
  white-space: normal;
}

.print-cell {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
  align-self: start;
}

.print-footer {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(54, 66, 62, 0.14);
  color: var(--color-muted);
  font-size: 0.92rem;
}

@keyframes loading-slide {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(320%);
  }
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(239, 130, 1, 0.30),
      0 16px 34px rgba(239, 130, 1, 0.38);
  }

  50% {
    box-shadow:
      0 0 0 6px rgba(239, 130, 1, 0.20),
      0 20px 42px rgba(239, 130, 1, 0.48);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .card-grid-3,
  .card-grid-2,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .brand-text {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .hero-panel,
  .info-card,
  .feature-card,
  .steps-card,
  .launch-box,
  .result-shell,
  .summary-card,
  .result-card {
    padding: 22px;
  }

  .header-inner {
    min-height: 68px;
  }

  .print-row {
    grid-template-columns: 1fr;
  }

  .result-note {
    align-items: stretch;
  }

  .diagnosis-card {
    grid-template-columns: 1fr;
  }

  .export-actions,
  .export-actions form,
  .export-actions .button {
    width: 100%;
  }

  .result-note form,
  .result-note .button-print {
    width: 100%;
  }

  .print-body .print-row {
    grid-template-columns: minmax(120px, 1.2fr) minmax(80px, 0.7fr) minmax(0, 2fr);
  }

  .print-wrap {
    width: min(100%, calc(100% - 24px));
    margin: 20px auto 32px;
    padding-left: 12px;
  }
}

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

@media print {
  @page {
    margin: 18mm 16mm 18mm 20mm;
  }

  .print-wrap {
    width: 100%;
    margin: 0;
    padding-left: 0;
  }

  .print-header,
  .print-summary,
  .print-section,
  .print-note {
    box-shadow: none;
    border-radius: 0;
    page-break-inside: avoid;
  }

  .print-row {
    grid-template-columns: minmax(150px, 1.2fr) minmax(90px, 0.7fr) minmax(0, 2fr);
    align-items: start;
  }
}
