/* CueForge Website Refresh — page-specific presentation */
.service-header { gap: 28px; }
.service-nav { align-items: center; }
.service-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.service-nav .nav-cta {
  padding: 0 15px;
  border: 1px solid rgba(98,246,199,.3);
  border-radius: 999px;
  color: var(--text);
  background: rgba(98,246,199,.08);
  font-weight: 850;
}

.service-hero {
  min-height: auto;
  padding-top: clamp(68px, 9vw, 112px);
  padding-bottom: clamp(56px, 7vw, 88px);
}
.service-hero .hero-copy { max-width: 720px; }
.clarity-card { padding: clamp(22px, 4vw, 34px); }
.clarity-card h2 {
  font-size: clamp(27px, 3.3vw, 40px);
  margin-bottom: 28px;
}
.clarity-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.clarity-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
}
.clarity-list span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.clarity-list strong { line-height: 1.35; }

.service-principles { padding-top: 26px; padding-bottom: 42px; }
.service-principles div { min-height: 150px; }
.service-principles span { display: block; }

.service-section { scroll-margin-top: 92px; }
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-card,
.scope-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(17,23,34,.78);
  padding: clamp(22px, 3vw, 30px);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p,
.scope-panel p,
.scope-panel li,
.process-list p,
.service-faq p { color: var(--muted); line-height: 1.55; }

.split-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  align-items: start;
}
.friction-list,
.plain-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.friction-list li,
.plain-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  line-height: 1.45;
}
.friction-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 23px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 20px rgba(117,167,255,.45);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.scope-panel.included {
  background: linear-gradient(180deg, rgba(98,246,199,.11), rgba(17,23,34,.78));
}
.scope-panel.separate {
  background: linear-gradient(180deg, rgba(117,167,255,.10), rgba(17,23,34,.78));
}
.scope-panel .check-list { margin-top: 0; }

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.process-list > li {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17,23,34,.78);
}
.process-list > li > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061018;
  font-weight: 950;
}
.process-list h3 { font-size: 20px; margin-bottom: 9px; }
.process-list p { margin-bottom: 0; font-size: 15px; }

.about-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  padding-left: clamp(20px, 3vw, 34px);
  padding-right: clamp(20px, 3vw, 34px);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(98,246,199,.08), rgba(117,167,255,.06));
}
.service-faq { max-width: 900px; }

.intake-section {
  scroll-margin-top: 92px;
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(58px, 8vw, 96px);
}
.preview-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px 14px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 209, 102, .38);
  border-radius: 12px;
  background: rgba(255, 209, 102, .08);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.preview-notice strong { color: var(--warn); }
.preview-notice[hidden],
.preview-boundary[hidden] {
  display: none;
}
.intake-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(620px, 1.28fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.intake-intro {
  position: sticky;
  top: 118px;
  padding-top: 42px;
}
.intake-intro h2 {
  max-width: 500px;
  font-size: clamp(42px, 5vw, 62px);
}
.intake-intro > p {
  max-width: 510px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}
.intake-rule {
  display: block;
  width: 54px;
  height: 3px;
  margin: 28px 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.intake-intro .intake-email { margin-bottom: 0; }
.intake-email a,
.intake-confirmation a:not(.button) {
  color: var(--accent);
  font-weight: 850;
  text-decoration: none;
}
.intake-email a:hover,
.intake-confirmation a:not(.button):hover { text-decoration: underline; }

.intake-shell {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(117, 167, 255, .10), transparent 38%),
    linear-gradient(155deg, rgba(21, 30, 44, .98), rgba(12, 18, 28, .98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, .38);
  overflow: hidden;
}
.intake-form,
.intake-confirmation {
  padding: clamp(24px, 4vw, 42px);
}
.intake-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 38px;
}
.intake-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #7f8a9c;
}
.intake-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(50% + 36px);
  right: 18px;
  top: 19px;
  height: 1px;
  background: rgba(255, 255, 255, .18);
}
.intake-step span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  background: #111824;
  font-weight: 900;
}
.intake-step strong {
  position: relative;
  z-index: 1;
  padding-right: 12px;
  background: #131b28;
  font-size: 15px;
}
.intake-step.is-active { color: var(--text); }
.intake-step.is-active span {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061018;
}
.intake-step.is-complete span {
  border-color: rgba(98, 246, 199, .55);
  color: var(--accent);
}
.intake-panel {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
.intake-panel[hidden],
.intake-confirmation[hidden] { display: none; }
.intake-panel legend {
  width: 100%;
  padding: 0;
  margin-bottom: 26px;
  color: var(--text);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.field { margin-bottom: 22px; }
.field label,
.field-label {
  display: block;
  margin-bottom: 9px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}
.field label span { color: var(--muted); font-weight: 600; }
.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  outline: 0;
  background: rgba(5, 10, 17, .42);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field select { color-scheme: dark; }
.field input::placeholder,
.field textarea::placeholder { color: #748095; opacity: 1; }
.field input:not([type="radio"]):not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: rgba(8, 15, 24, .76);
  box-shadow: 0 0 0 4px rgba(98, 246, 199, .12);
}
.field small,
.field-hint {
  display: block;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.field-hint { margin-top: -3px; margin-bottom: 11px; }
.choice-grid,
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.choice,
.check-choice,
.consent-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.choice:hover,
.check-choice:hover,
.consent-choice:hover {
  border-color: rgba(98, 246, 199, .46);
  color: var(--text);
}
.choice:has(input:checked),
.check-choice:has(input:checked),
.consent-choice:has(input:checked) {
  border-color: var(--accent);
  background: rgba(98, 246, 199, .075);
  color: var(--text);
}
.choice input,
.check-choice input,
.consent-choice input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin: 0;
  accent-color: var(--accent);
}
.choice:has(input:focus-visible),
.check-choice:has(input:focus-visible),
.consent-choice:has(input:focus-visible) {
  outline: 3px solid var(--warn);
  outline-offset: 3px;
}
.consent-choice {
  align-items: flex-start;
  margin: 4px 0 24px;
}
.consent-choice input { margin-top: 1px; }
.turnstile-container {
  min-height: 68px;
  margin: 0 0 24px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(5, 10, 17, .32);
}
.turnstile-container[hidden] { display: none; }
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.form-actions .button {
  min-width: 170px;
  min-height: 52px;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}
.form-actions .form-back { min-width: 110px; }
.form-actions button[disabled] {
  cursor: wait;
  opacity: .68;
}
.form-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--accent-2);
  font-weight: 800;
  text-decoration: none;
}
.form-secondary:hover { text-decoration: underline; }
.intake-privacy {
  position: relative;
  margin: 22px 0 0;
  padding-left: 25px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.intake-privacy::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1px;
  width: 11px;
  height: 10px;
  border: 2px solid #77859a;
  border-radius: 3px;
}
.intake-privacy::after {
  content: "";
  position: absolute;
  left: 5px;
  top: -5px;
  width: 7px;
  height: 8px;
  border: 2px solid #77859a;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.form-error {
  margin: 0 0 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 209, 102, .44);
  border-radius: 10px;
  background: rgba(255, 209, 102, .09);
  color: #ffe7a6;
  font-size: 14px;
  line-height: 1.45;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.intake-confirmation {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.confirmation-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 25px;
  font-weight: 900;
}
.intake-confirmation h3 {
  max-width: 540px;
  margin-bottom: 16px;
  font-size: clamp(31px, 4vw, 44px);
}
.intake-confirmation p {
  max-width: 560px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.intake-confirmation .preview-boundary {
  margin: 10px 0 26px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 209, 102, .35);
  border-radius: 10px;
  background: rgba(255, 209, 102, .07);
}
.preview-boundary strong { color: var(--warn); }
.intake-confirmation .button {
  min-height: 52px;
  border-radius: 12px;
}

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

