/* AttainCore editorial site. Brand source: Attain-Design-System.
   Warm neutrals and type-led layouts; accessible action red is deliberately
   darker than the decorative #e33b25 brand accent. Local fonts: SIL OFL. */
@font-face {
  font-family: "Encode Sans";
  src: url("../fonts/EncodeSans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f4f4ef;
  --sand: #e3e3d7;
  --white: #fff;
  --ink: #151617;
  --muted: #565750;
  --line: #c9c9bf;
  --red: #e33b25;
  --action: #bd2c19;
  --action-hover: #a22615;
  --coral: #eb7566;
  --heading: "Encode Sans", sans-serif;
  --body:
    Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
.matter-title {
  font-family: var(--heading);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3rem, 5.5vw, 5.25rem);
}
h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
}
h3 {
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}
p + p {
  margin-top: 1.1rem;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
summary,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 5px;
}
::selection {
  background: var(--sand);
  color: var(--ink);
}
.container {
  width: calc(100% - 96px);
  max-width: var(--container);
  margin-inline: auto;
}
.section {
  padding: 112px 0;
}
.eyebrow,
.section-index {
  font-size: 0.69rem;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--action);
}
.neutral-eyebrow {
  color: var(--muted);
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 54px;
}
.section-index {
  white-space: nowrap;
}
.section-rule {
  height: 1px;
  flex: 1;
  background: var(--line);
}
.subtle-heading {
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 44px;
  border-bottom: 1px solid var(--ink);
}
.text-link:hover {
  color: var(--action);
  border-color: var(--action);
}
.large-copy {
  font-size: 1.38rem;
  line-height: 1.55;
  letter-spacing: -0.025em;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  min-height: 54px;
  padding: 14px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background 0.18s;
}
.btn-primary {
  background: var(--action);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--action-hover);
}
.btn span {
  font-size: 1.2rem;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  padding: 14px 20px;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus {
  top: 12px;
}
/* Navigation: simple by design, with a native mobile disclosure. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.brand-mark {
  font-family: var(--heading);
  font-weight: 750;
  font-size: 1.8rem;
  letter-spacing: -0.08em;
}
.brand-core {
  font-weight: 450;
}
.brand-period {
  color: var(--red);
}
.desktop-nav {
  display: flex;
  gap: 36px;
  margin-left: auto;
  margin-right: 36px;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.82rem;
  font-weight: 500;
}
.desktop-nav a:hover {
  color: var(--action);
}
.header-cta {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
}
.header-cta:hover {
  color: var(--action);
  border-color: var(--action);
}
.mobile-menu {
  display: none;
}
/* Split hero and a deliberately typographic illustrative matter document. */
.hero {
  padding: 84px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.product-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
}
.hero-copy h1 {
  font-weight: 700;
  line-height: 1.035;
  letter-spacing: -0.058em;
  margin-bottom: 30px;
}
.hero-copy h1 > span {
  color: var(--action);
}
.hero-lead {
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-description {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 28px;
}
.hero-actions .text-link {
  font-size: 0.8rem;
  gap: 12px;
}
.hero-note {
  font-size: 0.76rem;
  max-width: 46ch;
  color: var(--muted);
  margin-top: 22px;
  line-height: 1.7;
}
.matter-figure {
  min-width: 0;
}
.matter-frame {
  background: var(--sand);
  padding: 25px 26px 20px;
  position: relative;
  border-top: 3px solid var(--red);
}
.matter-topline,
.matter-bottomline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  letter-spacing: 0.12em;
  font-weight: 650;
}
.matter-topline {
  margin-bottom: 24px;
}
.folio {
  color: var(--muted);
  font-weight: 450;
}
.matter-document {
  background: var(--white);
  border: 1px solid #d3d3ca;
  padding: 25px 27px 0;
  box-shadow: 0 10px 25px #1516170a;
}
.document-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.document-symbol {
  font: 650 2.2rem/1 var(--heading);
  letter-spacing: -0.12em;
}
.document-symbol > span {
  color: var(--red);
}
.document-label {
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 1.6;
  text-align: right;
}
.matter-title {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.document-subtitle {
  color: var(--muted);
  margin: 12px 0 23px;
}
.matter-row {
  border-top: 1px solid #deded7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}
.matter-row > span:first-child {
  display: flex;
  gap: 10px;
  align-items: center;
}
.matter-row small {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.status-label {
  white-space: nowrap;
  color: var(--muted);
}
.status-label > span {
  margin-left: 3px;
}
.status-review {
  color: var(--action);
  background: #fbede9;
  border: 1px solid #eed2ca;
  padding: 3px 5px;
}
.review-note {
  border-left: 2px solid var(--red);
  background: #f7f5f0;
  padding: 15px 17px;
  margin: 10px 0 23px;
}
.review-eyebrow {
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--action);
}
.review-note p {
  line-height: 1.6;
  margin: 7px 0 10px;
}
.review-caption {
  color: var(--muted);
}
.document-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  color: var(--muted);
}
.document-footer > span:last-child {
  font-size: 1.1rem;
  color: var(--action);
}
.matter-bottomline {
  margin-top: 20px;
  letter-spacing: 0.02em;
  font-weight: 450;
}
.matter-figure figcaption {
  line-height: 1.6;
  color: var(--muted);
  margin-top: 10px;
}
.matter-types {
  border-block: 1px solid var(--line);
}
.matter-types-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  font-size: 0.82rem;
  font-weight: 500;
}
.matter-types-label {
  font-size: 0.65rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 450;
}
/* Editorial narrative. */
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.editorial-copy {
  max-width: 48ch;
}
.editorial-copy > p:not(.large-copy) {
  font-size: 0.96rem;
  color: var(--muted);
}
.editorial-copy .large-copy {
  margin-bottom: 24px;
}
.before-after {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 32px;
  align-items: center;
}
.before-after .eyebrow {
  font-size: 0.61rem;
  margin-bottom: 10px;
}
.before-after p + p {
  margin: 0;
  font-size: 1rem;
}
.comparison-arrow {
  font-size: 2rem;
  color: var(--action);
}
.workflow-section {
  background: var(--sand);
}
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 44px;
  margin-bottom: 52px;
}
.section-intro > p {
  color: var(--muted);
  font-size: 0.91rem;
  max-width: 28ch;
}
.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}
.workflow > li {
  border-left: 1px solid #b6b7a9;
  padding: 0 26px;
  display: flex;
  flex-direction: column;
}
.workflow > li:first-child {
  padding-left: 0;
  border-left: 0;
}
.workflow > li:last-child {
  padding-right: 0;
}
.workflow-number {
  font: 400 3rem/1 var(--heading);
  letter-spacing: -0.08em;
  color: var(--action);
  margin-bottom: 32px;
  display: block;
}
.workflow h3 {
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.workflow p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 26px;
}
.step-detail {
  font-size: 0.63rem;
  border-top: 1px solid #b6b7a9;
  padding-top: 15px;
  margin-top: auto;
  font-weight: 600;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 100px;
}
.outcomes-heading > p {
  max-width: 32ch;
  font-size: 0.96rem;
  color: var(--muted);
  margin: 26px 0;
}
.outcomes-heading .text-link {
  font-size: 0.78rem;
}
.outcome-list > article {
  display: flex;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.outcome-list > article:first-child {
  padding-top: 0;
}
.outcome-marker {
  font-size: 1.4rem;
  color: var(--action);
  line-height: 1.1;
}
.outcome-list h3 {
  margin-bottom: 13px;
}
.outcome-list p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 48ch;
}
.ai-section {
  background: var(--ink);
  color: var(--paper);
}
.ai-section .section-index {
  color: var(--coral);
}
.ai-section .section-rule {
  background: #484944;
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
}
.ai-grid h2 {
  font-size: clamp(2.2rem, 3.7vw, 3.6rem);
}
.ai-grid h2 > span {
  color: var(--coral);
}
.ai-lead {
  font-size: 1.22rem;
  line-height: 1.5;
  margin: 28px 0 22px;
  letter-spacing: -0.02em;
}
.ai-grid > div > p:last-child {
  font-size: 0.9rem;
  color: #bdbeb5;
  max-width: 43ch;
}
.governance-list article {
  display: flex;
  gap: 24px;
  padding: 27px 0;
  border-bottom: 1px solid #484944;
}
.governance-list article:first-child {
  padding-top: 0;
}
.governance-list article > span {
  color: var(--coral);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  margin-top: 5px;
}
.governance-list h3 {
  font-size: 1.23rem;
  margin-bottom: 12px;
}
.governance-list p {
  color: #bdbeb5;
  font-size: 0.88rem;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}
