/*
 * Concourse Solutions — Elementor Canvas layout restoration
 * Draft 1.1.0 | Targets only #cc-root on the existing homepage.
 * The Elementor inline reset (#cc-root *) removes all child padding and margins.
 * These component-level rules restore those values without altering content.
 */

#cc-root {
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}

#cc-root .cc-container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto !important;
  padding-inline: clamp(22px, 4vw, 56px) !important;
}

/* Navigation */
#cc-root .cc-header {
  border-bottom: 1px solid #25314a;
}
#cc-root .cc-nav-row {
  min-height: 86px;
  height: auto;
  gap: 24px;
  padding-block: 15px !important;
}
#cc-root .cc-brand-wrap { gap: 13px; flex-shrink: 0; }
#cc-root .cc-logo { font-size: 1.24rem; line-height: 1.2; }
#cc-root .cc-badge { padding: 6px 12px !important; font-size: .72rem; }
#cc-root .cc-nav-links { gap: clamp(14px,2vw,32px); }
#cc-root .cc-nav-links a { line-height: 1.5; }
#cc-root .cc-btn-primary,
#cc-root .cc-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px !important;
  line-height: 1.35;
  text-align: center;
  border-radius: 10px;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
#cc-root .cc-btn-primary:hover,
#cc-root .cc-btn-secondary:hover { transform: translateY(-2px); }

/* Hero: measured breathing room, with a clear text hierarchy */
#cc-root .cc-hero {
  padding: clamp(92px, 9vw, 138px) 0 clamp(98px, 9vw, 132px) !important;
  background:
    radial-gradient(ellipse at 50% 5%, rgba(61,48,135,.42), transparent 64%),
    radial-gradient(ellipse at 16% 74%, rgba(12,67,98,.18), transparent 48%),
    #020617;
}
#cc-root .cc-pill {
  gap: 10px;
  padding: 8px 16px !important;
  margin: 0 auto 30px !important;
  line-height: 1.4;
}
#cc-root .cc-hero-title {
  font-size: clamp(42px, 5.05vw, 68px);
  line-height: 1.13;
  letter-spacing: -.04em;
  max-width: 1100px;
  margin: 0 auto 28px !important;
  text-wrap: balance;
}
#cc-root .cc-hero-subtitle {
  font-size: clamp(16px, 1.48vw, 19px);
  line-height: 1.75;
  max-width: 790px;
  margin: 0 auto 38px !important;
  text-wrap: pretty;
}
#cc-root .cc-hero-btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
#cc-root .cc-hero-btn-group .cc-btn-primary,
#cc-root .cc-hero-btn-group .cc-btn-secondary {
  min-height: 55px;
  padding: 16px 28px !important;
  font-size: .94rem;
}

/* Credentials stripe */
#cc-root .cc-ticker { padding: 29px 0 !important; }
#cc-root .cc-ticker-flex {
  gap: 18px 42px;
  line-height: 1.8;
  font-size: .73rem;
}

/* Catalog */
#cc-root .cc-catalog {
  padding: clamp(95px, 9vw, 132px) 0 clamp(110px, 9vw, 146px) !important;
}
#cc-root .cc-section-header {
  max-width: 770px;
  margin: 0 auto 64px !important;
}
#cc-root .cc-section-header h2 {
  font-size: clamp(34px, 3.7vw, 47px);
  line-height: 1.17;
  letter-spacing: -.035em;
  margin: 0 0 21px !important;
}
#cc-root .cc-section-header p {
  max-width: 715px;
  margin-inline: auto !important;
  font-size: 16px;
  line-height: 1.85;
}
#cc-root .cc-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
#cc-root .cc-card {
  min-height: 610px;
  gap: 25px;
  padding: 38px 30px 32px !important;
  border-radius: 18px;
  background: linear-gradient(160deg, #101b2d, #0b1020);
  box-shadow: 0 22px 54px rgba(0,0,0,.17);
  transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
#cc-root .cc-card:hover {
  transform: translateY(-4px);
  border-color: #4a5488;
  box-shadow: 0 28px 64px rgba(0,0,0,.3);
}
#cc-root .cc-card-featured {
  border-color: #6366f1;
  background: linear-gradient(160deg, #172242, #0b1125);
}
#cc-root .cc-featured-badge {
  padding: 7px 15px !important;
  top: -16px;
  right: 26px;
  letter-spacing: .1em;
}
#cc-root .cc-card-title {
  font-size: 23px;
  line-height: 1.34;
  letter-spacing: -.015em;
  margin: 26px 0 15px !important;
}
#cc-root .cc-card-desc {
  min-height: 75px;
  color: #a6b5d0;
  font-size: 14px;
  line-height: 1.78;
  margin: 0 0 26px !important;
}
#cc-root .cc-card-list {
  border-top: 1px solid #28334a;
  padding: 23px 0 0 !important;
  margin: 0 0 16px !important;
  font-size: 13px;
  line-height: 1.58;
}
#cc-root .cc-card-list li {
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 14px !important;
  line-height: 1.58;
}
#cc-root .cc-card-list li span { flex: 0 0 auto; }
#cc-root .cc-card > div:last-child > div:first-child {
  margin: 16px 0 25px !important;
  line-height: 1.2;
}
#cc-root .cc-price {
  font-size: clamp(33px, 3.3vw, 43px);
  line-height: 1.1;
  letter-spacing: -.04em;
}
#cc-root .cc-card .cc-btn-primary,
#cc-root .cc-card .cc-btn-secondary {
  width: 100%;
  min-height: 54px;
  padding: 16px 19px !important;
  font-size: .88rem;
}

