/* TylerLegal public pages use the first-party Gopsco and TylerLegal app palette. */
:root {
  --paper: #f6f2eb;
  --white: #fffdf9;
  --ink: #101a2d;
  --navy: #0f2438;
  --muted: #47586a;
  --blue: #0d5d86;
  --ochre: #9c4817;
  --line: #cdc5b8;
  --display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Aptos", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--body); }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.06; }
a { color: var(--blue); text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
.frame { width: min(75rem, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: 1rem; z-index: 1; padding: .75rem 1rem; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-head { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 5rem; gap: 1.6rem; }
.brand { color: inherit; font: 600 1.75rem/1 var(--display); letter-spacing: -.045em; text-decoration: none; width: max-content; }
.brand span { color: var(--blue); }
.navigation, .site-foot nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2.5rem); }
.navigation a, .site-foot nav a { color: inherit; font-size: .91rem; font-weight: 650; text-decoration: none; }
.navigation a:hover, .navigation a[aria-current], .site-foot nav a:hover { text-decoration: underline; }
.button { display: inline-flex; gap: .85rem; align-items: center; justify-content: center; min-height: 2.75rem; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: .25rem; font-weight: 700; line-height: 1.25; text-decoration: none; }
.nav-signin { justify-self: end; border-color: var(--line); color: var(--ink); white-space: nowrap; }
.nav-signin:hover, .nav-signin[aria-current] { border-color: var(--blue); color: var(--blue); }
.primary { background: var(--blue); color: var(--white); }
.primary:hover { background: var(--navy); }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 6vw, 7rem); padding-block: clamp(3rem, 8vw, 7rem); }
.hero h1, .page-intro h1 { font-size: clamp(3.05rem, 6.7vw, 6.65rem); letter-spacing: -.055em; }
.lead { max-width: 34rem; margin-top: 1.4rem; color: var(--muted); font-size: clamp(1.08rem, 1.85vw, 1.4rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.15rem 1.55rem; margin-top: 1.85rem; }
.text-link { font-weight: 700; }
.availability { margin-top: .9rem; color: var(--muted); font-size: .89rem; }
.folio { padding: clamp(1.15rem, 3.4vw, 2.55rem); background: var(--navy); color: var(--white); border-top: .32rem solid #d39a6d; box-shadow: .65rem .65rem 0 #e6d8c6; }
.folio-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding-bottom: 1.05rem; border-bottom: 1px solid #4c6074; color: #e8ba95; font-size: .79rem; font-weight: 700; }
.folio-title { padding-block: 1.3rem; font: 500 clamp(2.05rem, 3.5vw, 3.6rem)/1.07 var(--display); letter-spacing: -.042em; }
.folio dl div { display: grid; grid-template-columns: minmax(5rem, .5fr) 1fr; align-items: baseline; padding-block: .65rem; gap: .65rem; border-top: 1px solid #4c6074; }
.folio dt { font-size: .85rem; font-weight: 700; }
.folio dd { color: #d4e2ec; font-size: .88rem; }
.work { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 5rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
h2 { font-size: clamp(2.05rem, 4vw, 3.25rem); letter-spacing: -.04em; }
.section-head p, .work-grid p { color: var(--muted); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); }
.work-grid article { display: flex; flex-direction: column; align-items: start; padding-top: 1.25rem; border-top: 2px solid var(--line); }
.work-grid h3 { font-size: 1.7rem; }
.work-grid p { margin-block: .75rem 1rem; }
.work-grid a { margin-top: auto; font-weight: 700; }
.coverage { background: #e6ded1; }
.coverage-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding-block: clamp(2.25rem, 5vw, 4rem); }
.coverage p { max-width: 42rem; margin-top: .85rem; color: var(--muted); }
.outline { border-color: var(--blue); }
.outline:hover { background: var(--white); }
.page-intro { padding-block: clamp(2.75rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem); }
.page-intro h1 { max-width: 62rem; }
.detail { display: grid; padding-bottom: clamp(2.75rem, 7vw, 6rem); }
.detail section { display: grid; grid-template-columns: minmax(14rem, .72fr) minmax(0, 1fr); gap: .7rem 2rem; align-items: start; justify-items: start; padding-block: clamp(1.5rem, 3.5vw, 3rem); border-top: 1px solid var(--line); }
.detail h2 { grid-row: span 4; font-size: clamp(1.65rem, 3.3vw, 2.7rem); }
.detail p { max-width: 42rem; color: var(--muted); }
.detail a:not(.button) { font-weight: 700; }
.site-foot { background: var(--white); border-top: 1px solid var(--line); }
.foot-inner { display: grid; grid-template-columns: auto auto 1fr; align-items: start; justify-items: end; gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); padding-block: 2.3rem; }
.foot-inner > div { justify-self: start; }
.foot-inner p { max-width: 22rem; font-size: .86rem; color: var(--muted); }
.foot-inner .brand + p { margin-top: .5rem; }
@media (max-width: 52rem) {
  .frame { width: min(100% - 3rem, 75rem); }
  .hero { gap: 2rem; }
  .foot-inner { grid-template-columns: 1fr 1fr; justify-items: start; }
  .foot-inner > p { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .frame { width: min(100% - 2.25rem, 75rem); }
  .masthead { grid-template-columns: 1fr auto; gap: .35rem 1rem; padding-block: .8rem .45rem; }
  .navigation { grid-row: 2; grid-column: 1 / -1; gap: 1.25rem; }
  .navigation a { display: flex; align-items: center; min-height: 2.75rem; }
  .nav-signin { grid-row: 1; grid-column: 2; }
  .hero { grid-template-columns: 1fr; }
  .folio { margin-right: .45rem; box-shadow: .45rem .45rem 0 #e6d8c6; }
  .work-grid, .detail section, .foot-inner { grid-template-columns: 1fr; }
  .work-grid { gap: 1.7rem; }
  .detail h2 { grid-row: auto; }
  .site-foot nav { flex-wrap: wrap; }
}
