@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #2c2a26;
  --lime: #6f8f6a;
  --mark: #5d7a59;
  --slate: #6b6560;
  --muted: #6b6560;
  --line: rgba(44, 42, 38, 0.1);
  --paper: #f3eee6;
  --tile: #fffcf8;
  --ink: #2c2a26;
  --warn-ink: #6b4a12;
  --warn-paper: #f4ead4;
  --radius: 18px;
  --nav-h: 64px;
  --top-h: 58px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --touch: 48px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; color: var(--ink); }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  line-height: 1.4;
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}
body:not(.page-legal) {
  height: 100dvh;
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

::selection { background: var(--lime); color: var(--navy); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { left: 12px; top: var(--safe-t); }

.kiosk {
  min-height: 100dvh;
  max-width: 430px;
  margin: 0 auto;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
body:not(.page-legal) .kiosk {
  height: 100dvh;
  max-height: 100dvh;
}
.page-legal .kiosk { box-shadow: none; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  height: calc(var(--top-h) + var(--safe-t));
  padding: var(--safe-t) 16px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.top-inner {
  height: var(--top-h);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--navy);
}
.brand img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.brand span { min-width: 0; }
.brand b {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.brand em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--slate);
  letter-spacing: 0.02em;
}
.top-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--tile);
  color: var(--navy);
  font: 700 12px / 1 "Source Sans 3", sans-serif;
  padding: 8px 14px;
  min-height: 36px;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(44, 42, 38, 0.08);
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}
.top-btn:hover { background: #fff; }

.formline {
  margin: 0;
  padding: 10px 16px 0;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--slate);
  text-transform: none;
}

