/* Florida Home Law - sand, palm green and coral. Lora headings, Source Sans 3 body. */
:root {
  --sand: #f6efe2;
  --sand-2: #ede2cc;
  --paper: #fffdf8;
  --ink: #1f2a27;
  --muted: #4f5d58;
  --palm: #1d5c4d;
  --palm-deep: #113a31;
  --sea: #2f8f7a;
  --foam: #dcefe7;
  --coral: #ef7a5f;
  --coral-ink: #b8442b;
  --coral-soft: #fbe3db;
  --line: #dccfb5;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(17, 58, 49, .06), 0 8px 24px rgba(17, 58, 49, .08);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 1.075rem/1.65 var(--sans); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--palm); text-underline-offset: .18em; }
a:hover { color: var(--coral-ink); }
:focus-visible { outline: 3px solid var(--coral-ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--palm-deep); line-height: 1.22; margin: 0 0 .55em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
h3 { font-size: 1.2rem; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .35em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--palm-deep); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.kicker { font: 700 .8rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: .6em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; font: 700 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-coral { background: var(--coral-ink); color: #fff; }
.btn-coral:hover { background: #9e3822; color: #fff; }
.btn-palm { background: var(--palm); color: #fff; }
.btn-palm:hover { background: var(--palm-deep); color: #fff; }
.btn-line { border-color: var(--palm); color: var(--palm); background: transparent; }
.btn-line:hover { background: var(--palm); color: #fff; }
.btn-line-light { border-color: #f6efe2; color: #fff; }
.btn-line-light:hover { background: #f6efe2; color: var(--palm-deep); }
.btn-wide { width: 100%; }

/* Masthead */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.masthead-row { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--palm-deep); margin-right: auto; }
.brand .mark { width: 42px; height: 42px; flex: none; }
.brand b { display: block; font: 700 1.2rem/1.1 var(--serif); }
.brand small { display: block; font-size: .8rem; color: var(--muted); }
.site-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.site-nav a { padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover { background: var(--foam); color: var(--palm-deep); }
.site-nav a[aria-current="page"] { background: var(--foam); color: var(--palm-deep); box-shadow: inset 0 -3px 0 var(--coral); }
.phone-pill { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; background: var(--coral-soft); color: var(--coral-ink); font-weight: 700; padding: 6px 14px; border-radius: 14px; line-height: 1.2; white-space: nowrap; }
.phone-pill span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--sand); border-radius: 12px; font: 700 .95rem var(--sans); color: var(--palm-deep); cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .phone-pill { display: none; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; flex-direction: column; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; font-size: 1.05rem; }
  .masthead-row { position: relative; }
}
@media (max-width: 420px) { .brand small { display: none; } }

/* Home hero */
.hero { padding: 56px 0 40px; background: radial-gradient(1200px 400px at 85% -10%, var(--foam), transparent 70%), var(--sand); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; }
.hero-art { background: var(--paper); border-radius: 28px; padding: 18px; box-shadow: var(--shadow); }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.trust-row li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sea); margin-right: 8px; vertical-align: middle; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 460px; } }

/* Sections */
.band { padding: 56px 0; }
.band-paper { background: var(--paper); border-block: 1px solid var(--line); }
.band-foam { background: var(--foam); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }

/* Topic hub cards */
.hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.tile:hover { transform: translateY(-3px); border-color: var(--sea); }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--foam); display: grid; place-items: center; margin-bottom: 14px; }
.tile .ico svg { width: 26px; height: 26px; }
.tile h3 { margin-bottom: .35em; }
.tile h3 a { color: var(--palm-deep); text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.tile p { color: var(--muted); font-size: .98rem; margin-bottom: .8em; }
.tile .tag { margin-top: auto; font-size: .82rem; font-weight: 700; color: var(--coral-ink); }
.tile-feature { background: var(--palm); border-color: var(--palm); }
.tile-feature h3 a, .tile-feature p { color: #fff; }
.tile-feature .tag { color: #ffd2c4; }
.tile-feature .ico { background: rgba(255,255,255,.14); }

/* Know-your-rights accordion */
.rights { counter-reset: r; display: grid; gap: 10px; }
.right { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.right summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 24px; gap: 12px; align-items: center; padding: 16px 18px; font: 600 1.08rem/1.35 var(--serif); color: var(--palm-deep); }
.right summary::-webkit-details-marker { display: none; }
.right summary::before { counter-increment: r; content: counter(r); width: 36px; height: 36px; border-radius: 50%; background: var(--coral-soft); color: var(--coral-ink); display: grid; place-items: center; font: 700 1rem var(--sans); }
.right summary::after { content: "+"; font: 700 1.5rem/1 var(--sans); color: var(--sea); text-align: center; }
.right[open] summary::after { content: "\2212"; }
.right[open] { border-color: var(--sea); }
.right .right-body { padding: 0 18px 16px 70px; color: var(--ink); }
.right .cite { font-size: .85rem; color: var(--muted); }
@media (max-width: 560px) { .right .right-body { padding-left: 18px; } }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline li { position: relative; padding: 34px 14px 0 0; margin: 0; }
.timeline li::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 3px; background: var(--sea); opacity: .45; }
.timeline li::after { content: ""; position: absolute; top: 2px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 4px solid var(--coral); }
.timeline .when { display: block; font: 700 1.25rem/1.2 var(--serif); color: var(--palm-deep); }
.timeline .what { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; }
.timeline .who { display: inline-block; margin-top: 8px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--coral-ink); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding: 0 0 22px 34px; }
  .timeline li::before { top: 0; bottom: 0; left: 7px; right: auto; width: 3px; height: auto; }
  .timeline li::after { top: 4px; }
}

/* Deadline tool */
.tool { background: var(--paper); border: 2px dashed var(--sea); border-radius: var(--radius); padding: 22px; }
.tool-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.tool label { font-weight: 700; display: block; margin-bottom: 4px; }
.tool input[type=date] { min-height: 48px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.tool-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 16px; }
.tool-out div { background: var(--sand); border-radius: 12px; padding: 12px 14px; }
.tool-out b { display: block; font: 700 1.15rem var(--serif); color: var(--palm-deep); }
.tool-out span { font-size: .9rem; color: var(--muted); }
.tool-note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }

/* Change table */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--palm); color: #fff; font-weight: 700; }
tbody tr:nth-child(even) { background: #fbf6ec; }
tbody tr:last-child td { border-bottom: 0; }

/* Two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: .7em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 6px; background: var(--coral-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23b8442b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }

/* Guide pages */
.guide-top { padding: 40px 0 28px; background: linear-gradient(180deg, var(--foam), var(--sand)); }
.trail { font-size: .92rem; color: var(--muted); margin-bottom: 12px; }
.trail a { color: var(--muted); }
.guide-top .lede { font-size: 1.18rem; color: var(--muted); max-width: 68ch; }
.reviewed { display: inline-block; font-size: .88rem; color: var(--palm-deep); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding: 36px 0 56px; }
.guide article > h2 { margin-top: 1.6em; padding-top: .2em; }
.guide article > h2:first-child { margin-top: 0; }
.guide article h3 { margin-top: 1.3em; }
.guide aside { position: relative; }
.toc { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.toc p { font: 700 .8rem var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--coral-ink); margin-bottom: 8px; }
.toc ol { padding-left: 1.2em; margin: 0 0 14px; font-size: .95rem; }
.toc .btn { width: 100%; }
@media (max-width: 960px) { .guide { grid-template-columns: 1fr; } .toc { position: static; } }
.note { border-left: 5px solid var(--coral); background: var(--paper); padding: 14px 18px; border-radius: 0 14px 14px 0; margin: 1.2em 0; }
.note-palm { border-left-color: var(--sea); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 18px 54px; margin: 0; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 12px; background: var(--palm); color: #fff; display: grid; place-items: center; font: 700 1.05rem var(--serif); }
.steps > li::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps > li > strong:first-child { display: block; font-family: var(--serif); color: var(--palm-deep); font-size: 1.08rem; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.related a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; font-weight: 600; }
.related a:hover { border-color: var(--sea); }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 10px; }
.qa { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.qa summary { cursor: pointer; padding: 15px 0; font-weight: 700; color: var(--palm-deep); }
.qa[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.qa-a { padding-bottom: 6px; }

/* Help strip */
.help-strip { background: var(--palm-deep); color: #e9f3ef; padding: 44px 0; }
.help-strip h2 { color: #fff; }
.help-strip .kicker { color: #ffb8a5; }
.help-strip-row { display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
.help-strip-actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 860px) { .help-strip-row { grid-template-columns: 1fr; } .help-strip-actions { flex-direction: row; flex-wrap: wrap; } }

/* Intake form */
.intake { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.intake-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fld { margin: 0 0 14px; }
.fld.wide { grid-column: 1 / -1; }
.fld label { display: block; font-weight: 700; margin-bottom: 5px; font-size: .95rem; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #b9ab8e; border-radius: 12px; font: inherit; background: #fff; color: var(--ink); }
.fld textarea { min-height: 110px; resize: vertical; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--palm); }
.consent label { font-weight: 400; font-size: .9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.intake-note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.intake-out:not(:empty) { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--foam); }
.intake-out.err { background: var(--coral-soft); color: #7a2a18; }
@media (max-width: 640px) { .intake-grid { grid-template-columns: 1fr; } }

/* Site map */
.map-group ul { columns: 2 260px; padding-left: 1.2em; }

/* Footer */
.foot { background: #0c2c25; color: #cfe1da; padding: 48px 0 110px; font-size: .95rem; }
.foot a { color: #fff; }
.foot a:hover { color: #ffb8a5; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.foot-col > a { display: block; margin-bottom: 7px; }
.foot-brand { font: 700 1.3rem var(--serif); color: #fff; }
.foot-h { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: #ffb8a5; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 20px; font-size: .86rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (min-width: 861px) { .foot { padding-bottom: 48px; } }

/* Mobile dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(17,58,49,.12); }
.dock a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 14px; font-weight: 700; text-decoration: none; }
.dock-call { background: var(--palm); color: #fff; }
.dock-form { background: var(--coral-ink); color: #fff; }
.dock a:hover { color: #fff; }
@media (min-width: 861px) { .dock { display: none; } }

/* 404 */
.lost { text-align: center; padding: 70px 0; }
.lost .hub { text-align: left; margin-top: 28px; }
.small { font-size: .9rem; color: var(--muted); }
