@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap");

:root {
  --navy: #17365d;
  --blue: #2f75b5;
  --blue-dark: #245d91;
  --blue-soft: #eaf3fb;
  --green: #2f855a;
  --green-soft: #e8f5ee;
  --text: #1f2937;
  --muted: #667085;
  --border: #d7dee8;
  --surface: #ffffff;
  --background: #f3f6fa;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(23, 54, 93, 0.12);
  --radius-large: 24px;
  --radius-medium: 16px;
  --radius-small: 12px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Fredoka", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(47, 117, 181, 0.12),
      transparent 32rem
    ),
    var(--background);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  padding: 40px 20px;
}

.journey-card {
  width: min(860px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(215, 222, 232, 0.8);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.journey-header {
  padding: 24px 30px;
  background: var(--navy);
  color: #ffffff;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #ffffff;
  border-radius: 14px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-name,
.brand-label {
  margin: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
}

.brand-label {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.progress-area {
  margin-top: 20px;
}

.progress-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.progress-fill {
  width: 12.5%;
  height: 100%;
  background: #ffffff;
  border-radius: inherit;
  transition: width 180ms ease;
}

#healthCheckForm {
  min-height: 530px;
}

.journey-step {
  display: none;
  padding: 42px 36px;
}

.journey-step.is-active {
  display: block;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  max-width: 68ch;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  line-height: 1.18;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 6vw, 3.3rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 5vw, 2.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

p {
  line-height: 1.65;
}

.lead {
  font-size: 1.08rem;
}

.helper-text {
  margin-top: -6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.notice-panel,
.highlight-card,
.conditional-panel,
.summary-card {
  border-radius: var(--radius-medium);
}

.notice-panel {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--blue-soft);
  border: 1px solid #cfe2f5;
  color: var(--navy);
}

.highlight-card {
  padding: 22px;
  background: var(--green-soft);
  border: 1px solid #c9e8d5;
}

.highlight-card p {
  margin: 0;
}

.summary-card {
  padding: 22px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.summary-list {
  margin: 0;
}

.summary-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) 1.5fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid #e7ebf0;
}

.summary-list div:first-child {
  padding-top: 0;
}

.summary-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.summary-list dt {
  color: var(--muted);
  font-weight: 500;
}

.summary-list dd {
  margin: 0;
  font-weight: 500;
}

.option-group {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  border: 0;
}

.option-group legend {
  margin-bottom: 12px;
  color: var(--navy);
  font-weight: 600;
}

.option-card,
.checkbox-card {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.option-card:hover,
.checkbox-card:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(47, 117, 181, 0.08);
}

.option-card:has(input:checked),
.checkbox-card:has(input:checked) {
  background: var(--blue-soft);
  border-color: var(--blue);
}

.option-card input,
.checkbox-card input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--blue);
}

.conditional-panel {
  margin-top: 22px;
  padding: 22px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span {
  color: var(--navy);
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  outline: none;
}

.field input,
.field select {
  min-height: 48px;
  padding: 11px 13px;
}

.field textarea {
  min-height: 118px;
  padding: 13px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 117, 181, 0.12);
}

.field-spaced {
  margin-top: 26px;
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
}

.service-icon {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--green-soft);
  border-radius: 999px;
  color: var(--green);
  font-weight: 700;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.renewal-card {
  margin-top: 18px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
}

.renewal-card h3 {
  margin-bottom: 16px;
}

.renewal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.button-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
}

.button-row-end {
  justify-content: flex-end;
}

.button {
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 11px;
  font-weight: 600;
  transition:
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(47, 117, 181, 0.2);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  background: #eef2f6;
  color: var(--navy);
}

.button-secondary:hover {
  background: #e3e9f0;
}

.completion-icon {
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--green-soft);
  border-radius: 999px;
  color: var(--green);
  font-size: 1.8rem;
  font-weight: 700;
}

.completion-summary {
  margin-top: 24px;
}

.completion-summary ul {
  margin: 0;
  padding-left: 20px;
}

