/* ============================================================================
   continON Partner Network — the website's design language.

   Values mirror continon.com (Web/src/styles.scss light tokens) and the
   Partner Portal entry pages (PartnerPortalApp partner-entry.css), so the
   partner network, the portal and the website read as one product: Inter,
   white, ink type, one line of continON teal, hairlines instead of boxes, and
   one deep chapter. Teal splits its roles as on the website: #1bb28a is light
   (points, lines, glows), teal-600 is large accent type, teal-700 carries
   white type and links.

   Everything is prefixed `cw-` so it sits beside the Bootstrap 4 classes the
   page scripts and the register partial still use. Motion is transform and
   opacity; micro-interactions run 160–280 ms; reduced motion is still.
   ========================================================================= */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------- tokens */
:root {
  --cw-teal: #1bb28a;
  --cw-teal-50: #eafaf4;
  --cw-teal-100: #cbf1e3;
  --cw-teal-300: #5fd6b0;
  --cw-teal-600: #149a76;
  --cw-teal-700: #0f7d60;
  --cw-teal-750: #0c6a52;

  --cw-bg: #ffffff;
  --cw-mist: #f4f7f9;
  --cw-ink: #0c1620;
  --cw-text: #14202c;
  --cw-muted: #566677;
  --cw-faint: #6b7889;
  --cw-hair: #e4e9ef;
  --cw-hair-strong: #d3dbe4;
  --cw-control: #78899a;
  --cw-deep: #0b141d;
  --cw-deep-2: #101c27;
  --cw-error: #b42318;

  --cw-font: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --cw-gutter: clamp(1rem, .5rem + 3vw, 2.5rem);
  --cw-wide: 1240px;
  --cw-header-h: 68px;

  --cw-ease: cubic-bezier(.22, .61, .36, 1);
  --cw-ease-out: cubic-bezier(.16, 1, .3, 1);
  --cw-spring: cubic-bezier(.2, .9, .25, 1.15);
  --cw-d1: .16s;
  --cw-d2: .28s;
}

/* ------------------------------------------------------------------ base */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cw-header-h) + 12px); }
body.cw {
  margin: 0;
  font-family: var(--cw-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cw-text);
  background: var(--cw-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01';
}
.cw *, .cw *::before, .cw *::after { box-sizing: border-box; }
.cw h1, .cw h2, .cw h3, .cw h4, .cw h5 { font-family: var(--cw-font); color: var(--cw-ink); margin: 0; letter-spacing: -.022em; text-wrap: balance; }
.cw p { margin: 0; }
.cw a { color: var(--cw-teal-700); text-decoration: none; }
.cw a:hover { color: var(--cw-teal-750); }
.cw b, .cw strong { color: inherit !important; font-weight: 650; }
.cw ::selection { background: var(--cw-teal-100); color: var(--cw-ink); }
.cw :focus-visible { outline: 2px solid var(--cw-teal-600); outline-offset: 3px; border-radius: 6px; }

.cw-wrap { width: 100%; max-width: var(--cw-wide); margin: 0 auto; padding-inline: var(--cw-gutter); }
.cw-section { padding-block: clamp(4rem, 9vw, 7rem); }
.cw-section--mist { background: var(--cw-mist); }
.cw-on { color: var(--cw-teal-600); }

/* The estate's micro-label: field names and the one kicker above a chapter. */
.cw .cw-kicker {
  display: inline-block; margin: 0 0 1rem;
  font-size: .72rem; font-weight: 700; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cw-teal-700);
}
.cw .cw-kicker span { color: inherit !important; }
.cw-display {
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem);
  line-height: 1.02; letter-spacing: -.034em; font-weight: 700;
}
.cw-h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; }
.cw-h3 { font-size: clamp(1.25rem, 1rem + .9vw, 1.6rem); line-height: 1.2; font-weight: 680; }
.cw-lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); line-height: 1.6; color: var(--cw-muted); max-width: 62ch; text-wrap: pretty; }
.cw-statement {
  font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.1rem); line-height: 1.24; letter-spacing: -.024em;
  font-weight: 620; color: var(--cw-ink); max-width: 40ch; text-wrap: balance;
}
.cw-note { font-size: .9rem; color: var(--cw-faint); }

