/* ==========================================================================
   Merrow Halstead LLP — bespoke law firm concept
   Only used by /concepts/law/. Shares no rules with local-concept.css.

   Palette is drawn from the things a file physically is: bond paper, a slate
   ink, walnut, and the faded rose ribbon that once tied briefs together.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --lw-ink: #16212e;
  --lw-ink-2: #253546;
  --lw-muted: #55636f;
  --lw-muted-2: #6d7a86;
  --lw-paper: #f1eee6;
  --lw-paper-2: #e6e1d5;
  --lw-card: #fbf9f4;
  --lw-line: rgba(22, 33, 46, 0.16);
  --lw-line-soft: rgba(22, 33, 46, 0.09);

  /* who is holding the file */
  --lw-you: #7c2a37;
  --lw-you-bg: #f6e5e6;
  --lw-you-lite: #efaeb5;
  --lw-firm: #245746;
  --lw-firm-bg: #dfebe4;
  --lw-firm-lite: #8fcfb4;
  --lw-outside: #435162;
  --lw-outside-bg: #e3e6ea;
  --lw-outside-lite: #a9bdd0;
  --lw-public: #6f5312;
  --lw-public-bg: #f0e8d3;
  --lw-public-lite: #dcb95f;
  --lw-clock: #57534c;
  --lw-clock-bg: #e8e5dd;

  --lw-shadow-sm: 0 4px 14px rgba(22, 33, 46, 0.05);
  --lw-shadow: 0 20px 52px rgba(22, 33, 46, 0.11);
  --lw-shadow-lg: 0 34px 90px rgba(22, 33, 46, 0.2);

  --lw-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --lw-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lw-radius: 0.9rem;
  --lw-pad: clamp(1.15rem, 4.4vw, 4.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  min-height: 100svh;
  overflow-x: clip;
  background: var(--lw-paper);
  color: var(--lw-ink);
  font-family: var(--lw-body);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: var(--lw-display);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-weight: 520;
  letter-spacing: -0.028em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.35rem, 5.1vw, 4.15rem);
}

h2 {
  font-size: clamp(1.9rem, 3.9vw, 3.05rem);
}

h3 {
  font-size: clamp(1.14rem, 1.6vw, 1.4rem);
}

h4 {
  font-size: 1.02rem;
}

table {
  border-collapse: collapse;
  width: 100%;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--lw-you);
  outline-offset: 3px;
  border-radius: 0.3rem;
}

::selection {
  background: var(--lw-you-lite);
  color: var(--lw-ink);
}

/* ------------------------------------------------------------ utilities -- */

.lw-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.lw-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lw-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lw-skip {
  position: fixed;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 300;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: var(--lw-ink);
  color: var(--lw-card);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-240%);
  transition: transform 150ms ease;
}

.lw-skip:focus {
  transform: translateY(0);
}

.lw-eyebrow {
  color: var(--lw-you);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.lw-eyebrow--light {
  color: var(--lw-you-lite);
}

.lw-fine {
  color: var(--lw-muted);
  font-size: 0.79rem;
  line-height: 1.55;
}

.lw-fine--center {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.lw-fine--light {
  color: rgba(251, 249, 244, 0.68);
}

.lw-lede {
  max-width: 44ch;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: var(--lw-ink-2);
}

.lw-section {
  padding: clamp(3.4rem, 7vw, 6.4rem) var(--lw-pad);
}

.lw-section__head {
  display: grid;
  gap: 0.9rem clamp(1.5rem, 4vw, 4rem);
  max-width: 82rem;
  margin-inline: auto;
}

@media (min-width: 62rem) {
  .lw-section__head {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: end;
  }
}

.lw-section__head h2 {
  max-width: 20ch;
}

.lw-section__intro {
  max-width: 46ch;
  color: var(--lw-muted);
}

/* --------------------------------------------------------------- buttons -- */

.lw-btn {
  min-height: 2.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--lw-ink);
  color: var(--lw-card);
  font-size: 0.9rem;
  font-weight: 640;
  text-decoration: none;
  transition: background 140ms ease, transform 140ms ease;
}

.lw-btn:hover {
  background: var(--lw-ink-2);
}

.lw-btn:active {
  transform: translateY(1px);
}

.lw-btn--accent {
  background: var(--lw-you);
}

.lw-btn--accent:hover {
  background: #6a222e;
}

.lw-btn--ghost {
  border-color: var(--lw-line);
  background: transparent;
  color: var(--lw-ink);
}

.lw-btn--ghost:hover {
  background: rgba(22, 33, 46, 0.06);
}

.lw-btn--onink {
  border-color: rgba(251, 249, 244, 0.32);
  background: transparent;
  color: var(--lw-card);
}

.lw-btn--onink:hover {
  background: rgba(251, 249, 244, 0.12);
}

.lw-btn--light {
  background: var(--lw-card);
  color: var(--lw-ink);
}

.lw-btn--light:hover {
  background: #fff;
}

.lw-btn--sm {
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.83rem;
}

.lw-btn--full {
  width: 100%;
}

.lw-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.lw-linkish {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0;
  color: var(--lw-you);
  font-size: 0.85rem;
  font-weight: 640;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* --------------------------------------------------------- preview strip -- */

.lw-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.1rem;
  padding: 0.55rem var(--lw-pad);
  background: var(--lw-ink);
  color: rgba(251, 249, 244, 0.86);
  font-size: 0.79rem;
}

.lw-preview__back,
.lw-preview__app {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 620;
  text-decoration: none;
}

.lw-preview__back:hover,
.lw-preview__app:hover {
  text-decoration: underline;
}

.lw-preview__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(251, 249, 244, 0.78);
}

