/* Clickloom homepage: daylight exchange patchboard system. */
.cl-landing {
  --cl-blue: #2055c5;
  --cl-blue-dark: #173f93;
  --cl-orange: #ff874f;
  --cl-ink: #17212d;
  --cl-muted: #4f5d6d;
  --cl-line: #d3dae4;
  --cl-white: #fff;
  background: #f6f8fa;
  color: var(--cl-ink);
  font-family: var(--font-sans);
  line-height: 1.8;
}

.cl-svg-defs { position: absolute; overflow: hidden; }
.cl-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.cl-landing h1,
.cl-landing h2,
.cl-landing h3 {
  color: inherit;
  font-family: var(--font-display);
  line-height: 1.45;
  text-wrap: balance;
}
.cl-landing p { max-width: 68ch; }
.cl-landing :focus-visible { outline: 3px solid var(--cl-orange); outline-offset: 4px; }
.cl-landing a { text-underline-offset: 4px; }

.cl-header { background: var(--cl-white); border-bottom: 1px solid var(--cl-line); }
.cl-nav { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.cl-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--cl-ink); }
.cl-brand span { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.cl-brand-mark { width: 34px; height: 34px; }
.cl-nav-links { display: flex; align-items: center; gap: 28px; margin-inline: auto; }
.cl-nav-links a,
.cl-nav-pricing,
.cl-login { color: var(--cl-muted); font-size: 14px; text-decoration: none; }
.cl-nav-links a:hover,
.cl-nav-pricing:hover,
.cl-login:hover { color: var(--cl-blue); text-decoration: underline; }
.cl-nav-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

.cl-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--cl-orange);
  border-radius: 4px;
  background: var(--cl-orange);
  color: #1c2630;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.cl-button:hover { border-color: #f36f35; background: #f36f35; }
.cl-button--small { min-height: 42px; padding: 9px 17px; font-size: 13px; }

