:root {
  /* Layout idea: navy header and hero with a cut/fill grade drawing, light body, amber reserved for actions and grade marks. Single theme by choice. */
  --navy: #0b2545;
  --navy-2: #16345f;
  --amber: #f2a900;
  --amber-dark: #c98d00;
  --ink: #12233f;
  --muted: #51607a;
  --paper: #f4f6fa;
  --card: #ffffff;
  --line: #d3dbe7;
  --ok: #1b6b45;
  --err: #a32018;
  --display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: var(--navy-2); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--amber); color: var(--navy); padding: 0.6rem 1rem; font-weight: 700; z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--navy-2); outline-offset: 1px;
}

/* Review banner and placeholders (delete both before launch) */
.review-note {
  background: #fff3c4; color: #4a3800; border-bottom: 1px solid #e3c35a;
  font-size: 0.95rem; text-align: center; padding: 0.45rem 20px;
}
.todo {
  background: #fff3c4; color: #4a3800; outline: 1px dashed #c79100; outline-offset: 1px;
  padding: 0 0.3em; border-radius: 2px; font-style: normal;
}

/* Header */
.site-header { background: var(--navy); color: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { text-decoration: none; color: #fff; display: block; border-left: 5px solid var(--amber); padding-left: 12px; line-height: 1.05; }
.brand strong { display: block; font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.04em; text-transform: uppercase; }
.brand span { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #aebdd4; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: #dbe5f3; text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--amber); }

/* Buttons */
.btn {
  display: inline-block; background: var(--amber); color: var(--navy); font-family: var(--body);
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; border-radius: 4px;
  padding: 0.8rem 1.4rem; cursor: pointer; line-height: 1.2;
}
.btn:hover { background: #ffbb1f; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btn-small { padding: 0.55rem 1rem; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #5f7aa3; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 28px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: #d4dff0; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4rem; }
.hero figure { margin: 0; }
.hero figcaption { font-size: 0.82rem; color: #9fb3cf; margin-top: 8px; letter-spacing: 0.03em; }

/* Proof strip */
.proof { background: var(--navy-2); color: #fff; }
.proof ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proof strong { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1.1; color: var(--amber); }
.proof span { color: #d4dff0; font-size: 0.98rem; }
.proof strong .todo { color: #4a3800; font-size: 1.3rem; }

/* Sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 40em; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--navy-2); border-radius: 4px; padding: 20px; }
.card p:last-child { margin-bottom: 0; }
.alt .card { background: var(--paper); }

.cards-3 { grid-template-columns: repeat(3, 1fr); }

/* Pricing */
.price-grid { align-items: start; }
.price-note { color: var(--muted); font-size: 0.97rem; margin-bottom: 0.7em; }
.price-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-table th, .price-table td { text-align: left; padding: 0.55rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.price-table thead th { border-top: 0; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 0; }
.price-table tbody th { font-weight: 600; padding-right: 12px; }
.price-table td { font-weight: 700; text-align: right; white-space: nowrap; }
.price-table thead th:last-child { text-align: right; }
.promo { background: var(--amber); color: var(--navy); }
.promo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.promo p { margin: 0; font-family: var(--display); font-size: 1.5rem; line-height: 1.2; font-weight: 600; }
.promo .btn { background: var(--navy); color: #fff; }
.promo .btn:hover { background: var(--navy-2); }
.promo-note { margin: 0 0 20px; background: #fff7de; border-left: 5px solid var(--amber); border-radius: 4px; padding: 0.8rem 1rem; }
.promo-note[hidden] { display: none; }
.price-promise { max-width: 46em; background: #fff7de; border-left: 5px solid var(--amber); border-radius: 4px; padding: 0.9rem 1.1rem; margin: 18px 0 0; color: var(--ink); }
.price-foot { margin: 22px 0 0; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 4px; padding: 0.55rem 1rem; font-weight: 600; font-size: 1.05rem; }

.platform-note { max-width: 46em; margin: 22px 0 0; color: var(--muted); }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 36px; margin-top: 24px; }
.principle { border-left: 4px solid var(--amber); padding: 2px 0 2px 16px; }
.principle h3 { margin-bottom: 0.25em; }
.principle p { margin: 0; color: var(--muted); }

.cta-band { background: var(--navy); color: #fff; padding: 44px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 0.2em; }
.cta-band p { margin: 0; color: #d4dff0; }

.site-footer { background: #081a33; color: #aebdd4; padding: 26px 0; font-size: 0.95rem; }
.site-footer a { color: #dbe5f3; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Quote page */
.page-head { background: var(--navy); color: #fff; padding: 8px 0 40px; }
.page-head p { color: #d4dff0; max-width: 38em; margin: 0; font-size: 1.15rem; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px; padding: 40px 20px 64px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.aside h2 { font-size: 1.4rem; }
.aside ul, .aside ol { margin: 0 0 1.4em; padding-left: 1.2em; }
.aside li { margin-bottom: 0.35em; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.93rem; margin-top: 2px; }
.req { font-weight: 400; color: var(--muted); font-size: 0.85rem; margin-left: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #9aa8bd; border-radius: 4px; padding: 0.65rem 0.75rem;
}
.field textarea { resize: vertical; min-height: 5.2rem; }
.field input[type="file"] { width: 100%; font: inherit; padding: 0.7rem; background: var(--paper); border: 2px dashed #9aa8bd; border-radius: 4px; }
.checkgroup { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.field .checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.field .checks label {
  display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 0.6rem 0.75rem; cursor: pointer; line-height: 1.3;
}
.datepick { position: relative; }
.field .datepick input.date-display { cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 2.6rem; }
.cal { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: max(100%, 300px); background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 30px rgba(11, 37, 69, 0.22); padding: 12px; }
.cal[hidden] { display: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font-weight: 700; color: var(--navy); }
.cal-nav { width: 2.4rem; height: 2.4rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--navy); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: 0.78rem; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-day { height: 2.4rem; border: 1px solid transparent; border-radius: 4px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.cal-day:hover:not(:disabled) { background: #fff7de; border-color: var(--amber); }
.cal-day:disabled { color: #b4bdca; text-decoration: line-through; cursor: not-allowed; background: #f6f7fa; }
.cal-day.is-today { border-color: var(--navy-2); font-weight: 700; }
.cal-day.is-selected { background: var(--amber); border-color: var(--amber-dark); color: var(--navy); font-weight: 700; }
.cal-foot { margin-top: 8px; text-align: right; }
.cal-clear { border: 0; background: none; color: var(--navy-2); font: inherit; text-decoration: underline; cursor: pointer; padding: 4px; }
.field-note { margin: 10px 0 0; color: var(--muted); font-size: 0.97rem; }
.other-box { margin-top: 10px; }
.other-box[hidden] { display: none; }
.field .checks label:hover { border-color: #9aa8bd; }
.field .checks input[type="checkbox"] { width: 1.25rem; height: 1.25rem; flex: none; margin: 0; accent-color: var(--navy-2); }
.field .checks label:has(input:checked) { background: #fff7de; border-color: var(--amber-dark); font-weight: 600; }
.uploads { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }

#file-list { list-style: none; margin: 10px 0 0; padding: 0; }
#file-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; margin-bottom: 6px; font-size: 0.97rem; }
#file-list .fname { overflow-wrap: anywhere; }
#file-list .fsize { color: var(--muted); white-space: nowrap; }
#file-list button { background: none; border: 0; color: var(--err); font: inherit; font-weight: 700; cursor: pointer; padding: 2px 6px; }
#size-note { font-size: 0.93rem; color: var(--muted); margin: 6px 0 0; }
#size-note.over { color: var(--err); font-weight: 700; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks { text-align: center; padding: 28px 8px; outline: none; }
.thanks[hidden], #quote-form[hidden] { display: none; }
.thanks h2 { margin: 0 0 0.4em; }
.thanks p { margin: 0 auto 0.9em; max-width: 30em; }
.thanks p strong { font-size: 1.2rem; color: var(--ok); }
#status { margin-top: 16px; }
#status .msg { border-radius: 4px; padding: 14px 16px; border-left: 5px solid; font-weight: 600; }
#status .msg.ok { background: #e6f4ec; color: var(--ok); border-color: var(--ok); }
#status .msg.error { background: #fbeae8; color: var(--err); border-color: var(--err); }
#status .msg.info { background: #fff3c4; color: #4a3800; border-color: var(--amber-dark); }

@media (max-width: 820px) {
  .hero-grid, .quote-layout { grid-template-columns: 1fr; }
  .proof ul { grid-template-columns: 1fr; gap: 14px; }
  .principles { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  section.block { padding: 40px 0; }
}
@media (max-width: 560px) {
  .grid-2, .field .checks, .cards-3 { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