.lw-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lw-firm-lite);
}

/* ---------------------------------------------------------------- header -- */

.lw-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 0.7rem var(--lw-pad);
  border-bottom: 1px solid var(--lw-line-soft);
  background: color-mix(in srgb, var(--lw-paper) 92%, transparent);
  backdrop-filter: blur(14px);
}

.lw-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  text-decoration: none;
}

.lw-brand__mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.55rem 0.55rem 0.55rem 0.16rem;
  background: var(--lw-ink);
  color: var(--lw-card);
  font-family: var(--lw-display);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lw-brand__text {
  display: grid;
  line-height: 1.2;
}

.lw-brand__text strong {
  font-family: var(--lw-display);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-size: 1.08rem;
  font-weight: 560;
  letter-spacing: -0.012em;
}

.lw-brand__text small {
  color: var(--lw-muted);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.lw-menu-toggle {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--lw-line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 620;
}

.lw-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 1.35rem;
}

.lw-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 540;
  text-decoration: none;
}

.lw-nav a:hover {
  text-decoration: underline;
}

.lw-nav .lw-btn {
  font-size: 0.85rem;
}

@media (max-width: 61.99rem) {
  .lw-nav {
    display: none;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0.6rem;
  }

  .lw-nav.is-open {
    display: flex;
  }

  .lw-nav a {
    padding-block: 0.55rem;
    border-bottom: 1px solid var(--lw-line-soft);
  }

  .lw-nav .lw-btn {
    justify-content: center;
    margin-top: 0.7rem;
    border-bottom: 0;
  }
}

@media (min-width: 62rem) {
  .lw-menu-toggle {
    display: none;
  }
}

/* ------------------------------------------------------------------ hero -- */

.lw-hero {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding: clamp(2.6rem, 6vw, 5.4rem) var(--lw-pad) clamp(3rem, 6vw, 5.4rem);
  background:
    radial-gradient(120% 90% at 8% 0%, #21303f 0%, transparent 62%),
    var(--lw-ink);
  color: var(--lw-card);
}

@media (min-width: 62rem) {
  .lw-hero {
    grid-template-columns: minmax(0, 1.24fr) minmax(19rem, 0.76fr);
    align-items: center;
  }
}

.lw-hero__panel {
  max-width: 46rem;
}

.lw-hero h1 {
  max-width: 15ch;
  margin-top: 1rem;
  color: var(--lw-card);
}

.lw-hero__lede {
  max-width: 48ch;
  margin-top: 1.15rem;
  color: rgba(251, 249, 244, 0.8);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.lw-hero__status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.7rem;
  margin-top: 1.6rem;
  padding: 0.5rem 0.9rem 0.5rem 0.75rem;
  border: 1px solid rgba(251, 249, 244, 0.22);
  border-radius: 999px;
  font-size: 0.83rem;
}

.lw-hero__status strong {
  font-weight: 680;
}

.lw-hero__status span[data-office-detail] {
  color: rgba(251, 249, 244, 0.7);
}

.lw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.lw-hero__meta {
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(251, 249, 244, 0.16);
  color: rgba(251, 249, 244, 0.62);
  font-size: 0.8rem;
}

.lw-hero__meta li {
  display: flex;
  align-items: start;
  gap: 0.55rem;
}

.lw-hero__meta svg {
  margin-top: 0.28rem;
  color: var(--lw-you-lite);
}

.lw-hero__media {
  position: relative;
  align-self: stretch;
  min-height: 18rem;
  overflow: hidden;
  border-radius: 1.1rem;
  background: #101922;
}

.lw-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lw-hero__caption {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  left: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.7rem;
  background: rgba(13, 20, 28, 0.86);
  backdrop-filter: blur(8px);
  color: rgba(251, 249, 244, 0.86);
  font-size: 0.76rem;
  line-height: 1.5;
}

/* ------------------------------------------------------------- the ledger -- */

.lw-holders {
  display: grid;
  gap: 0.5rem;
  padding: 1.1rem var(--lw-pad);
  background: var(--lw-paper-2);
  border-bottom: 1px solid var(--lw-line-soft);
}

.lw-holders__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  max-width: 82rem;
  margin-inline: auto;
  padding: 0;
  list-style: none;
}

