/* /crm/ landing page. Site tokens (altrum.css) + the CRM campaign's accents.
   Everything is scoped under .crm-page so the rest of the site is untouched. */
.crm-page {
  --crm-bg: #070707;
  --crm-panel: #181818;
  --crm-card: rgba(51, 51, 51, .55);
  --crm-field: #444;
  --crm-text: #fff;
  --crm-muted: rgba(255, 255, 255, .64);
  --crm-ground: #1c1c36;
  --crm-indigo: #2b2b4e;
  --crm-paper: #f2f2f2;
  --crm-ink: #2b2b4e;
  --crm-ink-muted: #6e6e8a;
  --crm-focus: #03dddd;
  --crm-ease: cubic-bezier(.22, 1, .36, 1);
  --crm-ui: "Instrument Sans", Inter, sans-serif;
  padding-top: 110px;
  color: var(--crm-text);
  letter-spacing: -.02em;
}
.crm-page *, .crm-page *::before, .crm-page *::after { box-sizing: border-box; }
.crm-wrap { width: 100%; max-width: 1400px; margin: 0 auto 20px; padding: 0 20px; }
.crm-panel { background: var(--crm-panel); border-radius: 10px; padding: clamp(28px, 5vw, 60px); overflow: hidden; position: relative; }

.crm-labels { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--crm-muted); font-size: 15px; margin-bottom: clamp(28px, 5vw, 56px); }
.crm-muted { color: var(--crm-muted); font-weight: 400; }
.crm-index { color: var(--crm-text); font-weight: 600; }

.crm-h1 { font-size: clamp(3.1rem, 9.2vw, 9.4rem); line-height: .88; letter-spacing: -.055em; font-weight: 600; margin: 0 0 clamp(24px, 3vw, 40px); max-width: 11.5ch; }
.crm-h2 { font-size: clamp(2.3rem, 5.4vw, 5rem); line-height: .95; letter-spacing: -.045em; font-weight: 600; margin: 0 0 clamp(20px, 3vw, 36px); max-width: 15ch; }
.crm-lead { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.38; color: var(--crm-muted); max-width: 38ch; margin: 0 0 28px; font-weight: 500; }
.crm-small { font-size: 13px; line-height: 1.45; color: var(--crm-muted); margin: 10px 0 0; max-width: 70ch; }
.crm-small a, .crm-error a { color: inherit; text-decoration: underline; }

/* buttons: the site's white pill */
.crm-btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #070707; border: 0; border-radius: 30px; padding: 15px 24px; font: 600 16px/1.1 Inter, sans-serif; letter-spacing: -.6px; text-decoration: none; cursor: pointer; transition: transform .25s var(--crm-ease), background-color .25s; }
.crm-btn:hover { transform: translateY(-2px); }
.crm-btn:disabled { opacity: .6; cursor: progress; transform: none; }
.crm-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.crm-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.crm-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.crm-page a:focus-visible, .crm-page button:focus-visible, .crm-page input:focus-visible, .crm-page select:focus-visible { outline: 2px solid var(--crm-focus); outline-offset: 3px; }