.completion-summary li + li {
  margin-top: 8px;
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 700px) {
  .page-shell {
    padding: 14px;
  }

  .journey-card {
    border-radius: 18px;
  }

  .journey-header {
    padding: 20px;
  }

  .journey-step {
    padding: 30px 20px;
  }

  #healthCheckForm {
    min-height: 0;
  }

  .summary-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .form-grid,
  .checkbox-grid,
  .renewal-grid {
    grid-template-columns: 1fr;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .button-row-end {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
/* -------------------------------------------------------
   TCW POLISH PASS
------------------------------------------------------- */

:root {
  --tcw-ink: #102a43;
  --tcw-blue: #246bba;
  --tcw-blue-deep: #174f8a;
  --tcw-sky: #edf6ff;
  --tcw-coral: #ee7258;
  --tcw-warm: #fff8f4;
  --tcw-green: #16866b;
  --tcw-page: #f5f8fc;
  --tcw-line: #dce5ef;
}

body {
  background:
    radial-gradient(
      circle at 10% 5%,
      rgba(36, 107, 186, 0.12),
      transparent 27rem
    ),
    radial-gradient(
      circle at 96% 92%,
      rgba(238, 114, 88, 0.08),
      transparent 26rem
    ),
    var(--tcw-page);
}

.page-shell {
  display: flex;
  align-items: flex-start;
  padding: 34px 20px 54px;
}

.journey-card {
  width: min(940px, 100%);
  overflow: visible;
  border: 1px solid rgba(220, 229, 239, 0.92);
  border-radius: 28px;
  box-shadow:
    0 26px 75px rgba(16, 42, 67, 0.11),
    0 3px 10px rgba(16, 42, 67, 0.04);
}

.journey-header {
  padding: 20px 30px 18px;
  background: #ffffff;
  border-bottom: 1px solid var(--tcw-line);
  border-radius: 28px 28px 0 0;
  color: var(--tcw-ink);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-block {
  gap: 12px;
}

.brand-mark {
  width: 47px;
  height: 47px;
  background:
    linear-gradient(
      145deg,
      var(--tcw-blue),
      var(--tcw-blue-deep)
    );
  border-radius: 14px;
  color: #ffffff;
  box-shadow: 0 7px 17px rgba(36, 107, 186, 0.2);
}

.brand-mark span {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.brand-name {
  color: var(--tcw-ink);
  font-size: 1rem;
  font-weight: 600;
}

.brand-label {
  color: #718096;
  font-size: 0.84rem;
}

.secure-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #66788a;
  font-size: 0.84rem;
  font-weight: 500;
}

.secure-dot {
  width: 8px;
  height: 8px;
  background: var(--tcw-green);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(22, 134, 107, 0.12);
}

.progress-area {
  margin-top: 18px;
}

.progress-text {
  margin-bottom: 7px;
  color: #718096;
  font-size: 0.8rem;
}

.progress-track {
  height: 5px;
  background: #e8eef5;
}

.progress-fill {
  background:
    linear-gradient(
      90deg,
      var(--tcw-blue),
      #5aa2e8
    );
}

.journey-step {
  padding: 48px 46px 44px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--tcw-blue);
  font-size: 0.79rem;
  letter-spacing: 0.09em;
}

h1,
h2,
h3 {
  color: var(--tcw-ink);
}

h1 {
  max-width: 14ch;
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 5vw, 3.75rem);
  letter-spacing: -0.035em;
}

h2 {
  letter-spacing: -0.025em;
}

.lead {
  color: #3e5367;
  font-size: 1.1rem;
  line-height: 1.68;
}

.welcome-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.8fr);
  gap: 42px;
  align-items: start;
}

.welcome-copy {
  min-width: 0;
}

.welcome-reassurance {
  margin-top: 20px;
  color: #607487;
}

.welcome-summary {
  position: relative;
  margin-top: 12px;
  padding: 25px;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      #f5f9fe,
      #edf5fd
    );
  border: 1px solid #d9e8f6;
  border-radius: 20px;
}