.lw-holders__label {
  max-width: 82rem;
  width: 100%;
  margin-inline: auto;
  color: var(--lw-muted);
  font-size: 0.78rem;
}

.lw-chipkey {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 640;
}

.lw-chipkey::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.lw-chipkey--you {
  background: var(--lw-you-bg);
  color: var(--lw-you);
}

.lw-chipkey--firm {
  background: var(--lw-firm-bg);
  color: var(--lw-firm);
}

.lw-chipkey--outside {
  background: var(--lw-outside-bg);
  color: var(--lw-outside);
}

.lw-chipkey--public {
  background: var(--lw-public-bg);
  color: var(--lw-public);
}

.lw-chipkey--clock {
  background: var(--lw-clock-bg);
  color: var(--lw-clock);
}

/* ------------------------------------------------------------- matter map -- */

.lw-map {
  background: var(--lw-paper);
}

.lw-map__inner {
  max-width: 82rem;
  margin-inline: auto;
}

.lw-map__pick {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.lw-map__pick > legend {
  color: var(--lw-muted);
  font-size: 0.82rem;
  font-weight: 640;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lw-situations {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}

@media (min-width: 52rem) {
  .lw-situations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lw-situation {
  position: relative;
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--lw-line);
  border-radius: var(--lw-radius);
  background: var(--lw-card);
  cursor: pointer;
  transition: border-color 130ms ease, background 130ms ease, box-shadow 130ms ease;
}

.lw-situation:hover {
  border-color: rgba(124, 42, 55, 0.5);
}

.lw-situation input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.lw-situation__mark {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1.5px solid var(--lw-line);
  border-radius: 50%;
  color: transparent;
}

.lw-situation__body {
  display: grid;
  gap: 0.1rem;
}

.lw-situation__name {
  font-size: 0.98rem;
  font-weight: 620;
  line-height: 1.35;
}

.lw-situation__area {
  color: var(--lw-muted);
  font-size: 0.78rem;
}

.lw-situation:has(input:checked) {
  border-color: var(--lw-you);
  background: var(--lw-you-bg);
  box-shadow: inset 0 0 0 1px var(--lw-you);
}

.lw-situation:has(input:checked) .lw-situation__mark {
  border-color: var(--lw-you);
  background: var(--lw-you);
  color: var(--lw-card);
}

.lw-situation:has(input:focus-visible) {
  outline: 3px solid var(--lw-you);
  outline-offset: 3px;
}

/* the two-column workbench */

.lw-bench {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 2rem);
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

@media (min-width: 68rem) {
  .lw-bench {
    grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 0.85fr);
    align-items: start;
  }
}

.lw-panel {
  border: 1px solid var(--lw-line);
  border-radius: 1.05rem;
  background: var(--lw-card);
  box-shadow: var(--lw-shadow-sm);
}

.lw-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid var(--lw-line-soft);
}

.lw-panel__head h3 {
  font-size: 1.22rem;
}

.lw-panel__head p {
  color: var(--lw-muted);
  font-size: 0.8rem;
}

.lw-panel__body {
  padding: 1.15rem;
}

/* the questions that redraw the route */

.lw-quests {
  display: grid;
  gap: 1.05rem;
}

.lw-quest {
  display: grid;
  gap: 0.5rem;
}

.lw-quest > legend,
.lw-quest__label {
  padding: 0;
  font-size: 0.9rem;
  font-weight: 640;
}

