:root {
  color-scheme: light;
  --ink: #15201d;
  --muted: #5f6d68;
  --line: #d4ddd8;
  --surface: #ffffff;
  --surface-soft: #f6f8f5;
  --surface-cool: #edf5f2;
  --paper: #fffdf7;
  --accent: #207a63;
  --accent-strong: #0f4f42;
  --blue: #2f5f79;
  --gold: #b98928;
  --danger: #8c3b30;
  --shadow: 0 18px 48px rgba(24, 40, 35, 0.12);
  --shadow-soft: 0 10px 28px rgba(24, 40, 35, 0.08);
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(17, 63, 53, 0.075), transparent 310px),
    linear-gradient(90deg, rgba(185, 137, 40, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 79, 66, 0.026) 1px, transparent 1px),
    #f8faf7;
  background-size: auto, 96px 96px, 96px 96px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  border-top: 3px solid #113f35;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 253, 251, 0.92));
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 24px rgba(20, 35, 31, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #12211f url("assets/casebrief-template-icon.svg") center / 36px 36px no-repeat;
  color: transparent;
  font-size: 0;
  box-shadow: 0 9px 20px rgba(18, 33, 31, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 14px;
  min-width: 0;
}

.nav-links a {
  padding: 7px 0 8px;
  color: #174e42;
  font-weight: 720;
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 56px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  align-items: stretch;
  margin-bottom: 18px;
}

.refined-hero {
  position: relative;
  min-height: 520px;
  border: 1px solid #cbd8d1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 63, 53, 0.98) 0 7px, transparent 7px),
    radial-gradient(circle at 16% 18%, rgba(185, 137, 40, 0.13), transparent 27%),
    linear-gradient(135deg, #fffdf7 0%, #f5f8f4 56%, #ffffff 100%);
  box-shadow: 0 24px 62px rgba(24, 40, 35, 0.13);
  overflow: hidden;
}

.refined-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 79, 66, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(185, 137, 40, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  align-content: center;
  min-height: 520px;
  padding: 56px 54px 54px 60px;
}

.home-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 760;
  line-height: 0.99;
  letter-spacing: 0;
}

.home-hero-copy p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: #33403c;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  margin-top: 4px;
}

.hero-actions .text-link {
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  margin-top: 0;
  padding: 0 4px;
  font-size: 14px;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.hero-proof-row span {
  border: 1px solid rgba(32, 122, 99, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #24433b;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 760;
}

.case-method-card {
  display: grid;
  gap: 5px;
  max-width: 610px;
  margin-top: 4px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 250, 237, 0.82);
  padding: 12px 14px;
}

.case-method-card strong {
  color: #2b2619;
  font-size: 14px;
  line-height: 1.2;
}

.case-method-card span {
  color: #4e4a3f;
  font-size: 14px;
}

.hero-document {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 34px;
  background:
    radial-gradient(circle at 76% 18%, rgba(240, 212, 136, 0.25), transparent 27%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(150deg, #153d35 0%, #112a26 62%, #372f22 100%);
  background-size: auto, 28px 28px, 28px 28px, auto;
  border-left: 1px solid rgba(18, 33, 31, 0.18);
}

.hero-document::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(240, 212, 136, 0.2);
  border-radius: 8px;
  pointer-events: none;
}

.case-file-tab {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 330px);
  border: 1px solid rgba(240, 212, 136, 0.34);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(255, 253, 247, 0.1);
  color: #f8f1df;
  padding: 9px 12px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 760;
}

.document-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 330px);
  justify-self: center;
  border: 1px solid rgba(240, 212, 136, 0.46);
  border-radius: 0 0 8px 8px;
  background: #fffdf7;
  box-shadow: 0 24px 54px rgba(5, 10, 9, 0.32);
  padding: 10px;
  transform: rotate(-1deg);
}

.document-frame img {
  display: block;
  width: 100%;
  max-height: 390px;
  border: 1px solid #d9d2c2;
  border-radius: 4px;
  object-fit: cover;
  object-position: top center;
}

.document-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  width: min(100%, 330px);
  justify-self: center;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  color: #f8f1df;
}

.document-caption strong {
  font-size: 15px;
  line-height: 1.2;
}

.document-caption span {
  color: rgba(248, 241, 223, 0.78);
  font-size: 13px;
}

.home-choice-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.home-choice-strip a {
  display: grid;
  gap: 5px;
  min-height: 112px;
  border: 1px solid #d6ddd9;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 9px 24px rgba(24, 40, 35, 0.07);
  color: var(--ink);
  padding: 17px;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.home-choice-strip a:hover {
  border-color: rgba(32, 122, 99, 0.55);
  box-shadow: 0 14px 34px rgba(24, 40, 35, 0.11);
  transform: translateY(-1px);
  text-decoration: none;
}

.home-choice-strip strong {
  color: var(--accent-strong);
  font-size: 16px;
  line-height: 1.2;
}

.home-choice-strip span {
  color: #4e5d58;
  font-size: 14px;
}

.workflow-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 22px;
  border: 1px solid #cdd9d3;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 252, 249, 0.94));
  box-shadow: 0 12px 30px rgba(24, 40, 35, 0.07);
  overflow: hidden;
}

.workflow-band > div {
  display: grid;
  gap: 6px;
  min-height: 136px;
  padding: 18px 18px 17px;
  border-right: 1px solid #dbe4df;
}

.workflow-band > div:last-child {
  border-right: 0;
}

.workflow-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 760;
}

.workflow-band strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.05;
}

.workflow-band p {
  margin: 0;
  color: #4b5a55;
  font-size: 14px;
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 20px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(24, 40, 35, 0.1);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 15px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #fbfdfb);
}

.panel-header h1,
.panel-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: 0;
}

.panel-header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.status-pill {
  flex: 0 0 auto;
  border: 1px solid #cbd9d2;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f5fbf7;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
}

.form-body {
  padding: 20px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label,
.label {
  color: #26322f;
  font-size: 13px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #c7d2cd;
  border-radius: 8px;
  background: #fffefb;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
}

input,
select {
  min-height: 42px;
  padding: 9px 11px;
}

textarea {
  min-height: 92px;
  resize: vertical;
  padding: 10px 11px;
}

.contact-support-form {
  margin: 26px 0;
  padding: 24px;
  background: #fffefb;
  border: 1px solid #c7d2cd;
  border-radius: 6px;
}

.contact-support-form .button {
  margin-top: 16px;
}

.contact-support-form #support-status {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 13px;
}

.contact-support-form #support-status[data-tone="error"] {
  color: #981b2d;
}

.contact-support-form #support-status[data-tone="success"] {
  color: #17604e;
}

.support-honeypot {
  position: absolute;
  left: -10000px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 111, 91, 0.13);
}

.template-tabs,
.output-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.segmented {
  min-height: 38px;
  border: 1px solid #cbd4d0;
  border-radius: 8px;
  background: #f8faf8;
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
}