.welcome-summary::before {
  position: absolute;
  top: -52px;
  right: -50px;
  width: 125px;
  height: 125px;
  background: rgba(36, 107, 186, 0.08);
  border-radius: 999px;
  content: "";
}

.summary-kicker {
  position: relative;
  margin: 0 0 16px;
  color: var(--tcw-ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.check-list {
  position: relative;
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  color: #455d73;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  top: 0.14em;
  left: 0;
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #bfd8ee;
  border-radius: 999px;
  color: var(--tcw-blue);
  content: "✓";
  font-size: 0.7rem;
  font-weight: 700;
}

.time-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #d2e2f0;
  color: #597087;
  font-size: 0.85rem;
  font-weight: 500;
}

.time-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  background: rgba(22, 134, 107, 0.11);
  border-radius: 999px;
  color: var(--tcw-green);
  font-size: 0.72rem;
  font-weight: 700;
}

.notice-panel.upgrade-teaser {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 27px;
  padding: 18px;
  background:
    linear-gradient(
      135deg,
      var(--tcw-warm),
      #fffdfb
    );
  border: 1px solid #f5d7cd;
}

.upgrade-teaser .notice-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(238, 114, 88, 0.13);
  border-radius: 11px;
  color: var(--tcw-coral);
  font-size: 1.2rem;
  font-weight: 700;
}

.upgrade-teaser strong {
  color: #7d3527;
}

.upgrade-teaser p {
  margin: 4px 0 0;
  color: #8a5b51;
  font-size: 0.91rem;
  line-height: 1.45;
}

.option-card,
.checkbox-card {
  border-color: var(--tcw-line);
  border-radius: 14px;
}

.option-card:has(input:checked),
.checkbox-card:has(input:checked) {
  background: var(--tcw-sky);
  border-color: var(--tcw-blue);
  box-shadow: 0 0 0 3px rgba(36, 107, 186, 0.07);
}

.summary-card,
.conditional-panel,
.service-item,
.renewal-card {
  background: #f8fafc;
  border-color: var(--tcw-line);
}

.button {
  min-height: 50px;
  border-radius: 12px;
}

.button-primary {
  background:
    linear-gradient(
      135deg,
      var(--tcw-blue),
      var(--tcw-blue-deep)
    );
  box-shadow: 0 10px 24px rgba(36, 107, 186, 0.2);
}

.button-primary:hover {
  background:
    linear-gradient(
      135deg,
      #2d78c6,
      var(--tcw-blue-deep)
    );
}

.button-secondary {
  background: #edf2f7;
  color: #42566a;
}

@media (max-width: 760px) {
  .page-shell {
    padding: 10px;
  }

  .journey-card {
    border-radius: 19px;
  }

  .journey-header {
    padding: 17px 18px 15px;
    border-radius: 19px 19px 0 0;
  }

  .secure-label {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .journey-step {
    padding: 31px 20px 27px;
  }

  .welcome-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .welcome-summary {
    margin-top: 0;
    padding: 21px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .lead {
    font-size: 1rem;
  }
}

/* -------------------------------------------------------
   TCW WEBSITE INSPIRED PASS
------------------------------------------------------- */

:root {
  --tcw-navy: #070b4f;
  --tcw-navy-soft: #101863;
  --tcw-pink: #ff3d8e;
  --tcw-orange: #ff8a2a;
  --tcw-purple: #6a4cff;
  --tcw-page: #f7f8fc;
  --tcw-card: #ffffff;
  --tcw-border: #e7e9f2;
  --tcw-text: #29324a;
  --tcw-text-soft: #5c6784;
  --tcw-success: #18a77a;
}

html,
body {
  background: var(--tcw-page);
  color: var(--tcw-text);
}

body {
  font-weight: 400;
}

.page-shell {
  padding: 28px 18px 50px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,1) 0%,
      rgba(247,248,252,1) 100%
    );
}

