:root {
  color-scheme: light;
  --account-ink: #102b35;
  --account-ink-soft: #405b66;
  --account-muted: #718792;
  --account-paper: #ffffff;
  --account-canvas: #f4f9fa;
  --account-blue: #1a9fd0;
  --account-cyan: #31b8df;
  --account-danger: #c94d59;
  --account-shadow-soft: 0 14px 36px rgba(41, 78, 91, .09);
  --account-control-shadow: 0 1px 2px rgba(17, 38, 48, .04), 0 3px 8px rgba(17, 38, 48, .04), inset 0 1px 1px rgba(255, 255, 255, .8);
}

.flow-start {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .46), transparent 48%),
    var(--account-canvas);
  color: var(--account-ink);
}

.flow-start::selection {
  background: rgba(49, 184, 223, .24);
}

.account-world {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.account-market-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .72;
}

.account-market-line path {
  fill: none;
  stroke: rgba(26, 159, 208, .14);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 2800;
  stroke-dashoffset: 2800;
  animation: account-line-draw 1.45s cubic-bezier(.18, .76, .22, 1) .12s forwards;
}

.flow-start > :not(.account-world) {
  position: relative;
  z-index: 1;
}

.flow-start .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(35, 79, 94, .1);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 30px rgba(46, 84, 97, .035);
  backdrop-filter: blur(22px) saturate(135%);
}

.flow-start .header-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 76px;
}

.flow-start .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--account-ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

.flow-start .brand em {
  color: var(--account-blue);
}

.flow-start .brand-glyph {
  position: relative;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: end;
  gap: 2px;
  padding: 6px;
  border: 0;
  border-radius: 9px;
  background: var(--account-ink);
  box-shadow: 0 6px 16px rgba(17, 38, 48, .16);
}

.flow-start .brand-glyph i {
  flex: 1;
  border-radius: 2px 2px 1px 1px;
  background: var(--account-cyan);
}

.flow-start .brand-glyph i:nth-child(1) {
  height: 26%;
}

.flow-start .brand-glyph i:nth-child(2) {
  height: 58%;
}

.flow-start .brand-glyph i:nth-child(3) {
  height: 42%;
}

.flow-start .brand-glyph i:nth-child(4) {
  height: 82%;
}

.flow-start .dashboard-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(17, 38, 48, .18);
  border-radius: 999px;
  background: var(--account-paper);
  color: var(--account-ink);
  box-shadow: var(--account-control-shadow);
  font: 650 13px/1.35 var(--sans);
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  transition: border-color .2s cubic-bezier(.22, .72, .18, 1), background-color .2s cubic-bezier(.22, .72, .18, 1), box-shadow .2s cubic-bezier(.22, .72, .18, 1), transform .2s cubic-bezier(.22, .72, .18, 1);
}

.flow-start .dashboard-link:hover {
  border-color: rgba(8, 127, 168, .32);
  background: #f8fcfd;
  box-shadow: 0 2px 4px rgba(17, 38, 48, .04), 0 5px 14px rgba(17, 38, 48, .07), inset 0 1px 1px rgba(255, 255, 255, .8);
}

.flow-start .dashboard-link:focus-visible {
  outline: 2px solid #087fa8;
  outline-offset: 4px;
}

.flow-start .dashboard-link:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(17, 38, 48, .07);
}

/* Start / membership */
.flow-start {
  --account-ink: #112630;
  --account-ink-soft: #3d535d;
  --account-muted: #71828a;
  --account-canvas: #eef3f5;
  --account-cyan: #32b7e5;
}

