/* Connect page — production build of Connect.dc.html */

html, body {
  margin: 0;
  padding: 0;
  background: #F8F7F7;
}

body {
  font-family: 'Synapse', 'Poppins', 'Inter', system-ui, sans-serif;
  color: #201F1D;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

*, *::before, *::after {
  box-sizing: border-box;
}

a {
  color: #0A7891;
  text-decoration: none;
}

a:hover {
  color: #0C505D;
}

img {
  max-width: 100%;
}

.page {
  width: 100%;
  background: #F8F7F7;
}

/* Focus rings — double ring pattern used throughout the design */
.focus-ring-light:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #F8F7F7, 0 0 0 4px #0A7891;
}

.focus-ring-dark:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0D2828, 0 0 0 4px #C9FEFF;
}

.focus-ring-citron:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0D2828, 0 0 0 4px #FFFA66;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 247, 247, .94);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px clamp(24px, 5.5vw, 80px);
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-link {
  display: flex;
  align-items: center;
  border-radius: 6px;
}

.logo-link img {
  height: 26px;
  width: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex: none;
}

.connect-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-teal-teal-shade, #0C505D);
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-neutrals-black, #201F1D);
  white-space: nowrap;
}

.connect-pill:hover {
  background: rgba(12, 80, 93, .06);
}

.connect-pill img {
  height: 19px;
  width: 71px;
  display: block;
}

.demo-cta-link {
  display: block;
  border-radius: 8px;
}

.demo-cta {
  width: fit-content;
  height: 48px;
  border-radius: 8px;
  background: var(--color-teal-teal-shade, #0C505D);
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 13px 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.demo-cta:hover {
  background: var(--color-teal-teal-dark, #0D2828);
}

.demo-cta span {
  font-family: inherit;
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
  line-height: 1.5;
  color: rgb(255, 255, 255);
}

@media (max-width: 700px) {
  .header-inner { gap: 16px; }
  .connect-pill img { display: none; }
}

@media (max-width: 480px) {
  .header-inner { padding: 12px 16px; gap: 12px; min-height: 64px; }
  .logo-link img { height: 20px; }
  .header-actions { gap: 8px; }
  .connect-pill { height: 40px; padding: 0 12px; font-size: 13px; }
  .demo-cta { height: 40px; padding: 0 12px; }
  .demo-cta span { font-size: 13px; }
}

/* ---------- Hero / Connect form ---------- */

.hero-section {
  background: #0D2828;
}

.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px clamp(24px, 9vw, 140px) 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

@media (max-width: 760px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-image {
    justify-self: center;
    order: -1;
    width: min(100%, 320px);
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .09em;
  color: #C9FEFF;
}

.hero-title {
  margin: 0;
  max-width: 560px;
  font-size: clamp(32px, 4.4vw, 44px);
  line-height: 1.14;
  font-weight: 400;
  color: #ffffff;
}

.hero-desc {
  margin: 0;
  max-width: 528px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
}

.hero-checks {
  max-width: 528px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 0;
}

.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-item svg {
  flex: none;
  margin-top: 4px;
}

.check-item span {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .86);
}

.tool-select {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0;
}

.tool-legend {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
}

.tool-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 272px));
  gap: 10px;
  max-width: 554px;
}

.tool-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 49px;
  padding: 13px 15px;
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(201, 254, 255, 0.35);
  transition: background .15s ease, box-shadow .15s ease;
}

.tool-btn.is-selected {
  background: rgba(201, 254, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(201, 254, 255, 0.9);
}

.tool-ring {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(201, 254, 255, 0.55);
}

.tool-btn.is-selected .tool-ring {
  box-shadow: inset 0 0 0 1.5px #C9FEFF;
}

.tool-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: transparent;
}

.tool-btn.is-selected .tool-dot {
  background: #C9FEFF;
}

.tool-label {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
}

.connect-form-row {
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.email-input {
  height: 48px;
  width: 249px;
  max-width: 100%;
  border: 0;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(32, 31, 29, .4);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: #201F1D;
}

.email-input:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px #0A7891;
}

.connect-btn {
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #FFFA66;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #201F1D;
  cursor: pointer;
}

.connect-btn:hover {
  background: #FFFDC7;
}

