/* =========================================================
   CHODOS INC — /intake
   CLEAN PAGE CSS

   This file intentionally contains no Jotform frame sizing,
   scrolling, positioning, or Safari overrides.
   ========================================================= */

:root {
  --blue: #079bf4;
  --blue-dark: #0077bd;
  --black: #090a0c;
  --ink: #181b20;
  --muted: #68707a;
  --soft: #f2f5f7;
  --white: #ffffff;
  --shadow: 0 22px 65px rgba(9, 20, 31, 0.09);
  --wrap: 1160px;
  --form-wrap: 1040px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap,
.form-wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.form-wrap {
  width: min(var(--form-wrap), calc(100% - 40px));
}

/* ---------- HEADER ---------- */

.site-header {
  position: relative;
  z-index: 20;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--black);
  color: var(--white);
}

.site-header__inner {
  display: flex;
  width: min(1320px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.header-link {
  display: inline-flex;
  min-height: 44px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 650;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.header-link:hover {
  border-color: var(--blue);
  background: var(--blue);
  transform: translateY(-1px);
}

/* ---------- HERO ---------- */

.hero {
  padding: clamp(76px, 9vw, 126px) 0 clamp(72px, 8vw, 108px);
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(7, 155, 244, 0.18),
      transparent 34%
    ),
    linear-gradient(145deg, #050607 0%, #0c1116 60%, #071622 100%);
  color: var(--white);
}

.hero__inner {
  max-width: 950px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: inherit;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 900px;
  margin-bottom: 25px;
  font-size: clamp(3rem, 7vw, 6.25rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  font-weight: 650;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.hero__intro {
  max-width: 800px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.03rem, 1.65vw, 1.25rem);
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- BUTTONS ---------- */

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 700;
  text-align: center;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

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

.button--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 13px 34px rgba(7, 155, 244, 0.27);
}

.button--primary:hover {
  background: var(--blue-dark);
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.button--outline-light:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

/* ---------- SECTIONS ---------- */

.section {
  padding: clamp(76px, 8vw, 112px) 0;
  scroll-margin-top: 24px;
}

.section--soft {
  background: var(--soft);
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.form-section__header {
  max-width: 820px;
  margin-bottom: 38px;
}

.form-section__header p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- FORM PANEL ---------- */

.form-panel {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-panel__heading {
  display: flex;
  padding: 26px 30px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.form-panel__heading h3 {
  margin: 4px 0 0;
  font-size: 1.27rem;
  letter-spacing: -0.025em;
}

.form-panel__eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-panel__note {
  max-width: 225px;
  color: #7b8289;
  font-size: 0.7rem;
  line-height: 1.45;
  text-align: right;
}

/* Jotform controls its own embedded frame. */

.noscript-message {
  margin: 0;
  padding: 30px;
}

.noscript-message a {
  text-decoration: underline;
}

/* ---------- FINAL CTA ---------- */

.next-step-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: clamp(30px, 5vw, 54px);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 86% 15%,
      rgba(7, 155, 244, 0.22),
      transparent 34%
    ),
    #101317;
}

.next-step-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.next-step-panel p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.69);
}

/* ---------- FOOTER ---------- */

.site-footer {
  padding: 30px 0;
  background: #050607;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

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

.tracking-pixel {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

:focus-visible {
  outline: 3px solid rgba(7, 155, 244, 0.42);
  outline-offset: 4px;
}

/* ---------- MOBILE ---------- */

@media (max-width: 700px) {
  :root {
    --header-height: 70px;
  }

  .wrap,
  .form-wrap,
  .site-header__inner {
    width: min(100% - 28px, var(--wrap));
  }

  .site-logo img {
    height: 34px;
  }

  .header-link {
    min-height: 40px;
    padding: 0 15px;
    font-size: 0.74rem;
  }

  .hero {
    padding: 68px 0 74px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .section {
    padding: 68px 0;
  }

  .form-panel {
    border-radius: 20px;
  }

  .form-panel__heading {
    display: block;
    padding: 23px 20px;
  }

  .form-panel__note {
    display: block;
    max-width: none;
    margin-top: 7px;
    text-align: left;
  }

  .next-step-panel {
    grid-template-columns: 1fr;
    border-radius: 21px;
  }

  .next-step-panel .button {
    justify-self: start;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 470px) {
  .header-link {
    padding: 0 12px;
  }

  .header-link__full {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
