/* SWFL Business Solutions. Palette from the mangrove coast: deep mangrove ink, sea-glass shallows, a channel-blue
   for actions, and one brick red used only for "before" (the mess) in the hero ledger. Type: Archivo throughout,
   expanded for headings, normal width for reading, tabular figures where things line up. */
:root {
  --ink: #16302b;
  --mangrove: #2f5d50;
  --seaglass: #d7eae4;
  --shallows: #eaf4f1;
  --paper: #f8fbfa;
  --channel: #1e5a8c;
  --channel-dark: #154468;
  --mess: #a6402d;
  --rule: #bfd6cf;
  --muted: #4f6b64;
  --foil: #c8a443;
  --wrap: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
}
img, svg { display: block; }
a { color: var(--channel); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--channel); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; }

h1, h2, h3 { font-variation-settings: "wdth" 118; line-height: 1.12; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.45rem); font-weight: 780; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 740; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; max-width: 38rem; }

.btn {
  display: inline-block; background: var(--channel); color: #fff; text-decoration: none; font-weight: 650;
  padding: .8rem 1.35rem; border-radius: 6px; border: 0; font: inherit; font-weight: 650; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--channel-dark); }
.btn.small { padding: .45rem .9rem; font-size: .95rem; }
.link { color: var(--ink); font-weight: 600; text-underline-offset: .25em; }

/* header */
header.site { border-bottom: 1px solid var(--rule); background: var(--paper); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; flex-wrap: wrap; }
.mark { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 760; font-variation-settings: "wdth" 112; font-size: 1.12rem; }
.mark-icon { width: 34px; height: 34px; }
.mark-icon path { fill: none; stroke: var(--mangrove); stroke-width: 2.4; stroke-linecap: round; }
.mark-icon circle { fill: var(--channel); }
nav { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .98rem; }
nav a:not(.btn):hover { color: var(--channel); text-decoration: underline; text-underline-offset: .3em; }

/* hero */
.hero { padding: 4.5rem 0 4rem; background: linear-gradient(var(--shallows), var(--paper)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.lede { font-size: 1.2rem; color: var(--muted); margin-top: 1.25rem; }
.cta-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.75rem; }

/* the ledger: the one memorable thing */
.ledger {
  margin: 0; background: #fff; border: 1px solid var(--rule); border-top: 5px double var(--mangrove);
  padding: 1rem 1.25rem .5rem; box-shadow: 0 18px 40px -28px rgba(22, 48, 43, .45);
}
.ledger figcaption { font-weight: 700; font-size: .95rem; color: var(--mangrove); padding-bottom: .6rem; border-bottom: 1px solid var(--rule); }
.rows { list-style: none; margin: 0; padding: 0; counter-reset: row; }
.rows li {
  display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); column-gap: .5rem;
  padding: .55rem 0; border-bottom: 1px solid var(--seaglass); font-variant-numeric: tabular-nums;
}
.rows li::before { content: ""; grid-row: 1 / span 2; width: 1.05rem; height: 1.05rem; margin-top: .3rem; border: 1.5px solid var(--rule); border-radius: 50%; transition: background-color .3s, border-color .3s; }
.rows .before, .rows .after { grid-column: 2; }
.rows .before {
  color: var(--mess); font-size: .98rem;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 0 1.5px;
  transition: background-size .45s ease, color .45s ease, opacity .45s ease;
  justify-self: start;
}
.rows .after { color: var(--ink); font-weight: 620; opacity: 0; transform: translateY(4px); transition: opacity .45s ease .25s, transform .45s ease .25s; }
.ledger.play .rows li.fixed .before, .ledger.done .rows .before { background-size: 100% 1.5px; opacity: .72; }
.ledger.play .rows li.fixed .after, .ledger.done .rows .after { opacity: 1; transform: none; }
.ledger.play .rows li.fixed::before, .ledger.done .rows li::before {
  background: var(--mangrove) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 90% no-repeat;
  border-color: var(--mangrove);
}
/* without JavaScript the page still reads as before-and-after */
.ledger:not(.play):not(.done) .rows .after { opacity: 1; transform: none; }
.ledger:not(.play):not(.done) .rows .before { background-size: 100% 1.5px; opacity: .72; }

