:root {
  color-scheme: light;
  --ink: #172b29;
  --muted: #566662;
  --green: #153e36;
  --line: #dce3df;
  --surface: #f3f6f4;
  color: var(--ink);
  background: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #a86c08;
  outline-offset: 5px;
}
.wrap {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 12px;
  background: #fff;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.055em;
  text-decoration: none;
}
.brand-mark {
  display: block;
  flex: none;
}
.wordmark span {
  max-width: 180px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  font-size: var(--text-sm);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: var(--text-ui);
  font-weight: 600;
}
.site-header nav > a:first-child {
  text-decoration: none;
}
.language-link {
  padding-block: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 16px 22px;
  min-height: 48px;
  border-radius: 9px;
  border: 1px solid var(--green);
  color: var(--green);
  font-weight: 600;
  font-size: var(--text-body);
  line-height: 1.4;
  text-decoration: none;
}
.button:hover {
  background: #eaf0ec;
}
.button.primary {
  background: var(--green);
  color: #fff;
}
.button.primary:hover {
  background: #245b4f;
}
.button.compact {
  font-size: var(--text-ui);
  padding: 11px 16px;
  gap: 18px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding-block: 88px 96px;
}
.eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  color: var(--green);
  margin: 0 0 24px;
  line-height: 1.5;
}
h1 {
  font-size: clamp(48px, 5.2vw, 68px);
  letter-spacing: -0.045em;
  line-height: 1.04;
  max-width: 10ch;
  margin: 0 0 28px;
  font-weight: 700;
}
.intro {
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40ch;
  margin: 0 0 32px;
}
.action-note {
  font-size: var(--text-ui);
  line-height: 1.7;
  color: var(--muted);
  margin: 16px 0 0;
}
.report-example {
  border: 1px solid #c7d3cc;
  border-radius: 16px;
  box-shadow: 0 18px 50px #183e3510;
  overflow: hidden;
  background: #fff;
}
.example-top {
  padding: 17px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green);
  color: #fff;
}
.example-label {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-label);
  font-weight: 600;
}
.example-mark {
  font-size: 20px;
  font-weight: 700;
}
.example-heading {
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.example-heading p {
  font-size: var(--text-ui);
  color: var(--muted);
  margin: 0 0 7px;
}
.example-heading h2 {
  font-size: 26px;
  margin: 0;
  letter-spacing: var(--tracking-heading);
}
.example-tag {
  font-size: var(--text-sm);
  padding: 7px 9px;
  background: var(--surface);
  border-radius: 4px;
  color: var(--muted);
}
.example-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 26px 26px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}
.example-metrics > div {
  padding-inline: 16px;
  border-right: 1px solid var(--line);
}
.example-metrics > div:first-child {
  padding-left: 0;
}
.example-metrics > div:last-child {
  border: 0;
}
.example-metrics span {
  display: block;
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 10px;
}
.example-metrics strong {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--tracking-heading);
  font-variant-numeric: tabular-nums;
}
.example-table-wrap {
  margin: 0 26px;
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--text-ui);
}
caption {
  text-align: left;
  font-size: var(--text-ui);
  font-weight: 600;
  margin-bottom: 15px;
}
th,
td {
  padding: 11px 7px;
  text-align: right;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
th:first-child,
td:first-child {
  text-align: left;
  padding-left: 0;
}
thead th {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
}
tbody th {
  font-weight: 500;
}
.example-revenue {
  padding: 23px 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: var(--text-ui);
}
.example-revenue strong {
  font-size: 26px;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.example-footnote {
  margin: 0;
  padding: 15px 26px;
  background: var(--surface);
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.srea-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 48px;
  padding: 40px;
  margin-bottom: 72px;
  border: 1px solid #e2d7ca;
  border-radius: 16px;
  background: #fcf9f5;
}
.srea-copy .eyebrow {
  color: #885b30;
  margin-bottom: 14px;
}
.srea-copy p:not(.eyebrow) {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 18px;
}
.srea-screenshot {
  min-width: 0;
  margin: 0;
}
.srea-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.35;
  border: 1px solid #c5ccd4;
  border-radius: 4px;
  background: #fff;
}
.srea-image-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.srea-screenshot figcaption {
  margin-top: 12px;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--muted);
}
@media (max-width: 960px) {
  .site-header nav { gap: 16px; }
  .srea-section {
    gap: 28px;
    padding: 28px;
  }
}
@media (max-width: 700px) {
  .srea-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
    margin-bottom: 48px;
  }
  .srea-image-link {
    aspect-ratio: 1;
  }
}