.lw-quest__help {
  color: var(--lw-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.lw-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lw-opt {
  position: relative;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--lw-line);
  border-radius: 999px;
  background: var(--lw-paper);
  font-size: 0.86rem;
  font-weight: 560;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.lw-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.lw-opt:hover {
  border-color: rgba(22, 33, 46, 0.36);
}

.lw-opt:has(input:checked) {
  border-color: var(--lw-ink);
  background: var(--lw-ink);
  color: var(--lw-card);
}

.lw-opt:has(input:focus-visible) {
  outline: 3px solid var(--lw-you);
  outline-offset: 3px;
}

.lw-field {
  display: grid;
  gap: 0.35rem;
}

.lw-field > span {
  font-size: 0.9rem;
  font-weight: 640;
}

.lw-field input,
.lw-field select,
.lw-field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid var(--lw-line);
  border-radius: 0.6rem;
  background: var(--lw-paper);
  font-size: 0.95rem;
}

.lw-field textarea {
  min-height: 6rem;
  resize: vertical;
}

.lw-range {
  display: grid;
  gap: 0.4rem;
}

.lw-range input[type="range"] {
  width: 100%;
  min-height: 2.75rem;
  accent-color: var(--lw-you);
}

.lw-range__out {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.lw-range__value {
  font-family: var(--lw-display);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-size: 1.5rem;
  font-weight: 560;
}

.lw-range__note {
  color: var(--lw-muted);
  font-size: 0.8rem;
  text-align: right;
}

/* the route itself */

.lw-route {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: lw-step;
}

.lw-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0 0.9rem;
  padding: 0 0 1.25rem;
}

.lw-step:last-child {
  padding-bottom: 0;
}

.lw-step__rail {
  position: relative;
  display: grid;
  justify-items: center;
}

.lw-step__num {
  width: 2.05rem;
  height: 2.05rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lw-paper-2);
  color: var(--lw-ink);
  font-size: 0.82rem;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}

.lw-step__line {
  width: 2px;
  flex: 1;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--lw-line);
}

.lw-step:last-child .lw-step__line {
  display: none;
}

.lw-step--you .lw-step__num {
  background: var(--lw-you);
  color: var(--lw-card);
}

.lw-step--firm .lw-step__num {
  background: var(--lw-firm);
  color: var(--lw-card);
}

.lw-step--outside .lw-step__num {
  background: var(--lw-outside);
  color: var(--lw-card);
}

.lw-step--public .lw-step__num {
  background: var(--lw-public);
  color: var(--lw-card);
}

.lw-step__body {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.1rem;
}

.lw-step__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
}

.lw-step__title {
  font-family: var(--lw-body);
  font-size: 0.99rem;
  font-weight: 660;
  letter-spacing: -0.004em;
  line-height: 1.35;
}

.lw-step__when {
  color: var(--lw-muted);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.lw-step__detail {
  color: var(--lw-ink-2);
  font-size: 0.89rem;
  line-height: 1.55;
}

.lw-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.12rem;
}

.lw-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.26rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 640;
}

.lw-tag::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.lw-tag--you {
  background: var(--lw-you-bg);
  color: var(--lw-you);
}

.lw-tag--firm {
  background: var(--lw-firm-bg);
  color: var(--lw-firm);
}

.lw-tag--outside {
  background: var(--lw-outside-bg);
  color: var(--lw-outside);
}

.lw-tag--public {
  background: var(--lw-public-bg);
  color: var(--lw-public);
}

.lw-tag--flat {
  background: var(--lw-paper-2);
  color: var(--lw-ink-2);
}

.lw-tag--flat::before {
  display: none;
}

.lw-step__need {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.55rem;
  background: var(--lw-you-bg);
  color: #5f1e28;
  font-size: 0.83rem;
  line-height: 1.5;
}

.lw-step__need svg {
  margin-top: 0.24rem;
  color: var(--lw-you);
}

/* the summary rail */

.lw-rail {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 6.5rem;
}

@media (max-width: 67.99rem) {
  .lw-rail {
    position: static;
  }
}

.lw-summary {
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem;
  border-radius: 1.05rem;
  background: var(--lw-ink);
  color: var(--lw-card);
  box-shadow: var(--lw-shadow);
}

.lw-summary h3 {
  color: var(--lw-card);
  font-size: 1.25rem;
}

.lw-summary__matter {
  color: rgba(251, 249, 244, 0.66);
  font-size: 0.82rem;
}

.lw-summary__figure {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(251, 249, 244, 0.16);
  border-bottom: 1px solid rgba(251, 249, 244, 0.16);
}