/* the two front doors */
.doors { padding: 4.5rem 0 3.5rem; }
.doors-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.door { border-top: 4px solid var(--mangrove); padding-top: 1.5rem; }
#ai.door { border-top-color: var(--channel); }
.door .for { color: var(--muted); margin-top: .75rem; }
.ticks { list-style: none; padding: 0; margin: 1.25rem 0; }
.ticks li { position: relative; padding: .35rem 0 .35rem 1.7rem; border-bottom: 1px solid var(--seaglass); }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .95rem; width: .75rem; height: .4rem; border-left: 2px solid var(--mangrove); border-bottom: 2px solid var(--mangrove); transform: rotate(-45deg); }
#ai .ticks li::before { border-color: var(--channel); }
.price { font-size: 1.15rem; margin-top: 1rem; }
.price strong { font-variation-settings: "wdth" 118; font-size: 1.6rem; font-weight: 780; }
.price-list { margin: 1.25rem 0 0; max-width: 30rem; }
.price-list div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--seaglass); }
.price-list dt { font-weight: 700; grid-column: 1; }
.price-list dd { margin: 0; }
.price-list .what { grid-column: 1; color: var(--muted); font-size: .98rem; }
.price-list .amt { grid-column: 2; grid-row: 1 / span 2; font-variation-settings: "wdth" 118; font-size: 1.6rem; font-weight: 780; font-variant-numeric: tabular-nums; }
.price-note { color: var(--muted); margin-top: .9rem; }

/* also */
.also { padding: 3rem 0; background: var(--shallows); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.also-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2.5rem; margin: 1.5rem 0 0; }
.also-list dt { font-weight: 700; }
.also-list dd { margin: .2rem 0 0; color: var(--muted); }

/* how it works: a real sequence, so it is numbered */
.how { padding: 4rem 0; }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-left: 2px solid var(--rule); padding-left: 1rem; }
.steps li::before { content: counter(step); display: block; font-variation-settings: "wdth" 125; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--mangrove); margin-bottom: .6rem; }
.steps p { color: var(--muted); margin-top: .5rem; }

/* support plans */
.support { padding: 4rem 0; background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-lede { color: var(--muted); margin-top: .75rem; }
.rates { max-width: 44rem; margin-top: 1.5rem; }
.rates .amt { text-align: right; }
.rates .per { font-size: 1rem; font-weight: 600; font-variation-settings: "wdth" 100; color: var(--muted); }
.rates .ask { font-size: 1.05rem; font-weight: 700; font-variation-settings: "wdth" 100; color: var(--channel); }
.note { margin-top: 1rem; color: var(--muted); }

/* proof: pictures of our own systems, recreated with sample data */
.proof { padding: 4rem 0; }
.proof-head { max-width: 44rem; }
.proof-head p { color: var(--muted); margin-top: .75rem; }
.shots { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2.5rem; }
.shots figure { margin: 0; }
.shots a { display: block; border-radius: 6px; }
.shots img { width: 100%; height: auto; background: #fff; border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 18px 40px -28px rgba(22, 48, 43, .45); transition: border-color .2s; }
.shots a:hover img { border-color: var(--channel); }
.shots figcaption { margin-top: 1rem; }
.shots figcaption p { color: var(--muted); margin: .45rem 0 .4rem; }
.sample { display: inline-block; font-size: .78rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--rule); border-radius: 3px; padding: 0 .4rem; }
.also-built { margin-top: 3rem; max-width: 44rem; }
.also-built h3 { padding-bottom: .4rem; }
.built { list-style: none; padding: 0; margin: 0; }
.built li { padding: .8rem 0 .8rem 1.4rem; border-bottom: 1px solid var(--rule); position: relative; }
.built li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--channel); }