.journey-card {
  width: min(960px, 100%);
  border: 1px solid var(--tcw-border);
  border-radius: 28px;
  background: var(--tcw-card);
  box-shadow:
    0 18px 40px rgba(7, 11, 79, 0.06),
    0 2px 8px rgba(7, 11, 79, 0.03);
  overflow: hidden;
}

.journey-header {
  background: #ffffff;
  border-bottom: 1px solid var(--tcw-border);
  padding: 18px 28px 16px;
  color: var(--tcw-text);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      var(--tcw-pink),
      var(--tcw-purple) 55%,
      var(--tcw-orange)
    );
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(255, 61, 142, 0.18);
}

.brand-name {
  margin: 0;
  color: var(--tcw-navy);
  font-size: 1rem;
  font-weight: 500;
}

.brand-label {
  margin: 2px 0 0;
  color: #76809b;
  font-size: 0.86rem;
  font-weight: 400;
}

.progress-area {
  margin-top: 16px;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #7a829d;
  font-size: 0.8rem;
}

.progress-track {
  height: 6px;
  border-radius: 999px;
  background: #eceef7;
  overflow: hidden;
}

.progress-fill {
  background:
    linear-gradient(
      90deg,
      var(--tcw-pink),
      var(--tcw-orange)
    );
}

.journey-step {
  padding: 42px 40px 38px;
}

.eyebrow {
  color: var(--tcw-pink);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  color: var(--tcw-navy);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1;
  max-width: 14ch;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.lead {
  color: var(--tcw-text-soft);
  font-size: 1.03rem;
  line-height: 1.65;
}

p {
  color: var(--tcw-text-soft);
}

.welcome-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.welcome-summary {
  padding: 24px;
  border: 1px solid var(--tcw-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(7, 11, 79, 0.05);
}

.summary-kicker {
  margin: 0 0 14px;
  color: var(--tcw-navy);
  font-weight: 500;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--tcw-text-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0.08em;
  left: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 61, 142, 0.08);
  color: var(--tcw-pink);
  font-size: 0.7rem;
  font-weight: 700;
}

.time-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--tcw-border);
  color: #75809d;
  font-size: 0.86rem;
}

.time-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(24, 167, 122, 0.12);
  color: var(--tcw-success);
  font-weight: 700;
  font-size: 0.72rem;
  vertical-align: middle;
}

.notice-panel,
.summary-card,
.conditional-panel,
.service-item,
.renewal-card {
  background: #fbfcff;
  border: 1px solid var(--tcw-border);
  border-radius: 18px;
}

.notice-panel.upgrade-teaser {
  background:
    linear-gradient(
      135deg,
      rgba(255, 61, 142, 0.06),
      rgba(255, 138, 42, 0.08)
    );
  border-color: #f4d2de;
}

.upgrade-teaser .notice-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 61, 142, 0.12);
  color: var(--tcw-pink);
  font-size: 1.15rem;
  font-weight: 700;
}

.option-card,
.checkbox-card {
  min-height: 56px;
  padding: 15px 17px;
  border: 1px solid var(--tcw-border);
  border-radius: 14px;
  background: #ffffff;
  transition: border-color 160ms ease, background 160ms ease;
}

.option-card strong,
.checkbox-card strong {
  font-weight: 500;
  color: var(--tcw-navy);
}

.option-card:hover,
.checkbox-card:hover {
  border-color: #d7dbee;
  transform: none;
  box-shadow: none;
}

.option-card:has(input:checked),
.checkbox-card:has(input:checked) {
  background: rgba(106, 76, 255, 0.05);
  border-color: var(--tcw-purple);
  box-shadow: none;
}

.option-card input,
.checkbox-card input {
  accent-color: var(--tcw-pink);
}

.field > span,
.option-group legend,
.summary-list dt {
  color: var(--tcw-navy);
  font-weight: 500;
}

.summary-list dd {
  color: var(--tcw-text);
  font-weight: 400;
}

.field input,
.field textarea,
.field select {
  border: 1px solid var(--tcw-border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--tcw-text);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--tcw-pink);
  box-shadow: 0 0 0 4px rgba(255, 61, 142, 0.08);
}

