@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");
:root {
  --ink: #082453;
  --muted: #65748c;
  --blue: #1265e8;
  --green: #159447;
  --line: #dbe3ee;
  --paper: #fff;
  --wash: #f3f7fc;
  --danger: #b42318;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

.join-simple-body {
  min-height: 100vh;
  background: #f4f7fb;
}
.join-simple-shell {
  width: min(100% - 32px, 510px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 54px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.join-simple-logo {
  display: block;
  width: max-content;
  margin: 0 auto 22px;
}
.join-simple-logo img {
  display: block;
  width: 190px;
  height: 58px;
  object-fit: contain;
}
.join-simple-card {
  position: relative;
  padding: 34px;
  border: 1px solid #dce4ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(20, 45, 85, 0.1);
}
.join-simple-back {
  display: inline-block;
  color: #63718a;
  font-size: 14px;
  text-decoration: none;
}
.join-simple-back:hover { color: var(--blue); }
.join-simple-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.join-simple-reset {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.join-simple-reset:hover { text-decoration: underline; }
.plan-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding: 18px 20px;
  border: 1px solid #cfe1fb;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5f9ff, #edf5ff);
}
.plan-summary > div {
  display: grid;
  gap: 4px;
}
.plan-summary__eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.plan-summary strong {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  letter-spacing: -.02em;
}
.plan-summary small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.plan-summary > b {
  display: grid;
  justify-items: end;
  color: var(--ink);
  font: 800 28px/1 "Manrope", sans-serif;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.plan-summary > b small {
  margin-top: 5px;
  font: 600 12px/1 "DM Sans", sans-serif;
  letter-spacing: 0;
}
.plan-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 30px;
  padding: 0;
  border: 0;
}
.plan-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 3px;
  color: #65748c;
  font-size: 13px;
  font-weight: 700;
}
.plan-option {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  min-width: 0;
  padding: 15px;
  border: 1px solid #d5e0ef;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.plan-option:has(input:checked) {
  border-color: var(--blue);
  background: #f3f8ff;
  box-shadow: 0 0 0 3px rgba(18,101,232,.09);
}
.plan-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.plan-option span { display:flex; justify-content:space-between; gap:6px; color:var(--ink); }
.plan-option span small { color:#7a8799; font-weight:500; }
.plan-option strong {
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  line-height: 1;
}
.plan-choice:disabled .plan-option { cursor:default; }
.join-simple-card .step-card { max-width: none; }
.join-simple-card .step-card h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  letter-spacing: -0.035em;
}
.join-simple-card .notice.show { margin-bottom: 20px; }
.renewal-context {
  margin: -8px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.step-intro {
  margin: -8px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.existing-account-box {
  padding: 18px;
  border: 1px solid #b9d5fb;
  border-radius: 14px;
  background: #f1f7ff;
  color: var(--ink);
  line-height: 1.55;
}
.existing-account-box p {
  margin: 0 0 12px;
}
.existing-account-box p:last-of-type {
  margin-bottom: 18px;
}
.existing-account-box .billing-action {
  margin-bottom: 0;
}
.payment-success-card {
  padding: 42px 34px 36px;
  text-align: center;
}
.payment-success-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border: 1px solid #a9e1bb;
  border-radius: 50%;
  background: #eaf9ef;
  color: var(--green);
  font: 800 36px/1 "Manrope", sans-serif;
  box-shadow: 0 10px 24px rgba(21, 148, 71, .14);
}
.payment-success-eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.payment-success-card h1 {
  margin-bottom: 12px;
}
.payment-success-copy {
  max-width: 360px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.payment-success-detail {
  display: grid;
  gap: 5px;
  margin: 26px 0 20px;
  padding: 15px 16px;
  border: 1px solid #cfe1fb;
  border-radius: 14px;
  background: #f4f8ff;
  color: var(--ink);
  text-align: left;
  line-height: 1.45;
}
.payment-success-detail strong {
  font-size: 13px;
}
.payment-success-detail span {
  color: var(--muted);
  font-size: 13px;
}
.payment-success-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 55px;
  padding: 0 20px;
  border-radius: 13px;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(18, 101, 232, .23);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.payment-success-login:hover {
  transform: translateY(-1px);
  background: #0758d4;
  color: #fff;
  text-decoration: none;
}
.payment-success-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .join-simple-shell { width: min(100% - 24px, 510px); padding: 24px 0; }
  .join-simple-logo { margin-bottom: 16px; }
  .join-simple-logo img { width: 164px; height: 50px; }
  .join-simple-card { padding: 25px 20px; border-radius: 18px; }
  .join-simple-navigation { margin-bottom: 22px; }
  .join-simple-reset { font-size: 12px; }
  .plan-summary { margin-bottom: 25px; padding: 15px 16px; }
  .plan-summary strong { font-size: 18px; }
  .plan-summary > b { font-size: 24px; }
  .plan-summary > b small { font-size: 11px; }
  .plan-choice { margin-bottom: 25px; }
  .plan-option { padding: 13px; }
  .plan-option span { display:grid; }
  .plan-option strong { font-size: 22px; }
  .join-simple-card .step-card h1 { font-size: 25px; }
  .payment-success-card { padding: 34px 20px 28px; }
  .payment-success-mark { width: 64px; height: 64px; margin-bottom: 18px; font-size: 32px; }
}
.subscribe-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(480px, 1.08fr);
}
.subscribe-story {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 44px 8vw 38px;
  background: linear-gradient(145deg, #06285c, #0c4fbd 72%, #1265e8);
  color: #fff;
}
.subscribe-story:after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  right: -180px;
  bottom: -130px;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.035),
    0 0 0 110px rgba(255, 255, 255, 0.025);
}
.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: max-content;
  background: #fff;
  border-radius: 16px;
  padding: 9px 13px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
}
.brand img {
  width: 180px;
  height: 54px;
  object-fit: contain;
}
.story-copy {
  position: relative;
  z-index: 1;
  margin: auto 0;
  max-width: 610px;
}
.eyebrow,
.step-kicker,
.plan-lockup span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.story-copy h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 20px 0;
}
.story-copy p {
  font-size: 18px;
  line-height: 1.7;
  color: #dce9ff;
  max-width: 570px;
}
.trust-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: #d8e7ff;
}
.trust-row span:before {
  content: "✓";
  color: #7fe29c;
  margin-right: 7px;
  font-weight: 900;
}
.subscribe-panel {
  min-height: 100vh;
  background: var(--paper);
  padding: 44px clamp(28px, 7vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.back-link {
  position: absolute;
  top: 28px;
  color: #52627a;
  text-decoration: none;
  font-size: 14px;
}
.plan-lockup {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.plan-lockup div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}
.plan-lockup span {
  width: 100%;
  color: var(--green);
}
.plan-lockup strong {
  font-family: "Manrope";
  font-size: 48px;
  letter-spacing: -0.06em;
}
.plan-lockup small {
  font-size: 16px;
  color: var(--muted);
}
.plan-lockup p {
  margin: 0;
  text-align: right;
  line-height: 1.5;
  color: var(--muted);
}
.steps {
  display: flex;
  align-items: center;
  margin: 28px 0;
}
.steps span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-weight: 800;
  color: #8a98aa;
}
.steps span.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(18, 101, 232, 0.25);
}
.steps span.done {
  border-color: var(--green);
  color: var(--green);
}
.steps i {
  height: 1px;
  flex: 1;
  background: var(--line);
  margin: 0 10px;
}
.step-card {
  max-width: 640px;
}
.step-kicker {
  color: var(--blue);
  margin: 0 0 10px;
}
.step-card h2 {
  font-family: "Manrope";
  font-size: 34px;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}