/* about */
.about { padding: 4rem 0; background: var(--ink); color: #e9f2ef; }
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; }
.about h2 { color: #fff; }

/* contact */
.contact { padding: 4.5rem 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.contact-grid p { color: var(--muted); margin-top: .75rem; }
.direct { line-height: 1.9; }
.form { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--channel); padding: 1.5rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .98rem; }
.form input:not([type="checkbox"]), .form textarea { font: inherit; font-weight: 400; padding: .65rem .75rem; border: 1px solid #9fbdb4; border-radius: 6px; background: var(--paper); color: var(--ink); width: 100%; }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.form legend { font-weight: 600; font-size: .98rem; margin-bottom: .35rem; width: 100%; }
.form .check { display: flex; align-items: center; gap: .45rem; font-weight: 450; }
.form .check input { width: 1.15rem; height: 1.15rem; accent-color: var(--channel); }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .9rem; }

/* footer */
.site-foot { background: var(--ink); color: #b9d3cb; padding: 2rem 0 0; }
.foot p { margin: 0 0 1rem; font-size: .95rem; }
.foot-name { color: var(--foil); font-weight: 700; font-variation-settings: "wdth" 112; }
.foot-contact { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.foot-contact a { color: #e9f2ef; text-underline-offset: .2em; }
.foot-contact a:focus-visible { outline-color: var(--seaglass); }
.contour { width: 100%; height: 60px; }
.contour path { fill: none; stroke: #2f5d50; stroke-width: 1.5; }

/* phones and small tablets */
@media (max-width: 880px) {
  .hero { padding: 3rem 0; }
  .hero-grid, .doors-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .shots { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav { gap: .75rem 1rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .also-list, .steps { grid-template-columns: 1fr; }
  nav a:not(.btn) { font-size: .92rem; }
  .bar { padding-top: .6rem; padding-bottom: .6rem; }
  nav a:not(.btn) { display: none; }
  .bar { flex-wrap: nowrap; }
  .mark { font-size: 1rem; }
  .rates .amt { text-align: left; grid-column: 1; grid-row: auto; margin-top: .2rem; }
}

/* intake questionnaire */
select:focus-visible { outline: 3px solid var(--channel); outline-offset: 2px; }
.intake { padding: 3.5rem 0 4.5rem; background: linear-gradient(var(--shallows), var(--paper) 18rem); }
.intake-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.intake-intro .direct { color: var(--muted); margin-top: 1rem; }
.intake-form .group { display: grid; gap: 1rem; border: 0; border-top: 1px solid var(--rule); padding: 1.25rem 0 0; margin: 0; }
.intake-form .group legend { font-variation-settings: "wdth" 118; font-weight: 740; font-size: 1.25rem; width: auto; padding: 0 .5rem 0 0; margin: 0; float: none; }
.intake-form select { font: inherit; font-weight: 400; padding: .65rem .75rem; border: 1px solid #9fbdb4; border-radius: 6px; background: var(--paper); color: var(--ink); width: 100%; }
.intake-form .need-group .check { align-items: flex-start; }
.intake-form .need-group .check input { margin-top: .2rem; flex: none; }
.req { color: var(--mess); font-weight: 700; }
.hint { font-weight: 450; font-size: .9rem; color: var(--muted); }
.id-warning { margin: 0; padding: .75rem 1rem; background: var(--shallows); border-left: 4px solid var(--mangrove); max-width: none; font-size: .98rem; }
.field-error { color: var(--mess); font-weight: 600; margin: 0; }
.confirm { background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--mangrove); padding: 1.5rem; }
.confirm:focus-visible { outline: 3px solid var(--channel); outline-offset: 2px; }
.confirm p { margin-top: .75rem; color: var(--muted); }
@media (max-width: 880px) { .intake-grid { grid-template-columns: 1fr; gap: 1.5rem; } .intake { padding-top: 2.5rem; } }
