:root{
  --brand:#2f6fdc;
  --brand2:#1b4fa3;
  --line:#e6ecf5;
  --bg:#f6f8fb;
  --text:#0a2a5e;
  --radius:12px;
  --shadow:0 8px 25px rgba(0,0,0,0.06);
  --transition:0.25s ease;
}
*{box-sizing:border-box;}
body{margin:0;font-family:"Inter",system-ui,sans-serif;background:var(--bg);color:var(--text);display:flex;flex-direction:column;min-height:100vh;}
h1,h2{margin:0;}
/* HEADER */
header.site-header{background:#fff;padding:10px 20px;position:sticky;top:0;z-index:10;}
.header-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;}
.logo{max-height:48px;width:auto;}
.header-inner h1{font-size:20px;font-weight:800;color:var(--brand2);}
.main{flex:1;display:flex;flex-direction:column;align-items:center;padding:20px;}
footer.site-footer{text-align:center;background:#fff;border-top:1px solid var(--line);padding:12px 0;font-size:14px;color:#666;}

/* Tenant Intro */
.tenant-intro{max-width:700px;width:100%;text-align:center;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:40px 20px;margin-top:40px;animation:fadeIn .5s ease;}
.tenant-intro h1{font-size:1.6rem;color:var(--brand2);margin-bottom:30px;}
.tenant-options{display:flex;flex-direction:column;gap:15px;}
.tenant-btn{padding:18px;border:none;border-radius:10px;background:#f1f5ff;font-size:1.1rem;font-weight:700;color:var(--text);cursor:pointer;transition:all .2s ease;}
.tenant-btn:hover{background:#e6edff;}
.tenant-btn.active{background:var(--brand);color:#fff;box-shadow:0 4px 10px rgba(47,111,220,.3);}
@keyframes fadeIn{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}

/* Progress + Steps */
.progress{width:100%;max-width:860px;height:5px;background:var(--line);border-radius:3px;margin:20px 0;overflow:hidden;}
.progress-bar{height:100%;width:0;background:linear-gradient(90deg,var(--brand),var(--brand2));transition:width var(--transition);}
form{width:100%;max-width:860px;}
.step{display:none;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:24px;margin-bottom:20px;}
.step.active{display:block;}
h2{margin-top:0;color:var(--brand);}
.field{margin-bottom:16px;}
label{font-weight:600;display:block;margin-bottom:8px;}
input,select,textarea{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#f9fbff;font-size:15px;}
input:focus,select:focus,textarea:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px rgba(47,111,220,.15);}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.choice-list{display:flex;flex-direction:column;gap:12px;}
.choice-list input[type=radio]{position:absolute;opacity:0;}
.choice{display:block;padding:14px;border-radius:10px;border:1px solid var(--line);background:#f1f5ff;cursor:pointer;font-weight:600;text-align:center;}
.choice-list input[type=radio]:checked + .choice{background:var(--brand);color:#fff;border-color:var(--brand2);}
.yn{display:flex;gap:10px;}
.yn input[type=radio]{position:absolute;opacity:0;}
.ynbtn{flex:1;text-align:center;padding:12px 14px;border-radius:8px;border:1px solid var(--line);background:#eef3fb;font-weight:700;cursor:pointer;}
.yn input[type=radio]:checked + .ynbtn{background:var(--brand);color:#fff;border-color:var(--brand2);}
.nav{display:flex;justify-content:flex-end;gap:10px;}
.btn{padding:12px 18px;border:none;border-radius:8px;cursor:pointer;font-weight:700;}
.btn.back{background:#e9eef7;color:var(--text);}
.btn.next,.btn.submit{background:linear-gradient(90deg,var(--brand),var(--brand2));color:#fff;}
@media(max-width:640px){
  .header-inner{flex-direction:column;text-align:center;}
  .header-inner h1{margin-top:6px;}
  .two-col{display:block;}
  .btn{flex:1;}
  .nav{flex-direction:row;}
}


.list-box{margin-bottom:10px;}
.list-item{background:#f1f5ff;border:1px solid var(--line);border-radius:8px;padding:10px 14px;margin-bottom:6px;display:flex;justify-content:space-between;align-items:center;font-weight:600;}
.list-item .remove{cursor:pointer;color:#c62828;font-size:20px;line-height:1;}
.btn.mini{padding:8px 12px;font-size:14px;font-weight:600;margin-top:8px;}


/* --- Address Search Styling --- */

address-input {
  display: block;
  position: relative;
  width: 100%;
}

address-input input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #d0d6dc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

address-input input:focus {
  border-color: #005baa;
  box-shadow: 0 0 0 3px rgba(0,91,170,0.1);
}

/* Dropdown result list */
#corr-address-results,
#ins-address-results {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #cfd8e3;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

#corr-address-results result,
#ins-address-results result {
  display: block;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 15px;
  border-bottom: 1px solid #f1f1f1;
  transition: background 0.15s;
}

#corr-address-results result:hover,
#ins-address-results result:hover {
  background: #f8fafc;
}

/* Selected address display */
address {
  display: block;
  background: #f8fafc;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.4;
  word-break: break-word;
}

/* Address action buttons */
address-btns {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

address-btns btn {
  background: #005baa;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

address-btns btn:hover {
  background: #004a8e;
}

/* --- Yes / No Buttons --- */
.yn {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.yn input[type="radio"] {
  display: none;
}

.ynbtn {
  display: inline-block;
  background: #f0f3f7;
  color: #333;
  font-weight: 600;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 10px 22px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
}

.yn input[type="radio"]:checked + .ynbtn,
.ynbtn:hover {
  background: #005baa;
  color: #fff;
  border-color: #005baa;
}

/* --- Choice List (Acting As / Tenant Type Buttons) --- */
.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.choice-list input[type="radio"] {
  display: none;
}

.choice-list .choice {
  display: inline-block;
  background: #f0f3f7;
  color: #333;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.choice-list input[type="radio"]:checked + .choice,
.choice:hover {
  background: #005baa;
  color: #fff;
  border-color: #005baa;
}

/* --- Responsive Tweaks --- */
@media (max-width: 700px) {
  address-input input {
    font-size: 16px;
    padding: 14px;
  }

  address-btns {
    flex-direction: column;
  }

  address-btns btn {
    width: 100%;
    text-align: center;
  }

  .yn {
    justify-content: center;
  }

  .ynbtn {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* Stack options (big block radio buttons) */
.stack-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stack-options input[type="radio"] {
  /* hide native radio but keep it accessible */
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.stack-option {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  user-select: none;

  /* theme-aware */
  background: var(--panel, #eef3ff);
  border: 1px solid var(--panel-border, #e3e9f7);
  color: var(--ink-strong, #0f2f7f);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.stack-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08);
}

.stack-options input[type="radio"]:focus + .stack-option {
  outline: 3px solid rgba(38, 99, 235, 0.35); /* brand glow */
  outline-offset: 2px;
}

.stack-options input[type="radio"]:checked + .stack-option {
  background: var(--brand, #2f5fe6);
  color: #fff;
  border-color: var(--brand, #2f5fe6);
  box-shadow: 0 8px 20px rgba(47, 95, 230, 0.25);
}


/* Multi-select (same look as stack-option radios) */
.stack-options.stack-multi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (min-width: 700px){
  .stack-options.stack-multi {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.stack-options.stack-multi input[type="checkbox"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.stack-options.stack-multi .stack-option{
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--panel, #eef3ff);
  border: 1px solid var(--panel-border, #e3e9f7);
  color: var(--ink-strong, #0f2f7f);
  box-shadow: 0 2px 8px rgba(16,24,40,.06);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.stack-options.stack-multi .stack-option:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16,24,40,.08);
}
.stack-options.stack-multi input[type="checkbox"]:focus + .stack-option{
  outline: 3px solid rgba(38,99,235,.35);
  outline-offset: 2px;
}
.stack-options.stack-multi input[type="checkbox"]:checked + .stack-option{
  background: var(--brand, #2f5fe6);
  color: #fff;
  border-color: var(--brand, #2f5fe6);
  box-shadow: 0 8px 20px rgba(47,95,230,.25);
}

@media only screen and (max-width: 650px) {
  .stack-options.stack-multi .stack-option {
    padding: 10px 14px;
    margin-bottom: 0;
  }

}

/* ----- Marketing consent (Stay Informed) ----- */
.consent-card {
  padding-top: 4px; /* keep card airy but tight */
}

.consent-row {
  display: flex;
  align-items: flex-start;          /* text aligns to the top of checkbox */
  gap: 14px;
}

.consent-checkbox {
  /* large, touch-friendly checkbox */
  width: 26px;
  height: 26px;
  margin-top: 2px;
  flex: 0 0 auto;
  padding: 10px;
  /* brand where supported */
  accent-color: var(--brand, #2f5fe6);

  /* fallback look if accent-color isn’t supported */
  -webkit-appearance: none;
  appearance: none;
  border: 2px solid var(--panel-border, #d8e1fb);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.06) inset;
  position: relative;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.consent-checkbox:focus {
  outline: 3px solid rgba(47,95,230,.28);
  outline-offset: 2px;
}
.consent-checkbox:checked {
  background: var(--brand, #2f5fe6);
  border-color: var(--brand, #2f5fe6);
  box-shadow: none;
}
.consent-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 7px;
  height: 12px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.consent-row label {
  font-size: 1rem;              /* 16px */
  font-weight: 500;
  color: var(--ink-strong, #0f2f7f);
  line-height: 1.45;
}

.consent-note {
  margin: 10px 0 0 40px;        /* indent under the label, aligned to text block */
  font-size: .92rem;
  color: #64748b;
}
.consent-note a {
  color: var(--brand, #2f5fe6);
  text-decoration: underline;
}
@media (max-width: 480px){
  .consent-note { margin-left: 38px; }
}


/* --- Review summary --- */
.summary-section {
  margin: 18px 0 24px;
  padding: 16px 16px 8px;
  background: var(--panel, #f5f7ff);
  border: 1px solid var(--panel-border, #e6e9f7);
  border-radius: 12px;
}
.summary-section h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--ink-strong, #0f2f7f);
}
.summary-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: start;
  gap: 10px 16px;
  padding: 8px 0;
  border-top: 1px solid rgba(15,47,127,.06);
}
.summary-row:first-of-type { border-top: 0; }
.summary-label { color: #566; font-weight: 600; }
.summary-value { color: #0f2f7f; }
.summary-edit {
  color: var(--brand, #2f5fe6);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.summary-edit:hover { text-decoration: underline; }

/* stack on small screens */
@media (max-width: 700px) {
  .summary-row {
    grid-template-columns: 1fr auto;
  }
  .summary-label {
    grid-column: 1 / -1;
  }
}

.btn.ghost{
  background: transparent;
  border: 1px solid var(--brand, #2f5fe6);
  color: var(--brand, #2f5fe6);
}
.btn.ghost:hover{ background: rgba(47,95,230,.08); }



/* tiny “?” button */
.help-trigger{
  margin-left:.5rem;
  width:24px; height:24px; line-height:24px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1.5px solid #2f5fe6; color:#2f5fe6; background:#eef3ff;
  border-radius:999px; font-weight:800; font-size:12px;
  cursor:pointer; transition:transform .06s ease, background .15s ease;
}
.help-trigger:hover{ background:#e4ecff; }
.help-trigger:active{ transform:scale(.97); }

/* help overlay */
#helpOverlay{
  position:fixed; inset:0; z-index:100000;
  display:none; align-items:center; justify-content:center;
  background:rgba(11,18,40,.65); backdrop-filter: blur(3px);
  padding:20px;
}
.help-card{
  width:min(640px, 92vw);
  background:#fff; border-radius:16px;
  box-shadow:0 24px 60px rgba(0,0,0,.35);
  padding:18px 20px 20px;
  font-family: Inter, Arial, sans-serif;
}
.help-head{
  display:flex; gap:10px; align-items:center; justify-content:space-between;
  margin-bottom:6px;
}
.help-title{
  font-size:22px; font-weight:800; color:#2f5fe6;
}
.help-close{
  border:none; background:#eef3ff; color:#2f5fe6; font-weight:800;
  width:28px; height:28px; border-radius:999px; cursor:pointer;
}
.help-body{
  color:#0f2f7f; line-height:1.35;
}
.help-body ul{ margin:.4rem 0 .2rem 1.1rem; }
.help-body li{ margin:.2rem 0; }
.field-label {display: flex; flex-direction: row; gap: 5px; justify-content: space-between;}

/* error text */
small.error {
  color: #e54848;
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

/* highlight the question/field wrapper */
.yn.has-error,
.choice-list.has-error,
.stack-options.has-error {
  --err: #e54848;
  outline: 1px solid var(--err);
  outline-offset: 5px;
  border-radius: 10px;
}

/* optional: dim the control itself */
.has-error input,
.has-error select,
.has-error textarea {
  border-color: #e54848 !important;
}

.field.has-error {
  background: rgba(255, 0, 0, 0.1);
  padding: 10px;
  border-radius: 20px;
}

/* ghost next (if you want a lighter look) */
.btn.next.ghost {
  background: transparent !important;
  border: 2px solid #aab7ff !important;
  color: #284bb8 !important;
  opacity: .65;
  cursor: not-allowed;

}

/* subtle, pill-like action button */
.btn.link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .8rem;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1;
   background: transparent !important;
  border: 2px solid #aab7ff !important;
  color: #284bb8 !important;
  opacity: .65;
  margin-top: 10px;
  &:hover {
    opacity: 1;
  }
}
.btn.link:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #1e40af;
}

.lock-cont {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-gap: 20px;
      }

      .lock-cont .card {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      .lock-cont img {
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: contain;
        border-radius: 10px;
        outline: 2px solid var(--brand);
      }

      .lock-cont h {
        font-size: 15px;
        font-weight: 400;
      }

      @media only screen and (max-width: 800px) {
        .lock-cont {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
      }
      }


.need-help {
  width: 100%;
  text-align: center;
  padding: 20px;
  font-weight: normal;
  color: var(--brand2);
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.06),0px 4px 4px rgba(0, 0, 0, 0.04), 0px 8px 8px rgba(0, 0, 0, 0.02);
  display: flex;
  justify-content: center;
  gap: 5px;
}

.need-help a {
  text-decoration: none;
  color: var(--brand2);
  font-weight: bold;
}

.need-help img {
  height: 30px;
}

.need-help h {
  height: fit-content;
  margin-top: auto;
  margin-bottom: auto;
}