.service-icon {
  background: rgba(255, 138, 42, 0.12);
  color: var(--tcw-orange);
}

.highlight-card {
  background:
    linear-gradient(
      135deg,
      var(--tcw-navy),
      var(--tcw-navy-soft)
    );
  border: 0;
  color: #ffffff;
}

.highlight-card p {
  color: rgba(255,255,255,0.88);
}

.button {
  min-height: 50px;
  border-radius: 12px;
  font-weight: 500;
}

.button-primary {
  background:
    linear-gradient(
      90deg,
      var(--tcw-pink),
      var(--tcw-orange)
    );
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(255, 61, 142, 0.16);
}

.button-primary:hover {
  background:
    linear-gradient(
      90deg,
      #f43888,
      #f97f20
    );
}

.button-secondary {
  background: #ffffff;
  color: var(--tcw-navy);
  border: 1px solid var(--tcw-border);
}

.button-secondary:hover {
  background: #f7f8fc;
}

.completion-icon {
  background: rgba(255, 61, 142, 0.09);
  color: var(--tcw-pink);
}

@media (max-width: 760px) {
  .journey-header {
    padding: 16px 18px 14px;
  }

  .journey-step {
    padding: 30px 20px 26px;
  }

  .welcome-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  h1 {
    max-width: none;
    font-size: clamp(1.95rem, 9vw, 2.55rem);
  }
}

/* -------------------------------------------------------
   HEADER REBUILD FIX
------------------------------------------------------- */

.journey-header {
  padding: 14px 26px 13px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: block;
  width: 84px;
  height: 64px;
  max-width: 84px;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.brand-copy {
  display: block;
}

.brand-name {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 500;
}

.brand-label {
  margin: 2px 0 0;
  color: #77809a;
  font-size: 0.84rem;
  font-weight: 400;
}

.progress-area {
  margin-top: 10px;
}

@media (max-width: 760px) {
  .journey-header {
    padding: 12px 16px;
  }

  .brand-logo {
    width: 68px;
    height: 52px;
    max-width: 68px;
    max-height: 52px;
  }
}

/* -------------------------------------------------------
   PREMIUM REFINEMENT PASS
------------------------------------------------------- */

.journey-card {
  position: relative;
  border-color: rgba(225, 226, 238, 0.92);
  box-shadow:
    0 24px 65px rgba(7, 11, 79, 0.085),
    0 5px 16px rgba(7, 11, 79, 0.035);
}

.journey-card::before {
  position: absolute;
  top: 0;
  right: 26px;
  left: 26px;
  z-index: 2;
  height: 3px;
  background:
    linear-gradient(
      90deg,
      var(--pink),
      var(--purple) 52%,
      var(--orange)
    );
  border-radius: 0 0 999px 999px;
  content: "";
}

.journey-header {
  padding-top: 18px;
  padding-bottom: 16px;
}

.brand-logo {
  width: 88px;
  height: 66px;
  max-width: 88px;
  max-height: 66px;
}

.brand-name {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.brand-label {
  margin-top: 3px;
}

.progress-area {
  margin-top: 12px;
}

.progress-track {
  height: 5px;
}

.journey-step {
  padding-top: 48px;
  padding-bottom: 43px;
}

.welcome-layout {
  gap: 40px;
}

h1 {
  max-width: 15.5ch;
  margin-bottom: 21px;
  font-size: clamp(2.05rem, 4.65vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.032em;
  line-height: 1.12;
}

h2 {
  font-weight: 400;
}

.lead {
  max-width: 59ch;
  color: #4e5974;
  font-size: 1.02rem;
  line-height: 1.7;
}

.welcome-reassurance {
  max-width: 57ch;
  margin-top: 18px;
  line-height: 1.58;
}

.welcome-summary {
  margin-top: 2px;
  padding: 26px 25px 24px;
  border-color: #e2e3ed;
  box-shadow:
    0 15px 36px rgba(7, 11, 79, 0.06),
    0 2px 6px rgba(7, 11, 79, 0.025);
}

.welcome-summary::before {
  top: -72px;
  right: -66px;
  width: 155px;
  height: 155px;
  background:
    linear-gradient(
      145deg,
      rgba(104, 72, 245, 0.09),
      rgba(37, 132, 255, 0.07)
    );
}

.summary-kicker {
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.check-list {
  gap: 14px;
}

.check-list li {
  color: #56617a;
  font-size: 0.94rem;
}

.time-note {
  margin-top: 23px;
  padding-top: 18px;
}

.notice-panel.upgrade-teaser {
  margin-top: 28px;
  padding: 17px 18px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 47, 135, 0.045),
      rgba(255, 138, 34, 0.055)
    );
  border-color: rgba(241, 193, 210, 0.8);
  box-shadow: 0 8px 20px rgba(116, 47, 81, 0.035);
}

.upgrade-teaser .notice-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.upgrade-teaser strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.upgrade-teaser p {
  margin-top: 5px;
}

.button-row {
  margin-top: 38px;
}

.button {
  min-height: 51px;
  padding-right: 23px;
  padding-left: 23px;
  letter-spacing: -0.005em;
}

.button-primary {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 12px 26px rgba(255, 47, 135, 0.18),
    0 3px 8px rgba(255, 138, 34, 0.08);
}

.button-primary::after {
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.22),
      transparent
    );
  transform: skewX(-18deg);
  transition: left 320ms ease;
  content: "";
}