@media (max-width: 1050px) {
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list > li:last-child { grid-column: 1 / -1; }
  .intake-layout {
    grid-template-columns: minmax(0, .78fr) minmax(540px, 1.22fr);
    gap: 34px;
  }
}

@media (max-width: 760px) {
  .service-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .service-nav {
    display: flex;
    width: 100%;
    gap: 8px 14px;
    flex-wrap: wrap;
  }
  .service-nav a { min-height: 44px; }
  .fit-grid,
  .scope-grid,
  .split-section,
  .about-section { grid-template-columns: 1fr; }
  .service-principles { grid-template-columns: 1fr; }
  .service-principles div { min-height: auto; }
  .split-section,
  .about-section { gap: 20px; }
  .intake-layout { grid-template-columns: 1fr; }
  .intake-intro {
    position: static;
    padding-top: 0;
  }
  .intake-intro h2 { max-width: 650px; }
}

@media (max-width: 620px) {
  .service-nav { display: flex; }
  .service-nav a:not(.nav-cta) { font-size: 13px; }
  .service-nav .nav-cta { width: 100%; justify-content: center; }
  .service-hero { padding-top: 52px; }
  .service-hero .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .service-hero .button { width: 100%; }
  .process-list { grid-template-columns: 1fr; }
  .process-list > li:last-child { grid-column: auto; }
  .process-list > li { flex-direction: row; gap: 16px; }
  .process-list > li > span { flex: 0 0 38px; margin-bottom: 0; }
  .clarity-list li { grid-template-columns: 38px 1fr; padding: 14px; }
  .preview-notice {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    text-align: left;
  }
  .intake-intro h2 { font-size: clamp(38px, 12vw, 54px); }
  .intake-intro > p { font-size: 17px; }
  .intake-form,
  .intake-confirmation { padding: 22px 18px; }
  .intake-shell { border-radius: 22px; }
  .intake-steps { margin-bottom: 30px; }
  .intake-step {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .intake-step:not(:last-child)::after {
    left: 48px;
    right: 8px;
    top: 19px;
  }
  .intake-step strong {
    padding-right: 7px;
    font-size: 12px;
  }
  .intake-panel legend { font-size: 26px; }
  .choice-grid,
  .check-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice,
  .check-choice { padding: 11px; font-size: 13px; }
  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .form-actions .button,
  .form-actions .form-back,
  .form-secondary {
    width: 100%;
    justify-content: center;
  }
  .intake-confirmation { min-height: 460px; }
}

@media (max-width: 360px) {
  .service-header { padding-left: 14px; padding-right: 14px; }
  .service-nav { gap: 4px 10px; }
  .button { width: 100%; text-align: center; }
  .choice-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
