
:root {
  color-scheme: light;
  --ink: #11201f;
  --ink-soft: #41504e;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line: #d9ddd8;
  --sea: #155e5b;
  --sea-dark: #0d4543;
  --coral: #d86a52;
  --night: #0a1817;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  color: var(--white);
}
.nav-shell {
  width: min(calc(100% - 40px), var(--max));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.24);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.wordmark img {
  width: 160px;
  height: 50px;
  object-fit: contain;
  padding: 6px 8px;
  background: #FBFAF7;
  border-radius: 4px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 4px;
}
.hero {
  min-height: min(790px, 86svh);
  position: relative;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--night) url('/legal-mt-workspace.png') center center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 15, .38);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 156px 0 78px;
}
.hero-copy { max-width: 680px; }
.eyebrow {
  margin: 0 0 18px;
  color: #bce0d6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  letter-spacing: 0;
}
h1 {
  max-width: 640px;
  margin-bottom: 20px;
  font-size: 78px;
  line-height: .98;
  font-weight: 700;
}
.hero-lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255,255,255,.88);
  font-size: 19px;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}
.button-primary { background: var(--white); color: var(--ink); }
.button-primary:hover { background: #e8eee9; }
.button-secondary { border-color: rgba(255,255,255,.58); color: var(--white); }
.button-secondary:hover { border-color: var(--white); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--sea-dark); }
.button-outline { border-color: var(--line); color: var(--ink); }
.button-outline:hover { border-color: var(--ink); }
.hero-note {
  margin: 18px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
}
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 108px;
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  align-items: center;
}
.trust-intro { font-family: Georgia, serif; font-size: 18px; }
.trust-item { min-height: 44px; padding-left: 26px; border-left: 1px solid var(--line); }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { margin-bottom: 3px; font-size: 14px; }
.trust-item span { color: var(--ink-soft); font-size: 13px; }
.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 112px 0;
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 58px;
}
.section-heading h2 {
  margin-bottom: 0;
  font-size: 54px;
  line-height: 1.05;
}
.section-heading p { max-width: 600px; margin-bottom: 0; color: var(--ink-soft); font-size: 18px; }
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.capability {
  min-width: 0;
  padding: 32px 30px 36px 0;
}
.capability + .capability { padding-left: 30px; border-left: 1px solid var(--line); }
.capability-index { color: var(--coral); font-size: 12px; font-weight: 850; }
.capability h3 { margin: 34px 0 14px; font-size: 20px; letter-spacing: 0; }
.capability p { margin-bottom: 0; color: var(--ink-soft); }
.workflow-band { background: #dfe8e3; }
.workflow-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 100px 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 90px;
}
.workflow-copy h2 { max-width: 520px; margin-bottom: 22px; font-size: 54px; line-height: 1.05; }
.workflow-copy p { max-width: 520px; color: var(--ink-soft); font-size: 17px; }
.workflow-list { border-top: 1px solid rgba(17,32,31,.42); }
.workflow-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(17,32,31,.22);
}
.workflow-step strong { font-size: 15px; }
.workflow-step p { margin: 5px 0 0; color: var(--ink-soft); font-size: 14px; }
.step-number { color: var(--sea); font-weight: 850; }
.access-band { background: var(--night); color: var(--white); }
.access-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 110px 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 76px;
  align-items: center;
}
.access-copy h2 { margin-bottom: 18px; font-size: 58px; line-height: 1.03; }
.access-copy p { max-width: 530px; color: rgba(255,255,255,.7); font-size: 17px; }
.access-action { margin-top: 28px; }
.access-panel { padding: 38px 40px 40px; border-radius: 8px; background: var(--white); color: var(--ink); }
.plan-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.price-label { margin-bottom: 6px; color: var(--sea); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.plan-title { margin: 0; font-family: Georgia, serif; font-size: 30px; line-height: 1.1; }
.price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.price strong { font-family: Georgia, serif; font-size: 56px; line-height: 1; }
.price span { color: var(--ink-soft); font-size: 13px; }
.plan-benefits { margin: 0; padding: 12px 0 8px; list-style: none; }
.plan-benefits li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
.plan-benefits li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 6px; height: 11px; border-right: 2px solid var(--sea); border-bottom: 2px solid var(--sea); transform: rotate(45deg); }
.plan-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 28px; }
.plan-actions .button-dark { background: var(--sea); }
.plan-actions .button-dark:hover { background: var(--sea-dark); }
.plan-support { color: var(--sea-dark); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 44px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-brand img { width: 118px; height: auto; margin-bottom: 5px; }
.footer-brand span { color: var(--ink-soft); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.footer-links a { color: var(--ink-soft); font-size: 13px; text-underline-offset: 4px; }
.policy-shell { min-height: 100vh; background: var(--paper); }
.policy-header { background: var(--night); color: var(--white); }
.policy-header .nav-shell { position: static; }
.policy-main { width: min(calc(100% - 40px), 780px); margin: 0 auto; padding: 90px 0 120px; }
.policy-main h1 { color: var(--ink); font-size: 62px; }
.policy-status { display: inline-block; margin: 0 0 44px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; color: var(--sea); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.policy-main h2 { margin: 48px 0 12px; font-size: 26px; }
.policy-main p { color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-shell { min-height: 70px; }
  .hero { min-height: 82svh; background-position: 60% center; }
  .hero::before { background: rgba(4,16,15,.56); }
  .hero-inner { padding: 126px 0 58px; }
  h1 { font-size: 52px; }
  .trust-inner { grid-template-columns: 1fr 1fr; padding: 24px 0; gap: 20px 0; }
  .trust-intro { grid-column: 1 / -1; }
  .trust-item { padding-left: 0; border-left: 0; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { padding-left: 18px; border-left: 1px solid var(--line); }
  .section { padding: 82px 0; }
  .section-heading, .workflow-inner, .access-inner { grid-template-columns: 1fr; gap: 34px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability, .capability + .capability { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .capability:first-child { border-top: 0; }
  .capability h3 { margin-top: 18px; }
  .workflow-inner, .access-inner { padding: 80px 0; }
  .access-panel { padding: 34px; }
}

@media (max-width: 520px) {
  .wordmark img { width: 120px; height: 40px; }
  .nav-cta { padding: 8px 10px; font-size: 13px !important; }
  h1 { font-size: 44px; }
  .hero-lede { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-intro { grid-column: auto; }
  .trust-item, .trust-item:nth-child(3), .trust-item:nth-child(4) { padding: 13px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .section-heading h2, .workflow-copy h2 { font-size: 38px; }
  .access-copy h2, .policy-main h1 { font-size: 42px; }
  .price strong { font-size: 56px; }
  .plan-head { display: block; }
  .plan-head .price { margin-top: 22px; }
  .plan-actions { grid-template-columns: 1fr; text-align: center; }
  .plan-actions .button { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

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