.button-primary:hover::after {
  left: 130%;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 15px 30px rgba(255, 47, 135, 0.21),
    0 4px 10px rgba(255, 138, 34, 0.1);
}

.option-card,
.checkbox-card,
.service-item,
.summary-card,
.conditional-panel,
.renewal-card {
  border-color: #e2e3ed;
}

.option-card,
.checkbox-card {
  padding-top: 16px;
  padding-bottom: 16px;
}

.option-card:hover,
.checkbox-card:hover {
  background: #fdfdff;
  border-color: #d0d1e0;
}

.option-card:has(input:checked),
.checkbox-card:has(input:checked) {
  background:
    linear-gradient(
      135deg,
      rgba(104, 72, 245, 0.05),
      rgba(255, 47, 135, 0.025)
    );
}

.summary-card,
.conditional-panel,
.renewal-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

@media (max-width: 760px) {
  .journey-card::before {
    right: 18px;
    left: 18px;
  }

  .brand-logo {
    width: 72px;
    height: 54px;
    max-width: 72px;
    max-height: 54px;
  }

  .journey-step {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  h1 {
    max-width: none;
    font-size: clamp(1.9rem, 8.7vw, 2.5rem);
  }

  .welcome-summary {
    padding: 22px;
  }

  .button-row {
    margin-top: 31px;
  }
}

/* -------------------------------------------------------
   SOFTER UPGRADE FINDING
------------------------------------------------------- */

.highlight-card {
  position: relative;
  padding: 22px 24px 22px 28px;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(255, 47, 135, 0.05),
      rgba(255, 138, 34, 0.07)
    );
  border: 1px solid rgba(240, 190, 208, 0.9);
  border-radius: 17px;
  box-shadow: 0 9px 22px rgba(116, 47, 81, 0.04);
}

.highlight-card::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 4px;
  background:
    linear-gradient(
      180deg,
      var(--pink),
      var(--orange)
    );
  border-radius: 0 999px 999px 0;
  content: "";
}

.highlight-card::after {
  position: absolute;
  top: -52px;
  right: -42px;
  width: 118px;
  height: 118px;
  background:
    linear-gradient(
      145deg,
      rgba(104, 72, 245, 0.07),
      rgba(37, 132, 255, 0.04)
    );
  border-radius: 999px;
  content: "";
}

.highlight-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #5e4054;
  font-size: 0.98rem;
  line-height: 1.62;
}

@media (max-width: 760px) {
  .highlight-card {
    padding: 19px 19px 19px 24px;
  }
}
