:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17231d;
  background: #f7f6f2;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  background:
    radial-gradient(circle at 85% 0%, rgb(21 91 67 / 8%), transparent 30rem),
    #f7f6f2;
  color: #17231d;
  line-height: 1.6;
}

a {
  color: #155b43;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0d4632;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 0.2rem solid #e2a14a;
  outline-offset: 0.18rem;
}

.site-header,
main,
.site-footer {
  width: min(72rem, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  border-bottom: 1px solid #cdd5cf;
}

.wordmark {
  color: #17231d;
  font-weight: 720;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mode-label,
.eyebrow {
  color: #56635d;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

main {
  padding-block: clamp(2.5rem, 7vw, 6rem);
}

.hero {
  max-width: 52rem;
  margin-bottom: 2.5rem;
}

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

h1 {
  max-width: 17ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 6vw, 4.75rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h3 {
  line-height: 1.3;
}

.hero-copy {
  max-width: 45rem;
  color: #394840;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.privacy-note,
.privacy-qualification {
  max-width: 48rem;
}

.privacy-note {
  margin-top: 1.5rem;
}

.privacy-qualification,
.field-help,
.case-note,
.scope-note {
  color: #56635d;
  font-size: 0.92rem;
}

.checker-card,
article.checker-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid #cdd5cf;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 1.25rem 3.5rem rgb(23 35 29 / 7%);
}

.offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid #155b43;
  border-radius: 0.5rem;
  background: #edf4ef;
}

.offer-summary h2 {
  max-width: 24ch;
}

.price-line {
  font-size: 1.1rem;
}

.offer-list {
  padding-left: 1.2rem;
}

.workflow-guides {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #cdd5cf;
}

.workflow-guides li + li {
  margin-top: 0.5rem;
}

.checkout-form,
.recovery-form {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1.25rem;
  border: 1px solid #cdd5cf;
  border-radius: 0.5rem;
  background: #fff;
}

select,
input[type="email"] {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #829087;
  border-radius: 0.35rem;
  background: #fff;
  color: #17231d;
  font: inherit;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  margin-top: 0.35rem;
  font-weight: 550;
}

.checkbox-row input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.access-panel,
.comparison-card {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid #cdd5cf;
  border-radius: 0.5rem;
  background: #fff;
}

.access-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.access-panel p,
.comparison-card p {
  margin-bottom: 0;
}

.comparison-card {
  margin-top: 1.5rem;
}

.recovery-hero,
.recovery-card {
  max-width: 42rem;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

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

.file-field {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid #cdd5cf;
  border-radius: 0.5rem;
  background: #fbfcfa;
}

label {
  font-weight: 720;
}

input[type="file"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px dashed #84938b;
  border-radius: 0.35rem;
  background: #fff;
  color: #17231d;
}

button {
  min-height: 2.85rem;
  border-radius: 0.4rem;
  font: inherit;
  font-weight: 720;
  cursor: pointer;
}

.primary-button {
  margin-top: 0.5rem;
  padding: 0.72rem 1.25rem;
  border: 1px solid #155b43;
  background: #155b43;
  color: #fff;
}

.primary-button:hover {
  background: #0d4632;
}

.secondary-button {
  padding: 0.62rem 1rem;
  border: 1px solid #829087;
  background: #fff;
  color: #17231d;
}

.secondary-actions,
.paid-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.paid-tools .file-field {
  flex: 1 1 24rem;
}

.results {
  margin-top: 1.5rem;
}

.result-summary,
.priority-list {
  margin: 0;
  padding: 0;
}

.priority-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.priority-item {
  padding: 1rem;
  border-left: 0.3rem solid #a45b0b;
  background: #fff8ee;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1rem 1.5rem;
  font-size: 0.94rem;
}

th,
td {
  padding: 0.65rem;
  border: 1px solid #cdd5cf;
  text-align: left;
  vertical-align: top;
}

pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 0.35rem;
  background: #17231d;
  color: #f6fbf8;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 2rem 3rem;
  border-top: 1px solid #cdd5cf;
  color: #56635d;
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

@media (max-width: 48rem) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 2rem, 72rem);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 0.8rem;
  }

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

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

  h1 {
    letter-spacing: -0.04em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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