/* ---------------------------------------------------------------- buttons */
.cw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.35rem; border-radius: 10px;
  font: 620 .98rem/1.1 var(--cw-font); letter-spacing: -.005em; text-transform: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--cw-d1) var(--cw-ease), border-color var(--cw-d1) var(--cw-ease),
    color var(--cw-d1) var(--cw-ease), transform var(--cw-d2) var(--cw-spring);
}
.cw-btn:active { transform: scale(.98); }
.cw-btn .cw-arrow { transition: transform var(--cw-d2) var(--cw-spring); }
.cw-btn:hover .cw-arrow { transform: translateX(3px); }
.cw-btn--primary { background: var(--cw-teal-700); color: #fff !important; }
.cw-btn--primary:hover { background: var(--cw-teal-750); color: #fff !important; }
.cw-btn--secondary { background: transparent; color: var(--cw-ink) !important; border-color: var(--cw-control); }
.cw-btn--secondary:hover { border-color: var(--cw-teal-700); color: var(--cw-teal-700) !important; }
.cw-btn--on-deep { background: var(--cw-teal-300); color: #04231b !important; }
.cw-btn--on-deep:hover { background: #8de6c9; }
.cw-btn--ghost-deep { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .28); }
.cw-btn--ghost-deep:hover { border-color: var(--cw-teal-300); color: var(--cw-teal-300) !important; }
.cw-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 620; color: var(--cw-teal-700); }
.cw-link .cw-arrow { transition: transform var(--cw-d2) var(--cw-spring); }
.cw-link:hover .cw-arrow { transform: translateX(3px); }
.cw-arrow { width: 16px; height: 16px; flex: none; }

/* ----------------------------------------------------------------- header */
.cw-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030; height: var(--cw-header-h);
  display: flex; align-items: center;
}
.cw-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--cw-d2) var(--cw-ease), background var(--cw-d2) var(--cw-ease);
}
.cw-header.is-scrolled::before { border-bottom-color: var(--cw-hair); background: rgba(255, 255, 255, .9); }
.cw-header__in { display: flex; align-items: center; gap: 1.6rem; width: 100%; }
.cw-brand { display: inline-flex; align-items: center; flex: none; }
.cw-brand img { height: 30px; width: auto; display: block; }
.cw-nav { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.cw-nav a.cw-nav__link {
  padding: .5rem .75rem; border-radius: 8px; font-size: .94rem; font-weight: 540; color: var(--cw-text) !important;
  transition: background var(--cw-d1) var(--cw-ease), color var(--cw-d1) var(--cw-ease);
}
.cw-nav a.cw-nav__link:hover, .cw-nav a.cw-nav__link.active { color: var(--cw-teal-700) !important; background: var(--cw-teal-50); }
.cw-tools { display: flex; align-items: center; gap: .6rem; margin-left: .4rem; }
.cw-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--cw-ink); cursor: pointer; }
.cw-burger svg { width: 22px; height: 22px; }

/* The language and sign-in menus keep the classes the page scripts toggle
   (.dropdown-content, .login-dropdown-content); only their look is ours. */