.step-card > p:not(.step-kicker, .legal) {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 24px;
}
form {
  display: grid;
  gap: 18px;
}
label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}
input {
  width: 100%;
  height: 54px;
  border: 1px solid #cdd7e5;
  border-radius: 12px;
  padding: 0 15px;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: 0.2s;
}
input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 101, 232, 0.1);
}
button {
  height: 55px;
  border: 0;
  border-radius: 13px;
  padding: 0 20px;
  background: var(--blue);
  color: #fff;
  font: 700 15px "DM Sans";
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(18, 101, 232, 0.23);
  transition: 0.2s;
}
button:hover {
  transform: translateY(-1px);
  background: #0758d4;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}
.consent {
  grid-template-columns: 22px 1fr;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px;
  font-weight: 500;
  line-height: 1.45;
}
.consent input {
  height: 20px;
  width: 20px;
  margin: 1px 0;
}
.price-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: #f1f7ff;
  border: 1px solid #cfe1fb;
  border-radius: 16px;
  padding: 20px;
  margin: 22px 0;
}
.price-summary span {
  font-weight: 700;
}
.price-summary strong {
  font: 800 29px "Manrope";
}
.price-summary small {
  grid-column: 1/-1;
  color: var(--muted);
  margin-top: 6px;
}
.setup-note,
.success-box {
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 16px;
  line-height: 1.5;
}
.payment-details.hidden { display: none; }
#payment-confirmation {
  margin-top: 0;
  line-height: 1.55;
}
.setup-note {
  background: #fff8e7;
  color: #7a5200;
  border: 1px solid #f0d789;
}
.success-box {
  background: #ebf9ef;
  color: #096b32;
  border: 1px solid #bce6c8;
  margin-top: 18px;
}
.legal {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}
.notice {
  display: none;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.notice.show {
  display: block;
}
.notice.ok {
  color: #096b32;
  background: #ebf9ef;
}
.notice.error {
  color: var(--danger);
  background: #fff0ee;
}
.hidden {
  display: none !important;
}
.billing-action {
  display: block;
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid #c9ddfb;
  border-radius: 13px;
  background: #eaf3ff;
  color: var(--blue);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.legal-page { min-height: 100vh; padding: 32px; background: #f5f8fd; }
.legal-page > .brand { display: block; max-width: 1120px; margin: 0 auto 24px; }
.legal-page article { max-width: 820px; margin: auto; padding: clamp(24px, 5vw, 56px); background: white; border: 1px solid #dce4f0; border-radius: 24px; box-shadow: 0 18px 55px rgba(20,55,105,.08); }
.legal-page h1 { color: #0c2d67; font-size: clamp(2rem, 5vw, 3.5rem); }
.legal-page h2 { color: #173867; margin-top: 32px; }
.legal-page p { color: #596b86; line-height: 1.75; }
.legal-page .legal-alert { border-left: 4px solid #e7a008; background: #fff8e7; padding: 14px 16px; color: #735316; }
@media (max-width: 900px) {
  .subscribe-shell {
    grid-template-columns: 1fr;
  }
  .subscribe-story {
    min-height: 330px;
    padding: 24px;
  }
  .brand img {
    width: 145px;
    height: 43px;
  }
  .story-copy {
    margin: 45px 0 35px;
  }
  .story-copy h1 {
    font-size: 38px;
  }
  .story-copy p {
    font-size: 16px;
  }
  .subscribe-panel {
    min-height: auto;
    padding: 62px 24px 44px;
  }
  .back-link {
    top: 360px;
  }
  .plan-lockup {
    align-items: flex-start;
  }
  .plan-lockup strong {
    font-size: 40px;
  }
}
@media (max-width: 520px) {
  .subscribe-story {
    min-height: 285px;
  }
  .story-copy {
    margin: 30px 0 12px;
  }
  .story-copy h1 {
    font-size: 31px;
    margin: 12px 0;
  }
  .story-copy p {
    display: none;
  }
  .trust-row {
    gap: 10px;
    font-size: 11px;
  }
  .subscribe-panel {
    padding: 58px 18px 34px;
  }
  .back-link {
    top: 310px;
  }
  .plan-lockup {
    display: block;
  }
  .plan-lockup p {
    text-align: left;
    margin-top: 8px;
  }
  .step-card h2 {
    font-size: 28px;
  }
  .plan-lockup strong {
    font-size: 38px;
  }
}