.cl-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(38px, 6vw, 84px);
  padding-block: clamp(58px, 8vw, 104px) clamp(66px, 8vw, 96px);
}
.cl-hero-copy h1 { max-width: 13ch; font-size: clamp(38px, 5vw, 66px); font-weight: 900; letter-spacing: -0.025em; }
.cl-hero-copy > p { margin-top: 22px; color: var(--cl-muted); font-size: clamp(16px, 1.55vw, 19px); line-height: 2; }
.cl-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.cl-text-link { color: var(--cl-blue-dark); font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; }
.cl-hero-copy .cl-hero-facts { margin-top: 26px; color: #536274; font-size: 12px; }
.cl-hero-facts span { padding-inline: 7px; color: var(--cl-orange); }

.cl-patchboard { min-width: 0; }
.cl-board-caption,
.cl-board-key { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #3b4959; font-size: 12px; font-weight: 700; }
.cl-board-caption { margin-bottom: 11px; }
.cl-board-note { color: #667487; font-size: 11px; font-weight: 500; }
.cl-route-board {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--cl-blue-dark);
  border-radius: 5px;
  background: var(--cl-blue);
}
.cl-route-board::before { position: absolute; z-index: -1; inset: 9px; border: 1px solid rgba(255,255,255,.28); content: ''; pointer-events: none; }
.cl-board-screw { position: absolute; z-index: 3; width: 8px; height: 8px; border: 1px solid rgba(19,50,112,.65); border-radius: 50%; background: #d6dfed; }
.cl-board-screw--one { top: 16px; right: 16px; }
.cl-board-screw--two { top: 16px; left: 16px; }
.cl-board-screw--three { bottom: 16px; right: 16px; }
.cl-board-screw--four { bottom: 16px; left: 16px; }
.cl-board-wires { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cl-board-wires > path { fill: none; stroke: var(--cl-orange); stroke-width: 7; stroke-linecap: square; stroke-linejoin: bevel; }
.cl-board-wires--mobile { display: none; }
.cl-port {
  position: absolute;
  z-index: 2;
  top: 20%;
  display: flex;
  width: 26%;
  min-height: 84px;
  flex-direction: column;
  justify-content: center;
  padding: 12px 15px;
  border: 2px solid #d7dfea;
  border-radius: 3px;
  background: #fff;
  color: var(--cl-ink);
  text-align: center;
}
.cl-port strong { font-family: var(--font-display); font-size: clamp(14px, 1.55vw, 17px); font-weight: 800; }
.cl-port small { margin-top: 2px; color: #536274; font-size: 11px; line-height: 1.5; }
.cl-port--publisher { right: 3%; }
.cl-port--campaign { top: 53%; left: 37%; }
.cl-port--tracking { left: 3%; }
.cl-port-contact { position: absolute; top: 50%; width: 15px; height: 15px; border: 3px solid #fff; border-radius: 50%; background: var(--cl-orange); box-shadow: 0 0 0 1px var(--cl-blue-dark); transform: translateY(-50%); }
.cl-port-contact--left { left: -9px; }
.cl-port-contact--right { right: -9px; }
.cl-board-key { margin-top: 11px; color: #536274; font-weight: 500; }
.cl-board-key span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.cl-board-key i { width: 21px; height: 4px; background: var(--cl-orange); }

.cl-section { padding-block: clamp(68px, 8vw, 100px); }
.cl-audiences { border-block: 1px solid var(--cl-line); background: #fff; }
.cl-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.cl-section-heading h2 { font-size: clamp(29px, 3.4vw, 42px); font-weight: 900; letter-spacing: -0.02em; }
.cl-section-heading > p { color: var(--cl-muted); font-size: 14px; }
.cl-audience-board {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--cl-blue-dark);
  border-radius: 5px;
  background: var(--cl-blue);
}
.cl-audience-board::before { position: absolute; z-index: 0; top: 50%; right: 7%; left: 7%; height: 7px; background: var(--cl-orange); content: ''; transform: translateY(-50%); }
.cl-audience { position: relative; z-index: 1; min-width: 0; padding: 23px 24px; border: 2px solid #d7dfea; border-radius: 3px; background: #fff; }
.cl-audience::after,
.cl-audience-hub::before,
.cl-audience-hub::after { position: absolute; z-index: 2; width: 15px; height: 15px; border: 3px solid #fff; border-radius: 50%; background: var(--cl-orange); box-shadow: 0 0 0 1px var(--cl-blue-dark); content: ''; }
.cl-audience--publisher::after { top: 50%; left: -9px; transform: translateY(-50%); }
.cl-audience--advertiser::after { top: 50%; right: -9px; transform: translateY(-50%); }
.cl-audience h3 { font-size: 21px; font-weight: 800; }
.cl-audience p { margin-top: 8px; color: var(--cl-muted); font-size: 14px; }
.cl-audience-hub { position: relative; z-index: 1; display: grid; min-height: 82px; place-content: center; padding: 9px; border: 2px solid #d7dfea; border-radius: 3px; background: #fff; text-align: center; }
.cl-audience-hub strong { font-family: var(--font-display); font-size: 13px; font-weight: 800; }
.cl-audience-hub small { margin-top: 2px; color: var(--cl-muted); font-size: 11px; }
.cl-audience-hub::before { top: 50%; right: -9px; transform: translateY(-50%); }
.cl-audience-hub::after { top: 50%; left: -9px; transform: translateY(-50%); }

.cl-flow-section { background: #f6f8fa; }
.cl-flow-heading { align-items: baseline; }
.cl-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-block: 2px solid var(--cl-ink); list-style: none; counter-reset: flow-step; }
.cl-flow li { min-width: 0; min-height: 156px; padding: 20px 23px 23px 16px; counter-increment: flow-step; }
.cl-flow li + li { border-inline-start: 1px solid var(--cl-line); }
.cl-flow li::before { color: var(--cl-blue); content: counter(flow-step, persian); font-size: 13px; font-weight: 800; }
.cl-flow h3 { margin-top: 9px; font-size: 19px; font-weight: 800; }
.cl-flow li p { margin-top: 2px; color: var(--cl-muted); font-size: 13px; }
.cl-scope-note { margin-top: 22px; color: #4d5b6b; font-size: 13px; }

.cl-demo-section { padding-block: clamp(58px, 7vw, 84px); background: var(--cl-blue); color: #fff; }
.cl-demo-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); align-items: start; gap: clamp(34px, 7vw, 90px); }
.cl-demo-copy { padding-top: 14px; }
.cl-demo-copy h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; }
.cl-demo-copy p { margin-top: 16px; color: #e8efff; font-size: 16px; }
.cl-demo-form { min-width: 0; padding: 28px; border: 1px solid #cfd8e6; border-radius: 4px; background: #fff; color: var(--cl-ink); }
.cl-field { margin-bottom: 15px; }
.cl-field label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.cl-field label span { color: #c84f24; }
.cl-field input,
.cl-field textarea {
  display: block;
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid #9daabd;
  border-radius: 3px;
  background: #fff;
  color: var(--cl-ink);
  font-size: 14px;
}
.cl-field textarea { min-height: 88px; resize: vertical; }
.cl-field input:focus,
.cl-field textarea:focus { border-color: var(--cl-blue); outline: 2px solid var(--cl-blue); outline-offset: 1px; }
.cl-field-error { display: none; margin-top: 5px; color: #aa311e; font-size: 12px; }
.cl-field-error.show { display: block; }
.cl-legal-accept { display: flex; align-items: flex-start; gap: 10px; margin-block: 5px 13px; }
.cl-legal-accept input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 4px; accent-color: var(--cl-blue); }
.cl-legal-accept label { color: #435163; cursor: pointer; font-size: 11px; line-height: 1.9; }
.cl-legal-accept a { color: var(--cl-blue-dark); text-decoration: underline; }
.cl-submit { width: 100%; cursor: pointer; }
.cl-submit[disabled] { cursor: wait; opacity: .7; }
.cl-form-status { display: none; margin-top: 14px; padding: 10px 12px; border-radius: 3px; font-size: 13px; }
.cl-form-status.show { display: block; }
.cl-form-status.ok { border: 1px solid #83c8a0; background: #e6f5eb; color: #164a2c; }
.cl-form-status.err { border: 1px solid #dfa099; background: #fff0ed; color: #7c2018; }

.cl-footer { background: #17212d; color: #fff; }
.cl-footer-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px 40px; padding-block: 31px; }
.cl-brand--footer { color: #fff; }
.cl-legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 13px 22px; }
.cl-legal-links a { color: #e2e9f4; font-size: 12px; text-decoration: none; }
.cl-legal-links a:hover { color: #fff; text-decoration: underline; }
.cl-copyright { grid-column: 1 / -1; max-width: none !important; padding-top: 14px; border-top: 1px solid #435061; color: #d1d9e4; font-size: 11px; }

@media (max-width: 980px) {
  .cl-hero { grid-template-columns: 1fr; gap: 38px; }
  .cl-hero-copy { max-width: 760px; }
  .cl-hero-copy h1 { max-width: 16ch; }
  .cl-patchboard { width: 100%; }
  .cl-demo-grid { grid-template-columns: 1fr; gap: 28px; }
  .cl-demo-copy { max-width: 640px; }
}

@media (max-width: 700px) {
  .cl-shell { width: min(100% - 36px, 560px); }
  .cl-nav { min-height: 68px; gap: 12px; }
  .cl-nav-links { display: none; }
  .cl-nav-actions { gap: 13px; margin-inline-start: auto; }
  .cl-nav-pricing,
  .cl-login { font-size: 12px; }
  .cl-brand { gap: 7px; }
  .cl-brand span { font-size: 17px; }
  .cl-brand-mark { width: 29px; height: 29px; }
  .cl-button--small { min-height: 39px; padding: 8px 12px; font-size: 12px; }
  .cl-hero { gap: 33px; padding-block: 48px 58px; }
  .cl-hero-copy h1 { max-width: 14ch; font-size: clamp(36px, 10vw, 51px); }
  .cl-hero-copy > p { margin-top: 14px; font-size: 15px; }
  .cl-hero-actions { gap: 18px; margin-top: 21px; }
  .cl-hero-copy .cl-hero-facts { margin-top: 20px; font-size: 11px; }
  .cl-route-board { min-height: 520px; }
  .cl-board-wires--desktop { display: none; }
  .cl-board-wires--mobile { display: block; }
  .cl-port { top: auto; left: 16%; width: 68%; min-height: 78px; }
  .cl-port--publisher { top: 8%; right: auto; }
  .cl-port--campaign { top: 40%; }
  .cl-port--tracking { top: 70%; }
  .cl-port-contact--left { top: auto; bottom: -9px; left: 50%; transform: translateX(-50%); }
  .cl-port-contact--right { top: -9px; right: 50%; transform: translateX(50%); }
  .cl-port strong { font-size: 16px; }
  .cl-section { padding-block: 57px; }
  .cl-section-heading { display: block; margin-bottom: 24px; }
  .cl-section-heading h2 { font-size: 31px; }
  .cl-section-heading > p { margin-top: 7px; }
  .cl-audience-board { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .cl-audience-board::before { top: 7%; right: auto; bottom: 7%; left: 50%; width: 7px; height: auto; transform: translateX(-50%); }
  .cl-audience { padding: 20px; }
  .cl-audience--publisher::after { top: auto; bottom: -9px; left: 50%; transform: translateX(-50%); }
  .cl-audience--advertiser::after { top: -9px; right: 50%; transform: translateX(50%); }
  .cl-audience h3 { font-size: 19px; }
  .cl-audience p { font-size: 14px; }
  .cl-audience-hub { width: min(220px, 78%); min-height: 62px; justify-self: center; }
  .cl-audience-hub::before { top: -9px; right: 50%; transform: translateX(50%); }
  .cl-audience-hub::after { top: auto; right: 50%; bottom: -9px; left: auto; transform: translateX(50%); }
  .cl-flow-heading { display: flex; align-items: baseline; }
  .cl-flow { grid-template-columns: 1fr; }
  .cl-flow li { min-height: 0; padding: 17px 13px; }
  .cl-flow li + li { border-inline-start: 0; border-top: 1px solid var(--cl-line); }
  .cl-flow h3 { font-size: 18px; }
  .cl-demo-section { padding-block: 52px; }
  .cl-demo-copy h2 { font-size: 33px; }
  .cl-demo-copy p { font-size: 14px; }
  .cl-demo-form { padding: 21px 17px; }
  .cl-footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .cl-legal-links { justify-content: flex-start; gap: 10px 17px; }
  .cl-copyright { grid-column: auto; }
}

@media (max-width: 420px) {
  .cl-shell { width: calc(100% - 28px); }
  .cl-nav-actions { gap: 9px; }
  .cl-login { display: none; }
  .cl-hero-copy h1 { font-size: 35px; }
  .cl-route-board { min-height: 490px; }
  .cl-port--publisher { top: 7%; }
  .cl-port--campaign { top: 39%; }
  .cl-port--tracking { top: 69%; }
  .cl-board-key { font-size: 10px; }
  .cl-flow-heading { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cl-landing *,
  .cl-landing *::before,
  .cl-landing *::after { transition-duration: 0.01ms !important; }
}