.lw-summary__figure dt {
  color: rgba(251, 249, 244, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lw-summary__figure dd {
  margin: 0;
  font-family: var(--lw-display);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 540;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.lw-summary__basis {
  color: rgba(251, 249, 244, 0.72);
  font-size: 0.82rem;
}

.lw-lines {
  display: grid;
  gap: 0.42rem;
  margin: 0;
}

.lw-lines > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.lw-lines dt {
  color: rgba(251, 249, 244, 0.72);
}

.lw-lines dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 620;
  text-align: right;
  white-space: nowrap;
}

.lw-lines .lw-lines__sub dt,
.lw-lines .lw-lines__sub dd {
  color: rgba(251, 249, 244, 0.55);
  font-size: 0.79rem;
  font-weight: 500;
}

.lw-lines__rule {
  padding-top: 0.42rem;
  border-top: 1px solid rgba(251, 249, 244, 0.16);
}

.lw-summary__note {
  color: rgba(251, 249, 244, 0.6);
  font-size: 0.76rem;
  line-height: 1.5;
}

.lw-summary__actions {
  display: grid;
  gap: 0.5rem;
}

/* the limitation clock */

.lw-clock {
  display: grid;
  gap: 0.7rem;
  padding: 1.1rem;
  border: 1px solid var(--lw-you);
  border-radius: 1.05rem;
  background: var(--lw-you-bg);
}

.lw-clock h3 {
  color: #5f1e28;
  font-size: 1.1rem;
}

.lw-clock__date {
  font-family: var(--lw-display);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  font-weight: 540;
  color: var(--lw-you);
  line-height: 1.1;
}

.lw-clock__days {
  color: #5f1e28;
  font-size: 0.86rem;
  font-weight: 620;
}

.lw-clock__bar {
  height: 0.4rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(124, 42, 55, 0.22);
}

.lw-clock__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lw-you);
  transition: width 320ms ease;
}

.lw-clock__note {
  color: #5f1e28;
  font-size: 0.77rem;
  line-height: 1.5;
}

.lw-saved {
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border: 1px dashed var(--lw-line);
  border-radius: 0.9rem;
  background: var(--lw-paper-2);
  font-size: 0.83rem;
  color: var(--lw-muted);
}

.lw-saved strong {
  color: var(--lw-ink);
}

.lw-saved__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ------------------------------------------------------------ where days go -- */

.lw-days {
  background: var(--lw-paper-2);
}

.lw-days__inner {
  max-width: 82rem;
  margin-inline: auto;
}

.lw-days__switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.6rem;
}

.lw-days__bar {
  display: flex;
  height: 3.4rem;
  overflow: hidden;
  margin-top: 1.2rem;
  border-radius: 0.7rem;
  border: 1px solid var(--lw-line);
  background: var(--lw-card);
}

.lw-days__seg {
  display: grid;
  place-items: center;
  min-width: 0;
  color: var(--lw-card);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: flex-grow 340ms ease;
}

.lw-days__seg--you {
  background: var(--lw-you);
}

.lw-days__seg--firm {
  background: var(--lw-firm);
}

.lw-days__seg--outside {
  background: var(--lw-outside);
}

.lw-days__seg--public {
  background: var(--lw-public);
}

.lw-days__seg--clock {
  background: var(--lw-clock);
}

.lw-days__legend {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  padding: 0;
  list-style: none;
}

.lw-days__legend li {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.75rem;
  background: var(--lw-card);
  border: 1px solid var(--lw-line-soft);
}

.lw-days__legend strong {
  font-size: 0.95rem;
}

.lw-days__legend span {
  color: var(--lw-muted);
  font-size: 0.82rem;
}

.lw-days__read {
  max-width: 60ch;
  margin-top: 1.3rem;
  color: var(--lw-ink-2);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------- fees -- */

.lw-fees__inner {
  max-width: 82rem;
  margin-inline: auto;
}

.lw-fees__banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.05rem;
  background: #241a12;
}

.lw-fees__banner img {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
  object-position: 20% 50%;
}

.lw-fees__banner-copy {
  position: relative;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  background: rgba(20, 14, 9, 0.86);
  color: var(--lw-card);
}

.lw-fees__banner-copy h2 {
  max-width: 18ch;
  margin-top: 0.5rem;
  color: var(--lw-card);
}

.lw-fees__banner-copy p:not(.lw-eyebrow) {
  max-width: 52ch;
  margin-top: 0.85rem;
  color: rgba(251, 249, 244, 0.82);
  font-size: 0.93rem;
}