.connect-success {
  font-size: 14px;
  line-height: 1.5;
  color: #C9FEFF;
}

.connect-success[hidden] {
  display: none;
}

.hero-image {
  width: clamp(280px, 34vw, 500px);
  height: auto;
  display: block;
  justify-self: end;
}

/* ---------- Bucks quote ---------- */

.bucks-section {
  background: #F8F7F7;
}

.bucks-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px clamp(24px, 5.5vw, 80px) 96px;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 90px);
}

.bucks-heading {
  margin: 0;
  max-width: 1029px;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.06;
  font-weight: 400;
  color: #201F1D;
}

.bucks-heading .highlight {
  background: #C9FEFF;
  padding: 0 .06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.bucks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
}

.bucks-circle {
  justify-self: center;
  position: relative;
  width: min(100%, 493px);
  aspect-ratio: 1;
  border-radius: 9999px;
  background: #0D2828;
}

.bucks-mark-wrap {
  position: absolute;
  left: 29.4%;
  top: 24.7%;
  width: 41%;
  aspect-ratio: 201.987 / 250;
}

.bucks-mark-a {
  position: absolute;
  left: 0.66%;
  top: 0.78%;
  width: 98%;
  height: 98.2%;
}

.bucks-mark-b {
  position: absolute;
  left: 9.1%;
  top: 41.3%;
  width: 81.2%;
  height: 51.8%;
}

.quote-card {
  background: #C9FEFF;
  padding: clamp(24px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
  justify-content: space-between;
}

.quote-text {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.5;
  font-weight: 600;
  color: #000000;
}

.quote-person {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-avatar {
  width: 57px;
  height: 57px;
  border-radius: 9999px;
  object-fit: cover;
  display: block;
}

.quote-name-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quote-name {
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  color: #000000;
}

.quote-title {
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
}

/* ---------- Proof strip ---------- */

.proof-section {
  background: #F8F7F7;
}

.proof-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5.5vw, 80px) 120px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.proof-divider-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.proof-divider-line {
  height: 1px;
  flex: 1;
  background: #E4E1DF;
}

.proof-divider-text {
  font-size: 14px;
  line-height: 1.5;
  color: #6B665E;
  text-align: center;
}

.proof-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  justify-items: center;
}

.proof-logo-img {
  width: 100%;
  max-width: 156px;
  height: auto;
  display: block;
}

.proof-logo-box {
  width: 100%;
  display: block;
  background-repeat: no-repeat;
}

.proof-logo-cisco {
  max-width: 106px;
  aspect-ratio: 106 / 56;
  background: url(../assets/logos/cisco.png) center / cover no-repeat;
}

.proof-logo-thomson {
  max-width: 200px;
  aspect-ratio: 200 / 35;
  background: url(../assets/logos/thomson-reuters.png) 50% 50% / 100% 322.581% no-repeat;
}

.proof-logo-equifax {
  max-width: 156px;
  aspect-ratio: 156 / 32.853;
  background: url(../assets/logos/equifax.jpg) 50.001% 47.744% / 100.074% 267.296% no-repeat;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0D2828;
  color: #C9FEFF;
}

.footer-top {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px clamp(24px, 5.5vw, 80px) 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 26px;
  width: auto;
  display: block;
  align-self: flex-start;
}

.footer-address {
  font-size: 14px;
  line-height: 1.5;
  color: #C9FEFF;
}

.newsletter {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 280px;
}

.newsletter-title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  color: #ffffff;
}

.newsletter-label {
  font-size: 13px;
  line-height: 1.5;
  color: #C9FEFF;
}

.newsletter-input {
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(201, 254, 255, .3);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  color: #ffffff;
}

.newsletter-input:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px #C9FEFF;
}

.newsletter-btn {
  align-self: flex-start;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #FFFA66;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #201F1D;
  cursor: pointer;
}

.newsletter-btn:hover {
  background: #FFFDC7;
}

.newsletter-disclaimer {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(201, 254, 255, .7);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-col a {
  color: #C9FEFF;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 254, 255, .18);
}

.footer-bottom-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px clamp(24px, 5.5vw, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(201, 254, 255, .8);
}

.footer-bottom-inner a {
  color: rgba(201, 254, 255, .8);
}
