:root {
  color-scheme: light;
  --navy: #102747;
  --gradient: radial-gradient(ellipse at top, #204975, #102747 70%);
  --gold: #ffbf63;
  --pale: #e8f1fb;
  --white: #f6f9fd;
  font: 100%/1.5 system-ui, sans-serif;
  color: var(--navy);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--white); }
a { color: inherit; }
:focus-visible { outline: 3px solid #c27500; outline-offset: 4px; }
.wrap { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.mobile-menu { display: none; }
header { position: sticky; top: 0; z-index: 10; background: var(--pale); }
main section[id] { scroll-margin-top: 6rem; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; line-height: 1.07; font-weight: 720; }
.brand strong { font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -.045em; }
.brand svg { width: 3.7rem; flex: 0 0 auto; }
.links { display: flex; align-items: center; gap: clamp(.8rem, 2.5vw, 2rem); font-weight: 650; }
.links > a:not(.button) { text-decoration: none; }
.links > a:hover { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; border-radius: .65rem; padding: .7rem 1.1rem; background: var(--gold); color: var(--navy); font-weight: 780; text-decoration: none; text-align: center; }
.button:hover { background: #ffd18b; }
.button.dark { background: var(--navy); color: white; }
.button.dark:hover { background: #204975; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(29rem, 46vw, 39rem); color: white; background: var(--gradient); }
.hero img { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 64%; height: 100%; object-fit: cover; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.hero-copy { padding-block: 3rem; width: 41%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.045em; line-height: 1.05; }
h1 { font-size: clamp(2.5rem, 5.2vw, 5rem); margin-bottom: 1.2rem; font-weight: 820; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.4rem); max-width: 28rem; line-height: 1.4; margin-bottom: 1.5rem; }
section:not(.hero) { text-align: center; padding-block: clamp(2.6rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 1.75rem; }
.services { background: var(--pale); }
.cards, .steps { padding: 0; margin: 0; list-style: none; display: grid; gap: .9rem; }
.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards li { display: grid; justify-items: center; align-content: center; gap: .7rem; min-height: 9rem; padding: 1rem .65rem; border-radius: 1rem; background: var(--white); }
.cards h3 { margin: 0; font-size: clamp(.98rem, 2vw, 1.25rem); line-height: 1.2; }
.cards svg, .steps svg { width: 3rem; }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: .65rem; padding: .5rem 1rem; font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 730; }
.steps li + li::before { content: ""; position: absolute; left: -.6rem; top: 1.8rem; width: .65rem; height: .65rem; border-top: 2px solid #b56800; border-right: 2px solid #b56800; transform: rotate(45deg); }
.estimate, footer { background: var(--gradient); color: white; }
.estimate h2 { margin-bottom: .85rem; }
.estimate p { margin: 0 auto; max-width: 32rem; color: #dbe8fa; }
footer { border-top: 1px solid #ffffff45; }
@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: auto; }
  .hero-copy { width: 100%; padding: 2.6rem 0 2rem; }
  .hero img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; clip-path: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  header .bar { position: relative; }
  header .bar > .links { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    display: grid;
    place-items: center;
    list-style: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: .6rem;
    background: var(--navy);
    color: white;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu svg { width: 24px; }
  .mobile-menu nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    gap: .25rem;
    padding: .6rem;
    background: var(--pale);
    border-radius: 0 0 .75rem .75rem;
    box-shadow: 0 .5rem 1rem #10274730;
  }
  .mobile-menu nav { gap: .5rem; }
  .mobile-menu nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .65rem .85rem;
    border: 1px solid #bdcfe3;
    border-radius: .6rem;
    background: white;
    color: var(--navy);
    text-decoration: none;
    text-align: center;
    font-weight: 750;
  }
  .mobile-menu nav a:hover { background: #dbe8fa; }
  .mobile-menu nav a.button { background: var(--gold); border-color: var(--gold); }
  .mobile-menu nav a.button:hover { background: #ffd18b; }
}
@media (max-width: 460px) {
  .bar { gap: .6rem; }
  .brand { font-size: .8rem; }
  .brand svg { width: 2.25rem; }
  header .button { padding: .55rem .65rem; font-size: .78rem; }
  .steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps li + li::before { display: none; }
  footer .bar { flex-wrap: wrap; }
}

.demo-note { padding:.55rem .8rem; background:#fff1d7; color:var(--navy); text-align:center; font-size:.88rem; }
.inner-hero { background:var(--gradient); color:white; padding:clamp(2.5rem,7vw,5rem) 0; }
.inner-hero h1 { font-size:clamp(2.1rem,6vw,4.5rem); max-width:19ch; }
.inner-hero p { font-size:1.15rem; max-width:38rem; margin-bottom:0; }
.inner-hero .wrap > a { display:inline-block; margin-bottom:1rem; }
.content { max-width:56rem; padding-block:clamp(2rem,5vw,4rem); }
.content h2 { font-size:clamp(1.5rem,4vw,2.3rem); margin:0 0 .8rem; }
.panel { background:white; border:1px solid #d9e6f3; border-radius:1rem; padding:clamp(1rem,4vw,1.8rem); margin-bottom:1rem; }
.panel p:last-child { margin-bottom:0; }
.confirm { background:#fff4df; }
.cards a { display:grid; align-content:center; justify-items:center; gap:.7rem; width:100%; height:100%; text-decoration:none; }
.cards a:hover h3 { text-decoration:underline; }
.page-links { display:flex; justify-content:center; gap:1rem 1.6rem; flex-wrap:wrap; margin-top:1.4rem; }
.fields { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
label { display:grid; gap:.35rem; font-weight:650; }
input,select,textarea { width:100%; min-width:0; font:inherit; color:var(--navy); background:var(--white); border:1px solid #839bb4; border-radius:.4rem; padding:.65rem; }
.full { grid-column:1/-1; }
button.button { border:0; cursor:pointer; font:inherit; font-weight:780; }
@media (max-width:560px) { .fields { grid-template-columns:1fr; } }