.notice {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: var(--warn-paper);
  color: var(--warn-ink);
  border-left: 4px solid #c48a0c;
  font-size: 0.8rem;
  line-height: 1.35;
}
.notice p { margin: 0; }
.notice a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.moment {
  margin: 0 0 16px;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: 2px;
}
.moment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.letters {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.letter {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  min-height: 0;
  height: 100%;
  background: var(--tile);
  text-decoration: none;
  color: var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(44, 42, 38, 0.06);
  overflow: hidden;
}
.letter i { display: block; height: 100%; }
.letter.clay i { background: #c47a5a; }
.letter.gulf i { background: #6a9a94; }
.letter.pine i { background: #6d8a68; }
.letter span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px 10px 14px;
  min-width: 0;
}
.letter strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.letter em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 2px;
}
.letter b {
  font-size: 0.95rem;
  font-weight: 800;
  margin-top: 2px;
}
.letter u {
  margin-right: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--lime);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.stamp {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.letter-page.clay .stamp { color: #c47a5a; }
.letter-page.gulf .stamp { color: #6a9a94; }
.letter-page.pine .stamp { color: #6d8a68; }

.now, .later {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.later { display: none; }
.panel.paying .now { display: none; }
.panel.paying .later { display: flex; }
.later .path { flex: 1; margin: 0; min-height: 0; }
.choice {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 100%;
  margin: 0;
  padding: 16px 18px;
  background: var(--tile);
  text-decoration: none;
  color: var(--navy);
  border-left: 8px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(44, 42, 38, 0.06);
}
.choice strong { display: block; font-size: 1.12rem; font-weight: 800; letter-spacing: -0.03em; }
.choice span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.88rem; }
.letter-page.clay .choice.first { border-left-color: #c47a5a; }
.letter-page.gulf .choice.first { border-left-color: #6a9a94; }
.letter-page.pine .choice.first { border-left-color: #6d8a68; }
.choice.back { border-left-color: var(--navy); }

.whisper {
  margin: 14px 0 8px;
  font-size: 0.8rem;
  color: var(--slate);
}
.path.pay {
  border-width: 2px;
}

.main {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 12px 16px 12px;
  display: flex;
  flex-direction: column;
}
.panel[data-panel="how"].active,
.panel[data-panel="rules"].active,
.panel[data-panel="business"].active,
.panel[data-panel="help"].active,
.panel[data-panel="home"].active,
.panel[data-panel="cherokee"].active,
.panel[data-panel="alachua"].active,
.panel[data-panel="secorrections"].active {
  overflow: auto;
}
.panel.paying .notice { display: none; }
.page-legal .main { padding-bottom: 40px; }

.panel { display: none; }
.panel.active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.panel.active[aria-hidden="false"] { animation: panel-in 0.22s var(--ease); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .panel.active { animation: none; }
}

.panel h1 {
  margin: 4px 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.lead {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 36ch;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 2px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pos {
  flex: 1;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
}
.pos-key {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 76px;
  margin: 0 0 10px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  border: 0;
  border-radius: var(--radius);
  background: var(--tile);
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(44, 42, 38, 0.06);
}
.pos .pos-key {
  height: 100%;
  min-height: 0;
  margin: 0;
}
.pos-key em {
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.pos-key strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 2px;
}
.pos-key span span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 550;
}
.pos-key.primary {
  background: var(--lime);
  border-color: var(--navy);
}
.pos-key.primary span span { color: var(--navy); opacity: 0.72; }
.pos-key:hover, .pos-key:focus-visible { filter: brightness(1.03); }

.path {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: var(--tile);
  border: 0;
  border-radius: var(--radius);
  padding: 12px 14px 12px 16px;
  margin: 0 0 8px;
  min-height: 56px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(44, 42, 38, 0.05);
}
.path svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
  flex-shrink: 0;
  transition: transform 0.18s var(--ease);
}
.path:hover, .path:focus-visible { background: #fff; filter: brightness(0.99); }
.path.mute { cursor: default; box-shadow: none; }
.path.mute:hover { filter: none; }
.path strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 2px;
}
.path span span, .path > span > span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.office { margin: 0 0 10px; }
.office .path { margin: 0; }
.office[open] .path { background: rgba(255, 255, 255, 0.35); }
.office[open] .path svg { transform: rotate(90deg); }
.office-body {
  display: none;
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--navy);
}
.office[open] .office-body { display: block; }
.place {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.map {
  width: 100%;
  height: 9.5rem;
  border: 1px solid var(--navy);
  background: var(--paper);
}
.pin-note {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.actions {
  display: grid;
  gap: 8px;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--touch);
  padding: 12px 16px;
  background: var(--lime);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.35); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 4px 0 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.steps {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border-top: 1px solid var(--navy);
}
.steps li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--navy); }
.steps b {
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
}
.steps strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  margin: 0 0 2px;
}
.steps span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.step-photo {
  margin: 8px 0 0;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border: 1px solid var(--navy);
}
.step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reveal {
  margin: -4px 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--navy);
  color: var(--muted);
  font-size: 0.9rem;
}
.reveal p { margin: 0 0 8px; }
.reveal p:last-child { margin: 0; }
.reveal strong { color: var(--navy); }
#lab-id-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }

.note {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--slate);
}
.note a { font-weight: 700; }

.panel .btn + .help-list { margin-top: 12px; }
.help-list {
  display: grid;
  gap: 0;
  margin: 0 0 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--tile);
  box-shadow: 0 8px 20px rgba(44, 42, 38, 0.05);
}
.help-list a,
.help-list .row {
  display: block;
  width: 100%;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  min-height: 56px;
  text-align: left;
  cursor: pointer;
  background: transparent;
}
.help-list a:last-child,
.help-list .row:last-child { border-bottom: 0; }
.help-list a:hover,
.help-list .row:hover { background: rgba(255, 255, 255, 0.35); }
.help-list strong { display: block; font-size: 0.95rem; font-weight: 800; }
.help-list span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2px;
  font-weight: 500;
}

.faq { margin-top: 8px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-weight: 700;
  font-size: 1rem;
  min-height: var(--touch);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .mark { width: 14px; height: 14px; flex-shrink: 0; color: var(--slate); }
.faq details[open] summary .plus { display: none; }
.faq details:not([open]) summary .minus { display: none; }
.answer {
  padding: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 42ch;
}

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 12px 0 0;
  font-size: 0.85rem;
  font-weight: 700;
}
.mini-nav a { text-decoration: none; }
.mini-nav a:hover { color: var(--mark); }

.quiet-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.legal { padding: 0.5rem 0 2rem; }
.legal h1 {
  margin: 0.3rem 0 0.9rem;
  font-size: clamp(1.45rem, 6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.legal h2 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
}
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--navy); font-weight: 700; }
.banner {
  margin: 0;
  padding: 8px 16px 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.bot {
  position: relative;
  z-index: 30;
  flex-shrink: 0;
  width: 100%;
  height: calc(var(--nav-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.bot-inner {
  height: var(--nav-h);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.tab {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--slate);
  font: 700 11px / 1.1 "Source Sans 3", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: var(--nav-h);
  padding: 6px 4px;
}
.tab svg { width: 22px; height: 22px; }
.tab[aria-current="page"] { color: var(--navy); }
.tab[aria-current="page"] svg { color: var(--mark); }
.tab .pip { width: 12px; height: 3px; }
.tab[aria-current="page"] .pip {
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--lime);
  margin-top: 1px;
}

.dialog-back {
  position: fixed;
  inset: 0;
  background: rgba(18, 28, 59, 0.45);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease);
}
.dialog-back.open { opacity: 1; pointer-events: auto; }
.dialog {
  position: fixed;
  z-index: 61;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-height: min(92dvh, 40rem);
  overflow: auto;
  background-image: url("/paper.jpg");
  background-size: 720px;
  background-color: var(--paper);
  padding: 1.1rem 1.1rem calc(1.2rem + var(--safe-b));
  border-top: 2px solid var(--navy);
  opacity: 0;
  pointer-events: none;
  transform: translateY(1.2rem);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.dialog.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
@media (min-width: 640px) {
  .dialog {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: min(28rem, calc(100% - 1.6rem));
    transform: translate(-50%, -44%);
    border: 2px solid var(--navy);
    max-height: 90vh;
  }
  .dialog.open { transform: translate(-50%, -50%); }
}
.dialog h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.dialog p { margin: 0 0 0.7rem; color: var(--muted); }
.dialog .warn {
  background: var(--warn-paper);
  color: var(--warn-ink);
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
  border: 1px solid var(--navy);
}
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dialog-actions .btn { width: 100%; min-width: 0; }

.chat-log {
  min-height: 8rem;
  max-height: 14rem;
  overflow: auto;
  display: grid;
  align-items: start;
  align-content: start;
  gap: 0.45rem;
  margin: 0.6rem 0 0.8rem;
  padding: 8px;
  border: 1px solid var(--navy);
  background: rgba(255, 255, 255, 0.35);
}
.bubble {
  max-width: 92%;
  padding: 0.45rem 0.6rem;
  font-size: 0.92rem;
  border: 1px solid var(--line);
  align-self: start;
}
.bubble.bot { background: rgba(255, 255, 255, 0.45); }
.bubble.user {
  justify-self: end;
  background: var(--navy);
  color: #f5f6f8;
  border-color: var(--navy);
}
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem; }
.chat-form input, .field input {
  min-height: var(--touch);
  padding: 0 0.7rem;
  width: 100%;
  border: 1px solid var(--navy);
  background: rgba(255, 255, 255, 0.55);
}
.field { display: grid; gap: 0.28rem; margin: 0 0 0.7rem; font-size: 0.88rem; font-weight: 700; }
.consent {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}
.consent input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--lime);
}
.sms-status {
  margin: 0 0 0.8rem;
  padding: 0.5rem 0.6rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--navy);
  font-size: 0.9rem;
  font-weight: 550;
}
.sms-status[data-kind="error"] {
  background: var(--warn-paper);
  color: var(--warn-ink);
}
.chat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  .path svg, .dialog, .dialog-back { transition: none; }
}
