@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/public-sans-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --paper: #f7f2e7; /* warm cream page: easier on the eyes than white */
  --card: #fffdf8;
  --form: #fffdf8; /* near-white paper of the form graphics, lighter than the page */
  --ink: #15231d;
  --soft: #55615a;
  --rule: #dcd5c5;
  --spruce: #1d4a3c; /* deep green: buttons and highlighted blocks */
  --green: #2c7a57; /* mid green: accents on light backgrounds */
  --mint: #9fd6ba; /* light green: accents on the deep green */
  --tint: #e6f1ea; /* pale green for small chips */
  --deep: #1d4a3c; /* same deep green, for highlighted blocks */
  --form-red: #c4402f; /* the drop-out red of a paper claim form */
  --todo: #8a5a00;
  --todo-bg: #fff6d9;
  --serif: "Poppins", "Helvetica Neue", Arial, sans-serif; /* heading face */
  --sans: "Public Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 5vw, 72px);
  --gap: clamp(56px, 7vw, 96px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; }
h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18; max-width: 22em; }
h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; }
[id] { scroll-margin-top: 63px; } /* height of the sticky nav, so a section's top edge lands flush beneath it */
.nw { white-space: nowrap; }
.h1-sub { display: block; color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sec { padding: var(--gap) 0; }
.band { padding: var(--gap) 0; background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sub { max-width: 40em; margin-top: 16px; color: var(--soft); }
.source { margin-top: 14px; font-size: 14px; color: var(--soft); }

/* buttons */
.btn { display: inline-block; padding: 15px 28px; border-radius: 6px; background: var(--spruce); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; transition: background 150ms; }
.btn:hover { background: #143529; }
.btn-small { padding: 9px 18px; font-size: 15px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px var(--pad); background: rgba(247, 242, 231, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-words { display: grid; line-height: 1.02; }
.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.brand-sub { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: #1f8558; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 16px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--soft); }
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { color: var(--ink); }

/* hero: headline on the left, claim card on the right */
.hero { max-width: 1160px; margin: 0 auto; padding: clamp(40px, 6vw, 84px) var(--pad) clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-page { display: block; padding-bottom: clamp(40px, 5vw, 64px); }
.hero-page h1 { font-size: clamp(36px, 4.6vw, 60px); }
.lede { font-size: clamp(18px, 1.5vw, 19.5px); color: var(--soft); margin: 22px 0 28px; max-width: 34em; }

.claim { background: var(--form); border: 1.5px solid var(--form-red); border-radius: 2px; box-shadow: 0 14px 26px -22px rgba(21, 35, 29, 0.5); transform: rotate(1.2deg); }
.claim-head { display: flex; justify-content: space-between; padding: 9px 14px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--form-red); }
.claim-grid { display: grid; grid-template-columns: 1fr 1fr; }
.box { padding: 9px 14px 14px; border-bottom: 1px solid var(--form-red); }
.box-wide { grid-column: 1 / -1; }
.box dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--form-red); }
.box dd { margin-top: 4px; font-family: var(--serif); font-weight: 600; font-size: 17.5px; line-height: 1.3; letter-spacing: -0.01em; }
.claim-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 14px 18px; }
.claim-status { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.claim-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.stamp { font-family: var(--mono); font-size: 12.5px; font-weight: 500; line-height: 1.35; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; color: var(--green); border: 2px solid var(--green); border-radius: 4px; padding: 7px 12px; transform: rotate(-7deg); }

/* sample documents drawn in the same form style as the claim card */
.doc { margin: 0; background: var(--form); color: var(--ink); border: 1.5px solid var(--form-red); border-radius: 2px; box-shadow: 0 14px 26px -22px rgba(21, 35, 29, 0.5); min-width: 0; }
.doc-wide { margin-top: 44px; max-width: 860px; }
.doc-scroll { overflow-x: auto; }
.doc-table { min-width: 0; font-family: var(--mono); font-size: 13.5px; }
.doc-table th, .doc-table td, .doc-table tbody td:last-child { font-family: var(--mono); font-size: 13.5px; color: var(--ink); text-align: right; white-space: nowrap; padding: 9px 11px; border-bottom: 1px solid var(--form-red); }
.doc-table thead th { font-size: 10.5px; color: var(--form-red); border-bottom: 1px solid var(--form-red); padding: 9px 11px; }
.doc-table th:first-child, .doc-table td:first-child { padding-left: 14px; }
.doc-table thead th:last-child, .doc-table td:last-child, .doc-table tbody td:last-child { padding-right: 14px; }
.doc-table th:first-child, .doc-table td:first-child { text-align: left; }
.doc-wide .doc-table th:nth-child(2), .doc-wide .doc-table td:nth-child(2), .doc-wide .doc-table thead th:last-child, .doc-wide .doc-table tbody td:last-child { text-align: left; }
.doc-table tbody tr, .doc-table tfoot tr { border: 0; }
.doc-table tfoot td { font-weight: 500; }
.doc-wide tbody tr:last-child td { border-bottom: 0; }
.two.two-doc { grid-template-columns: 1fr 0.85fr; align-items: center; }
.two-doc h2 { margin-bottom: 4px; }
.two-doc .doc { transform: rotate(-1.2deg); }
@media (min-width: 901px) { .two.two-doc.flip { grid-template-columns: 0.85fr 1fr; } .two-doc.flip > figure { order: -1; } }

/* the platform section */
.cycle { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; counter-reset: stage; }
.cycle li { counter-increment: stage; position: relative; padding: 12px 12px 14px; background: var(--deep); color: #fff; border-top: 3px solid var(--mint); display: grid; gap: 6px; align-content: start; }
.cycle b { font-family: var(--serif); font-weight: 600; font-size: 15.5px; line-height: 1.25; letter-spacing: -0.01em; }
.cycle b::before { content: counter(stage) ". "; color: var(--mint); }
.cycle span { font-family: var(--mono); font-size: 11.5px; color: #c4d6cc; }
.platform-intro { margin-top: 20px; max-width: 40em; }
.cycle p { font-size: 14.5px; line-height: 1.4; color: #e9f2ee; margin-top: 4px; }
.flowform { margin-top: 56px; }
.flowrow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.flowrow li { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 6px; padding: 10px 14px 16px; border-right: 1px solid var(--form-red); }
.flowrow li:last-child { border-right: 0; }
.flowrow i { font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--form-red); }
.flowrow b { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; }
.flowrow p { font-size: 14.5px; line-height: 1.4; color: var(--soft); }
.flowrow .person { background: var(--tint); }
.flowrow .person i { color: var(--spruce); font-weight: 500; }
.safe { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--rule); }

/* heading on the left, text on the right */
.side { display: grid; grid-template-columns: 0.42fr 1fr; gap: 20px clamp(32px, 6vw, 96px); align-items: start; }
.prose { max-width: 36em; font-size: 20px; line-height: 1.6; display: grid; gap: 1em; }
.north { font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 2vw, 25px); line-height: 1.35; letter-spacing: -0.015em; color: var(--spruce); padding-left: 16px; border-left: 3px solid var(--green); }
.statement { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -0.025em; max-width: 18em; margin-bottom: 28px; }
.after, .plain { font-size: 20px; line-height: 1.6; max-width: 36em; }
.prose-wide { margin-top: 24px; max-width: 40em; }
.brings { margin-top: 36px; gap: 40px clamp(32px, 6vw, 88px); }
.brings p { color: var(--soft); }
.brings p + p { margin-top: 12px; }
.brings b { color: var(--ink); }
.side .checks { max-width: 40em; }
.contact .contact-line { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 2.6vw, 32px); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.contact .contact-line a { color: #fff; }
.qa .todo { font-size: 15px; }
.foot a { color: inherit; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 6vw, 88px); align-items: start; }
.two h2 { margin-bottom: 20px; }
.two h2.gap { margin-top: 36px; }
.big { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px clamp(28px, 4vw, 56px); margin-top: 36px; }
.band > .wrap > .three:first-child { margin-top: 0; }
.three p { color: var(--soft); }

/* placeholders for the team to fill in */
.todo { border: 2px dashed var(--todo); background: var(--todo-bg); color: #3d2a00; border-radius: 4px; padding: 16px 18px; max-width: 44em; font-size: 16px; line-height: 1.5; }
.todo b { display: block; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--todo); margin-bottom: 6px; }
.todo-inline { font-family: var(--mono); font-size: 12px; color: var(--todo); background: var(--todo-bg); border: 1px dashed var(--todo); border-radius: 3px; padding: 2px 8px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 36px 0 0; border-top: 2px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 190px 1fr; gap: 12px 32px; padding: 24px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.steps p { color: var(--soft); max-width: 38em; margin-top: 6px; }
.st { justify-self: start; margin-top: 4px; padding: 4px 10px; border-radius: 3px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--spruce); border: 1.5px solid var(--spruce); }
.st-paid { background: var(--green); border-color: var(--green); color: #fff; }


.checks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.checks li { position: relative; padding: 13px 0 13px 36px; border-bottom: 1px solid var(--rule); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 14px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }

/* table */
.table-scroll { overflow-x: auto; margin-top: 36px; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 17px; }
thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); text-align: left; padding: 0 16px 10px 0; border-bottom: 2px solid var(--ink); }
tbody th { font-family: var(--serif); font-weight: 500; font-size: 21px; text-align: left; white-space: nowrap; padding: 16px 32px 16px 0; vertical-align: top; }
tbody td { padding: 18px 24px 18px 0; color: var(--soft); vertical-align: top; }
tbody td:last-child { font-family: var(--mono); font-size: 15px; color: var(--green); white-space: nowrap; padding-right: 0; text-align: right; }
thead th:last-child { padding-right: 0; text-align: right; }
tbody tr { border-bottom: 1px solid var(--rule); }

.qa dl { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 88px); }
.qa dt { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.25; margin-bottom: 8px; }
.qa dd { color: var(--soft); }

/* closing banner + footer */
.contact { background: var(--deep); color: #fff; padding: clamp(64px, 8vw, 104px) 0 clamp(44px, 5vw, 64px); }
.contact h2 { margin-bottom: 22px; }
.foot { background: var(--deep); color: #b9d3c7; padding: 22px 0 30px; font-size: 14.5px; border-top: 1px solid rgba(255,255,255,0.14); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px; }
.fine { margin: 10px 0 0; font-size: 11.5px; line-height: 1.45; opacity: 0.75; }

@media (max-width: 1080px) {
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 900px) {
  .hero, .side, .two, .two.two-doc, .three, .qa dl { grid-template-columns: 1fr; }
  .cycle { grid-template-columns: 1fr 1fr 1fr; }
  .flowrow { grid-template-columns: 1fr; }
  .flowrow li { border-right: 0; border-bottom: 1px solid var(--form-red); }
  .flowrow li:last-child { border-bottom: 0; }
  .claim { max-width: 480px; }
  .steps li { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .claim, .two-doc .doc { transform: none; }
  .cycle { grid-template-columns: 1fr 1fr; }
  .claim-foot { flex-wrap: wrap; gap: 12px; }
  .stamp { transform: rotate(-4deg); }
  .prose { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Keep headings and text aligned across a row even when some headings wrap:
   each item shares its row tracks with its neighbours. */
.three > div, .brings > div { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 10px; }
.cycle li { grid-template-rows: subgrid; grid-row: span 3; row-gap: 6px; }