@media (min-width: 56rem) {
  .lw-fees__banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: stretch;
  }

  .lw-fees__banner img {
    min-height: 20rem;
  }

  .lw-fees__banner-copy {
    display: grid;
    align-content: center;
    background: linear-gradient(90deg, rgba(20, 14, 9, 0.92) 0%, rgba(20, 14, 9, 0.97) 22%);
  }
}

.lw-fees__grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
}

.lw-fee {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.3rem;
  border: 1px solid var(--lw-line);
  border-radius: 1.05rem;
  background: var(--lw-card);
}

.lw-fee__kind {
  color: var(--lw-you);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lw-fee p {
  color: var(--lw-ink-2);
  font-size: 0.9rem;
}


.lw-fee ul {
  display: grid;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lw-fee li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--lw-line-soft);
  font-size: 0.88rem;
}

.lw-fee li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.lw-fee li b {
  font-variant-numeric: tabular-nums;
  font-weight: 660;
  white-space: nowrap;
}

/* the docket demonstrator */

.lw-docket {
  display: grid;
  gap: 1.1rem;
  margin-top: 1rem;
  padding: clamp(1.15rem, 2.6vw, 1.8rem);
  border-radius: 1.05rem;
  background: var(--lw-ink);
  color: var(--lw-card);
}

@media (min-width: 56rem) {
  .lw-docket {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.72fr);
    align-items: center;
  }
}

.lw-docket h3 {
  color: var(--lw-card);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1;
}

.lw-docket__copy p {
  max-width: 52ch;
  margin-top: 0.5rem;
  color: rgba(251, 249, 244, 0.74);
  font-size: 0.9rem;
}

.lw-docket__controls {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.lw-docket__controls .lw-quest > legend {
  color: rgba(251, 249, 244, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lw-docket .lw-opt {
  border-color: rgba(251, 249, 244, 0.26);
  background: transparent;
  color: var(--lw-card);
}

.lw-docket .lw-opt:has(input:checked) {
  border-color: var(--lw-you-lite);
  background: var(--lw-you-lite);
  color: #4d1620;
}

.lw-docket .lw-opt:hover {
  border-color: rgba(251, 249, 244, 0.55);
}

.lw-docket__out {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem;
  border-radius: 0.9rem;
  background: rgba(251, 249, 244, 0.07);
  border: 1px solid rgba(251, 249, 244, 0.16);
}

.lw-docket__amount {
  font-family: var(--lw-display);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-size: clamp(2.1rem, 4.5vw, 2.9rem);
  font-weight: 540;
  letter-spacing: -0.02em;
  line-height: 1;
}

.lw-docket__math {
  color: rgba(251, 249, 244, 0.72);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.lw-docket__fine {
  color: rgba(251, 249, 244, 0.55);
  font-size: 0.76rem;
  line-height: 1.5;
}

/* ------------------------------------------------------------------ areas -- */

.lw-areas {
  background: var(--lw-paper-2);
}

.lw-areas__inner {
  max-width: 82rem;
  margin-inline: auto;
}

.lw-areas__grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

@media (min-width: 58rem) {
  .lw-areas__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lw-area {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.3rem;
  border: 1px solid var(--lw-line);
  border-radius: 1.05rem;
  background: var(--lw-card);
}

.lw-area__icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 0.6rem;
  background: var(--lw-paper-2);
  color: var(--lw-you);
}

.lw-area__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.lw-area h3 {
  font-size: 1.15rem;
}

.lw-area p {
  color: var(--lw-ink-2);
  font-size: 0.89rem;
}

.lw-area ul {
  display: grid;
  gap: 0.3rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--lw-muted);
  font-size: 0.84rem;
}

.lw-area li {
  display: flex;
  align-items: start;
  gap: 0.45rem;
}

.lw-area li svg {
  width: 0.9rem;
  height: 0.9rem;
  margin-top: 0.33rem;
  color: var(--lw-firm);
}

.lw-area__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--lw-line-soft);
}

/* ----------------------------------------------------------------- people -- */

.lw-people__inner {
  max-width: 82rem;
  margin-inline: auto;
}

.lw-people__grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
}

@media (min-width: 58rem) {
  .lw-people__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lw-person {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.3rem;
  border: 1px solid var(--lw-line);
  border-radius: 1.05rem;
  background: var(--lw-card);
}

.lw-person__avatar {
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem 0.75rem 0.75rem 0.2rem;
  background: var(--lw-ink);
  color: var(--lw-card);
  font-family: var(--lw-display);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-size: 1.15rem;
  font-weight: 560;
}

.lw-person--clerk .lw-person__avatar {
  background: var(--lw-firm);
}

.lw-person--student .lw-person__avatar {
  background: var(--lw-outside);
}

.lw-person h3 {
  font-size: 1.18rem;
}

.lw-person__role {
  color: var(--lw-you);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lw-person p {
  color: var(--lw-ink-2);
  font-size: 0.89rem;
}

.lw-person dl {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--lw-line-soft);
  font-size: 0.83rem;
}

.lw-person dl > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 0.5rem;
}