.segmented.active {
  border-color: var(--accent);
  background: linear-gradient(180deg, #25866d, var(--accent));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.button.primary {
  background: linear-gradient(180deg, #27876f, var(--accent));
  color: #fff;
  box-shadow: 0 10px 20px rgba(32, 122, 99, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button.primary:hover {
  background: linear-gradient(180deg, #1e725e, var(--accent-strong));
  text-decoration: none;
  transform: translateY(-1px);
}

.button.secondary {
  border-color: #cbd4d0;
  background: linear-gradient(180deg, #fff, #fbfcfb);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  text-decoration: none;
  transform: translateY(-1px);
}

.button.wide {
  width: 100%;
}

.interest-box {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid #d6ddd9;
  border-radius: 8px;
  background: linear-gradient(180deg, #eff7f4, #fbfdfc);
  padding: 12px;
}

.interest-box strong {
  font-size: 14px;
  line-height: 1.25;
}

.interest-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.pricing-signal {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1fr);
  gap: 16px;
  align-items: start;
  margin: 18px 0;
  border: 1px solid #cbd9d2;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.pricing-signal strong {
  display: block;
  margin: 2px 0 4px;
  color: var(--accent-strong);
  font-size: 42px;
  line-height: 1;
}

.pricing-signal p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.pricing-signal ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #34413d;
  font-size: 14px;
}

.price-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ad-slot {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  border: 1px dashed #b9c8c2;
  border-radius: 8px;
  background: #fbfdfc;
  padding: 14px;
}

.ad-slot.compact {
  margin-top: 14px;
}

.ad-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ad-slot strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.ad-slot p {
  margin: 0;
  color: #34413d;
  font-size: 13px;
}

.ad-slot a {
  justify-self: start;
  font-size: 13px;
  font-weight: 760;
}

.ad-slot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.ad-slot .sponsor-link {
  color: var(--muted);
  font-weight: 720;
}

.preview-panel {
  overflow: hidden;
}

.brief-preview {
  display: grid;
  gap: 14px;
  min-height: 620px;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(32, 122, 99, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 95, 121, 0.055) 1px, transparent 1px),
    #fbfdfb;
  background-size: 28px 28px;
}

.document-sheet {
  width: min(100%, 760px);
  min-height: 560px;
  margin: 0 auto;
  border: 1px solid #d6ddd9;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(30, 46, 43, 0.14);
}

.document-topline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 5px solid var(--accent);
  background: linear-gradient(180deg, #ffffff, #fffdf6);
}

.document-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.document-meta {
  color: var(--muted);
  font-size: 13px;
}

.brief-sections {
  display: grid;
  gap: 12px;
  padding: 18px 20px 22px;
}

.brief-section {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid #edf1ef;
}

.brief-section:last-child {
  border-bottom: 0;
}

.brief-label {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.brief-content {
  min-height: 22px;
  color: #1d2926;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.export-box {
  width: 100%;
  min-height: 260px;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: #101816;
  color: #eaf3ef;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  padding: 16px;
  white-space: pre-wrap;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.content-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.content-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  min-width: 0;
  overflow-wrap: anywhere;
}

.content-block iframe {
  display: block;
  max-width: 100%;
}

.content-block h1,
.content-block h2,
.content-block h3 {
  margin: 0 0 10px;
  letter-spacing: 0;
  line-height: 1.18;
}

.content-block h1 {
  font-size: 30px;
}

.content-block h2 {
  font-size: 22px;
}

.content-block p,
.content-block li {
  color: #34413d;
}

.check-list,
.step-list {
  margin: 0;
  padding-left: 21px;
}

.check-list li,
.step-list li {
  margin: 8px 0;
}

.content-page {
  display: grid;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}

.article-header {
  position: relative;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.96), rgba(255,253,247,0.92)),
    linear-gradient(90deg, rgba(32, 122, 99, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 95, 121, 0.045) 1px, transparent 1px),
    #fff;
  background-size: auto, 30px 30px, 30px 30px, auto;
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.article-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent-strong), var(--gold));
}

.article-header h1 {
  position: relative;
  margin: 0;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0;
}

.article-header p {
  position: relative;
  margin: 0;
  color: #34413d;
  font-size: 17px;
}

.article-header .eyebrow {
  position: relative;
}

.eyebrow {
  color: var(--accent-strong) !important;
  font-size: 13px !important;
  font-weight: 820;
  text-transform: uppercase;
}

.download-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f3faf6, #ffffff);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.resource-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 12px;
  font-weight: 760;
}

.resource-grid a:hover,
.path-card:hover,
.file-card:hover,
.preview-image-card:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.seo-section {
  margin-top: 18px;
}

.path-section {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.path-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  border: 1px solid #d6ddd9;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbfdfb);
  padding: 16px;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(24, 40, 35, 0.06);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.path-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.path-card strong {
  color: var(--accent-strong);
  font-size: 17px;
  line-height: 1.2;
}

.path-card span {
  color: #34413d;
  font-size: 14px;
}

.quiet-link-drawer {
  margin-top: 16px;
}

.quiet-link-drawer summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
}

.quiet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  font-size: 13px;
}

.sample-sheet {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.sample-title {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
  text-align: center;
}

.sample-title strong {
  font-size: 22px;
}

.sample-title span {
  color: var(--muted);
  font-size: 13px;
}

.sample-sheet dl {
  display: grid;
  margin: 0;
  border: 1px solid #d6ddd9;
  border-bottom: 0;
}

.sample-sheet dl div {
  display: grid;
  grid-template-columns: minmax(132px, 0.28fr) minmax(0, 1fr);
  min-height: 44px;
  border-bottom: 1px solid #d6ddd9;
}

.sample-sheet dl div.tall {
  min-height: 92px;
}

.sample-sheet dt,
.sample-sheet dd {
  margin: 0;
  padding: 10px 12px;
}

.sample-sheet dt {
  background: var(--surface-cool);
  font-size: 13px;
  font-weight: 800;
}

.sample-sheet dd {
  color: var(--muted);
  font-size: 13px;
}

.article-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(24, 40, 35, 0.06);
}

.article-section h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.18;
}

.article-section p {
  margin: 0 0 10px;
  color: #34413d;
}

