/* Owner statement template page. Shared chrome (type, top bar, footer, tokens) lives in legal.css,
   which stays aligned with the calculator. This file only adds the guide. */

:root {
  --brand-tint: #eaf3fa;
  --step-2: 1.5rem;
  --step-4: clamp(2rem, 1.3rem + 2.4vw, 3rem);
  --radius: 12px;
}

.hero {
  background:
    radial-gradient(120% 140% at 85% 0%, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0) 55%),
    linear-gradient(180deg, var(--brand) 0%, #0b5d9e 100%);
  color: var(--white);
}

.hero-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding-block: 48px 56px;
}

.hero h1 {
  max-width: 14em;
  margin: 0;
  color: var(--white);
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.hero-lede {
  max-width: 40rem;
  margin: 0;
  color: rgb(255 255 255 / 0.92);
  font-size: var(--step-1);
  line-height: 1.5;
}

.guide {
  max-width: 48rem;
  padding-block: 40px 64px;
}

.guide h2 {
  margin: 40px 0 12px;
  color: var(--navy);
  font-size: var(--step-2);
  line-height: 1.25;
}

.guide h3 {
  margin: 22px 0 6px;
  color: var(--navy);
  font-size: var(--step-1);
  line-height: 1.35;
}

.guide p,
.guide ul,
.guide ol {
  margin: 0 0 12px;
}

.guide li + li {
  margin-top: 8px;
}

.guide ol {
  padding-left: 1.4rem;
}

.guide ol li::marker {
  color: var(--brand);
  font-weight: 700;
}

.guide ul {
  padding-left: 1.25rem;
}

.download-line {
  margin: 4px 0 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--brand-tint);
}

.download-line a {
  display: inline-block;
  font-weight: 700;
  padding-block: 2px;
}

.table-scroll {
  max-width: 100%;
  margin: 0 0 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.table-scroll:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

thead th {
  background: var(--surface-2);
  color: var(--navy);
  font-weight: 700;
}

.cols-table th {
  width: 34%;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

.example-table {
  min-width: 64rem;
}

.example-table th,
.example-table td {
  white-space: nowrap;
}

.num {
  text-align: right;
}

tr.is-total th,
tr.is-total td {
  border-top: 1px solid var(--navy);
  border-bottom: 3px double var(--navy);
  color: var(--navy);
  font-weight: 700;
}

.about {
  margin-top: 36px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

p.about {
  margin-bottom: 0;
}

.independent {
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--step--1);
}

@media (max-width: 640px) {
  .hero-inner {
    gap: 12px;
    padding-block: 36px 40px;
  }

  .guide {
    padding-block: 28px 48px;
  }

  th,
  td {
    padding: 8px 10px;
  }

  .cols-table th {
    white-space: normal;
  }
}