.lw-person dt {
  color: var(--lw-muted);
}

.lw-person dd {
  margin: 0;
}

.lw-people__disclaimer {
  display: flex;
  align-items: start;
  gap: 0.65rem;
  max-width: 62rem;
  margin-top: 1.2rem;
  padding: 1rem 1.15rem;
  border-radius: 0.9rem;
  background: var(--lw-paper-2);
  color: var(--lw-ink-2);
  font-size: 0.86rem;
  line-height: 1.6;
}

.lw-people__disclaimer svg {
  margin-top: 0.3rem;
  flex: 0 0 auto;
  color: var(--lw-you);
}

/* ----------------------------------------------------------------- intake -- */

.lw-book {
  background:
    radial-gradient(110% 80% at 92% 0%, #22323f 0%, transparent 60%),
    var(--lw-ink);
  color: var(--lw-card);
}

.lw-book__inner {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  max-width: 82rem;
  margin-inline: auto;
}

@media (min-width: 64rem) {
  .lw-book__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

.lw-book h2 {
  max-width: 16ch;
  color: var(--lw-card);
}

.lw-book__copy p {
  max-width: 46ch;
  margin-top: 1rem;
  color: rgba(251, 249, 244, 0.76);
}

.lw-book__points {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.lw-book__points li {
  display: flex;
  align-items: start;
  gap: 0.6rem;
  color: rgba(251, 249, 244, 0.82);
  font-size: 0.9rem;
}

.lw-book__points svg {
  margin-top: 0.28rem;
  flex: 0 0 auto;
  color: var(--lw-firm-lite);
}

.lw-book__form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.15rem, 2.6vw, 1.75rem);
  border-radius: 1.05rem;
  background: var(--lw-card);
  color: var(--lw-ink);
  box-shadow: var(--lw-shadow-lg);
}

.lw-book__form h3 {
  font-size: 1.35rem;
}

.lw-slots {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
}

.lw-slot {
  position: relative;
  min-height: 3.6rem;
  display: grid;
  align-content: center;
  gap: 0.1rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--lw-line);
  border-radius: 0.7rem;
  background: var(--lw-paper);
  cursor: pointer;
  text-align: left;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.lw-slot input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.lw-slot__day {
  font-size: 0.78rem;
  color: var(--lw-muted);
}

.lw-slot__time {
  font-size: 0.98rem;
  font-weight: 660;
  font-variant-numeric: tabular-nums;
}

.lw-slot:hover {
  border-color: rgba(22, 33, 46, 0.36);
}

.lw-slot:has(input:checked) {
  border-color: var(--lw-ink);
  background: var(--lw-ink);
  color: var(--lw-card);
}

.lw-slot:has(input:checked) .lw-slot__day {
  color: rgba(251, 249, 244, 0.7);
}

.lw-slot:has(input:focus-visible) {
  outline: 3px solid var(--lw-you);
  outline-offset: 3px;
}

.lw-form-row {
  display: grid;
  gap: 0.8rem;
}

@media (min-width: 34rem) {
  .lw-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lw-warn {
  display: flex;
  align-items: start;
  gap: 0.6rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.7rem;
  background: var(--lw-you-bg);
  color: #5f1e28;
  font-size: 0.83rem;
  line-height: 1.55;
}

.lw-warn svg {
  margin-top: 0.28rem;
  flex: 0 0 auto;
  color: var(--lw-you);
}

.lw-book__done {
  display: grid;
  gap: 0.7rem;
  padding: 1.3rem;
  border-radius: 0.9rem;
  background: var(--lw-firm-bg);
  color: #17372c;
}

.lw-book__done h4 {
  color: var(--lw-firm);
  font-size: 1.3rem;
}

.lw-book__done dl {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  font-size: 0.87rem;
}

.lw-book__done dl > div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 0.5rem;
}

.lw-book__done dt {
  color: #2c5b46;
}

.lw-book__done dd {
  margin: 0;
  font-weight: 620;
}

/* ------------------------------------------------------------------ visit -- */

.lw-visit__inner {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  max-width: 82rem;
  margin-inline: auto;
}

@media (min-width: 60rem) {
  .lw-visit__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }
}