.file-preview-grid,
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.file-card,
.comparison-grid > div {
  display: grid;
  gap: 6px;
  border: 1px solid #d6ddd9;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7faf8);
  padding: 12px;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.file-card:hover {
  border-color: #bfd0c8;
  box-shadow: 0 10px 24px rgba(24, 40, 35, 0.07);
}

.file-card strong,
.comparison-grid strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.file-card span,
.comparison-grid li,
.signal-list li {
  color: #34413d;
  font-size: 14px;
  line-height: 1.45;
}

.preview-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.preview-image-card {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 1px solid #d6ddd9;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f6f8f5);
  padding: 12px;
  box-shadow: 0 10px 24px rgba(24, 40, 35, 0.07);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.preview-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 8.5 / 11;
  border: 1px solid #d6ddd9;
  border-radius: 6px;
  background: #fff;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 8px 18px rgba(24, 40, 35, 0.08);
}

.preview-image-card figcaption {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

.preview-image-card.single-preview {
  max-width: 620px;
  margin: 0 auto;
}

.comparison-grid ul,
.signal-list {
  margin: 4px 0 0;
  padding-left: 20px;
}

.comparison-grid li,
.signal-list li {
  margin: 6px 0;
}

.template-code {
  margin: 12px 0 0;
  border: 1px solid #d5ded9;
  border-radius: 8px;
  background: #fbfdfc;
  padding: 14px;
  white-space: pre-wrap;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.side-rail {
  display: grid;
  gap: 12px;
}

.rail-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #edf5f2, #f8fbf9);
  padding: 16px;
  box-shadow: 0 8px 22px rgba(24, 40, 35, 0.06);
}

.rail-box h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.rail-box ul {
  margin: 0;
  padding-left: 18px;
}

.start-rail ul {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.start-rail li {
  display: grid;
  gap: 2px;
}

.start-rail li a {
  font-weight: 820;
}

.start-rail li span {
  color: var(--muted);
  font-size: 13px;
}

.notice {
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  color: #4f3b11;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.professor-method {
  border-color: #bdcbbf;
  background:
    linear-gradient(135deg, rgba(31, 111, 91, 0.08), rgba(154, 107, 23, 0.08)),
    #fff;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 12px;
}

.method-grid div {
  display: grid;
  gap: 5px;
  border: 1px solid #d6ddd9;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  padding: 12px;
  box-shadow: 0 8px 18px rgba(24, 40, 35, 0.05);
}

.method-grid strong {
  color: var(--accent-strong);
  font-size: 14px;
  line-height: 1.2;
}

.method-grid span,
.method-note {
  color: #34413d;
  font-size: 14px;
}

.method-note {
  margin-bottom: 0;
  font-weight: 720;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(360px, 1.12fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 20px;
}

.product-hero-card {
  border: 1px solid #cbd8d1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 63, 53, 0.98) 0 7px, transparent 7px),
    radial-gradient(circle at 15% 18%, rgba(185, 137, 40, 0.14), transparent 28%),
    linear-gradient(135deg, #fffdf7, #f6f9f5 58%, #ffffff);
  box-shadow: 0 22px 58px rgba(24, 40, 35, 0.13);
  overflow: hidden;
  padding: 26px 28px 26px 34px;
}

.product-copy {
  display: grid;
  gap: 14px;
}

.product-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 760;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.product-lede {
  margin: 0;
  color: #34413d;
  font-size: 18px;
}

.price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.price-row strong {
  color: var(--accent-strong);
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}

.price-row span,
.product-note {
  color: var(--muted);
  font-size: 14px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 7px 10px;
  color: #25332f;
  font-size: 13px;
  font-weight: 700;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-preview,
.product-preview-small {
  overflow: hidden;
}

.product-preview-stack {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  border: 1px solid rgba(240, 212, 136, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(150deg, #153d35 0%, #122b26 70%, #332a1e 100%);
  background-size: 28px 28px, 28px 28px, auto;
  padding: 24px;
}

.product-preview-stack img {
  display: block;
  width: min(100%, 310px);
  max-height: 430px;
  border: 1px solid rgba(240, 212, 136, 0.45);
  border-radius: 6px;
  background: #fffdf7;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 22px 48px rgba(5, 10, 9, 0.3);
}

.product-receipt {
  display: grid;
  gap: 4px;
  width: min(100%, 360px);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  color: #f8f1df;
}

.product-receipt strong {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.1;
}

.product-receipt span {
  color: rgba(248, 241, 223, 0.78);
  font-size: 13px;
}

.product-preview img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-preview-small img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.check-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.file-table {
  display: grid;
  gap: 10px;
}

.file-table div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  border-bottom: 1px solid #e6ece9;
  padding-bottom: 10px;
}

.file-table div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.file-table span {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 12px 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-resources {
  color: var(--muted);
}

.footer-resources summary {
  cursor: pointer;
  font-weight: 720;
}

.footer-resources span {
  display: block;
  max-width: 620px;
  margin-top: 8px;
}

@media (max-width: 920px) {
  .tool-grid,
  .home-hero,
  .content-layout,
  .resource-grid,
  .file-preview-grid,
  .preview-image-grid,
  .comparison-grid,
  .path-grid,
  .home-choice-strip,
  .workflow-band,
  .product-hero,
  .product-grid,
  .pricing-signal {
    grid-template-columns: 1fr;
  }

  .workflow-band > div {
    border-right: 0;
    border-bottom: 1px solid #dbe4df;
  }

  .workflow-band > div:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .brief-preview {
    min-height: 0;
  }

  .document-sheet {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
    width: 100%;
  }

  .nav-links a {
    border: 1px solid #d7e0dc;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    padding: 9px 10px;
    text-align: center;
  }

  .page {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

  .home-hero-copy {
    min-height: 0;
    padding: 26px 22px 24px 26px;
  }

  .home-hero-copy h1 {
    font-size: 36px;
  }

  .home-hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .refined-hero {
    min-height: 0;
  }

  .hero-document {
    padding: 24px 18px 28px;
    border-left: 0;
    border-top: 1px solid rgba(18, 33, 31, 0.18);
  }

  .document-frame {
    width: min(100%, 300px);
    transform: none;
  }

  .case-file-tab {
    width: min(100%, 300px);
  }

  .document-frame img {
    max-height: 320px;
  }

  .field-grid,
  .template-tabs,
  .output-tabs,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .home-choice-strip {
    gap: 8px;
  }

  .panel-header {
    flex-direction: column;
  }

  .brief-section {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .document-topline {
    grid-template-columns: 1fr;
  }

  .sample-sheet dl div {
    grid-template-columns: 1fr;
  }
}

/* Frontend-design pass: premium law-school landing page. */
:root {
  --law-ink: #111820;
  --law-ink-2: #1d2830;
  --law-paper: #fffaf0;
  --law-paper-2: #f3ead9;
  --law-gold: #d6b05f;
  --law-gold-2: #b8892f;
  --law-red: #8f2426;
  --law-red-2: #6f191c;
}

.site-header {
  border-top: 0;
  border-bottom: 1px solid rgba(214, 176, 95, 0.28);
  background: rgba(17, 24, 32, 0.96);
  box-shadow: 0 14px 34px rgba(17, 24, 32, 0.18);
}

.brand,
.nav-links a {
  color: #fffaf0;
}

.brand:hover,
.nav-links a:hover {
  color: #f2d895;
}

.brand-mark {
  background-color: #fffaf0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.nav-badge {
  display: inline-flex;
  margin-left: 6px;
  border: 1px solid rgba(214, 176, 95, 0.5);
  border-radius: 999px;
  padding: 1px 6px;
  color: #f2d895;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.nav-links a:last-child {
  border-color: rgba(214, 176, 95, 0.56);
  background: rgba(214, 176, 95, 0.12);
  color: #ffe5a5;
}

.page {
  padding-top: 28px;
}

.law-hero {
  grid-template-columns: minmax(0, 1fr) minmax(392px, 0.84fr);
  min-height: 536px;
  border-color: rgba(214, 176, 95, 0.38);
  background:
    linear-gradient(90deg, var(--law-red) 0 7px, transparent 7px),
    linear-gradient(135deg, #fffaf0 0%, #f7efe1 55%, #eef2ed 100%);
  box-shadow: 0 34px 82px rgba(17, 24, 32, 0.18);
}

.law-hero-copy {
  gap: 19px;
  padding: 54px 58px 50px 66px;
}

.law-hero-copy .eyebrow {
  color: #094936 !important;
}

.law-hero-copy h1 {
  color: var(--law-ink);
  font-size: 54px;
  max-width: 720px;
}

.law-hero-copy h1 span {
  color: var(--law-red);
}

.hero-lede {
  max-width: 680px;
  color: #2d3a40;
  font-size: 20px;
}

.hero-actions {
  gap: 11px;
}

.button.primary {
  background: linear-gradient(180deg, #982b2d, var(--law-red-2));
  color: #fffaf0;
  box-shadow: 0 14px 26px rgba(111, 25, 28, 0.25);
}

.button.primary:hover {
  background: linear-gradient(180deg, #842225, #541215);
}

.button.secondary {
  border-color: #c89e4c;
  background: rgba(255, 250, 240, 0.84);
  color: var(--law-ink);
}

.button.secondary:hover {
  border-color: var(--law-red);
  color: var(--law-red);
}

.law-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  max-width: 690px;
}

.law-proof-row span {
  display: grid;
  gap: 2px;
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
  padding: 10px 11px;
}

.law-proof-row strong {
  color: var(--law-ink);
  font-size: 13px;
  line-height: 1.15;
}

.law-proof-row em {
  color: #6b5c3d;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

.law-hero-visual {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.052) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 250, 240, 0.042) 1px, transparent 1px),
    linear-gradient(145deg, #121d24 0%, #0b1419 56%, #2d2317 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

.desk-label {
  background: rgba(255, 250, 240, 0.08);
  color: #f5d889;
}

.paper-stack {
  width: min(100%, 382px);
  padding: 13px;
}

.paper-stack img {
  max-height: 342px;
}

.file-tabs {
  position: absolute;
  right: -19px;
  top: 26px;
  display: grid;
  gap: 8px;
}

.file-tabs span {
  min-width: 74px;
  border-radius: 0 8px 8px 0;
  background: #fff2cf;
  color: #583c14;
  padding: 7px 9px;
  box-shadow: 0 7px 14px rgba(17, 24, 32, 0.13);
  font-size: 12px;
  font-weight: 850;
}

.desk-note strong {
  color: #fff1c2;
}

.choice-board {
  grid-template-columns: minmax(250px, 0.95fr) repeat(3, minmax(0, 1fr));
}

.choice-copy {
  background:
    linear-gradient(135deg, rgba(143, 36, 38, 0.28), transparent 60%),
    var(--law-ink);
}

.choice-copy h2 {
  font-size: 27px;
}

.choice-card {
  border-color: #d8c8a4;
  background: linear-gradient(180deg, #fffdf7, #fffaf0);
}

.choice-card:hover {
  border-color: var(--law-red);
}

.choice-kicker {
  color: var(--law-red);
}

.choice-kicker em {
  margin-left: 6px;
  border: 1px solid #dcc383;
  border-radius: 999px;
  padding: 2px 6px;
  color: #6d4a0f;
  font-style: normal;
  font-size: 10px;
}

.choice-card strong,
.panel-header h2,
.path-section h2,
.classroom-method h2 {
  color: var(--law-ink);
}

.tool-grid {
  scroll-margin-top: 98px;
}

.panel {
  border-color: #d8c8a4;
}

.panel-header {
  background:
    linear-gradient(180deg, #fffdf7, #f7efdf);
}

.document-topline {
  border-bottom-color: var(--law-red);
}

.brief-label {
  color: var(--law-red);
}

@media (max-width: 980px) {
  .law-hero {
    grid-template-columns: 1fr;
  }

  .law-proof-row {
    grid-template-columns: 1fr;
  }

  .law-hero-copy h1 {
    font-size: 44px;
  }

  .file-tabs {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(17, 24, 32, 0.97);
  }

  .nav-links a {
    border-color: rgba(255, 250, 240, 0.18);
    background: rgba(255, 250, 240, 0.08);
    color: #fffaf0;
  }

  .nav-links a:last-child {
    border-color: rgba(214, 176, 95, 0.64);
  }

  .law-hero-copy {
    padding: 30px 22px 26px 28px;
  }

  .law-hero-copy h1 {
    font-size: 35px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .law-proof-row {
    gap: 7px;
  }

  .law-proof-row span {
    padding: 9px 10px;
  }
}


.text-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}

/* Homepage visual refresh: law-school product, not internal utility. */
body {
  background:
    linear-gradient(180deg, #f7f3ea 0, #f4f7f4 420px, #f7f8f4 100%),
    #f7f8f4;
}

.site-header {
  border-top: 4px solid #111a22;
  background: rgba(255, 254, 249, 0.94);
  box-shadow: 0 12px 28px rgba(17, 26, 34, 0.06);
}

.nav {
  min-height: 72px;
}

.brand {
  gap: 12px;
  font-size: 17px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #111a22 url("assets/casebrief-template-icon.svg") center / 42px 42px no-repeat;
  box-shadow: 0 12px 24px rgba(17, 26, 34, 0.22), inset 0 0 0 1px rgba(238, 199, 121, 0.2);
}

.nav-links {
  gap: 10px 24px;
}

.nav-links a {
  color: #26353d;
}

.nav-links a:last-child {
  border: 1px solid #cdb06d;
  border-radius: 8px;
  background: #fff9ea;
  padding: 8px 12px;
  color: #684916;
}

.page {
  padding-top: 26px;
}

.law-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.88fr);
  min-height: 510px;
  margin-bottom: 18px;
  border: 1px solid #d7c79e;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #111a22 0 9px, transparent 9px),
    linear-gradient(135deg, #fffdf6 0%, #f5efe2 47%, #eef4ef 100%);
  box-shadow: 0 30px 72px rgba(31, 37, 37, 0.14);
  overflow: hidden;
}

.law-hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 50px 54px 48px 64px;
}

.law-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #111a22;
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  margin: 0;
  color: #354247;
  font-size: 19px;
}

.law-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.law-proof-row span {
  border: 1px solid #d5c08b;
  border-radius: 999px;
  background: rgba(255, 250, 238, 0.82);
  color: #553f18;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 800;
}

.law-hero-visual {
  display: grid;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #18252c 0%, #0d181d 58%, #3a2d1b 100%);
  background-size: 30px 30px, 30px 30px, auto;
  border-left: 1px solid rgba(17, 26, 34, 0.18);
}

.brief-desk {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.desk-label {
  justify-self: start;
  border: 1px solid rgba(238, 199, 121, 0.36);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.08);
  color: #f7e4b1;
  padding: 8px 12px;
  font-family: var(--serif);
  font-weight: 760;
}

.paper-stack {
  position: relative;
  width: min(100%, 360px);
  border: 1px solid rgba(238, 199, 121, 0.44);
  border-radius: 8px;
  background: #fffdf7;
  padding: 12px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.34);
}

.paper-stack::before,
.paper-stack::after {
  content: "";
  position: absolute;
  inset: 11px;
  z-index: -1;
  border-radius: 8px;
  background: #f7efe0;
  transform: rotate(-3deg);
}

.paper-stack::after {
  background: #ece5d6;
  transform: rotate(3deg);
}

.paper-stack img {
  display: block;
  width: 100%;
  max-height: 348px;
  border: 1px solid #d7d0c0;
  border-radius: 4px;
  object-fit: cover;
  object-position: top center;
}

.desk-note {
  display: grid;
  gap: 3px;
  width: min(100%, 360px);
  border-left: 4px solid #cdb06d;
  padding-left: 12px;
}

.desk-note strong {
  color: #fff5d7;
  font-family: var(--serif);
  font-size: 18px;
}

.desk-note span {
  color: rgba(255, 245, 215, 0.78);
  font-size: 13px;
}

.choice-board {
  display: grid;
  grid-template-columns: 1.06fr repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.choice-copy,
.choice-card {
  min-height: 142px;
  border: 1px solid #d8d2c4;
  border-radius: 8px;
  background: rgba(255, 254, 249, 0.9);
  padding: 18px;
  box-shadow: 0 12px 28px rgba(31, 37, 37, 0.07);
}

.choice-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  background: #111a22;
  color: #fff7e8;
}

.choice-copy .eyebrow {
  color: #e6c77d !important;
}

.choice-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.04;
}

.choice-copy p {
  margin: 0;
  color: rgba(255, 247, 232, 0.78);
  font-size: 14px;
}

.choice-card {
  display: grid;
  align-content: start;
  gap: 9px;
  color: #111a22;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.choice-card:hover {
  border-color: #a72d2d;
  box-shadow: 0 18px 36px rgba(31, 37, 37, 0.11);
  transform: translateY(-1px);
  text-decoration: none;
}

.choice-card.primary-choice {
  background: linear-gradient(180deg, #fffaf0, #ffffff);
}

.choice-kicker {
  color: #8a1f1f;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.choice-card strong {
  color: #111a22;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.08;
}

.choice-card p {
  margin: 0;
  color: #4d5a5f;
  font-size: 14px;
}

.classroom-method {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
  border: 1px solid #d8d2c4;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(167, 45, 45, 0.075) 0 6px, transparent 6px),
    #fffefa;
  box-shadow: 0 12px 28px rgba(31, 37, 37, 0.07);
  padding: 22px 24px;
}

.classroom-method h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.08;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.method-steps div {
  display: grid;
  gap: 6px;
  border-top: 1px solid #dfd5bf;
  padding-top: 14px;
}

.method-steps span {
  color: #a72d2d;
  font-family: var(--serif);
  font-weight: 760;
}

.method-steps strong {
  color: #111a22;
  font-size: 15px;
}

.method-steps p {
  margin: 0;
  color: #4d5a5f;
  font-size: 14px;
}

.tool-grid {
  grid-template-columns: minmax(340px, 0.82fr) minmax(420px, 1.18fr);
  gap: 22px;
}

.panel {
  border-color: #d7d1c3;
  background: #fffefa;
  box-shadow: 0 20px 54px rgba(31, 37, 37, 0.11);
}

.panel-header {
  background: linear-gradient(180deg, #fffefa, #f7f2e8);
  border-bottom-color: #ddd3bf;
}

.panel-header h2 {
  color: #111a22;
  font-family: var(--serif);
  font-size: 28px;
}

.status-pill {
  border-color: #d5c08b;
  background: #fff9ea;
  color: #684916;
}

.segmented {
  border-color: #d6cdbc;
  background: #fbf8ef;
}

.segmented.active {
  border-color: #111a22;
  background: #111a22;
  color: #fff7e8;
  box-shadow: inset 0 0 0 1px rgba(238, 199, 121, 0.18);
}

.button {
  border-radius: 8px;
}

.button.primary {
  background: #111a22;
  color: #fff7e8;
  box-shadow: 0 12px 24px rgba(17, 26, 34, 0.22);
}

.button.primary:hover {
  background: #26353d;
}

.button.secondary {
  border-color: #cdb06d;
  background: #fffaf0;
  color: #111a22;
}

.button.secondary:hover {
  border-color: #a72d2d;
  color: #8a1f1f;
}

input,
textarea,
select {
  border-color: #d5ccba;
  background: #fffdfa;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #a72d2d;
  box-shadow: 0 0 0 3px rgba(167, 45, 45, 0.11);
}

.brief-preview {
  background:
    linear-gradient(90deg, rgba(17, 26, 34, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 26, 34, 0.045) 1px, transparent 1px),
    #f0efe8;
  background-size: 30px 30px;
}

.document-sheet {
  border-color: #d3c7af;
  background: #fffdf7;
  box-shadow: 0 22px 48px rgba(31, 37, 37, 0.16);
}

.document-topline {
  border-bottom-color: #111a22;
}

.brief-label {
  color: #8a1f1f;
}

.interest-box {
  border-color: #d7c79e;
  background: #fff9ea;
}

.path-section {
  border-top-color: #d8d2c4;
}

.path-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
}

.path-card {
  border-color: #d8d2c4;
  background: #fffefa;
}

.path-card strong {
  color: #111a22;
}

@media (max-width: 980px) {
  .law-hero,
  .choice-board,
  .method-steps,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .law-hero-copy {
    padding: 42px 36px 34px 44px;
  }

  .law-hero-copy h1 {
    font-size: 44px;
  }

  .law-hero-visual {
    border-left: 0;
    border-top: 1px solid rgba(17, 26, 34, 0.18);
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    min-height: 58px;
    padding: 8px 0;
  }

  .brand {
    font-size: 16px;
    flex: 0 0 auto;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    background-size: 36px 36px;
  }

  .nav-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: auto;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    flex: 0 0 auto;
    border: 1px solid #d7d0c2;
    border-radius: 8px;
    background: rgba(255, 253, 246, 0.9);
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .nav-links a:last-child {
    padding: 9px 10px;
  }

  .law-hero {
    min-height: 0;
  }

  .law-hero-copy {
    padding: 30px 22px 26px 28px;
  }

  .law-hero-copy h1 {
    font-size: 36px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .law-hero-visual {
    display: none;
  }

  .choice-board {
    display: flex;
    gap: 10px;
    margin-right: -10px;
    padding-bottom: 6px;
    overflow-x: auto;
  }

  .choice-copy,
  .choice-card {
    flex: 0 0 260px;
    min-height: 154px;
  }

  .choice-copy h2 {
    font-size: 25px;
  }

  .choice-card strong {
    font-size: 21px;
  }

  .classroom-method {
    padding: 20px 18px;
  }

  .classroom-method h2 {
    font-size: 28px;
  }

  .panel-header h2 {
    font-size: 24px;
  }
}

/* Approved law-school landing page pass. Keep this block last. */
body {
  color: #0d1724;
  background: #fbfaf6;
}

a {
  color: #841422;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border: 0;
  background:
    linear-gradient(90deg, rgba(8, 19, 33, 0.98), rgba(5, 17, 29, 0.96)),
    #071523;
  box-shadow: 0 1px 0 rgba(238, 213, 165, 0.18), 0 18px 42px rgba(8, 19, 33, 0.14);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1360px, calc(100% - 72px));
  min-height: 76px;
  gap: 32px;
}

.brand {
  gap: 14px;
  color: #fff5df;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand:hover {
  color: #fff5df;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: url("assets/casebrief-template-icon.svg") center / 44px 44px no-repeat;
  box-shadow: none;
}

.nav-links {
  gap: 28px;
  font-size: 15px;
}

.nav-links a {
  color: #fff7e8;
  font-weight: 700;
  padding: 8px 0;
}

.nav-links a:hover {
  color: #e3bd72;
  text-decoration: none;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin-left: 6px;
  padding: 0 7px;
  border: 1px solid rgba(227, 189, 114, 0.65);
  border-radius: 6px;
  color: #ffe7a7;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links .nav-cta {
  margin-left: 6px;
  padding: 13px 20px;
  border-radius: 6px;
  background: #941727;
  color: #fff7e8;
  box-shadow: 0 16px 32px rgba(148, 23, 39, 0.24);
}

.nav-links .nav-cta:hover {
  background: #b02436;
  color: #fff7e8;
}

.page {
  width: 100%;
  max-width: none;
  padding: 0 0 58px;
}

.law-hero {
  display: grid;
  grid-template-columns: minmax(430px, 0.92fr) minmax(560px, 1.08fr);
  width: 100%;
  min-height: 560px;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, #fffdf7 0%, #fbf6eb 50%, rgba(251, 246, 235, 0.2) 100%),
    #fffaf0;
  box-shadow: none;
}

.law-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 66px max(46px, calc((100vw - 1320px) / 2 + 46px)) 58px;
}

.law-hero-copy .eyebrow,
.choice-copy .eyebrow,
.classroom-method .eyebrow,
.path-section .eyebrow {
  color: #8b1625;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.law-hero-copy h1 {
  max-width: 650px;
  margin: 16px 0 20px;
  color: #071523;
  font-family: var(--serif);
  font-size: 66px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.law-hero-copy h1 span {
  color: #8d1727;
}

.hero-lede {
  max-width: 600px;
  color: #26323f;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.button {
  min-height: 48px;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  background: #941727;
  color: #fff7e8;
  box-shadow: 0 16px 30px rgba(148, 23, 39, 0.22);
}

.button.primary:hover {
  background: #b02436;
  color: #fff7e8;
}

.button.secondary {
  border-color: rgba(148, 23, 39, 0.55);
  background: rgba(255, 253, 247, 0.82);
  color: #841422;
}

.button.secondary:hover {
  border-color: #941727;
  color: #941727;
}

.law-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 18px;
  max-width: 690px;
  margin-top: 34px;
}

.law-proof-row span {
  position: relative;
  display: grid;
  gap: 2px;
  padding-left: 34px;
}

.law-proof-row span::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #071523;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 45%, #071523 46%, #071523 55%, transparent 56%),
    linear-gradient(45deg, transparent 50%, #071523 51%, #071523 58%, transparent 59%);
}

.law-proof-row strong {
  color: #071523;
  font-size: 14px;
  line-height: 1.2;
}

.law-proof-row em {
  color: #5c6570;
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.law-hero-visual {
  min-height: 560px;
  padding: 0;
  border: 0;
  background: #1a120d;
  overflow: hidden;
}

.hero-desk-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.choice-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(1240px, calc(100% - 72px));
  margin: 30px auto 0;
  padding: 0;
}

.choice-heading {
  grid-column: 1 / -1;
  display: block;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.choice-heading .eyebrow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto -2px;
}

.choice-heading .eyebrow::before,
.choice-heading .eyebrow::after {
  content: "";
  height: 1px;
  background: #d5b77c;
}

.choice-card {
  position: relative;
  display: flex;
  min-height: 276px;
  padding: 24px;
  border: 1px solid #dac8a8;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(227, 189, 114, 0.15), transparent 34%),
    #fffdf8;
  color: #0d1724;
  box-shadow: 0 20px 45px rgba(22, 28, 34, 0.08);
  text-decoration: none;
}

.choice-card:hover {
  transform: translateY(-3px);
  border-color: #b98a39;
  box-shadow: 0 26px 58px rgba(22, 28, 34, 0.13);
  text-decoration: none;
}

.choice-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border: 1px solid #cdb177;
  border-radius: 50%;
  color: #8b1625;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
}

.choice-kicker {
  color: #111a22;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.choice-kicker em {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 6px;
  border: 1px solid #cdb177;
  border-radius: 5px;
  background: #f9f0dc;
  color: #6f541d;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  vertical-align: middle;
}

.choice-card strong {
  margin-top: 10px;
  color: #111a22;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.1;
}

.choice-card p {
  color: #4c5662;
  font-size: 15px;
  line-height: 1.45;
}

.mini-maker,
.file-pair {
  display: grid;
  gap: 10px;
  margin: 14px 0 20px;
}

.mini-tabs,
.file-pair {
  display: flex;
  gap: 10px;
}

.mini-tabs b,
.mini-tabs i {
  min-width: 78px;
  padding: 9px 12px;
  border: 1px solid #e3ddd2;
  border-radius: 6px;
  background: #f7f3ea;
  color: #26323f;
  font-size: 12px;
  font-style: normal;
  text-align: center;
}

.mini-tabs b {
  background: #941727;
  color: #fff7e8;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-row small {
  padding: 10px 12px;
  border: 1px solid #e3ddd2;
  border-radius: 6px;
  background: #fff;
  color: #53606a;
}

.file-pair span {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  flex: 1 1 0;
  min-height: 76px;
  padding: 14px;
  border: 1px solid #ded2bc;
  border-radius: 7px;
  background: #fff;
}

.file-pair b {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 5px;
  background: #0f4f8c;
  color: #fff;
  font-size: 15px;
}

.file-pair span:nth-child(2) b {
  background: #b91822;
}

.file-pair small {
  color: #26323f;
  font-size: 13px;
  line-height: 1.3;
}

.pack-list {
  display: grid;
  gap: 7px;
  margin: 14px 0 20px;
  padding: 0;
  color: #35414d;
  font-size: 14px;
  list-style: none;
}

.pack-list li::before {
  content: "check";
  margin-right: 10px;
  color: #8b1625;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.card-cta {
  margin-top: auto;
  color: #8b1625;
  font-weight: 850;
}

.tool-grid,
.classroom-method,
.path-section,
.site-footer .footer-inner {
  width: min(1240px, calc(100% - 72px));
  margin-left: auto;
  margin-right: auto;
}

.tool-grid {
  margin-top: 28px;
}

.classroom-method {
  margin-top: 28px;
  border-color: #dac8a8;
  background: #fffdf8;
  box-shadow: 0 20px 44px rgba(22, 28, 34, 0.07);
}

.classroom-method h2 {
  color: #111a22;
  font-family: var(--serif);
  font-size: 34px;
}

.path-section {
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}

.path-section > .eyebrow,
.path-section > h2,
.path-grid {
  display: none;
}

.quiet-link-drawer {
  border: 1px solid #e0d5bf;
  border-radius: 8px;
  background: #fffdf8;
}

.quiet-link-drawer summary {
  padding: 14px 16px;
  color: #5e4a22;
  font-weight: 800;
  cursor: pointer;
}

.quiet-links {
  padding: 0 16px 16px;
}

.site-footer {
  border-top: 1px solid #ded2bc;
  background: #fbfaf6;
}

.footer-inner {
  color: #68717a;
}

@media (max-width: 1100px) {
  .nav {
    width: min(100% - 40px, 980px);
  }

  .nav-links {
    gap: 16px;
  }

  .law-hero {
    grid-template-columns: 1fr;
  }

  .law-hero-copy {
    padding: 54px 42px 42px;
  }

  .law-hero-copy h1 {
    font-size: 54px;
  }

  .law-hero-visual,
  .hero-desk-image {
    min-height: 390px;
  }

  .choice-board,
  .tool-grid,
  .classroom-method,
  .path-section,
  .site-footer .footer-inner {
    width: min(100% - 40px, 920px);
  }

  .choice-board,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .nav {
    width: calc(100% - 28px);
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    background-size: 36px 36px;
  }

  .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 3px;
  }

  .nav-links a {
    flex: 0 0 auto;
    color: #fff7e8;
    font-size: 13px;
    white-space: nowrap;
  }

  .nav-links .nav-cta {
    padding: 9px 12px;
  }

  .law-hero {
    min-height: 0;
  }

  .law-hero-copy {
    padding: 38px 22px 30px;
  }

  .law-hero-copy h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .law-proof-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .law-hero-visual,
  .hero-desk-image {
    min-height: 270px;
  }

  .choice-board,
  .tool-grid,
  .classroom-method,
  .path-section,
  .site-footer .footer-inner {
    width: calc(100% - 28px);
  }

  .choice-board {
    gap: 14px;
    margin-top: 22px;
  }

  .choice-heading .eyebrow {
    display: block;
    margin-bottom: 0;
  }

  .choice-heading .eyebrow::before,
  .choice-heading .eyebrow::after {
    display: none;
  }

  .choice-card {
    padding: 20px;
  }

  .choice-kicker {
    font-size: 20px;
  }

  .choice-card strong {
    font-size: 23px;
  }

  .file-pair,
  .mini-tabs,
  .mini-row {
    flex-direction: column;
    grid-template-columns: 1fr;
  }
}

/* Final composition tuning to better match the approved reference. */
@media (min-width: 1101px) {
  .law-hero {
    grid-template-columns: minmax(600px, 0.93fr) minmax(560px, 1.07fr);
    min-height: 660px;
  }

  .law-hero-copy {
    padding: 54px max(26px, calc((100vw - 1320px) / 2 + 26px)) 40px max(46px, calc((100vw - 1320px) / 2 + 46px));
  }

  .law-hero-copy h1 {
    max-width: 610px;
    margin: 14px 0 18px;
    font-size: 60px;
    line-height: 1;
  }

  .hero-lede {
    max-width: 560px;
    font-size: 18px;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .law-proof-row {
    gap: 14px;
    margin-top: 28px;
  }

  .law-hero-visual,
  .hero-desk-image {
    min-height: 660px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    flex: 0 0 auto;
    overflow: visible;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-links .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
}

/* QA corrections after screenshot review. */
.choice-card {
  flex-direction: column;
  min-width: 0;
}

.choice-card > * {
  max-width: 100%;
}

.card-cta {
  display: inline-block;
  overflow-wrap: anywhere;
}

.law-proof-row span {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 32px;
  padding: 0 0 0 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.law-proof-row span::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 25px;
  height: 25px;
  border: 1px solid #cba96c;
  border-radius: 7px;
  background: #fffdf6;
  box-shadow: 0 6px 14px rgba(118, 82, 25, 0.08);
}

.law-proof-row span::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 9px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #071523;
  border-bottom: 2px solid #071523;
  transform: rotate(45deg);
}

.law-proof-row strong {
  font-size: 14px;
  line-height: 1.2;
}

.law-proof-row em {
  color: #5c6570;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}

@media (max-width: 720px) {
  .nav-links a {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 8px 0;
  }

  .nav-links a:not(.nav-cta)[href="about/"],
  .nav-links a:not(.nav-cta)[href="case-brief-template-pack/"] {
    display: none;
  }

  .nav-links .nav-cta {
    border-radius: 6px;
    background: #941727;
    padding: 9px 12px;
  }
}

/* Mobile polish: make the phone view feel intentionally designed, not a squeezed desktop page. */
.mobile-hero-preview {
  display: none;
}

.brand-short {
  display: none;
}

@media (max-width: 720px) {
  .nav {
    width: 100%;
    min-height: 66px;
    padding: 0 14px;
  }

  .brand {
    gap: 9px;
    min-width: 0;
    overflow: hidden;
    font-size: 15px;
  }

  .brand-name {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  .brand-full {
    display: none;
  }

  .brand-short {
    display: inline;
  }

  .nav-links {
    flex: 0 0 auto;
    min-width: 0;
    max-width: 118px;
    overflow: hidden;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-links .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    max-width: 118px;
    min-height: 38px;
    overflow: hidden;
    border-radius: 6px;
    background: #fff5df;
    color: #6f111d;
    padding: 8px 10px;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .law-hero-copy {
    padding: 34px 22px 28px;
  }

  .law-hero-copy h1 {
    max-width: 350px;
    margin-top: 14px;
    font-size: 39px;
    line-height: 1.04;
  }

  .hero-lede {
    max-width: 340px;
    font-size: 16px;
    line-height: 1.55;
  }

  .mobile-hero-preview {
    display: block;
    margin: 22px 0;
    border: 1px solid #d6be8a;
    border-radius: 12px;
    overflow: hidden;
    background: #111a22;
    box-shadow: 0 18px 38px rgba(18, 24, 30, 0.16);
  }

  .mobile-hero-preview img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: 54% 42%;
  }

  .law-proof-row {
    margin-top: 10px;
  }

  .choice-board {
    margin-top: 14px;
  }
}

/* 2026-07-09 hard visual alignment: match the approved law-school mockup. */
html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: #101722;
  background: #fbf7ee;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border: 0;
  background: #071524;
  box-shadow: 0 1px 0 rgba(229, 197, 128, 0.28), 0 18px 38px rgba(7, 21, 36, 0.22);
}

.nav {
  width: min(1390px, calc(100% - 76px));
  min-height: 76px;
  margin: 0 auto;
  padding: 0;
  gap: 36px;
}

.brand {
  min-width: max-content;
  gap: 14px;
  color: #fff4dc;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.brand:hover {
  color: #fff4dc;
  text-decoration: none;
}

.brand-mark {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: url("assets/casebrief-template-lawmark.svg") center / contain no-repeat;
  box-shadow: none;
}

.brand-name {
  display: block;
  overflow: visible;
  white-space: nowrap;
}

.nav-links {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 34px;
  min-width: 0;
  font-size: 15px;
}

.nav-links a {
  color: #fff4dc;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #e7bd6d;
  text-decoration: none;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin-left: 6px;
  padding: 0 7px;
  border: 1px solid rgba(229, 197, 128, 0.72);
  border-radius: 5px;
  color: #f5d78d;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: 1px;
}

.nav-links .nav-cta {
  margin-left: 8px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  background: #971628;
  color: #fff8ea;
  box-shadow: 0 18px 34px rgba(151, 22, 40, 0.26);
}

.nav-links a.nav-cta:last-child {
  border-color: rgba(255, 255, 255, 0.08);
  background: #971628;
  color: #fff8ea;
}

.nav-links .nav-cta:hover {
  background: #b41e34;
  color: #fff8ea;
}

.page {
  width: 100%;
  max-width: none;
  padding: 0 0 48px;
  background:
    linear-gradient(180deg, #fffaf1 0, #fffaf1 620px, #fbf7ee 621px),
    #fbf7ee;
}

.law-hero {
  display: grid;
  grid-template-columns: minmax(520px, 0.92fr) minmax(650px, 1.08fr);
  width: 100%;
  min-height: 554px;
  height: 554px;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff9ef;
  box-shadow: none;
}

.law-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 46px max(38px, calc((100vw - 1390px) / 2 + 38px)) 38px max(56px, calc((100vw - 1390px) / 2 + 56px));
  background:
    radial-gradient(circle at 88% 44%, rgba(225, 194, 130, 0.18), transparent 34%),
    linear-gradient(90deg, #fffdf8 0%, #fffaf0 74%, rgba(255, 250, 240, 0.1) 100%);
}

.law-hero-copy .eyebrow {
  margin: 0;
  color: #8d1727;
  font-size: 13px;
  font-weight: 860;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.law-hero-copy h1 {
  max-width: 650px;
  margin: 17px 0 20px;
  color: #071524;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 4.05vw, 64px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.law-hero-copy h1 span {
  color: #921525;
  white-space: nowrap;
}

.hero-lede {
  max-width: 590px;
  margin: 0;
  color: #242c35;
  font-size: 19px;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.button {
  min-height: 48px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 820;
}

.button.primary {
  min-width: 208px;
  background: #971628;
  color: #fff8ea;
  box-shadow: 0 16px 30px rgba(151, 22, 40, 0.22);
}

.button.primary::after {
  content: "->";
  margin-left: 14px;
  font-size: 18px;
  line-height: 1;
}

.button.secondary {
  min-width: 242px;
  border: 1px solid rgba(151, 22, 40, 0.58);
  background: rgba(255, 253, 248, 0.82);
  color: #851421;
}

.button.secondary::after {
  content: "";
  width: 15px;
  height: 15px;
  margin-left: 13px;
  background:
    linear-gradient(#851421, #851421) center bottom / 13px 2px no-repeat,
    linear-gradient(#851421, #851421) center / 2px 13px no-repeat;
  transform: translateY(-1px);
}

.button.primary:hover,
.button.secondary:hover {
  text-decoration: none;
}

.law-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(125px, 1fr));
  gap: 20px;
  max-width: 675px;
  margin-top: 28px;
}

.law-proof-row span {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 40px;
  padding: 0 0 0 38px;
}

.law-proof-row span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 27px;
  height: 27px;
  border: 1.5px solid #071524;
  border-radius: 50%;
  background: #fffaf0;
  box-shadow: inset 0 0 0 4px #fffaf0;
}

.law-proof-row span::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 10px;
  width: 6px;
  height: 12px;
  border-right: 2px solid #071524;
  border-bottom: 2px solid #071524;
  transform: rotate(45deg);
}

.law-proof-row strong {
  color: #071524;
  font-size: 14px;
  font-weight: 820;
  line-height: 1.2;
}

.law-proof-row em {
  color: #5f6670;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
}

.mobile-hero-preview {
  display: none;
}

.law-hero-visual {
  min-height: 554px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #150f0a;
}

.hero-desk-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 554px;
  max-height: 554px;
  object-fit: cover;
  object-position: 49% 48%;
}

.choice-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(1248px, calc(100% - 88px));
  margin: 28px auto 0;
  padding: 0;
  overflow: visible;
}

.choice-heading {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.choice-heading .eyebrow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  max-width: 610px;
  margin: 0 auto -2px;
  color: #8d1727;
  font-size: 13px;
  font-weight: 860;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.choice-heading .eyebrow::before,
.choice-heading .eyebrow::after {
  content: "";
  height: 1px;
  background: #d8b977;
}

.choice-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 24px 24px 21px;
  border: 1px solid #dbc6a4;
  border-radius: 7px;
  background:
    radial-gradient(circle at 18% 0, rgba(216, 185, 119, 0.18), transparent 34%),
    #fffdf8;
  color: #111820;
  text-decoration: none;
  box-shadow: 0 20px 44px rgba(37, 28, 17, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.choice-card:hover {
  transform: translateY(-3px);
  border-color: #b98a39;
  box-shadow: 0 28px 60px rgba(37, 28, 17, 0.13);
  text-decoration: none;
}

.choice-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 13px;
  border: 1px solid #c9aa70;
  border-radius: 50%;
  color: #8d1727;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.choice-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111820;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.choice-kicker em {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 1px 6px;
  border: 1px solid #c9aa70;
  border-radius: 5px;
  background: #f7ead2;
  color: #654815;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 820;
  line-height: 1;
  text-transform: uppercase;
}

.choice-card strong {
  margin-top: 9px;
  color: #111820;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.12;
}

.choice-card p {
  margin: 9px 0 0;
  color: #4a5360;
  font-size: 15px;
  line-height: 1.45;
}

.mini-maker,
.file-pair {
  display: grid;
  gap: 10px;
  margin: 15px 0 19px;
}

.mini-tabs,
.file-pair {
  display: flex;
  gap: 10px;
}

.mini-tabs b,
.mini-tabs i {
  min-width: 72px;
  padding: 9px 12px;
  border: 1px solid #e2d9c8;
  border-radius: 6px;
  background: #f8f3ea;
  color: #26313d;
  font-size: 12px;
  font-style: normal;
  text-align: center;
}

.mini-tabs b {
  background: #971628;
  color: #fff8ea;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-row small {
  padding: 10px 12px;
  border: 1px solid #e2d9c8;
  border-radius: 6px;
  background: #fff;
  color: #525e69;
}

.file-pair span {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  flex: 1 1 0;
  min-height: 76px;
  padding: 14px;
  border: 1px solid #ded1ba;
  border-radius: 7px;
  background: #fff;
}

.file-pair b {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 5px;
  background: #0f4f8c;
  color: #fff;
  font-size: 15px;
}

.file-pair span:nth-child(2) b {
  background: #b91822;
}

.file-pair small {
  color: #26313d;
  font-size: 13px;
  line-height: 1.3;
}

.pack-list {
  display: grid;
  gap: 7px;
  margin: 14px 0 20px;
  padding: 0;
  color: #35414d;
  font-size: 14px;
  list-style: none;
}

.pack-list li::before {
  content: "✓";
  margin-right: 10px;
  color: #8d1727;
  font-weight: 900;
}

.card-cta {
  margin-top: auto;
  color: #8d1727;
  font-weight: 850;
}

.tool-grid,
.classroom-method,
.path-section,
.site-footer .footer-inner {
  width: min(1248px, calc(100% - 88px));
  margin-left: auto;
  margin-right: auto;
}

.tool-grid {
  margin-top: 30px;
}

.classroom-method {
  margin-top: 28px;
  border-color: #dbc6a4;
  background: #fffdf8;
  box-shadow: 0 20px 44px rgba(37, 28, 17, 0.07);
}

.classroom-method h2 {
  color: #111820;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.path-section {
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}

.path-section > .eyebrow,
.path-section > h2,
.path-grid {
  display: none;
}

.quiet-link-drawer {
  border: 1px solid #dfd2b9;
  border-radius: 8px;
  background: #fffdf8;
}

.site-footer {
  border-top: 1px solid #dfd2b9;
  background: #fbf7ee;
}

@media (max-width: 1180px) {
  .nav {
    width: calc(100% - 40px);
    gap: 22px;
  }

  .nav-links {
    gap: 18px;
  }

  .law-hero {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
  }

  .law-hero-copy {
    padding: 54px 42px 36px;
  }

  .law-hero-copy h1 {
    max-width: 720px;
  }

  .law-hero-visual,
  .hero-desk-image {
    min-height: 390px;
  }

  .hero-desk-image {
    object-position: 50% 46%;
  }

  .choice-board,
  .tool-grid,
  .classroom-method,
  .path-section,
  .site-footer .footer-inner {
    width: calc(100% - 40px);
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .nav {
    min-height: 64px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-links {
    flex: 0 0 auto;
    gap: 0;
    overflow: visible;
  }

  .nav-links .nav-cta {
    display: inline-flex;
    max-width: 132px;
    min-height: 38px;
    padding: 9px 12px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .law-hero {
    display: block;
    height: auto;
    min-height: 0;
    background: #fffaf0;
  }

  .law-hero-copy {
    padding: 36px 22px 28px;
  }

  .law-hero-copy .eyebrow {
    font-size: 12px;
  }

  .law-hero-copy h1 {
    max-width: 390px;
    font-size: clamp(40px, 12vw, 54px);
    line-height: 1.02;
  }

  .hero-lede {
    max-width: 420px;
    font-size: 17px;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .mobile-hero-preview {
    display: block;
    margin: 22px 0;
    overflow: hidden;
    border: 1px solid #d3b879;
    border-radius: 10px;
    background: #111820;
    box-shadow: 0 18px 34px rgba(17, 24, 32, 0.16);
  }

  .mobile-hero-preview img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: 50% 45%;
  }

  .law-hero-visual {
    display: none;
  }

  .law-proof-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 10px;
  }

  .choice-board,
  .tool-grid,
  .classroom-method,
  .path-section,
  .site-footer .footer-inner {
    width: calc(100% - 28px);
  }

  .choice-board {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
  }

  .choice-heading .eyebrow {
    display: block;
  }

  .choice-heading .eyebrow::before,
  .choice-heading .eyebrow::after {
    display: none;
  }

  .choice-card {
    min-height: 0;
    padding: 20px;
  }

  .mini-tabs,
  .file-pair {
    flex-direction: column;
  }

  .mini-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .nav {
    width: calc(100% - 24px);
  }

  .brand-name {
    max-width: 142px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links .nav-cta {
    max-width: 116px;
    font-size: 12px;
  }
}

/* Final self-audit corrections: remove odd icon glyphs and keep the hero from clipping. */
.button.primary::after {
  content: "\2192";
  margin-left: 14px;
  font-size: 20px;
  line-height: 1;
}

.button.secondary::after {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-left: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23851421' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  transform: none;
}

@media (min-width: 1181px) {
  .law-hero {
    grid-template-columns: minmax(650px, 0.93fr) minmax(650px, 1.07fr);
    height: 554px;
    min-height: 554px;
    overflow: hidden;
  }

  .law-hero-copy {
    justify-content: flex-start;
    gap: 0;
    padding: 46px 52px 34px 60px;
  }

  .law-hero-copy h1 {
    max-width: 610px;
    margin: 8px 0 8px;
    font-size: 60px;
    line-height: 1;
  }

  .hero-lede {
    max-width: 565px;
    font-size: 19px;
    line-height: 1.47;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .law-proof-row {
    max-width: 640px;
    gap: 16px;
    margin-top: 18px;
  }

  .law-hero-visual {
    display: block;
    height: 554px;
    min-height: 554px;
  }

  .hero-desk-image {
    height: 554px;
    min-height: 0;
    max-height: none;
    object-position: 50% 48%;
  }
}

/* 2026-07-09 product clarity pass informed by design-skill research. */
.brand-full {
  display: inline;
}

.brand-short {
  display: none;
}

.brand-name {
  word-spacing: 0.16em;
}

.hero-actions {
  align-items: center;
}

.button.tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #851421;
  font-size: 15px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button::after {
  display: none;
}

.button.arrow-action::after {
  content: "\2192";
  display: inline;
  margin-left: 14px;
  font-size: 20px;
  line-height: 1;
}

.button.download-action::after {
  content: "";
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-left: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

.button.clear-action::after {
  content: "\00d7";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: none;
  font-size: 14px;
  line-height: 1;
}

.choice-board {
  align-items: stretch;
}

.choice-card {
  position: relative;
  overflow: hidden;
}

.choice-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(151, 22, 40, 0.11), transparent 68%);
  pointer-events: none;
}

.choice-card:nth-of-type(3)::after {
  background: radial-gradient(circle, rgba(7, 21, 36, 0.13), transparent 68%);
}

.choice-kicker {
  flex-wrap: wrap;
}

.pack-list li {
  line-height: 1.28;
}

.output-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.document-topline {
  align-items: start;
  border-bottom-color: #071524;
}

.document-topline .status-pill,
.template-pill {
  min-width: 0;
  min-height: 0;
  padding: 5px 9px;
  border-radius: 4px;
  background: #fff7e7;
  color: #7d5716;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brief-section {
  align-items: baseline;
}

.brief-label {
  color: #971628;
  letter-spacing: 0.03em;
}

.export-box {
  max-height: 240px;
  min-height: 180px;
  overflow: auto;
}

.interest-box {
  border-color: #dbc6a4;
  background: #fffaf0;
}

.interest-box strong {
  color: #071524;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.interest-box p {
  color: #4c5962;
  font-size: 14px;
  line-height: 1.45;
}

@media (min-width: 1181px) {
  .law-hero-copy h1 {
    max-width: 640px;
    font-size: 56px;
  }

  .hero-lede {
    max-width: 610px;
    font-size: 18px;
  }

  .button.tertiary {
    min-width: auto;
  }
}

@media (max-width: 860px) {
  .hero-actions {
    align-items: stretch;
  }

  .button.tertiary {
    width: 100%;
    padding: 0;
  }

  .document-sheet {
    min-height: 0;
  }

  .document-topline {
    gap: 8px;
  }

  .brief-section {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 430px) {
  .brand-full {
    display: none;
  }

  .brand-short {
    display: inline;
  }

  .brand-name {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    word-spacing: 0.14em;
  }

  .brand {
    gap: 10px;
    font-size: 15px;
  }

  .brand-mark {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .law-hero-copy h1 {
    font-size: clamp(36px, 11vw, 46px);
  }

  .choice-card strong {
    font-size: 22px;
  }
}

/* Final QA overrides: product clarity, mobile brand spacing, and install prompt readability. */
.brand {
  min-width: 0;
}

.brand-name {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.nav-badge {
  height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 18px;
}

.inline-code {
  display: block;
  margin: 14px 0 0;
  padding: 15px 16px;
  border: 1px solid rgba(7, 21, 36, 0.18);
  border-left: 4px solid #971628;
  border-radius: 6px;
  background: #071524;
  color: #fff4dc;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
  overflow-x: auto;
}

.product-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 680px;
  margin-top: 24px;
  border: 1px solid rgba(139, 111, 68, 0.28);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 18px 38px rgba(7, 21, 36, 0.08);
  overflow: hidden;
}

.product-map span {
  display: grid;
  gap: 7px;
  padding: 15px 17px;
  border-right: 1px solid rgba(139, 111, 68, 0.22);
}

.product-map span:last-child {
  border-right: 0;
}

.product-map strong {
  color: #071524;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.05;
}

.product-map em {
  color: #4f5b63;
  font-size: 12px;
  font-style: normal;
  font-weight: 620;
  line-height: 1.35;
}

.document-topline .template-pill {
  align-self: flex-start;
  margin-top: 2px;
  padding: 6px 10px;
  border: 0;
  border-radius: 3px;
  background: #071524;
  color: #fff4dc;
  box-shadow: none;
}

.button.tertiary::after {
  display: none;
}

.law-hero .law-proof-row {
  margin-top: 20px;
  opacity: 0.86;
}

.law-hero {
  height: auto;
  min-height: 554px;
  overflow: visible;
}

.law-hero-copy {
  padding-bottom: 28px;
}

.law-hero-visual,
.hero-desk-image {
  min-height: 554px;
}

@media (max-width: 760px) {
  .brand {
    gap: 9px;
  }

  .brand-mark {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .brand-full {
    display: none;
  }

  .brand-short {
    display: inline;
    word-spacing: 0.12em;
  }

  .nav-links {
    gap: 12px;
  }

  .product-map {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .product-map span {
    border-right: 0;
    border-bottom: 1px solid rgba(139, 111, 68, 0.2);
  }

  .product-map span:last-child {
    border-bottom: 0;
  }

  .law-hero .law-proof-row {
    display: none;
  }

  .law-hero,
  .law-hero-visual,
  .hero-desk-image {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .brand-short {
    font-size: 15px;
  }

  .template-pill {
    font-size: 10px;
  }

  .inline-code {
    font-size: 12px;
    white-space: pre-wrap;
  }
}
