:root {
  color-scheme: light;
  --night-deep: #092d48;
  --ink: #12344b;
  --slate: #385c6e;
  --light-ink: #c5d9df;
  --white: #fff;
  --pale: #eefafa;
  --line: #cce6e9;
  --mint: #dcfb9e;
  --green: #06695d;
  --cobalt: #104fc1;
  --shell: 73rem;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  font-size: 100%;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
p, h1, h2, h3, dl, dd { margin: 0; }
p, dd { line-height: 1.65; }
button, select { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: .18rem solid #1772ba; outline-offset: .25rem; }
.shell { width: min(var(--shell), calc(100% - 5rem)); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 4; transform: translateY(-160%); padding: .7rem 1rem; background: var(--white); color: var(--night); }
.skip-link:focus { transform: none; }

.site-header { background: var(--white); color: var(--ink); border-bottom: 1px solid #deeff0; }
.header-inner { min-height: 5.2rem; display: flex; align-items: center; gap: 1.5rem; }
.wordmark { display: inline-flex; align-items: baseline; gap: 0; font-size: 1.65rem; line-height: 1.15; font-weight: 850; letter-spacing: -.07em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: #087a80; }
.wordmark small { margin-inline-start: .62rem; font-size: .8rem; font-weight: 650; letter-spacing: .02em; color: var(--slate); }
.site-header nav { display: flex; gap: clamp(1rem, 3vw, 2.3rem); margin-inline: auto; }
.site-header nav a, .header-account, .header-home { color: var(--slate); font-size: .92rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover, .header-account:hover, .header-home:hover { color: var(--cobalt); text-decoration: underline; }
.order-banner :focus-visible, .footer :focus-visible { outline-color: var(--mint); }

.button { display: inline-flex; min-height: 3.35rem; padding: .78rem 1.27rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .68rem; background: var(--cobalt); color: var(--white); font-size: .95rem; font-weight: 760; line-height: 1.27; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .17s ease, border-color .17s ease; }
.button:hover { background: #0b3f9e; }
.button-small { min-height: 2.78rem; padding: .63rem 1rem; font-size: .86rem; }
.button-outline { color: var(--ink); border-color: #80b5bb; background: #ffffff65; }
.button-outline:hover { background: var(--white); border-color: #518890; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #265065; }
.button-quiet { color: var(--ink); background: var(--pale); border-color: var(--line); }
.button-quiet:hover { background: #dceff1; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.eyebrow { margin-block-end: .85rem; color: var(--green); font-size: .82rem; line-height: 1.35; letter-spacing: .105em; font-weight: 760; text-transform: uppercase; }

.flow-page { min-height: 100vh; background: var(--pale); }
.flow-page .header-home { margin-inline-start: auto; }
.flow-main { padding-block: 4.3rem; }
.flow-main h1 { margin-block-end: .95rem; font-size: clamp(2.45rem, 5.3vw, 5rem); line-height: 1.06; font-weight: 790; letter-spacing: -.07em; }
.flow-lede { max-width: 43rem; color: var(--slate); margin-block-end: 2rem; }
.flow-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 1.2rem; align-items: start; }
.flow-card { padding: clamp(1.1rem, 3vw, 2rem); border-radius: .8rem; border: 1px solid var(--line); background: var(--white); }
.flow-card h2 { margin-block-end: .6rem; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.18; letter-spacing: -.04em; }
.flow-card p:not(.eyebrow, .flow-status) { margin-block-end: 1.15rem; color: var(--slate); }
.narrow-flow { max-width: 48rem; }
.narrow-flow h1 { margin-block-end: 1.7rem; }
.flow-status { margin-block-end: .55rem; color: var(--green); font-size: .88rem; font-weight: 780; }
.field { display: grid; gap: .38rem; margin-block: 1rem; }
.field label { font-weight: 760; }
.field select { width: 100%; min-height: 3rem; appearance: none; padding: .6rem 2rem .6rem .76rem; border: 1px solid #8fa8b1; border-radius: .45rem; color: var(--ink); background: linear-gradient(45deg, transparent 50%, #405967 50%) calc(100% - 1.03rem) 50% / .34rem .34rem no-repeat, linear-gradient(135deg, #405967 50%, transparent 50%) calc(100% - .7rem) 50% / .34rem .34rem no-repeat, #fff; }
.field input { width: 100%; min-height: 3rem; padding: .6rem .76rem; border: 1px solid #8fa8b1; border-radius: .45rem; background: var(--white); color: var(--ink); font: inherit; }
.field small { color: var(--slate); font-size: .86rem; line-height: 1.5; }
.flow-card .field #agent-status { margin: .15rem 0 0; color: var(--green); font-weight: 700; font-size: .88rem; }
.product-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.product-fields .field { margin-bottom: 0; }
.flow-card form .button { margin-block-start: .35rem; }
.flow-card .flow-error { margin: .65rem 0 0; color: #862d35 !important; }
.summary-product { display: flex; min-height: 7rem; gap: 1.05rem; align-items: center; margin-block-end: .72rem; }
.summary-product img { width: 4.8rem; max-height: 6rem; object-fit: contain; }
.summary-product .eyebrow { margin-block-end: .37rem; }
.summary-product h2 { margin: 0; }
.money-list div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-block: .67rem; }
.money-list dt { color: var(--slate); }
.money-list dd { font-weight: 750; white-space: nowrap; }
.money-list .money-total { padding-block: .9rem .25rem; }
.money-total dt, .money-total dd { color: var(--ink); font-weight: 850; }
.payment-info { display: grid; gap: .25rem; margin-block: 1.4rem; padding: 1rem; border-radius: .5rem; background: var(--pale); color: var(--slate); }
.payment-info strong { color: var(--ink); }

@media (max-width: 58rem) {
  .shell { width: calc(100% - 3rem); }
  .header-inner { gap: 1rem; }
  .wordmark small { display: none; }
}

@media (max-width: 42rem) {
  .shell { width: calc(100% - 2.1rem); }
  .header-inner { min-height: 4.25rem; gap: .75rem; }
  .site-header .wordmark { margin-inline-end: auto; font-size: 1.42rem; }
  .site-header nav { display: none; }
  .header-inner .header-account, .header-inner .header-home { font-size: .82rem; }
  .header-inner .button-small { min-height: 2.45rem; padding-inline: .68rem; font-size: .78rem; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-main { padding-block: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