.faq-grid h2 {
  margin: 22px 0;
}
.faq-grid > div > p:last-child {
  font-size: 0.91rem;
  color: var(--muted);
  max-width: 28ch;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  list-style: none;
  min-height: 74px;
  padding: 20px 0;
  font-weight: 550;
  font-size: 0.91rem;
  line-height: 1.5;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary > span {
  font-size: 1.3rem;
  color: var(--action);
  flex-shrink: 0;
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list details > p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
  padding: 0 36px 26px 0;
  max-width: 60ch;
}
.closing-section {
  padding: 0 0 100px;
}
.closing-inner {
  border-top: 2px solid var(--red);
  padding-top: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.closing-inner h2 {
  margin: 22px 0;
}
.closing-inner p:last-child {
  color: var(--muted);
  font-size: 0.93rem;
}
.closing-inner > .btn {
  flex-shrink: 0;
}
/* Footer. */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 65px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 60px;
}
.footer-brand {
  margin-bottom: 24px;
}
.footer-brand .brand-period {
  color: var(--coral);
}
.footer-inner > div > p {
  font-family: var(--heading);
  font-size: 1.3rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
}
.footer-inner > div > .footer-description {
  font: 0.78rem/1.8 var(--body);
  letter-spacing: 0;
  color: #bdbeb5;
  margin-top: 20px;
}
.footer-inner nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bdbeb5;
  margin: 10px 0 16px;
}
.footer-inner nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8rem;
  word-break: break-word;
}
.site-footer a:hover {
  color: var(--coral);
}
.site-footer a:focus-visible {
  outline-color: var(--coral);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #484944;
  padding-top: 23px;
  margin-top: 56px;
  font-size: 0.63rem;
  color: #bdbeb5;
}
/* Contact: identical brand language, existing static SSR form binding retained. */
.contact-section {
  padding: 70px 0 100px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.back-link {
  font-size: 0.74rem;
  border: 0;
  margin-bottom: 34px;
}
.contact-intro > .eyebrow {
  margin-bottom: 22px;
}
.contact-intro h1 {
  font-size: clamp(2.8rem, 4.4vw, 4.25rem);
  line-height: 1.08;
}
.contact-intro h1 > span {
  color: var(--action);
}
.contact-intro > .large-copy {
  font-size: 1.14rem;
  max-width: 37ch;
  margin-top: 28px;
  color: var(--muted);
}
.demo-agenda {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 26px;
}
.demo-agenda h2 {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
}
.demo-agenda ol {
  padding: 0;
  list-style: none;
  margin: 18px 0 0;
}
.demo-agenda li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 12px 0;
  font-size: 0.83rem;
  color: var(--muted);
}
.demo-agenda li > span {
  font-size: 0.62rem;
  color: var(--action);
}
.contact-direct {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 32px;
}
.contact-direct a {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}
.contact-form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 38px 40px;
  margin-top: 22px;
}
.contact-form-panel h2 {
  font-size: 1.8rem;
  margin: 14px 0;
}
.form-intro {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.8;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin: 28px 0;
}
.form-field {
  min-width: 0;
}
.form-field.full {
  grid-column: 1/-1;
}
.form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.6;
}
.optional {
  font-weight: 400;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  background: var(--white);
  border: 1px solid #898a82;
  border-radius: 2px;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 1rem;
  line-height: 1.5;
}
.form-field textarea {
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--action);
}
.form-field .invalid {
  border-color: var(--action);
}
.field-help {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 8px;
}
.validation-message {
  color: var(--action);
  font-size: 0.72rem;
  line-height: 1.5;
  margin-top: 6px;
}
.form-submit {
  width: 100%;
  justify-content: space-between;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice {
  padding: 20px;
  margin-top: 22px;
  margin-bottom: 24px;
  font-size: 0.88rem;
}
.notice-error {
  border-left: 3px solid var(--action);
  background: #fbede9;
  color: var(--action);
}
.notice-success {
  padding: 0;
  margin: 0 0 28px;
}
.notice-success p {
  color: var(--muted);
}
.success-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--sand);
  font-size: 1.4rem;
  margin-bottom: 25px;
}
.muted {
  color: var(--muted);
}
.narrow {
  max-width: 780px;
}
.btn-ghost {
  border-color: var(--ink);
}
/* Responsive layout never hides content or shrinks a desktop screenshot. */
/* Readable illustration labels; shared across breakpoints. */
.matter-topline {
  font-size: 0.72rem;
}
.matter-bottomline {
  font-size: 0.72rem;
}
.document-label {
  font-size: 0.72rem;
}
.review-eyebrow {
  font-size: 0.72rem;
}
.review-caption {
  font-size: 0.72rem;
}
.document-footer {
  font-size: 0.72rem;
}
.matter-figure figcaption {
  font-size: 0.72rem;
}
.document-subtitle {
  font-size: 0.78rem;
}
.matter-row {
  font-size: 0.8rem;
}
.matter-row small {
  font-size: 0.69rem;
}
.status-label {
  font-size: 0.69rem;
}
.review-note p {
  font-size: 0.92rem;
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 105px;
    padding-bottom: 80px;
  }
}
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 64px);
  }
  .hero-grid {
    gap: 40px;
    grid-template-columns: 1.05fr 1fr;
  }
  .hero-copy h1 {
    font-size: 4.2rem;
  }
  .desktop-nav {
    gap: 24px;
    margin-right: 15px;
  }
  .matter-frame {
    padding: 20px;
  }
  .matter-document {
    padding: 23px 20px 0;
  }
  .editorial-split,
  .outcomes-grid,
  .ai-grid,
  .contact-grid {
    gap: 60px;
  }
  .workflow > li {
    padding-inline: 18px;
  }
  .workflow h3 {
    font-size: 1.17rem;
  }
  .faq-grid {
    gap: 50px;
  }
  .contact-form-panel {
    padding: 30px 26px;
  }
  .footer-inner {
    gap: 35px;
  }
}
@media (max-width: 900px) {
  .hero-copy h1 {
    font-size: 3.55rem;
  }
  .hero-grid {
    gap: 30px;
  }
  .hero-lead {
    font-size: 1.2rem;
  }
  .hero-description {
    font-size: 0.93rem;
  }
  .hero-actions .btn {
    gap: 12px;
    padding-inline: 18px;
  }
  .matter-frame {
    padding: 18px 15px;
  }
  .matter-document {
    padding: 20px 15px 0;
  }
  .matter-row {
    gap: 5px;
  }
  .matter-row > span:first-child {
    gap: 6px;
  }
  .matter-title {
    font-size: 1.45rem;
  }
  .review-note {
    padding: 12px;
  }
  .workflow {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .workflow > li {
    padding: 0;
    border-left: 0;
    border-top: 1px solid #b6b7a9;
    padding-top: 24px;
  }
  .workflow-number {
    margin-bottom: 20px;
  }
  .workflow h3 {
    font-size: 1.4rem;
  }
  .workflow p {
    max-width: 40ch;
  }
  .section {
    padding: 80px 0;
  }
  .outcomes-grid,
  .ai-grid {
    gap: 50px;
  }
  .contact-grid {
    gap: 38px;
  }
  .contact-intro h1 {
    font-size: 3rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-panel {
    padding: 26px 22px;
  }
  .footer-inner {
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 25px;
  }
  .desktop-nav {
    gap: 18px;
  }
  .desktop-nav a {
    font-size: 0.72rem;
  }
  .header-inner {
    gap: 15px;
  }
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 88px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 72px;
    gap: 18px;
  }
  .brand-mark {
    font-size: 1.55rem;
  }
  .desktop-nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
    font-size: 0.77rem;
    gap: 10px;
  }
  .mobile-menu {
    display: block;
    font-size: 0.78rem;
  }
  .mobile-menu summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary > span {
    font-size: 1.1rem;
  }
  .mobile-menu[open] summary > span {
    transform: rotate(45deg);
  }
  .mobile-menu nav {
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    padding: 12px 20px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px #15161712;
  }
  .mobile-menu nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
  }
  .hero {
    padding: 50px 0 34px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero-copy h1 {
    font-size: clamp(3.25rem, 9.5vw, 4.75rem);
    margin-bottom: 24px;
  }
  .hero-copy .eyebrow {
    margin-bottom: 24px;
  }
  .hero-lead {
    font-size: 1.32rem;
  }
  .hero-description {
    max-width: 48ch;
    font-size: 1rem;
  }
  .hero-actions {
    gap: 12px 22px;
  }
  .hero-actions .btn {
    padding-inline: 20px;
  }
  .hero-note {
    font-size: 0.75rem;
    max-width: 45ch;
  }
  .matter-figure {
    max-width: 510px;
    width: 100%;
    justify-self: center;
  }
  .matter-frame {
    padding: 23px;
  }
  .matter-document {
    padding: 25px 24px 0;
  }
  .matter-title {
    font-size: 1.75rem;
  }
  .matter-row {
    gap: 12px;
  }
  .matter-row > span:first-child {
    gap: 9px;
  }
  .review-note {
    padding: 16px;
  }
  .matter-types-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 12px;
    padding-block: 22px;
    font-size: 0.73rem;
  }
  .matter-types-label {
    grid-column: 1/-1;
    font-size: 0.61rem;
  }
  .section {
    padding: 64px 0;
  }
  .section-heading {
    gap: 16px;
    margin-bottom: 32px;
  }
  .section-index {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
  .editorial-split,
  .outcomes-grid,
  .ai-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  h2 {
    font-size: 2.5rem;
  }
  .editorial-split h2 br:nth-child(2) {
    display: none;
  }
  .editorial-copy .large-copy {
    font-size: 1.25rem;
  }
  .editorial-copy > p:not(.large-copy) {
    font-size: 0.96rem;
  }
  .before-after {
    margin-top: 32px;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 24px;
  }
  .comparison-arrow {
    transform: rotate(90deg);
    justify-self: start;
    line-height: 1;
  }
  .before-after p + p {
    font-size: 0.91rem;
  }
  .section-intro {
    display: block;
    margin-bottom: 32px;
  }
  .section-intro > p {
    margin-top: 24px;
    max-width: 40ch;
  }
  .section-intro > p br {
    display: none;
  }
  .workflow {
    gap: 30px;
  }
  .workflow > li {
    padding-top: 20px;
  }
  .workflow-number {
    font-size: 2.8rem;
  }
  .workflow h3 {
    font-size: 1.24rem;
  }
  .workflow p {
    font-size: 0.81rem;
    line-height: 1.75;
  }
  .step-detail {
    font-size: 0.6rem;
  }
  .outcomes-heading > p {
    margin-block: 22px;
  }
  .outcome-list > article:first-child {
    border-top: 1px solid var(--line);
    padding-top: 26px;
  }
  .outcome-list > article {
    gap: 18px;
  }
  .outcome-list p {
    font-size: 0.93rem;
  }
  .ai-grid {
    gap: 38px;
  }
  .ai-grid h2 {
    font-size: 2.65rem;
  }
  .ai-grid > div > p:last-child {
    max-width: 48ch;
  }
  .governance-list article:first-child {
    border-top: 1px solid #484944;
    padding-top: 26px;
  }
  .governance-list p {
    font-size: 0.9rem;
  }
  .faq-grid {
    gap: 28px;
  }
  .faq-grid h2 {
    margin: 16px 0;
  }
  .faq-grid > div > p:last-child {
    max-width: 40ch;
  }
  .faq-list summary {
    font-size: 0.9rem;
    gap: 20px;
  }
  .closing-section {
    padding-bottom: 64px;
  }
  .closing-inner {
    padding-top: 32px;
    display: block;
  }
  .closing-inner h2 {
    font-size: 2.6rem;
  }
  .closing-inner > .btn {
    margin-top: 30px;
  }
  .site-footer {
    padding-top: 42px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .footer-inner > div {
    grid-column: 1/-1;
  }
  .footer-brand {
    margin-bottom: 18px;
  }
  .footer-inner > div > .footer-description {
    font-size: 0.8rem;
  }
  .footer-inner nav a {
    font-size: 0.76rem;
  }
  .footer-bottom {
    margin-top: 34px;
    flex-direction: column;
    gap: 10px;
    font-size: 0.65rem;
  }
  .contact-section {
    padding: 34px 0 64px;
  }
  .back-link {
    margin-bottom: 24px;
  }
  .contact-intro h1 {
    font-size: 3.3rem;
  }
  .contact-intro > .large-copy {
    font-size: 1.1rem;
  }
  .demo-agenda {
    margin-top: 28px;
    padding-top: 22px;
  }
  .contact-direct {
    margin-top: 24px;
  }
  .contact-form-panel {
    margin-top: 0;
    padding: 28px 24px;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-field label {
    font-size: 0.8rem;
  }
  .form-intro {
    font-size: 0.82rem;
  }
  .field-help {
    font-size: 0.73rem;
  }
}
@media (max-width: 420px) {
  .container {
    width: calc(100% - 36px);
  }
  .hero-copy h1 {
    font-size: 3.15rem;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .hero-actions .btn {
    font-size: 0.84rem;
    gap: 22px;
  }
  .matter-frame {
    padding: 18px 14px;
  }
  .matter-document {
    padding: 20px 15px 0;
  }
  .matter-row {
    gap: 5px;
  }
  .matter-row > span:first-child {
    gap: 6px;
  }
  .review-note {
    padding: 13px;
  }
  .matter-types-inner {
    font-size: 0.67rem;
  }
  .workflow {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .workflow-number {
    font-size: 2.5rem;
    margin-bottom: 18px;
  }
  .workflow h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  .workflow p {
    font-size: 0.91rem;
    margin-bottom: 20px;
  }
  .step-detail {
    font-size: 0.67rem;
  }
  .contact-intro h1 {
    font-size: 2.8rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-panel {
    padding: 25px 20px;
  }
  .header-cta {
    font-size: 0.73rem;
    gap: 8px;
  }
  .header-inner {
    gap: 12px;
  }
  .brand-mark {
    font-size: 1.45rem;
  }
  .mobile-menu summary {
    gap: 8px;
  }
  .footer-inner nav a {
    font-size: 0.69rem;
  }
  .matter-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .matter-row .status-label {
    margin-left: 22px;
  }
  .matter-topline {
    flex-wrap: wrap;
  }
  .matter-bottomline {
    gap: 16px;
  }
  .hero-copy h1 {
    font-size: clamp(2.7rem, 12.6vw, 3.15rem);
  }
  .document-label {
    font-size: 0.66rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media (forced-colors: active) {
  .btn,
  .matter-document,
  .review-note,
  .status-label {
    border: 1px solid CanvasText;
  }
  .section-rule {
    background: CanvasText;
  }
  .product-dot {
    background: CanvasText;
  }
}
@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .closing-section,
  .mobile-menu {
    display: none;
  }
  .container {
    width: 100%;
  }
  .hero,
  .section,
  .contact-section {
    padding: 25px 0;
  }
  .hero-grid,
  .editorial-split,
  .outcomes-grid,
  .ai-grid,
  .faq-grid,
  .contact-grid {
    display: block;
  }
  .matter-figure {
    max-width: 440px;
    margin-top: 25px;
  }
  .ai-section {
    background: white;
    color: black;
  }
  .ai-section p,
  .ai-section h2 > span,
  .ai-section .section-index,
  .governance-list article > span {
    color: black;
  }
  .faq-list details > p {
    display: block;
  }
  .workflow {
    grid-template-columns: 1fr 1fr;
  }
  .outcome-list article,
  .workflow li {
    break-inside: avoid;
  }
}
@media (max-width: 1050px) and (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy h1 {
    font-size: 3.4rem;
  }
  .matter-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .matter-row .status-label {
    margin-left: 22px;
  }
}
.error-section h1 {
  margin: 20px 0 26px;
}
.error-section p {
  color: var(--muted);
  max-width: 50ch;
}
.error-section .hero-actions {
  margin-top: 28px;
}

/* Product proof: distinct editorial layouts, never a simulated interactive UI. */
.product-tour { background: #fff; border-bottom: 1px solid var(--line); }
.product-showcase { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 56px; align-items: center; }
.product-screen { min-width: 0; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 40px #1516170a; }
.screen-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 8px 22px; }
.screen-heading > span:last-child { font-size: .75rem; color: var(--muted); }
.product-screen img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 4px; }
.product-screen > a { display: block; border-radius: 4px; }
.product-screen > a:hover { outline: 2px solid var(--action); outline-offset: 3px; }
.product-screen figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .75rem; padding: 12px 8px 0; }
.product-screen figcaption a { text-decoration: underline; text-underline-offset: 4px; padding-block: 8px; }
.product-story h3, .recipient-showcase h3 { font-size: clamp(1.8rem,2.5vw,2.5rem); margin: 18px 0 24px; }
.product-story > p:not(.eyebrow), .recipient-showcase p:not(.eyebrow) { color: var(--muted); max-width: 48ch; }
.benefit-list { list-style: none; padding: 0; margin: 24px 0; }
.benefit-list li { border-top: 1px solid var(--line); padding: 12px 0 12px 24px; position: relative; font-size: .9rem; }
.benefit-list li::before { content: '✓'; position: absolute; left: 0; color: #286052; }
.recipient-showcase { display: grid; grid-template-columns: 1fr 270px; align-items: center; gap: 80px; padding: 52px 64px; margin-top: 64px; background: #edf2ef; border: 1px solid #c6d5ce; border-radius: 8px; }
.recipient-showcase figure { max-width: 270px; width: 100%; justify-self: center; }
.recipient-showcase img { width: 100%; height: auto; display: block; border: 1px solid #b7c7be; border-radius: 10px; box-shadow: 0 12px 30px #15161710; }
.recipient-showcase figcaption { color: var(--muted); font-size: .75rem; text-align: center; margin-top: 12px; }
.recipient-footnote { border-top: 1px solid #c6d5ce; padding-top: 20px; font-size: .9rem; }
/* Comfortable reading sizes for buyer-facing copy and form instructions. */
.hero-note, .step-detail, .form-intro, .field-help, .demo-agenda h2, .footer-description { font-size: .85rem; }
.workflow p, .outcome-list p, .governance-list p, .faq-list details > p { font-size: 1rem; }
.form-field label, .demo-agenda li { font-size: .9rem; }
.header-cta { background: var(--action); color: white; padding: 10px 18px; border: 0; border-radius: 3px; }
.header-cta:hover { background: var(--action-hover); color: white; }
.closing-inner p:last-child { max-width: 54ch; }
@media (max-width: 1100px) {
 .product-showcase { grid-template-columns: 1fr; gap: 32px; }
 .product-story { max-width: 65ch; }
 .recipient-showcase { padding: 36px; gap: 36px; }
 .desktop-nav { gap: 20px; margin-right: 12px; }
}
@media (max-width: 767px) {
 .recipient-showcase { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; margin-top: 40px; }
 .product-screen { padding: 8px; }
 .product-tour .section-intro h2 { font-size: 2.3rem; }
 .header-cta { padding: 8px 10px; gap: 8px; }
 .product-story h3, .recipient-showcase h3 { font-size: 2rem; }
}
@media (max-width: 420px) {
 .header-cta > span { display: none; }
 .brand-mark { font-size: 1.35rem; }
 .header-inner { gap: 8px; }
 .header-cta { font-size: .7rem; }
 .hero-copy h1 { font-size: clamp(2.6rem,11vw,3.15rem); }
}
@media print { .product-showcase, .recipient-showcase { display: block; } .recipient-showcase figure { margin: 24px auto; } }

/* Concrete value: editable assumptions, deliberately separate from product proof. */
.value-section { background: var(--sand); }
.value-calculator { display: grid; grid-template-columns: 1.2fr 1fr; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.value-inputs { padding: clamp(24px, 3.5vw, 48px); background: var(--paper); min-width: 0; }
.estimate-kicker { color: var(--action); font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.value-inputs > p { max-width: 58ch; }
.value-volume { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.value-calculator label { display: block; font-weight: 650; font-size: 15px; line-height: 1.5; }
.value-calculator input { display: block; width: 100%; min-height: 48px; margin-top: 8px; padding: 10px 12px; background: var(--white); border: 1px solid #85867d; border-radius: 6px; color: var(--ink); font: 600 18px var(--body); }
.value-calculator input:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
.value-calculator input[aria-invalid="true"] { border: 2px solid var(--action); }
.value-volume small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.value-tasks { border: 0; padding: 0; margin: 0; min-width: 0; }
.value-tasks legend { font: 650 17px/1.5 var(--heading); margin-bottom: 8px; }
.value-task { display: grid; grid-template-columns: minmax(0,1fr) 78px; gap: 20px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.value-task input { margin-top: 0; }
.value-task p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 5px; }
.estimate-privacy { font-size: 13px; color: var(--muted); margin-top: 16px; }
.estimate-error { color: var(--action); font-weight: 650; margin-top: 16px; }
.value-results { padding: clamp(24px, 3.5vw, 48px); background: var(--ink); color: var(--paper); min-width: 0; }
.value-results .eyebrow { color: #f0a293; }
.value-result { padding: 23px 0; border-bottom: 1px solid #55564f; }
.value-result output { display: block; font: 650 clamp(2.25rem,4vw,3.8rem)/1.1 var(--heading); letter-spacing: -.04em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.value-result span { display: block; margin-top: 8px; color: var(--sand); font-size: 15px; }
.value-money output { color: #f0a293; }
.estimate-formula { color: var(--sand); font-size: 13px; margin-top: 18px; }
.estimate-summary { font-size: 15px; margin: 20px 0; }
.estimate-caveat { font-size: 14px; color: var(--sand); margin-top: 14px; }
.value-results .btn { margin-top: 26px; white-space: normal; text-align: center; }
@media (max-width: 800px) { .value-calculator { grid-template-columns: 1fr; } .value-volume { gap: 16px; } }
@media (max-width: 380px) { .value-volume { grid-template-columns: 1fr; } .value-task { grid-template-columns: minmax(0,1fr) 70px; gap: 12px; } }