/* hero */
.crm-hero { background: radial-gradient(120% 90% at 85% 10%, #26264a 0%, var(--crm-panel) 55%); }
.crm-hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.crm-bars { display: flex; align-items: flex-start; gap: clamp(8px, 1.2vw, 16px); height: clamp(150px, 22vw, 300px); }
.crm-bars span { width: clamp(18px, 2.4vw, 34px); border-radius: 999px; transform-origin: bottom; animation: crm-rise 1s var(--crm-ease) both; }
.crm-bars span:nth-child(3) { margin-top: 7%; }
.crm-bars span:nth-child(4) { margin-top: 19%; }
@keyframes crm-rise { from { transform: scaleY(.12); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

/* films */
.crm-films { background: radial-gradient(110% 80% at 50% 0%, #2b2b55 0%, var(--crm-ground) 60%); }
.crm-film-row { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: clamp(20px, 5vw, 72px); }
.crm-film { margin: 0; }
.crm-phone { position: relative; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #000; box-shadow: 0 0 0 10px var(--crm-indigo), 0 30px 60px rgba(0, 0, 0, .45); }
.crm-phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.crm-sound { position: absolute; right: 14px; bottom: 14px; background: rgba(7, 7, 7, .72); color: #fff; border: 0; border-radius: 30px; padding: 9px 14px; font: 600 13px/1 Inter, sans-serif; cursor: pointer; backdrop-filter: blur(6px); }
.crm-sound[aria-pressed="true"] { background: #fff; color: #070707; }
.crm-film figcaption { margin-top: 26px; font-size: 17px; text-align: center; }

/* what's inside: light app-style tiles on paper (the ad's UI scenes) */
.crm-paper { background: var(--crm-paper); color: var(--crm-ink); }
.crm-paper .crm-labels, .crm-lead-ink { color: var(--crm-ink-muted); }
.crm-grid { list-style: none; margin: clamp(24px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.crm-tile { background: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 14px 34px rgba(43, 43, 78, .08); font-family: var(--crm-ui); letter-spacing: -.01em; }
.crm-tile-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--crm-ink); margin-bottom: 22px; }
.crm-tile h3 { font-size: 20px; line-height: 1.15; font-weight: 600; margin: 0 0 8px; letter-spacing: -.02em; }
.crm-tile p { font-size: 15px; line-height: 1.4; color: var(--crm-ink-muted); margin: 0; font-weight: 500; }

/* pricing */
.crm-pricing-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.crm-factors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 28px; }
.crm-factor { background: var(--crm-card); border-radius: 8px; padding: 26px; }
.crm-factor-n { display: block; color: var(--crm-muted); font-size: 14px; margin-bottom: 26px; }
.crm-factor h3 { font-size: 22px; line-height: 1.1; margin: 0 0 8px; font-weight: 600; letter-spacing: -.03em; }
.crm-factor p { font-size: 15px; line-height: 1.4; margin: 0; color: var(--crm-muted); }

/* form: the contact page's fields */
.crm-card { background: var(--crm-card); border-radius: 8px; padding: clamp(20px, 3vw, 30px); }
.crm-form { display: grid; gap: 22px; }
.crm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-items: start; }
.crm-field { display: grid; gap: 10px; min-width: 0; border: 0; padding: 0; margin: 0; }
.crm-field > label, .crm-field > legend { font-size: 15px; color: #fff; padding: 0; margin-bottom: 10px; }
.crm-field legend { float: left; width: 100%; }
.crm-field legend + * { clear: both; }
.crm-page input:not([type="checkbox"]), .crm-page select { width: 100%; height: 60px; background: var(--crm-field); color: #fff; border: 1.5px solid transparent; border-radius: 4px; padding: 0 22px; font: 500 15px/1.2 Inter, sans-serif; letter-spacing: normal; -webkit-appearance: none; appearance: none; }
.crm-page select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; padding-right: 48px; cursor: pointer; }
.crm-page select:invalid, .crm-page select option[value=""] { color: rgba(255, 255, 255, .55); }
.crm-page input::placeholder { color: rgba(255, 255, 255, .45); }
.crm-page input[type="date"] { color-scheme: dark; }
.crm-page [aria-invalid="true"] { border-color: #ff6b6b !important; }
.crm-error { color: #ff8a8a; font-size: 13.5px; margin: 0; line-height: 1.4; }

.crm-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.crm-chip { position: relative; display: inline-flex; align-items: center; gap: 10px; background: var(--crm-field); border-radius: 30px; padding: 13px 18px; font-size: 14.5px; cursor: pointer; transition: background-color .2s, color .2s; user-select: none; }
.crm-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.crm-chip:has(input:focus-visible) { outline: 2px solid var(--crm-focus); outline-offset: 3px; }
.crm-chip.is-on { background: #fff; color: #070707; }
.crm-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.crm-chip.is-on::after { content: ""; width: 12px; height: 7px; border-left: 2px solid #070707; border-bottom: 2px solid #070707; transform: rotate(-45deg) translateY(-2px); margin-left: 2px; }

.crm-consent { display: grid; gap: 6px; }
.crm-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; cursor: pointer; }
.crm-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #fff; flex: none; }
.crm-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.crm-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }

.crm-done { padding: clamp(20px, 4vw, 48px) 0; outline: none; }
.crm-done-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #10a500; color: #fff; margin-bottom: 24px; }
.crm-done h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 14px; font-weight: 600; }
.crm-done p { color: var(--crm-muted); font-size: 17px; line-height: 1.45; margin: 0; max-width: 50ch; }

@media (max-width: 991px) {
  .crm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crm-pricing-grid { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 767px) {
  .crm-page { padding-top: 90px; }
  .crm-wrap { padding: 0 10px; margin-bottom: 10px; }
  .crm-hero-grid { grid-template-columns: 1fr; }
  .crm-hero-bars { order: -1; height: 120px; margin-bottom: 8px; }
  .crm-film-row { grid-template-columns: minmax(0, 270px); }
  .crm-row, .crm-factors { grid-template-columns: 1fr; }
  .crm-grid { grid-template-columns: 1fr; }
  .crm-labels { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .crm-bars span { animation: none; }
  .crm-btn { transition: none; }
}