.lw-visit__media {
  overflow: hidden;
  border-radius: 1.05rem;
  border: 1px solid var(--lw-line);
  background: var(--lw-paper-2);
}

.lw-visit__media img {
  width: 100%;
  height: auto;
}

.lw-visit__cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.lw-card {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1.2rem;
  border: 1px solid var(--lw-line);
  border-radius: 1.05rem;
  background: var(--lw-card);
}

.lw-card h3 {
  font-size: 1.1rem;
}

.lw-card p,
.lw-card li {
  color: var(--lw-ink-2);
  font-size: 0.88rem;
}

.lw-card ul {
  display: grid;
  gap: 0.3rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lw-card__line {
  display: flex;
  align-items: start;
  gap: 0.55rem;
}

.lw-card__line svg {
  margin-top: 0.28rem;
  color: var(--lw-you);
}

.lw-card__line a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.lw-hours th,
.lw-hours td {
  padding: 0.34rem 0;
  border-bottom: 1px solid var(--lw-line-soft);
  font-size: 0.88rem;
  text-align: left;
  font-weight: 500;
}

.lw-hours td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.lw-hours tr:last-child th,
.lw-hours tr:last-child td {
  border-bottom: 0;
}

.lw-hours tr.is-today th,
.lw-hours tr.is-today td {
  color: var(--lw-you);
  font-weight: 700;
}

.lw-openstate {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: 1.2rem;
  border-radius: 1.05rem;
  background: var(--lw-ink);
  color: var(--lw-card);
}

.lw-openstate__state {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--lw-display);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  font-size: 1.6rem;
  font-weight: 540;
}

.lw-openstate p:not(.lw-openstate__state) {
  color: rgba(251, 249, 244, 0.7);
  font-size: 0.85rem;
}

/* ----------------------------------------------------------------- footer -- */

.lw-footer {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  padding: clamp(2.6rem, 5vw, 4rem) var(--lw-pad) clamp(2rem, 4vw, 3rem);
  background: var(--lw-ink);
  color: rgba(251, 249, 244, 0.76);
  font-size: 0.86rem;
}

@media (min-width: 58rem) {
  .lw-footer {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.lw-footer .lw-brand__mark {
  background: var(--lw-card);
  color: var(--lw-ink);
}

.lw-footer .lw-brand__text strong {
  color: var(--lw-card);
}

.lw-footer .lw-brand__text small {
  color: rgba(251, 249, 244, 0.6);
}

.lw-footer__brand p {
  max-width: 30ch;
  margin-top: 1rem;
}

.lw-footer__meta {
  display: grid;
  gap: 1rem;
}

.lw-notice {
  display: grid;
  gap: 0.6rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(251, 249, 244, 0.2);
  border-radius: 0.9rem;
  background: rgba(251, 249, 244, 0.05);
}

.lw-notice h2 {
  color: var(--lw-card);
  font-size: 1.05rem;
  font-family: var(--lw-body);
  font-weight: 700;
  letter-spacing: 0;
}

.lw-notice p {
  color: rgba(251, 249, 244, 0.72);
  font-size: 0.82rem;
  line-height: 1.6;
}

.lw-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.3rem;
}

.lw-footer__links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--lw-card);
  font-weight: 620;
}

.lw-footer__credit {
  color: rgba(251, 249, 244, 0.5);
  font-size: 0.78rem;
}

/* ------------------------------------------------------------------ toast -- */

.lw-toast {
  position: fixed;
  bottom: 1.1rem;
  left: 50%;
  z-index: 200;
  width: min(calc(100% - 2rem), 26rem);
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  background: var(--lw-ink);
  color: var(--lw-card);
  box-shadow: var(--lw-shadow-lg);
  font-size: 0.87rem;
  text-align: center;
  transform: translateX(-50%);
}

.lw-noscript {
  margin: 1.5rem var(--lw-pad);
  padding: 1rem 1.2rem;
  border: 1px solid var(--lw-line);
  border-radius: 0.8rem;
  background: var(--lw-card);
  font-size: 0.9rem;
}

/* ------------------------------------------------------------- responsive -- */

@media (max-width: 36rem) {
  .lw-step {
    grid-template-columns: 2.1rem minmax(0, 1fr);
    gap: 0 0.7rem;
  }

  .lw-step__num {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.76rem;
  }

  .lw-person dl > div,
  .lw-book__done dl > div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lw-days__seg {
    font-size: 0.7rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
