/* 1CONTACT.NET visual bridge: keep the site structure and behaviour, while
   carrying Mikk's black geometric system into the CRM landing pages. */
:root {
  --ink: #100b14;
  --mint: #16f4d0;
  --paper: #f7f8f6;
  --pale: #edf2f0;
  --soft: #edf2f0;
  --surface: #ffffff;
  --glow-soft: #e3fff8;
  --glow-line: #7bdac5;
  --control-radius: 4px;
}

body {
  color: var(--ink);
  background: var(--paper);
}

.section-soft,
.rest .section-soft,
.price-section.soft,
.content-next,
.sequence-response,
.preview-note {
  background: var(--soft);
}

#capabilities {
  background: var(--paper);
}

.bento-card,
.bento-card.lime,
.bento-card.cyan,
.bento-card.orange,
.plan:not(.featured),
.extras article,
.overview-grid article:not(:first-child),
.sequence-steps li:not(:first-child),
.filter-example,
.integration-card,
.outreach-card,
.filter-builder,
.risk-cards article:first-child,
.order-grid form,
.order-review,
.demo-form,
.cookie-dialog {
  background: var(--surface);
}

.visual-panel,
.visual-panel.cyan,
.visual-panel.lime,
.shot-gallery figure {
  background: var(--soft);
}

.step-number {
  background: var(--surface);
}