.workflow {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding-block: 58px 62px;
  scroll-margin-top: 24px;
}
.section-heading .eyebrow,
.requirements .eyebrow {
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
  line-height: 1.2;
  margin: 0 0 20px;
}
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #b4c4bb;
  border-radius: 10px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 18px;
}
h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.025em;
}
.steps-list p {
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.7;
  margin: 0;
}
.details-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  padding-block: 76px;
}
.requirements-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.requirements-list li {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.requirements-list li:first-child {
  padding-top: 0;
}
.requirements-list strong,
.requirements-list span {
  display: block;
  font-size: var(--text-body);
  line-height: 1.65;
}
.requirements-list span {
  color: var(--muted);
  margin-top: 3px;
}
.questions h2 {
  margin-bottom: 20px;
}
details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.6;
  padding-right: 10px;
  font-size: var(--text-body);
}
details p {
  font-size: var(--text-body);
  color: var(--muted);
  line-height: 1.75;
  margin: 14px 0 0;
}
.start-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.start-section h2 {
  font-size: 30px;
  margin: 0 0 9px;
}
.start-section p {
  font-size: var(--text-body);
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
}
.site-footer {
  margin-top: 72px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 25px;
  align-items: center;
}
.site-footer .wordmark {
  font-size: 22px;
}
.site-footer p,
.site-footer > a:last-child {
  font-size: var(--text-ui);
  color: var(--muted);
  line-height: 1.6;
}
.site-footer p {
  flex: 1;
}
@media (max-width: 960px) {
  .hero {
    gap: 36px;
    padding-block: 60px;
  }
  .wordmark span {
    display: none;
  }
  h1 {
    font-size: clamp(44px, 5.8vw, 56px);
  }
  .example-heading {
    flex-wrap: wrap;
  }
  .details-section {
    gap: 48px;
  }
  .steps-list {
    gap: 28px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 80px;
    gap: 12px;
    flex-wrap: wrap;
    padding-block: 16px;
  }
  .site-header .wordmark {
    font-size: 26px;
  }
  .site-header .brand-mark {
    width: 36px;
    height: 36px;
  }
  .site-header nav {
    gap: 16px;
  }
  .site-header nav > a:first-child {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 44px 48px;
  }
  h1 {
    font-size: clamp(42px, 11vw, 62px);
    max-width: 12ch;
  }
  .intro {
    font-size: var(--text-lead);
    max-width: 100%;
  }
  .hero-copy > .eyebrow {
    font-size: var(--text-sm);
  }
  .report-example {
    max-width: 500px;
    width: 100%;
  }
  .example-heading {
    flex-wrap: wrap;
  }
  .example-heading,
  .example-revenue {
    padding-inline: 20px;
  }
  .example-metrics {
    margin-inline: 20px;
  }
  .example-table-wrap {
    margin-inline: 20px;
  }
  .workflow {
    padding-block: 42px;
  }
  h2 {
    font-size: 28px;
  }
  .steps-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .steps-list li {
    position: relative;
    padding-left: 48px;
  }
  .step-number {
    position: absolute;
    left: 0;
    top: 0;
  }
  .details-section {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 48px;
  }
  .start-section {
    padding: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 48px;
  }
  .site-footer p {
    flex-basis: calc(100% - 110px);
    margin: 0;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .example-heading {
    flex-wrap: wrap;
  }
  .example-metrics > div {
    padding-inline: 10px;
  }
  .example-revenue {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.report-guide {
  padding-top: 72px;
  scroll-margin-top: 24px;
}
.report-guide h2 {
  max-width: 28ch;
}
.guide-intro,
.guide-grid p,
.guide-note {
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.75;
  margin: 0;
}
.guide-intro {
  max-width: 75ch;
}
.guide-intro + .guide-intro {
  margin-top: 18px;
}
.guide-grid p + p {
  margin-top: 16px;
}
#cross-month-revenue {
  scroll-margin-top: 24px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 64px;
  margin-block: 36px;
}
.guide-note {
  border-block: 1px solid var(--line);
  padding-block: 22px;
}
@media (max-width: 700px) {
  .report-guide { padding-top: 48px; }
  .guide-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Keep the familiar WebReg form in the first screen. */
.hero {
  padding-block: 48px 56px;
}
.hero-screenshot {
  border: 1px solid #c5ccd4;
  border-radius: 12px;
  overflow: hidden;
  background: #fcf9f5;
  box-shadow: 0 18px 50px #183e3510;
}
.srea-preview-heading {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 22px;
}
.srea-preview-heading span {
  color: var(--muted);
  font-size: var(--text-sm);
}
.srea-preview-heading strong {
  font-size: 23px;
  letter-spacing: var(--tracking-heading);
}
.hero-screenshot .srea-image-link {
  border-inline: 0;
  border-radius: 0;
  aspect-ratio: 1.15;
}
.hero-screenshot figcaption {
  margin: 0;
  padding: 12px 22px;
}
@media (max-width: 700px) {
  .hero {
    padding-block: 28px 40px;
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(36px, 9vw, 48px);
    max-width: 15ch;
    margin-bottom: 16px;
  }
  .hero-copy > .eyebrow { margin-bottom: 12px; }
  .hero .intro { margin-bottom: 20px; }
  .hero .action-note { margin-top: 10px; }
  .hero-screenshot .srea-image-link { aspect-ratio: 1.65; }
  .srea-preview-heading { padding: 12px 18px; }
  .hero-screenshot figcaption { padding: 10px 18px; }
}

.srea-preview-heading .srea-official-logo {
  display: block;
  width: 100%;
  max-width: 444px;
  height: auto;
  margin-top: 10px;
}

.hero h1 {
  max-width: 16ch;
}
.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 20px;
  font-size: var(--text-ui);
  line-height: 1.65;
}
.guide-links a {
  padding-block: 6px;
}
.worked-example {
  padding-top: 64px;
  scroll-margin-top: 24px;
}
.worked-example h2 {
  max-width: 28ch;
}
.calculation-table-wrap {
  margin-block: 28px;
}
.calculation-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body);
  line-height: 1.6;
}
.calculation-table caption {
  text-align: left;
  color: var(--muted);
  font-size: var(--text-sm);
  padding-bottom: 14px;
}
.calculation-table th,
.calculation-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.calculation-table thead {
  background: var(--green);
}
.calculation-table thead th {
  color: #fff;
}
.calculation-table tbody th {
  font-weight: 500;
}
.calculation-table tbody tr:last-child {
  background: var(--surface);
}
.calculation-table td {
  width: 18%;
  font-variant-numeric: tabular-nums;
}
.source-notes {
  margin-top: 36px;
  padding: 24px;
  background: var(--surface);
  border-radius: 12px;
  color: var(--muted);
  font-size: var(--text-ui);
  line-height: 1.75;
}
.source-notes h3 {
  color: var(--ink);
}
.source-notes p {
  margin: 0;
}
.source-notes ul {
  padding-left: 20px;
  margin-block: 16px;
}
.source-notes li + li {
  margin-top: 10px;
}
#questions-title {
  scroll-margin-top: 24px;
}
@media (max-width: 700px) {
  .worked-example { padding-top: 48px; }
  .calculation-table th,
  .calculation-table td { padding: 12px 8px; }
}
