/* libertyclasshelp.com: Liberty navy and red. Red hero, white quote card, navy bars, flat colour, square corners, hairlines only. */
:root {
  --navy: #0B2343;
  --navy-2: #13325E;
  --red: #B3152A;
  --red-dk: #8E0F20;
  --rose: #FBEEF0;
  --fog: #F3F5F9;
  --line: #D9DEE7;
  --ink: #0A1A33;
  --text: #2A3446;
  --muted: #5E687A;
  --white: #FFFFFF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.7 "Lato", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--white); }
h1, h2, h3 { font-family: "Merriweather", Georgia, "Times New Roman", serif; color: var(--navy); line-height: 1.22; margin: 0 0 14px; font-weight: 700; }
h1 { font-size: 38px; font-weight: 900; }
h2 { font-size: 27px; }
h3 { font-size: 18px; }
p { margin: 0 0 15px; }
a { color: var(--red); }
a:hover { color: var(--red-dk); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* header */
.bar { background: var(--navy); position: sticky; top: 0; z-index: 20; }
.bar-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.mark { font: 900 20px/1 "Merriweather", Georgia, serif; color: var(--white); text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: #D5DDEA; text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a:hover { color: var(--white); text-decoration: underline; }

/* buttons */
.btn { display: inline-block; border: 0; border-radius: 0; padding: 11px 20px; font: 700 15px/1.2 "Lato", sans-serif; text-decoration: none; cursor: pointer; }
.btn-go { background: var(--red); color: var(--white); }
.btn-go:hover { background: var(--red-dk); color: var(--white); }
.btn-full { width: 100%; padding: 14px 20px; font-size: 16px; }
.btn:disabled { opacity: .6; cursor: default; }
.quote .btn-go { background: var(--navy); }
.quote .btn-go:hover { background: var(--navy-2); }

/* hero */
.hero { background: var(--red); color: var(--white); padding: 44px 0 52px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.hero h1 { color: var(--white); }
.hero p { font-size: 16.5px; color: #FFF3F4; }
.hero-copy p:last-child { margin-bottom: 0; }
.crumbs { font-size: 14px; margin-bottom: 16px; color: #F6D3D8; }
.crumbs a { color: var(--white); text-decoration: underline; }
.crumbs span { color: #F6D3D8; }
.hero-slim { padding: 34px 0; }

/* quote form */
.quote { background: var(--white); color: var(--text); border-radius: 0; padding: 24px; position: sticky; top: 82px; }
.hero .quote-h, .quote-h { font: 700 21px/1.25 "Merriweather", Georgia, serif; color: var(--navy); margin-bottom: 14px; }
.quote label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.quote input, .quote textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; font: 400 15px/1.4 "Lato", sans-serif; color: var(--ink); border: 1px solid #B7C0CF; border-radius: 0; background: var(--white); }
.quote input:focus, .quote textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; }
.hero .quote-msg, .quote-msg { margin: 12px 0 0; font-size: 14px; color: var(--navy); }
.hero .quote-msg[data-err], .quote-msg[data-err] { color: var(--red); }
.hero .quote-note, .quote-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* sections */
.sec { padding: 46px 0; }
.sec:nth-of-type(even) { background: var(--fog); }
.sec .wrap > h2, .prose, .faqs { max-width: 800px; }
.prose p { font-size: 16.5px; }
.tbl { max-width: 800px; overflow-x: auto; margin: 22px 0 4px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy); color: var(--white); font-weight: 700; }
.facts th { width: 180px; color: var(--navy); font-weight: 700; background: var(--rose); }
td a { margin-right: 10px; }

/* faq */
.faq { border: 1px solid var(--line); background: var(--white); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--red); font-weight: 700; }
.faq[open] summary::after { content: "\2212"; }
.faq p { padding: 0 16px 16px; margin: 0; }

/* link lists */
.more { padding: 32px 0; background: var(--navy); }
.more h3 { color: var(--white); }
.more .links a { color: #F2F5FA; }
.more .links a:hover { color: var(--white); }
.links { display: flex; flex-wrap: wrap; gap: 10px 28px; max-width: 920px; }
.links a { font-weight: 700; }
.sec .links { margin-top: 18px; }

/* home */
.find { max-width: 800px; margin: 22px 0; }
.find label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.find-row { display: flex; gap: 10px; }
.find-row input { flex: 1; padding: 11px 13px; font: 400 16px "Lato", sans-serif; border: 1px solid #A8B3C5; border-radius: 0; }
.find-out { background: var(--white); border: 1px solid var(--line); margin-top: 8px; }
.find-out a { display: block; padding: 9px 13px; border-bottom: 1px solid var(--line); text-decoration: none; }
.find-out a:hover { background: var(--fog); }
.sr-none { padding: 10px 13px; margin: 0; color: var(--muted); }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.pcol h3 { color: var(--red); }
.pcol a { display: block; padding: 6px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--navy); }
.pcol a:hover { color: var(--red); }

/* utility lists */
.cgroup { margin-top: 30px; }
.cgroup h2 { font-size: 22px; }
.clist, .smap, .alist { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.clist li, .smap li { padding: 5px 0; break-inside: avoid; }
.alist { columns: 1; max-width: 800px; }
.alist li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.alist a { font-weight: 700; font-size: 17px; }
.alist p { margin: 4px 0 0; color: var(--muted); }

/* footer */
.foot { background: #071729; color: #B5C1D3; padding: 40px 0 22px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-col b { display: block; color: var(--white); margin-bottom: 10px; }
.foot-col a { display: block; color: #B5C1D3; text-decoration: none; padding: 3px 0; }
.foot-col a:hover { color: var(--white); }
.foot-line { margin-top: 26px; padding-top: 16px; border-top: 1px solid #1C2F4D; color: #8C99AD; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .quote { position: static; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .bar-in { justify-content: space-between; }
  h1 { font-size: 30px; }
  h2 { font-size: 23px; }
  .foot-in { grid-template-columns: 1fr; }
  .clist, .smap { columns: 1; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .pgrid { grid-template-columns: 1fr; }
  .facts th { width: 120px; }
}