.journey-list li > span {
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px #c8ddd3;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

.button {
  min-height: 52px;
  padding: 15px 20px;
  justify-content: space-between;
  gap: 24px;
  border-width: 1px;
  border-radius: var(--control-radius);
  transition: transform .2s, background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
  box-shadow: none;
}

.announcement,
.site-header,
.capability-strip,
.site-footer {
  background-color: #100b14;
}

.announcement,
.site-header {
  border-bottom: 1px solid #302936;
}

/* Match the wider reference header so the logo sits closer to the viewport edge. */
@media (min-width: 1201px) {
  .site-header .nav-wrap {
    width: calc(100% - 64px);
    max-width: 1600px;
  }
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.footer-col a:hover,
.text-link:hover {
  color: var(--mint);
}

.button-primary {
  background: var(--mint);
  color: #080509;
  border-color: var(--mint);
}

.button-primary:hover {
  background: #a2ffed;
  border-color: #a2ffed;
  color: #080509;
}

.button-outline {
  border-color: #756d7b;
  color: var(--paper);
}

.button-outline:hover {
  background: #16f4d00d;
  border-color: var(--mint);
  color: var(--mint);
}

.button-dark {
  background: #100b14;
  color: var(--paper);
}

.button-dark:hover {
  background: var(--mint);
  color: #080509;
}

.hero,
.content-hero,
.price-intro {
  background-color: #080509;
  background-image: url("assets/hero-pattern-black-green.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-pattern,
.hero::after,
.content-hero::before,
.price-intro::after,
.section-soft::before,
#workflow::before,
#capabilities::before,
.visual-panel::before,
.rest #mobile::before,
.pricing-panel::before,
.demo-section::before,
.price-cta::before,
.risk-feature::before {
  display: none;
}

.content-hero {
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero .eyebrow,
.hero .marker,
.content-hero .eyebrow,
.price-intro .eyebrow {
  color: var(--mint);
}

.hero-copy,
.content-hero p,
.content-hero .back-link,
.price-intro p {
  color: #d8d2dc;
}

.product-window {
  filter: none;
  display: grid;
  place-items: center;
}

.crm-workspace {
  position: absolute;
  z-index: 1;
  inset: 68px 12px 56px 18px;
  overflow: hidden;
  color: #f6f2f7;
  background: linear-gradient(145deg, #211a27ee, #0d0a10f5);
  border: 1px solid #6f657680;
  border-radius: var(--control-radius);
  box-shadow: none;
  transform: none;
}

.crm-workspace-bar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid #61566966;
  background: #0c090f99;
  font-size: 12px;
  letter-spacing: .12em;
}

.crm-workspace-bar strong {
  color: var(--mint);
  font-size: 15px;
}

.crm-workspace-bar span {
  color: #b9afbF;
}

.crm-company {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 20px;
  padding: 15px 16px;
  border: 1px solid #5c526366;
  border-radius: 3px;
  background: #2a223080;
}

.crm-company-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: #080509;
  font-weight: 700;
}

.crm-company div {
  min-width: 0;
}

.crm-company strong,
.crm-company div span {
  display: block;
}

.crm-company strong {
  font-size: 14px;
}

.crm-company div span {
  margin-top: 3px;
  overflow: hidden;
  color: #bdb4c1;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-company-score {
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
}

.crm-pipeline-title {
  display: flex;
  justify-content: space-between;
  padding: 0 21px 12px;
  font-size: 12px;
}

.crm-pipeline-title span {
  color: var(--mint);
}

.crm-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 20px 22px;
}

.crm-pipeline > div {
  min-width: 0;
  min-height: 130px;
  padding: 11px 9px;
  border-top: 2px solid #6d6372;
  border-radius: 3px;
  background: #2c253280;
}

.crm-pipeline > div.active {
  border-color: var(--mint);
  background: #16f4d00c;
}

.crm-pipeline span {
  display: block;
  min-height: 30px;
  color: #d2cbd5;
  font-size: 9px;
  line-height: 1.35;
}

.crm-pipeline i {
  display: block;
  height: 27px;
  margin-top: 7px;
  border: 1px solid #62596955;
  border-radius: 3px;
  background: linear-gradient(90deg, #4b425240 42%, #766b7d40 42% 72%, transparent 72%);
}

.crm-pipeline .active i:first-of-type {
  background: linear-gradient(90deg, #16f4d03d 58%, transparent 58%);
}

.float-card {
  z-index: 2;
  background: linear-gradient(120deg, #211b29ed, #100b14f2);
  border-color: #5e5367;
  box-shadow: none;
  backdrop-filter: none;
}

.float-card.one,
.float-card.two {
  transform: none;
}

.float-card .dot,
.eyebrow::before {
  background-color: var(--mint);
}

.hero-note span::before {
  color: var(--mint);
}

.rest #mobile,
.rest .risk-feature,
.demo-section,
.image-viewer {
  background-color: #100b14;
}

.pricing-panel {
  background: linear-gradient(135deg, var(--glow-soft), #d8eee6);
  border: 1px solid var(--glow-line);
}

.bento-card.purple,
.plan.featured,
.cookies-status,
.sequence-steps li:first-child,
.overview-grid article:first-child,
.risk-cards article:last-child,
.order-summary,
.order-draft,
.type-option:has(input:checked),
.faq-list details[open] summary::after {
  background: linear-gradient(135deg, var(--glow-soft), #d8eee6);
  border-color: var(--glow-line);
}

.bento-card,
.visual-panel,
.shot-gallery figure,
.pricing-panel,
.demo-form,
.plan,
.extras article,
.overview-grid article,
.sequence-steps li,
.filter-example,
.integration-card,
.outreach-card,
.filter-builder,
.risk-cards article,
.data-fields article,
.order-grid form,
.order-draft,
.order-review,
.order-summary,
.cookies-status,
.cookie-dialog,
.image-viewer {
  border-radius: var(--control-radius);
}

.float-card {
  border-radius: var(--control-radius);
}

.shot,
.field input:not([type="radio"]),
.field textarea,
.field select,
.type-option,
.mini-filter span,
.result-pill {
  border-radius: var(--control-radius);
}

.menu-toggle {
  border: 1px solid #756d7b;
  border-radius: var(--control-radius);
}

.site-footer,
.footer-bottom {
  border-color: #3b3341;
}

/* The footer follows the shared 1CONTACT group pattern, with CRM green taking
   the role of the reference site's purple accent. */
.site-footer {
  margin-top: 80px;
  padding: 64px 0 24px;
  background: #100b14;
}

/* The homepage already ends with a dark demo panel. A clear brand stripe
   separates it from the dark footer without leaving an accidental pale gap. */
.site-footer.footer-after-demo {
  margin-top: 0;
  border-top: 80px solid var(--mint);
}

.site-footer .footer-top {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .85fr) minmax(0, .8fr);
  gap: 48px;
  align-items: start;
}

.site-footer .footer-top > div {
  min-width: 0;
}

.site-footer .footer-top h3 {
  margin: 0 0 20px;
  color: #f7f8f6;
}

.site-footer .footer-newsletter {
  max-width: 420px;
  margin-top: 26px;
  padding-left: 20px;
  border-left: 1px solid var(--mint);
}

.site-footer .footer-newsletter h3 {
  margin: 0 0 18px;
  color: #9cf8e6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.site-footer .footer-newsletter .newsletter-intro {
  margin: 0 0 20px;
  color: #f3f5f3;
  font-size: 17px;
  line-height: 1.6;
}

.site-footer .newsletter-field {
  display: flex;
  gap: 12px;
  align-items: center;
}

.site-footer .newsletter-field input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 8px 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #83798a;
  border-radius: 0;
  font: inherit;
  font-size: 16px;
}

.site-footer .newsletter-field input::placeholder {
  color: #d6ceda;
  opacity: 1;
}

.site-footer .newsletter-field input:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.site-footer .newsletter-field button {
  flex: 0 0 auto;
  min-width: 88px;
  min-height: 44px;
  padding: 10px 20px;
  color: #100b14;
  background: var(--mint);
  border: 1px solid var(--mint);
  border-radius: var(--control-radius);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.site-footer .newsletter-field button:hover,
.site-footer .newsletter-field button:focus-visible {
  color: #100b14;
  background: #70ffe4;
  border-color: #70ffe4;
}

.site-footer .footer-trust {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 30px 0;
  border-top: 1px solid #ffffff26;
}

.site-footer .footer-trust-label {
  display: block;
  margin-bottom: 8px;
  color: #bdb4c2;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .07em;
}

.site-footer .footer-group .inforegister-link {
  display: inline-block;
  margin: 0;
  color: #f7f8f6;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer .footer-group p {
  margin: 8px 0 0;
  color: #bdb4c2;
  font-size: 16px;
  line-height: 1.5;
}

.site-footer .footer-certificate {
  display: flex;
  gap: 22px;
  align-items: center;
  max-width: 490px;
}

.site-footer #ssb-evul-stamp {
  width: 110px;
  min-width: 110px;
  min-height: 110px;
}

.site-footer #ssb-evul-stamp img {
  display: block;
  width: 110px;
  height: 110px;
}

.site-footer .footer-certificate a {
  color: #9cf8e6;
  font-size: 16px;
  line-height: 1.5;
  text-underline-offset: 4px;
}

.site-footer .footer-trust a:hover {
  color: var(--mint);
  text-decoration: underline;
}

.site-footer .footer-bottom {
  margin-top: 0;
  padding-top: 22px;
}

.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
}

.site-footer .footer-legal a {
  color: #bdb4c2;
  text-decoration: none;
}

.site-footer .footer-legal a:hover {
  color: var(--mint);
}

@media (max-width: 1100px) {
  .site-footer .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 48px;
  }
}

@media (max-width: 700px) {
  .site-footer.footer-after-demo {
    border-top-width: 56px;
  }

  .site-footer {
    margin-top: 56px;
    padding-top: 48px;
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer .footer-newsletter {
    max-width: 420px;
  }

  .site-footer .footer-trust {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .site-footer .footer-certificate {
    gap: 16px;
  }

  .site-footer .footer-bottom {
    align-items: flex-start;
  }

  .site-footer .footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 1250px) {
  .nav-links {
    background: #100b14;
    border-top-color: #3b3341;
  }
}

@media (max-width: 700px) {
  .content-hero {
    min-height: 450px;
  }

  .hero,
  .content-hero,
  .price-intro {
    background-position: 58% center;
  }

  .product-window {
    height: 390px;
  }

  .crm-workspace {
    inset: 35px 0 38px;
    transform: none;
  }

  .crm-company {
    margin: 14px;
  }

  .crm-pipeline {
    padding-inline: 14px;
  }

  .crm-pipeline > div {
    min-height: 105px;
    padding-inline: 6px;
  }

  .crm-pipeline span {
    font-size: 8px;
  }
}
