/* DreamCo microsite theme. Brand and accent colours are set per site by build.py. */
:root {
  --brand: #1f5fbf;
  --accent: #f2a900;
  --ink: #142133;
  --ink-2: #44546a;
  --line: #dfe5ec;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --dark: #0f1b2b;
  --max: 1160px;
  --r: 10px;
  --head: Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: .6em; }
h3 { font-size: 1.2rem; margin-bottom: .35em; }
p { margin-bottom: 1rem; color: var(--ink-2); }
.lead { font-size: 1.12rem; max-width: 70ch; }
.center { text-align: center; }
.center.lead, .lead.center { margin-left: auto; margin-right: auto; }
.small { font-size: .9rem; color: var(--ink-2); }
.narrow { max-width: 680px; margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; padding: 13px 26px; border-radius: var(--r); font-weight: 700;
  text-decoration: none; border: 2px solid var(--brand); cursor: pointer; font: 700 1rem var(--body); transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--sm { padding: 9px 16px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--light { background: #fff; color: var(--brand); border-color: #fff; }
.btn--outline { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost { background: transparent; color: var(--brand); }
.btn:disabled { opacity: .6; cursor: wait; }

/* top bar + header */
.topbar { background: var(--dark); color: rgba(255,255,255,.8); font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.2rem var(--head); color: var(--ink); text-decoration: none; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); position: relative; flex: none; }
.brand__mark::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.nav__links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav__links > li > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; }
.nav__links > li > a:not(.btn):hover { color: var(--brand); }
.nav__call { background: var(--accent); color: var(--dark) !important; padding: 9px 16px; border-radius: var(--r); white-space: nowrap; }
.dd { position: relative; }
.dd__menu { display: none; position: absolute; top: 100%; left: -14px; min-width: 270px; list-style: none; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); padding: 8px 0; box-shadow: 0 14px 34px rgba(15,27,43,.12); }
.dd::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.dd:hover .dd__menu, .dd:focus-within .dd__menu { display: block; margin-top: 14px; }
.dd__menu a { display: block; padding: 9px 18px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.dd__menu a:hover { background: var(--bg-alt); color: var(--brand); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 5px auto; border-radius: 2px; }
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; max-height: calc(100vh - 100px); overflow-y: auto; }
  .nav__links.open { display: flex; }
  .nav__links > li { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav__links > li:last-child, .nav__links > li:nth-last-child(2) { border: 0; }
  .dd__menu { display: block; position: static; box-shadow: none; border: 0; padding: 4px 0 0 12px; min-width: 0; }
  .dd:hover .dd__menu { margin-top: 0; }
  .dd__menu a { padding: 6px 0; }
  .topbar span:last-child { display: none; }
}

/* hero */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,27,43,.92) 0%, rgba(15,27,43,.75) 50%, rgba(15,27,43,.35) 100%); }
.hero__inner { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 88px; }
.hero h1 { color: #fff; max-width: 17ch; margin: 10px 0 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; font-weight: 700; color: var(--accent); margin: 0; }
.hero__lead { color: rgba(255,255,255,.92); font-size: 1.18rem; max-width: 50ch; }
.hero__ticks { list-style: none; margin: 6px 0 4px; display: grid; gap: 6px; }
.hero__ticks li { color: #fff; padding-left: 28px; position: relative; }
.hero__ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__cta.center { justify-content: center; }
.pagehead { background: var(--dark); padding: 56px 0 46px; }
.pagehead h1 { color: #fff; }
.pagehead .lead { color: rgba(255,255,255,.85); margin-top: 10px; }

.crumbs { font-size: .88rem; padding-top: 14px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }

/* sections */
.section { padding: 68px 0; }
.section--alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split--form { align-items: start; grid-template-columns: .9fr 1.1fr; }
@media (max-width: 860px) { .split, .split--form { grid-template-columns: 1fr; gap: 30px; } .split--rev > :first-child { order: 0; } }
.photo img { border-radius: var(--r); box-shadow: 0 16px 40px rgba(15,27,43,.14); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ticks { list-style: none; margin: 0 0 1rem; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg); }
.prose { max-width: 75ch; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

.grid { display: grid; gap: 22px; margin-top: 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; border-top: 4px solid var(--brand); }
.card p:last-child { margin-bottom: 0; }
.card--link { text-decoration: none; display: block; transition: box-shadow .15s, transform .15s; }
.card--link:hover { box-shadow: 0 14px 30px rgba(15,27,43,.1); transform: translateY(-2px); }
.more { font-weight: 700; color: var(--brand); }
.more::after { content: " \2192"; }

.linkgrid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
@media (max-width: 800px) { .linkgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .linkgrid { grid-template-columns: 1fr; } }
.linkgrid a { display: block; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-weight: 600; text-decoration: none; }
.linkgrid a:hover { border-color: var(--brand); color: var(--brand); }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 26px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px 20px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--dark); font-weight: 800; margin-bottom: 12px; }

.table-wrap { overflow-x: auto; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-alt); }

.faq { max-width: 840px; margin: 24px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font: 700 1.08rem var(--head); padding: 17px 30px 17px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.5rem; color: var(--brand); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 16px; margin: 0; }

.cta-band { background: var(--brand); color: #fff; text-align: center; padding: 60px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-band .small { margin-top: 16px; color: rgba(255,255,255,.8); }

/* form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: 0 16px 40px rgba(15,27,43,.08); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid #c9d2dc; border-radius: 8px; font: 1rem var(--body); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 2px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.hp { position: absolute; left: -5000px; }
.form-msg { font-weight: 600; margin: 10px 0 0; color: var(--ink); }
.big { font-size: 1.5rem; font-weight: 800; }

/* footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 58px 0 90px; font-size: .95rem; }
.site-footer p { color: rgba(255,255,255,.75); }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { font: 700 1rem var(--body); color: #fff; margin-bottom: 12px; letter-spacing: .03em; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }
.fbrand { font: 700 1.25rem var(--head); color: #fff !important; }
.fphone { font-size: 1.2rem; font-weight: 800; color: var(--accent) !important; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 860px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fgrid { grid-template-columns: 1fr; } }
.fbottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 38px; padding-top: 18px; }
.fine { font-size: .84rem; color: rgba(255,255,255,.55) !important; margin-bottom: 6px; }

/* sticky mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1.3fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(0,0,0,.15); }
  .callbar a { padding: 15px 10px; text-align: center; font-weight: 800; text-decoration: none; }
  .callbar a:first-child { background: var(--accent); color: var(--dark); }
  .callbar a:last-child { background: var(--brand); color: #fff; }
  .hero__inner { padding-top: 56px; padding-bottom: 60px; }
  .section { padding: 50px 0; }
}
.consent { font-size: .8rem; line-height: 1.45; margin: 4px 0 14px; }