/* Development terminal */
#cc-root .cc-terminal-section {
  padding: clamp(95px, 9vw, 130px) 0 !important;
  background: linear-gradient(140deg, #090e1b, #040917);
}
#cc-root .cc-grid-2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(45px, 6vw, 86px);
  align-items: center;
}
#cc-root .cc-grid-2 > div:first-child > h2 {
  font-size: clamp(30px, 3.2vw, 41px) !important;
  line-height: 1.22;
  letter-spacing: -.025em;
  margin: 0 0 24px !important;
}
#cc-root .cc-grid-2 > div:first-child > p {
  font-size: 15px !important;
  line-height: 1.9 !important;
  margin: 0 0 34px !important;
}
#cc-root .cc-grid-2 > div:first-child > div[style*="display:flex"] {
  gap: 16px !important;
  margin: 28px 0 0 !important;
}
#cc-root .cc-grid-2 > div:first-child h4 {
  font-size: 15px !important;
  line-height: 1.4;
  margin: 0 0 7px !important;
}
#cc-root .cc-grid-2 > div:first-child div > p {
  font-size: 13px !important;
  line-height: 1.7;
}
#cc-root .cc-terminal-box {
  padding: 28px !important;
  border-radius: 16px;
  box-shadow: 0 25px 65px rgba(0,0,0,.35);
  overflow-wrap: anywhere;
}
#cc-root .cc-term-header {
  gap: 8px;
  padding: 0 0 18px !important;
  margin: 0 0 22px !important;
}
#cc-root .cc-terminal-box > div:last-child { line-height: 2.05 !important; }
#cc-root .cc-terminal-box > div:last-child p { margin: 0 0 8px !important; }


/* Keep draft homepage footer concise; hide deprecated Elementor footer copy. */
#cc-root .cc-footer .cc-footer-flex > div:first-child > p:nth-of-type(2),
#cc-root .cc-footer .cc-footer-flex > div:nth-child(2) {
  display: none !important;
}

/* Footer */
#cc-root .cc-footer { padding: 55px 0 60px !important; }
#cc-root .cc-footer-flex { gap: 24px 45px; }
#cc-root .cc-footer-flex > div:first-child p { margin: 0 0 9px !important; }
#cc-root .cc-footer-flex > div:last-child p {
  padding: 14px 18px !important;
  line-height: 1.55;
}

/* Small-screen rhythm; preserve the supplied content and cards. */
@media (max-width: 1100px) {
  #cc-root .cc-nav-row { gap: 18px; }
  #cc-root .cc-nav-links { gap: 14px; font-size: .78rem; }
  #cc-root .cc-grid-3 { gap: 18px; }
  #cc-root .cc-card { padding: 30px 23px 28px !important; }
}
@media (max-width: 930px) {
  #cc-root .cc-nav-links { display: none; }
  #cc-root .cc-grid-3 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 650px;
    margin-inline: auto !important;
    gap: 35px;
  }
  #cc-root .cc-card { min-height: 0; padding: 34px !important; }
  #cc-root .cc-card-desc { min-height: 0; }
  #cc-root .cc-grid-2 { grid-template-columns: minmax(0, 1fr); gap: 45px; }
  #cc-root .cc-terminal-box { max-width: 720px; }
}
@media (max-width: 600px) {
  #cc-root .cc-container { padding-inline: 20px !important; }
  #cc-root .cc-nav-row { min-height: 76px; gap: 12px; }
  #cc-root .cc-brand-wrap { gap: 7px; }
  #cc-root .cc-logo { font-size: .96rem; }
  #cc-root .cc-brand-wrap .cc-badge { display: none; }
  #cc-root .cc-nav-row > div:last-child .cc-btn-primary {
    min-height: 39px;
    padding: 9px 12px !important;
    font-size: .75rem;
  }
  #cc-root .cc-hero { padding: 76px 0 84px !important; }
  #cc-root .cc-hero-title {
    font-size: clamp(34px, 8.6vw, 46px);
    letter-spacing: -.035em;
    margin-bottom: 24px !important;
  }
  #cc-root .cc-hero-subtitle {
    font-size: 15px;
    line-height: 1.78;
    margin-bottom: 29px !important;
  }
  #cc-root .cc-hero-btn-group { flex-direction: column; gap: 12px; }
  #cc-root .cc-hero-btn-group a { width: 100%; }
  #cc-root .cc-ticker { padding: 24px 0 !important; }
  #cc-root .cc-ticker-flex { gap: 14px 22px; font-size: .67rem; }
  #cc-root .cc-catalog { padding: 80px 0 92px !important; }
  #cc-root .cc-section-header { margin-bottom: 50px !important; }
  #cc-root .cc-section-header h2 { font-size: 33px; }
  #cc-root .cc-section-header p { font-size: 15px; line-height: 1.8; }
  #cc-root .cc-card { padding: 29px 24px !important; }
  #cc-root .cc-card-title { font-size: 21px; margin-top: 20px !important; }
  #cc-root .cc-terminal-section { padding: 78px 0 !important; }
  #cc-root .cc-terminal-box { padding: 20px !important; font-size: .7rem; }
  #cc-root .cc-footer { padding: 44px 0 50px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #cc-root .cc-btn-primary,#cc-root .cc-btn-secondary,#cc-root .cc-card {
    transition: none;
  }
}
