/* Early access: request section, hero, preview bar. 
   Sizes use the --fs-* / --sp-* tokens in site.css. Loaded last. */
/* hero: two actions, then previews. No box and no input, so nothing reads as the product itself */
.ea-hero { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; margin: var(--sp-6) auto 0; }
.ea-acts { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.ea-ghost { border: 1.5px solid rgba(19,46,63,.35); border-radius: 10px; background: none; color: #132E3F; font: 600 var(--fs-body)/1 'Hanken Grotesk', sans-serif; padding: 14px 22px; cursor: pointer; }
.ea-ghost:hover { border-color: #132E3F; }
.ea-ghost:focus-visible { outline: 3px solid #10A7AE; outline-offset: 3px; }
body .ea-ghost .ai-lock { font-size: var(--fs-body); margin-left: 4px; }
.ea-ghost { display: inline-flex; align-items: center; justify-content: center; }
/* sparkle sits as a superscript against the I of AI */
body .ai-lock .ai-spark { width: .66em; height: .66em; align-self: flex-start; margin: -.16em 0 0 -6px; overflow: visible; }
body .ai-lock .ai-r { padding-right: 0; }
/* hero sits on ink */
header.hero .ea-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
header.hero .ea-ghost:hover { border-color: #fff; }
header.hero .ai-word { color: #fff; }
header.hero .ai-word b { color: #2CC5C4; }
header.hero .ai-spark { fill: #77E3DD; }
@media (min-width: 1100px) {
  .ea-hero { grid-column: 1; grid-row: 2; align-self: start; align-items: flex-start; text-align: left; margin: var(--sp-2) 0 0; }
  .ea-acts { justify-content: flex-start; }
}

/* the coastal scene takes the column the state map used */
.ea-coast { display: none; }
@media (min-width: 1100px) {
  .hero-art { overflow: visible; }
  .hero-art .ea-coast { display: block; position: absolute; width: min(32vw, 520px); height: auto; right: max(5vw, calc((100vw - 1680px) / 2 + 40px)); bottom: calc(max(54px, 3.75vw) - 30px); z-index: 0; }
  .hero-art .ea-far { display: none; }
  .hero.hero-search { padding-bottom: 190px; }
  .hero .horizon { margin-top: calc(-40px - 6.5vw); }
}

.ea-head { max-width: 46rem; }

.ea-form { margin-top: var(--sp-7); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid #D4E5E8; border-radius: 22px; overflow: hidden; text-align: left; }
.ea-form { scroll-margin-top: 92px; }
button.btn-outline-light, button.btn-line { font: 600 var(--fs-body)/1.5 'Hanken Grotesk', sans-serif; }
.ea-doors { border: 0; margin: 0; padding: var(--sp-6); background: #132E3F; display: flex; flex-direction: column; gap: var(--sp-3); min-width: 0; }
.ea-doors legend { float: left; width: 100%; padding: 0; margin-bottom: var(--sp-2); font: 600 var(--fs-h3)/1.25 'Jost', sans-serif; color: #fff; }
.ea-door { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: var(--sp-4); align-items: start; padding: var(--sp-4); border: 1.5px solid rgba(119,227,221,.22); border-radius: 14px; cursor: pointer; color: #fff; clear: both; transition: background .2s, border-color .2s; }
.ea-door:hover { border-color: rgba(119,227,221,.6); }
.ea-door input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ea-door svg { width: 44px; height: 44px; grid-row: 1 / 3; }
.ea-door b { font: 600 var(--fs-h4)/1.3 'Jost', sans-serif; }
.ea-door span { font-size: var(--fs-sm); line-height: 1.5; color: rgba(255,255,255,.78); margin-top: 2px; }
.ea-door:has(input:checked) { background: rgba(44,197,196,.16); border-color: #2CC5C4; }
.ea-door:has(input:focus-visible) { outline: 3px solid #77E3DD; outline-offset: 2px; }
.ea-body { padding: var(--sp-6); display: grid; gap: var(--sp-4); align-content: start; min-width: 0; }
.ea-for { margin: 0; padding-bottom: var(--sp-4); border-bottom: 1px solid #D4E5E8; color: #46586B; font-size: var(--fs-body); line-height: 1.5; }
.ea-for b { color: #132E3F; font-weight: 600; }
.ea-two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.ea-group { display: grid; gap: var(--sp-4); }
.ea-body [hidden] { display: none !important; }
.ea-f { display: grid; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: #132E3F; line-height: 1.4; min-width: 0; }
.ea-f em { font-style: normal; font-weight: 400; color: #46586B; }
.ea-f input, .ea-f select, .ea-f textarea { width: 100%; min-width: 0; font: 400 var(--fs-body)/1.4 'Hanken Grotesk', sans-serif; color: #132E3F; background: #F3F9FA; border: 1px solid #C3D8DC; border-radius: 10px; padding: 11px 14px; outline: none; }
.ea-f select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px; background: #F3F9FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%23132E3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center; }
.ea-f textarea { min-height: 88px; resize: vertical; }
.ea-f input:focus, .ea-f select:focus, .ea-f textarea:focus { border-color: #10A7AE; box-shadow: 0 0 0 4px rgba(16,167,174,.16); }
.ea-send { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; margin-top: var(--sp-1); }
.ea-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: #CD6B47; color: #fff; font: 700 var(--fs-body)/1 'Hanken Grotesk', sans-serif; padding: 15px 24px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.ea-btn:hover { background: #B85A38; }
.ea-btn:focus-visible { outline: 3px solid #10A7AE; outline-offset: 3px; }
.ea-fine { flex: 1 1 220px; margin: 0; font-size: var(--fs-sm); line-height: 1.45; color: #46586B; }
.ea-ok { display: none; margin-top: var(--sp-7); padding: var(--sp-6); border-radius: 22px; background: #132E3F; color: #fff; font: 500 var(--fs-h4)/1.4 'Jost', sans-serif; }
.ea-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-5); margin-top: var(--sp-6); }

/* programs row (NFIP, standalone, excess) */
.ea-progs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-top: var(--sp-6); }
.ea-prog { background: #fff; border: 1px solid #D4E5E8; border-radius: 18px; padding: var(--sp-5); }
.ea-prog svg { width: 100%; height: auto; display: block; }
.ea-prog b { display: block; margin-top: var(--sp-4); font: 600 var(--fs-h4)/1.3 'Jost', sans-serif; color: #132E3F; }
.ea-prog span { display: block; margin-top: var(--sp-1); font-size: var(--fs-body); line-height: 1.5; color: #46586B; }

/* preview lightbox */
.shot-modal { flex-direction: column; gap: var(--sp-4); }
.shot-modal .frame { flex: none; width: auto; height: auto; }
.shot-modal .frame iframe { max-width: none; }
.ea-scroll { max-width: 100%; flex: none; }
.ea-bar { display: flex; align-items: center; gap: var(--sp-5); width: min(1060px, calc(100vw - 48px)); background: #132E3F; border: 1px solid rgba(119,227,221,.28); border-radius: 16px; padding: 12px 14px; color: #fff; flex: none; }
.ea-nav { display: flex; gap: 8px; flex: none; }
.ea-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: none; color: #fff; font: 400 24px/1 'Jost', sans-serif; cursor: pointer; padding: 0 0 3px; }
.ea-nav button:hover { border-color: #77E3DD; }
.ea-nav button:focus-visible, .ea-cta:focus-visible, .shot-modal .x:focus-visible { outline: 3px solid #77E3DD; outline-offset: 2px; }
.ea-cap { flex: 1; min-width: 0; text-align: left; }
.ea-cap b { display: block; font: 600 var(--fs-h4)/1.25 'Jost', sans-serif; }
.ea-cap span { display: block; font-size: var(--fs-sm); line-height: 1.4; color: rgba(255,255,255,.78); }
.ea-cta { flex: none; background: #CD6B47; color: #fff; border-radius: 10px; padding: 14px 20px; font: 700 var(--fs-body)/1 'Hanken Grotesk', sans-serif; text-decoration: none; }
.ea-cta:hover { background: #B85A38; }
.shot-modal.pan .ea-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 16px; }
.shot-modal.pan iframe { pointer-events: none; }

@media (max-width: 900px) {
  .ea-form { grid-template-columns: 1fr; }
  .ea-progs { grid-template-columns: 1fr; }
  .ea-prog { display: grid; grid-template-columns: 104px 1fr; column-gap: var(--sp-4); align-items: center; padding: var(--sp-4); }
  .ea-prog svg { grid-row: 1 / 3; }
  .ea-prog b { margin-top: 0; align-self: end; }
  .ea-prog span { align-self: start; }
}
@media (max-width: 680px) {
  .ea-doors, .ea-body { padding: var(--sp-5) var(--sp-4); }
  .ea-two { grid-template-columns: 1fr; }
  .ea-btn { width: 100%; }
  .ea-hero, .ea-acts { width: 100%; }
  .ea-ghost { width: 100%; }
  .ea-bar { flex-wrap: wrap; gap: 12px; width: calc(100vw - 32px); }
  .ea-cap { order: -1; flex: 1 0 100%; }
  .ea-cta { flex: 1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .ea-door { transition: none; } }
@media (max-width: 1099px) { .hero .wrap.hero-in { padding-bottom: 64px; } }