/* A static version of the home page's wash and market-line artwork. */
.flow-start .account-world {
  background: linear-gradient(138deg, #f8fafb 0%, #f0f5f7 52%, #eaf3f6 100%);
}

.flow-start .account-market-line {
  inset: -4% -3% -2%;
  width: 106%;
  height: 106%;
  opacity: .22;
}

.flow-start .account-market-line path {
  vector-effect: non-scaling-stroke;
  stroke: rgba(8, 127, 168, .48);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  animation: none;
}

.flow-start main {
  padding-top: 76px;
}

.flow-start .prestripe {
  min-height: calc(100vh - 76px);
  margin-top: 0;
  padding: clamp(38px, 5vw, 68px) 24px 80px;
  border: 0;
  background: transparent;
}

.flow-start .checkout-progress {
  width: min(900px, 100%);
}

.flow-start .progress-copy {
  align-items: center;
}

.flow-start .progress-label {
  color: var(--account-ink);
  font-size: .78rem;
  font-weight: 850;
}

.flow-start .progress-track {
  height: 2px;
  margin-top: 13px;
  background: rgba(35, 79, 94, .12);
}

.flow-start .progress-fill {
  background: linear-gradient(90deg, var(--account-blue), var(--account-cyan));
  box-shadow: none;
}

.flow-start .cadence-card {
  width: min(930px, 100%);
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 32px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 48px rgba(31, 65, 78, .08);
  backdrop-filter: blur(18px);
}

.flow-start .cadence-card h1 {
  color: var(--account-ink);
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: .96;
  letter-spacing: -.067em;
}

.flow-start .cadence-card h1 .title-lead {
  color: var(--account-ink);
}

.flow-start .cadence-card h1 .title-accent {
  color: #087fa8;
}

.flow-start .cadence-options {
  margin-top: 34px;
  gap: 12px;
}

/* Match the home page pricing cards while keeping the checkout radio controls. */
.flow-start .cadence-option {
  min-height: 390px;
  padding: 25px;
  border: 1px solid rgba(17, 38, 48, .09);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  color: #112630;
  box-shadow: 0 12px 34px rgba(31, 65, 78, .07);
}

.flow-start .cadence-option[data-plan-option="annual"] {
  border-color: rgba(50, 183, 229, .35);
  background: linear-gradient(160deg, #e6f7fc, #f8fcfd);
}

.flow-start .cadence-option:hover {
  border-color: rgba(26, 159, 208, .36);
  box-shadow: var(--account-shadow-soft);
}

.flow-start .cadence-option[aria-checked="true"] {
  border-color: var(--account-blue);
  box-shadow: 0 0 0 3px rgba(49, 184, 223, .1), var(--account-shadow-soft);
}

.flow-start .cadence-option:focus-visible {
  outline-color: #087fa8;
}

.flow-start .membership-head {
  min-height: 34px;
}

.flow-start .membership-name {
  color: #112630;
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -.04em;
}

.flow-start .best-value {
  padding: 6px 9px;
  border-radius: 8px;
  background: #e4f5fb;
  color: #087fa8;
  font: 850 .59rem/normal var(--sans);
  letter-spacing: .12em;
}

.flow-start .membership-price {
  gap: 9px;
  margin-top: 17px;
}

.flow-start .membership-price strong {
  color: #112630;
  font: 700 clamp(3rem, 3.8vw, 4rem)/1 var(--sans);
  letter-spacing: -.06em;
}

.flow-start .membership-price span {
  color: #71828a;
  font: 800 .63rem/normal var(--sans);
  letter-spacing: .08em;
}

.flow-start .membership-summary {
  min-height: 3em;
  color: #71828a;
  font-size: .72rem;
  line-height: 1.5;
}

.flow-start .membership-divider {
  margin: 18px 0;
  background: rgba(17, 38, 48, .09);
}

.flow-start .membership-includes {
  color: #3d535d;
  font: 850 .61rem/normal var(--sans);
  letter-spacing: .1em;
}

.flow-start .membership-features {
  margin-top: 13px;
}

.flow-start .membership-features > span {
  padding-left: 15px;
  color: #3d535d;
  font-size: .76rem;
  line-height: normal;
}

.flow-start .membership-features > span::before {
  top: .45em;
  width: 6px;
  height: 6px;
  background: #32b7e5;
}

.flow-start .renewal-consent {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--account-ink-soft);
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
}

.flow-start .renewal-consent a {
  color: #087ba5;
  font-weight: 850;
}

.flow-start .continue-button {
  min-height: 62px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--account-cyan);
  color: #062936;
  box-shadow: 0 12px 28px rgba(50, 183, 229, .26);
}

.flow-start .continue-button:hover,
.flow-start .continue-button:focus-visible {
  background: #58c7eb;
  box-shadow: 0 18px 38px rgba(31, 161, 201, .22);
}

.flow-start .checkout-status {
  position: static;
  margin: 12px 0 0;
  color: var(--account-muted);
}

.flow-start .mobile-membership-details { display: none; }

@media (max-width: 767px) {
  .flow-start .prestripe { padding-top: 20px; }
  .flow-start .cadence-card { margin-top: 18px; padding: 24px 18px; }
  .flow-start .cadence-card h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .flow-start .cadence-options { margin-top: 20px; gap: 10px; grid-template-columns: 1fr; }
  .flow-start .cadence-option { min-height: 0; padding: 14px 16px; border-radius: 16px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 6px 12px; align-items: center; }
  .flow-start .membership-head { min-height: 0; display: block; }
  .flow-start .membership-name { font-size: 1.15rem; }
  .flow-start .best-value { margin-top: 5px; padding: 3px 5px; font-size: .5rem; }
  .flow-start .membership-price { margin: 0; display: block; text-align: right; }
  .flow-start .membership-price strong { display: block; font-size: 1.85rem; }
  .flow-start .membership-price span { font-size: .55rem; }
  .flow-start .membership-summary { grid-column: 1 / -1; min-height: 0; margin: 0; font-size: .72rem; }
  .flow-start .membership-divider, .flow-start .membership-includes, .flow-start .membership-features { display: none; }
  .flow-start .continue-button { min-height: 54px; margin-top: 14px; font-size: .9rem; }
  .flow-start .mobile-membership-details { display: block; margin-top: 18px; color: var(--account-ink-soft); font-size: .8rem; line-height: 1.5; }
  .flow-start .mobile-membership-details summary { cursor: pointer; padding-block: 10px; font-weight: 700; }
  .flow-start .mobile-membership-details ul { margin: 8px 0; padding-left: 20px; }
  .flow-start .mobile-membership-details li + li { margin-top: 6px; }
}

.flow-start .checkout-status[data-tone="danger"] {
  color: var(--account-danger);
}

.flow-start .checkout-status[data-tone="success"] {
  color: #168864;
}

@keyframes account-line-draw {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 720px) {
  .flow-start .header-inner {
    width: min(100% - 28px, 1180px);
    min-height: 68px;
  }

  .flow-start .dashboard-link {
    min-height: 36px;
    padding-inline: 17px;
    font-size: 12px;
  }

  .flow-start main {
    padding-top: 68px;
  }

  .flow-start .prestripe {
    min-height: calc(100vh - 68px);
    margin-top: 0;
    padding: 20px 14px 56px;
  }

  .flow-start .progress-label {
    font-size: .68rem;
  }

  .flow-start .cadence-card {
    margin-top: 18px;
    padding: 24px 18px;
    border-radius: 24px;
  }

  .flow-start .cadence-card h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .flow-start .cadence-options {
    grid-template-columns: 1fr;
  }

  .flow-start .cadence-option {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .flow-start .brand {
    font-size: .98rem;
  }

  .flow-start .header-inner {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-start .dashboard-link {
    transition: none;
  }

  .flow-start .dashboard-link:active {
    transform: none;
  }

  .account-market-line path {
    animation: none;
    stroke-dashoffset: 0;
  }
}