.cw .dropdown, .cw .login-dropdown { position: relative; display: inline-block; }
.cw .dropbtn, .cw .login-dropbtn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem .8rem;
  border: 1px solid var(--cw-hair-strong); border-radius: 10px; background: #fff;
  font: 600 .86rem/1 var(--cw-font); color: var(--cw-ink) !important; cursor: pointer;
  transition: border-color var(--cw-d1) var(--cw-ease), background var(--cw-d1) var(--cw-ease);
}
.cw .dropbtn:hover { border-color: var(--cw-control); }
.cw .login-dropbtn { background: var(--cw-teal-700); color: #fff !important; border-color: var(--cw-teal-700); }
.cw .login-dropbtn:hover { background: var(--cw-teal-750); border-color: var(--cw-teal-750); }
.cw .dropdown-content, .cw .login-dropdown-content {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; z-index: 1040;
  padding: .4rem; background: #fff; border: 1px solid var(--cw-hair); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(12, 22, 32, .05), 0 18px 40px -18px rgba(12, 22, 32, .28);
  max-height: 70vh; overflow-y: auto;
}
.cw .dropdown-content a, .cw .login-dropdown-content a {
  display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: 8px;
  font-size: .9rem; font-weight: 540; color: var(--cw-text) !important; cursor: pointer;
}
.cw .dropdown-content a:hover, .cw .login-dropdown-content a:hover { background: var(--cw-mist); color: var(--cw-teal-700) !important; }
.cw .flag-icon { border-radius: 2px; box-shadow: 0 0 0 1px rgba(12, 22, 32, .08); }
.cw-signed { display: inline-flex; align-items: center; gap: .4rem; }
.cw-signed .btn { padding: .45rem .8rem; border-radius: 10px; font: 600 .86rem/1 var(--cw-font); color: var(--cw-ink) !important; }
.cw-signed #profileBtn { background: var(--cw-teal-700); color: #fff !important; }

/* ------------------------------------------------------------------- hero */
/* One wide column, anchored left and reaching across the page, over the
   dawn light; the hero's floor is a full-width strip of where to go next. */
.cw-hero {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding-top: var(--cw-header-h);
  background:
    radial-gradient(62% 78% at 96% 22%, rgba(27, 178, 138, .17), transparent 64%),
    radial-gradient(48% 60% at 70% 110%, rgba(27, 178, 138, .08), transparent 62%),
    linear-gradient(180deg, #fff 0%, var(--cw-mist) 100%);
}
@media (min-width: 768px) { .cw-hero { min-height: min(100svh, 60rem); } }
.cw-hero__inner { flex: 1; display: flex; align-items: center; padding-block: clamp(2rem, 6vh, 5rem); }
.cw-hero__copy { width: 100%; }
/* Sized by the shorter of width and height, so the actions stay on the first
   screen of a 1366 × 650 laptop. */
.cw-hero h1.cw-display {
  margin-bottom: clamp(1.2rem, 3vh, 2.2rem);
  font-size: clamp(2.5rem, min(1.1rem + 6.6vw, 12.5vh), 7.25rem); line-height: .97; letter-spacing: -.04em;
}
.cw-hero h1 .cw-h1-2 { display: block; color: var(--cw-teal-600); }
.cw-hero .cw-lede { max-width: 48rem; font-size: clamp(1.12rem, .95rem + .55vw, 1.42rem); color: var(--cw-text); }
.cw-hero .cw-lede + .cw-lede { max-width: 48rem; margin-top: 1rem; font-size: clamp(1rem, .95rem + .2vw, 1.1rem); color: var(--cw-muted); }
.cw-ctas { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin-top: clamp(1.5rem, 3.4vh, 2.2rem); }
.cw-hero .cw-note { margin-top: 1.1rem; }
.cw-hero__strip { background: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 var(--cw-hair); }
.cw-hero__strip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cw .cw-strip {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1rem; row-gap: .15rem;
  padding: 1.35rem 1.6rem; color: inherit; text-decoration: none !important;
}
.cw .cw-strip:first-child { padding-left: 0; }
.cw .cw-strip + .cw-strip { box-shadow: inset 1px 0 0 var(--cw-hair); }
.cw-strip__k { grid-column: 1; font-size: .86rem; font-weight: 600; color: var(--cw-faint); }
.cw-strip__v { grid-column: 1; font-size: 1.08rem; font-weight: 650; letter-spacing: -.012em; color: var(--cw-ink); transition: color var(--cw-d1) var(--cw-ease); }
.cw-strip__go { grid-column: 2; grid-row: 1 / span 2; width: 1rem; height: 1rem; color: var(--cw-teal-600); transition: transform var(--cw-d2) var(--cw-ease-out); }
.cw .cw-strip:hover .cw-strip__v { color: var(--cw-teal-700); }
.cw .cw-strip:hover .cw-strip__go { transform: translateX(4px); }
.cw .cw-strip:focus-visible { outline: 2px solid var(--cw-teal); outline-offset: -2px; border-radius: 8px; }

/* ---------------------------------------------------------------- chapters */
.cw-head { display: grid; gap: .2rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.cw-head--center { justify-items: center; text-align: center; }
.cw-head--center .cw-statement, .cw-head--center .cw-lede { margin-inline: auto; }

/* A hairline grid: one rule over each item, never a box. */
.cw-grid { display: grid; gap: 2rem clamp(1.4rem, 3vw, 2.6rem); }
.cw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cw-item { padding-top: 1.2rem; border-top: 1px solid var(--cw-hair-strong); }
.cw-item h3, .cw-item h4, .cw-item h5 { font-size: 1.12rem; font-weight: 660; letter-spacing: -.014em; margin: .9rem 0 .45rem; }
.cw-item p { color: var(--cw-muted); line-height: 1.62; text-wrap: pretty; }
.cw-ico {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--cw-teal-50); color: var(--cw-teal-700);
}
.cw-ico svg { width: 21px; height: 21px; }
.cw-after { margin-top: clamp(2.2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Levels: a ladder of three, each a step wider in responsibility. */
.cw-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cw-split__h { margin-bottom: .5rem; }
.cw-split__note { color: var(--cw-muted); margin-bottom: 1.6rem; }
.cw-split__note strong { font-weight: 560; }
.cw-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.cw-tier {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: start;
  padding: 1.2rem 1.3rem; border-radius: 14px; background: #fff; border: 1px solid var(--cw-hair);
  transition: border-color var(--cw-d2) var(--cw-ease), transform var(--cw-d2) var(--cw-spring);
}
.cw-tier:hover { border-color: var(--cw-hair-strong); transform: translateY(-2px); }
.cw-tier__badge {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-size: .78rem; font-weight: 800; letter-spacing: .02em; color: #fff;
}
.cw-tier--premium .cw-tier__badge { background: radial-gradient(circle at 30% 25%, #2f4a5f, #0c1620); box-shadow: inset 0 0 0 2px rgba(95, 214, 176, .55); }
.cw-tier--gold .cw-tier__badge { background: radial-gradient(circle at 30% 25%, #f3d27a, #b8860b); color: #2a1d00; }
.cw-tier--silver .cw-tier__badge { background: radial-gradient(circle at 30% 25%, #eef1f4, #9aa5b1); color: #1c2733; }
.cw-tier h4 { font-size: 1.05rem; font-weight: 700; margin: .1rem 0 .5rem; letter-spacing: -.01em; text-transform: none; }
.cw-tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.cw-tier li { position: relative; padding-left: 1.1rem; color: var(--cw-muted); font-size: .95rem; line-height: 1.5; }
.cw-tier li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--cw-teal); }

.cw-kinds { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cw-kind { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--cw-hair); }
.cw-kind:last-child { border-bottom: 1px solid var(--cw-hair); }
.cw-kind h5 { font-size: 1rem; font-weight: 660; margin: .15rem 0 .3rem; text-transform: none; }
.cw-kind p { color: var(--cw-muted); font-size: .95rem; line-height: 1.55; }

.cw-services { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.cw-services .cw-statement { max-width: 28ch; margin-bottom: 2rem; }

/* ------------------------------------------------------------ deep chapter */
.cw-deep {
  position: relative; overflow: hidden; color: #c9d3dd;
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(27, 178, 138, .16), transparent 60%),
    linear-gradient(180deg, var(--cw-deep) 0%, var(--cw-deep-2) 100%);
}
.cw-deep h2, .cw-deep h3, .cw-deep h4 { color: #fff; }
.cw-deep .cw-kicker { color: var(--cw-teal-300); }
.cw-deep .cw-lede { color: #a9b6c3; }
.cw-deep .cw-item { border-top-color: rgba(255, 255, 255, .14); }
.cw-deep .cw-item p { color: #a9b6c3; }
.cw-deep .cw-item .cw-item__t { display: block; color: #fff; font-size: 1.08rem; font-weight: 650; margin-bottom: .4rem; }

/* -------------------------------------------------------------------- map */
.cw-map {
  width: 100%; height: clamp(320px, 42vw, 460px); border-radius: 18px; overflow: hidden;
  border: 1px solid var(--cw-hair); background: var(--cw-mist);
}
.cw-map { position: relative; }
.cw-legend { display: inline-flex; align-items: center; gap: .5rem; color: var(--cw-muted); font-size: .92rem; }
.cw-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--cw-teal); box-shadow: 0 0 0 4px rgba(27, 178, 138, .18); }
.cw-map-hint { margin-top: .8rem; text-align: center; font-size: .84rem; color: var(--cw-faint); }
.cw .partner-popup .leaflet-popup-content-wrapper { border-radius: 12px; background: var(--cw-ink); color: #dfe6ec; box-shadow: 0 18px 40px -18px rgba(12, 22, 32, .5); }
.cw .partner-popup .leaflet-popup-tip { background: var(--cw-ink); }

/* -------------------------------------------------------------------- FAQ */
.cw-faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cw-faq-cols h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.cw-faq-cols--one { grid-template-columns: minmax(0, 46rem); }
.cw .accordion dl { margin: 0; border-bottom: 1px solid var(--cw-hair-strong); }
.cw .accordion dt { margin: 0; border-top: 1px solid var(--cw-hair-strong); font-weight: inherit; }
.cw .accordionTitle {
  position: relative; display: block; padding: 1.05rem 2.4rem 1.05rem 0; cursor: pointer;
  font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--cw-ink) !important;
  transition: color var(--cw-d1) var(--cw-ease);
}
.cw .accordionTitle .mrg { padding-left: 0 !important; pointer-events: none; }
.cw .accordionTitle:hover { color: var(--cw-teal-700) !important; }
.cw .accordionTitle::after {
  content: ''; position: absolute; right: .3rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
  transition: transform var(--cw-d2) var(--cw-spring), margin-top var(--cw-d2) var(--cw-spring);
}
.cw .accordionTitleActive::after { transform: rotate(225deg); margin-top: -2px; }
.cw .accordionItem { margin: 0; padding: 0 2.4rem 1.2rem 0; color: var(--cw-muted); line-height: 1.65; }
.cw .accordionItem .font-weight-bold { font-weight: 560 !important; color: var(--cw-text); }
.cw .accordionItemCollapsed { display: none; }
.cw .accordionItem.animateIn { animation: cw-fold .32s var(--cw-ease-out) both; }
@keyframes cw-fold { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cw-faq-cta { margin-top: 1.6rem; }

/* ----------------------------------------------------------- application */
.cw-apply { background: var(--cw-mist); border-top: 1px solid var(--cw-hair); }
.cw-apply .cw-head { margin-bottom: 2rem; }
.cw-panel {
  max-width: 760px; margin: 0 auto; padding: clamp(1.4rem, 4vw, 2.6rem);
  background: #fff; border-radius: 18px; border: 1px solid var(--cw-hair);
}
/* Fields inside the register partial and the partner application keep their
   Bootstrap markup; only the material changes. */
.cw .form-control, .cw select.form-control, .cw textarea.form-control {
  height: auto; min-height: 46px; padding: .7rem .85rem; border-radius: 10px;
  border: 1px solid var(--cw-control); background: #fff; color: var(--cw-ink);
  font: 400 1rem/1.4 var(--cw-font); box-shadow: none;
  transition: border-color var(--cw-d1) var(--cw-ease), box-shadow var(--cw-d1) var(--cw-ease);
}
.cw .form-control:hover { border-color: #5b6b7c; }
.cw .form-control:focus { border-color: var(--cw-teal-600); box-shadow: 0 0 0 3px rgba(20, 154, 118, .18); outline: 0; }
.cw label, .cw .control-label { font-size: .88rem; font-weight: 600; color: var(--cw-ink); margin-bottom: .35rem; }
.cw .text-danger, .cw .field-validation-error { color: var(--cw-error) !important; font-size: .85rem; }
.cw .btn-primary, .cw .btn-success, .cw .btn-green, .cw input[type=submit].btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px;
  padding: .75rem 1.3rem; border-radius: 10px; border: 0; background: var(--cw-teal-700) !important;
  color: #fff !important; font: 620 .98rem/1.1 var(--cw-font); text-transform: none; box-shadow: none;
}
.cw .btn-primary:hover, .cw .btn-success:hover, .cw .btn-green:hover, .cw input[type=submit].btn:hover { background: var(--cw-teal-750) !important; }

/* The register partial (Account/Register): its floating-label fields
   (label.inp > input + span.label + span.border) read as a label over a field;
   its hard-coded white links and white buttons take the page's colours. */
.cw-panel .col-lg-8 { flex: 0 0 100%; max-width: 100%; }
.cw-panel .contact-modal-title { font-size: 1.05rem; font-weight: 680; text-align: left; margin: 0 0 .4rem; }
.cw-panel br { display: none; }
.cw .inp { display: flex; flex-direction: column-reverse; width: 100%; margin: 0; }
.cw .inp .border { display: none; }
.cw .inp .label { font-size: .88rem; font-weight: 600; color: var(--cw-ink); margin-bottom: .35rem; }
.cw .inp .text-red { color: var(--cw-error); margin-left: .15rem; }
.cw .inp input {
  width: 100%; min-height: 46px; padding: .7rem .85rem; border-radius: 10px;
  border: 1px solid var(--cw-control); background: #fff; color: var(--cw-ink); font: 400 1rem/1.4 var(--cw-font);
  transition: border-color var(--cw-d1) var(--cw-ease), box-shadow var(--cw-d1) var(--cw-ease);
}
.cw .inp input:focus { border-color: var(--cw-teal-600); box-shadow: 0 0 0 3px rgba(20, 154, 118, .18); outline: 0; }
.cw .css-checkbox { width: 18px; height: 18px; margin: 0 .55rem 0 0; vertical-align: -3px; accent-color: var(--cw-teal-700); }
.cw .css-label { display: inline; font-weight: 500; color: var(--cw-text); }
.cw .css-label a { color: var(--cw-teal-700) !important; font-weight: 600; }
.cw-panel #info { color: var(--cw-muted) !important; text-decoration: none !important; }
.cw-panel .btn-light { min-height: 46px; padding: .75rem 1.2rem; border-radius: 10px; background: transparent; border: 1px solid var(--cw-control); color: var(--cw-ink); font: 600 .95rem/1.1 var(--cw-font); }
.cw-panel .btn-light:hover { border-color: var(--cw-teal-700); color: var(--cw-teal-700); background: transparent; }
.cw-panel #btnRegister { min-height: 46px; padding: .75rem 1.4rem; border-radius: 10px; border: 0; background: var(--cw-teal-700); color: #fff; font: 620 .98rem/1.1 var(--cw-font); }
.cw-panel #btnRegister:hover { background: var(--cw-teal-750); }

/* --------------------------------------------------------------- contact */
.cw-contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cw-mail { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.6rem; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); font-weight: 650; letter-spacing: -.015em; color: var(--cw-ink) !important; }
.cw-mail:hover { color: var(--cw-teal-700) !important; }
.cw-mail .cw-ico { width: 46px; height: 46px; }
.cw-hours { margin-top: .9rem; color: var(--cw-faint); font-size: .92rem; }
.cw-certs { display: flex; gap: 1.2rem; justify-content: flex-end; align-items: center; }
.cw-certs img { height: 92px; width: auto; }

/* ---------------------------------------------------------------- footer */
.cw-footer { background: var(--cw-deep); color: #93a1af; padding-block: clamp(2.6rem, 6vw, 4rem) 2rem; }
.cw-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.cw-footer img.cw-footer__logo { height: 28px; width: auto; }
.cw-social { display: flex; gap: .5rem; }
.cw-social a {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16); color: #c9d3dd !important;
  transition: border-color var(--cw-d1) var(--cw-ease), color var(--cw-d1) var(--cw-ease);
}
.cw-social a:hover { border-color: var(--cw-teal-300); color: var(--cw-teal-300) !important; }
.cw-social svg { width: 17px; height: 17px; fill: currentColor; }
.cw-footer__bottom { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.6rem; font-size: .86rem; }
.cw-footer__bottom a { color: #c9d3dd !important; }
.cw-footer__bottom a:hover { color: var(--cw-teal-300) !important; }
.cw-footer__legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* -------------------------------------------------------------- sign-in
   The Partner Portal's sign-in split: the form on white, the film's arch on a
   mint panel. One column on phones. */
.cw-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cw-auth__form { display: flex; flex-direction: column; padding: clamp(1.4rem, 4vw, 3rem) var(--cw-gutter); }
.cw-auth__form .cw-brand img { height: 30px; }
.cw-auth__body { width: 100%; max-width: 400px; margin: auto; padding-block: 2.5rem; }
.cw-auth__body h1 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
.cw-auth__body > p { margin-top: .7rem; color: var(--cw-muted); }
.cw-field { display: grid; gap: .35rem; margin-top: 1.1rem; }
.cw-field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.cw-field__row a { font-size: .86rem; font-weight: 600; }
.cw-check { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.1rem; font-size: .92rem; color: var(--cw-text); cursor: pointer; }
.cw-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--cw-teal-700); }
.cw-auth .cw-btn--primary { width: 100%; margin-top: 1.5rem; }
.cw-auth .validation-summary-errors ul { margin: 1rem 0 0; padding: .8rem 1rem; list-style: none; border-radius: 10px; background: #fdf0ef; color: var(--cw-error); font-size: .9rem; }
.cw-auth__alt { margin-top: 1.4rem; font-size: .92rem; text-align: center; }
.cw-auth__alt a, .cw-auth__body > p a { font-weight: 600; color: var(--cw-teal-700); }
.cw-auth__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.2rem; font-size: .84rem; color: var(--cw-faint); }
.cw-auth__foot a { color: var(--cw-muted); font-weight: 560; }
/* The sign-in's picture: two partners closing a deal, edge to edge, with the
   name set on a dark fall-off at its foot. */
.cw-auth__art { position: relative; overflow: hidden; background: var(--cw-deep); }
.cw-auth__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.cw-auth__art::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(6, 28, 23, .8) 100%);
}
.cw-auth__caption {
  position: absolute; z-index: 1; left: clamp(1.5rem, 4vw, 3rem); right: clamp(1.5rem, 4vw, 3rem); bottom: clamp(1.5rem, 4vw, 3rem);
  display: grid; gap: .2rem; color: #fff;
}
.cw-auth__caption b { font-size: .95rem; font-weight: 700; color: #fff !important; }
.cw-auth__caption b span { color: var(--cw-teal-300); }
.cw-auth__caption > span { font-size: clamp(1.4rem, 1rem + 1.1vw, 1.9rem); font-weight: 650; letter-spacing: -.02em; }
@media (prefers-reduced-motion: no-preference) {
  .cw-auth__photo { animation: cw-auth-photo 1.8s var(--cw-ease-out) both; }
  @keyframes cw-auth-photo { from { transform: scale(1.06); } to { transform: none; } }
}
@media (max-width: 900px) {
  .cw-auth { grid-template-columns: 1fr; }
  .cw-auth__art { display: none; }
}

/* ------------------------------------------------------------- utilities */
.cw-top {
  /* Above the reCAPTCHA badge (bottom 14px, 60px tall), never over it. */
  position: fixed; right: 1.2rem; bottom: 88px; z-index: 1020; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--cw-ink); color: #fff !important;
  box-shadow: 0 8px 8px -6px rgba(12, 22, 32, .35);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity var(--cw-d2) var(--cw-ease), transform var(--cw-d2) var(--cw-spring);
}
.cw-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.cw-top svg { width: 18px; height: 18px; }

/* Reveal: complete by default; only a browser that runs the script and asks
   for motion gets the entrance. */
.cw-js .cw-reveal { opacity: 0; transform: translateY(14px); }
.cw-js .cw-reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--cw-ease-out), transform .7s var(--cw-ease-out); transition-delay: var(--cw-delay, 0s); }

/* The cookie notice, in the site's material. */
.cw .cc-window { font-family: var(--cw-font) !important; background: var(--cw-ink) !important; border-radius: 14px; }
.cw .cc-btn { border-radius: 10px; font-weight: 620 !important; background: var(--cw-teal-300) !important; color: #04231b !important; border: 0 !important; }
.cw .cc-link { color: #c9d3dd !important; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .cw-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cw-split, .cw-faq-cols, .cw-contact { grid-template-columns: 1fr; }
  .cw-certs { justify-content: flex-start; }
}
@media (max-width: 991px) {
  .cw-burger { display: inline-grid; place-items: center; }
  .cw-menu {
    position: fixed; inset: var(--cw-header-h) 0 auto 0; z-index: 1025;
    display: none; flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 1rem var(--cw-gutter) 1.4rem; background: #fff; border-bottom: 1px solid var(--cw-hair);
    box-shadow: 0 18px 40px -24px rgba(12, 22, 32, .3); max-height: calc(100vh - var(--cw-header-h)); overflow-y: auto;
  }
  .cw-menu.is-open { display: flex; }
  .cw-nav { flex-direction: column; align-items: stretch; margin: 0; }
  .cw-nav a.cw-nav__link { padding: .85rem .5rem; font-size: 1rem; }
  .cw-tools { margin: .8rem 0 0; flex-wrap: wrap; }
  .cw .dropdown-content, .cw .login-dropdown-content { position: static; box-shadow: none; margin-top: .4rem; }
}
@media (min-width: 992px) { .cw-menu { display: flex; align-items: center; flex: 1; } }
@media (max-width: 900px) {
  .cw-hero__strip-grid { grid-template-columns: 1fr; }
  .cw .cw-strip { padding-inline: 0; }
  .cw .cw-strip + .cw-strip { box-shadow: inset 0 1px 0 var(--cw-hair); }
}
@media (max-width: 640px) {
  .cw-grid--3, .cw-grid--2 { grid-template-columns: 1fr; }
  .cw-btn { white-space: normal; text-align: center; }
  .cw-ctas .cw-btn { width: 100%; }
  .cw-certs img { height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cw *, .cw *::before, .cw *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .cw-js .cw-reveal { opacity: 1; transform: none; }
}
