:root {
  --ink: #142441;
  --navy: #101b42;
  --blue: #273c83;
  --yellow: #ffd35d;
  --coral: #ff765f;
  --mint: #55e2b1;
  --paper: #f8fbff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
}
button, input, select { font: inherit; }
button { cursor: pointer; }

.member-header {
  min-height: 82px;
  padding: 14px clamp(20px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
  background: rgba(9, 18, 48, .94);
  border-bottom: 1px solid rgba(255, 211, 93, .35);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 5;
}
.member-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.member-brand > span {
  width: 47px; height: 47px; display: grid; place-items: center; border-radius: 15px;
  color: #523a08; background: linear-gradient(145deg, #ffe786, #ff9a56);
  box-shadow: 0 6px 0 #d86d42; font-weight: 1000;
}
.member-brand strong, .member-brand small { display: block; }
.member-brand strong { font-size: 20px; }
.member-version { padding:4px 7px; border:1px solid rgba(170,190,235,.24); border-radius:999px; color:#91a5d2; font-size:7px; font-style:normal; font-weight:950; letter-spacing:.7px; text-transform:uppercase; }
.member-brand small { margin-top: 2px; color: #aab9dd; font-size: 9px; font-weight: 850; letter-spacing: 1px; text-transform: uppercase; }
.member-header nav { display: flex; gap: clamp(16px, 3vw, 38px); }
.member-header nav a { color: #dce5ff; text-decoration: none; font-size: 11px; font-weight: 900; }

.member-hero {
  min-height: 640px;
  padding: 75px clamp(24px, 8vw, 130px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 55px;
  color: white;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 45%, rgba(59, 227, 228, .18), transparent 28%),
    radial-gradient(circle at 72% 40%, rgba(124, 87, 255, .26), transparent 38%),
    linear-gradient(145deg, #0a1537, #162a68 56%, #262f78);
}
.eyebrow { color: var(--yellow); text-transform: uppercase; letter-spacing: 2.2px; font-size: 10px; font-weight: 950; }
.hero-copy h1 { max-width: 710px; margin: 14px 0 24px; font-size: clamp(52px, 6.7vw, 91px); line-height: .95; letter-spacing: -4px; }
.hero-copy h1 span { color: var(--yellow); }
.hero-copy > p:not(.eyebrow) { max-width: 640px; color: #ccd7f5; line-height: 1.7; font-size: 17px; }
.trust-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.trust-pills span { padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.07); color: #e3eaff; font-size: 10px; font-weight: 850; }

.animal-stage { min-height: 460px; position: relative; }
.animal-stage img {
  position: absolute; width: 225px; aspect-ratio: 1; object-fit: cover; border-radius: 42% 42% 48% 48%;
  border: 2px solid rgba(104, 220, 255, .45); box-shadow: 0 0 45px rgba(51, 185, 255, .35), 0 25px 55px rgba(2,8,30,.35);
}
.animal-stage img:nth-child(1) { left: 2%; top: 23%; z-index: 2; }
.animal-stage img:nth-child(2) { left: 33%; top: 2%; z-index: 3; transform: scale(1.12); }
.animal-stage img:nth-child(3) { right: 0; bottom: 5%; z-index: 1; }
.stage-orbit { position: absolute; inset: 4% -8%; border: 1px solid rgba(84, 226, 248, .22); border-radius: 50%; transform: rotate(-12deg); }

.plans { padding: 100px 24px; background: linear-gradient(#fff, #f2f7ff); }
.section-heading { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-heading h2, .account-intro h2 { margin: 8px 0 13px; color: var(--blue); font-size: clamp(36px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -2px; }
.section-heading > p:last-child, .account-intro > p { color: #687991; line-height: 1.7; }
.plan-grid { max-width: 970px; margin: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.plan-grid article { position: relative; padding: 38px; border: 1px solid #e1e8f3; border-radius: 32px; background: white; box-shadow: 0 20px 55px rgba(37, 59, 99, .11); }
.plan-grid .featured { color: white; border-color: #334b99; background: linear-gradient(150deg, #172a67, #2c4291); transform: translateY(-10px); box-shadow: 0 28px 65px rgba(27, 47, 107, .24); }
.plan-icon { font-size: 43px; }
.plan-grid article > p { color: #ef705b; text-transform: uppercase; letter-spacing: 1.4px; font-size: 9px; font-weight: 950; }
.featured > p { color: var(--yellow) !important; }
.plan-grid h3 { margin: 0 0 9px; font-size: 30px; }
.plan-grid article > strong { color: #708097; font-size: 12px; }
.featured > strong { color: #bdcaec !important; }
.plan-grid ul { padding: 0; margin: 26px 0; list-style: none; line-height: 2.1; color: #64758c; font-size: 13px; }
.featured ul { color: #dce4fa; }
.plan-grid li::before { content: "✓"; color: #43bd8d; margin-right: 10px; font-weight: 1000; }
.plan-grid button, .account-submit, .dashboard-actions button, .dashboard-actions a {
  width: 100%; border: 0; border-radius: 999px; padding: 15px 18px; color: white; background: linear-gradient(135deg, #ed6d5c, #ff9655);
  font-weight: 950; font-size: 12px; text-decoration: none; text-align: center; box-shadow: 0 8px 19px rgba(239, 107, 91, .22);
}
.featured button { color: #172354; background: var(--yellow); }
.value-badge { position: absolute; right: 25px; top: 25px; padding: 7px 10px; border-radius: 999px; color: #1a2b65; background: var(--yellow); font-size: 8px; font-weight: 1000; text-transform: uppercase; letter-spacing: 1px; }
.test-note { max-width: 740px; margin: 34px auto 0; color: #7a8799; text-align: center; font-size: 11px; line-height: 1.6; }

.account-section {
  padding: 105px clamp(24px, 8vw, 130px);
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(35px, 7vw, 100px); align-items: center;
  background: #eef5ff;
}
.privacy-card { margin-top: 27px; padding: 21px; display: flex; gap: 15px; border-radius: 22px; background: white; box-shadow: 0 15px 35px rgba(40, 62, 101, .08); }
.privacy-card > span { font-size: 32px; }
.privacy-card strong { display: block; color: var(--blue); }
.privacy-card p { margin: 5px 0 0; color: #718198; font-size: 12px; line-height: 1.55; }
.account-card, .dashboard-card { max-width: 620px; width: 100%; justify-self: end; padding: 29px; border-radius: 31px; background: white; box-shadow: 0 24px 60px rgba(35, 56, 100, .15); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 25px; padding: 5px; border-radius: 999px; background: #eff3fa; }
.auth-tabs button { border: 0; padding: 11px; border-radius: 999px; color: #718198; background: transparent; font-size: 11px; font-weight: 900; }
.auth-tabs button.active { color: #263c7d; background: white; box-shadow: 0 5px 14px rgba(37, 57, 96, .1); }
.account-card form { display: grid; gap: 14px; }
.account-card label { color: #52637b; font-size: 10px; font-weight: 900; }
.account-card input:not([type=checkbox]), .account-card select { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #dce3ed; border-radius: 13px; color: var(--ink); background: #fbfdff; outline: none; }
.account-card input:focus, .account-card select:focus { border-color: #526fd2; box-shadow: 0 0 0 3px rgba(82,111,210,.12); }
.account-card label small { display: block; margin-top: 4px; color: #8d99a9; font-size: 8px; }
.pw-field { position: relative; display: block; margin-top: 6px; }
.pw-field input { margin-top: 0 !important; padding-right: 76px; }
.pw-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #8a97ad; cursor: pointer; transition: color .15s ease, background .15s ease; }
.pw-btn:hover { color: #3553a5; background: #eef3fb; }
.pw-btn:focus-visible { outline: 2px solid #526fd2; outline-offset: 1px; }
.pw-eye { right: 40px; }
.pw-copy { right: 7px; }
.pw-eye .ic-eye-off { display: none; }
.pw-eye[data-shown="true"] .ic-eye { display: none; }
.pw-eye[data-shown="true"] .ic-eye-off { display: inline; }
.pw-copy .ic-check { display: none; }
.pw-copy.copied { color: #1a8f5a; background: #e5f7ee; }
.pw-copy.copied .ic-copy { display: none; }
.pw-copy.copied .ic-check { display: inline; }
.check-row { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; line-height: 1.45; }
.check-row input { margin: 2px 0 0; accent-color: #3553a5; }
.check-row a { color: #3553a5; }
.form-status { min-height: 20px; margin: 15px 0 0; color: #63758b; text-align: center; font-size: 11px; font-weight: 800; }
.form-status.error { color: #c44035; }
.form-status.success { color: #24865f; }

.dashboard-top { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.dashboard-top small, .membership-status small { color: #8b98a8; text-transform: uppercase; letter-spacing: 1.3px; font-size: 8px; font-weight: 950; }
.dashboard-top h2 { margin: 5px 0; color: var(--blue); }
.dashboard-top p { margin: 0; color: #74849a; font-size: 11px; }
.dashboard-top button { border: 1px solid #dbe2ec; border-radius: 999px; padding: 9px 12px; color: #687a91; background: white; font-size: 9px; font-weight: 900; }
.membership-status { margin: 28px 0; padding: 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; border-radius: 22px; background: linear-gradient(135deg, #effbff, #f6f2ff); }
.membership-status > span { font-size: 36px; }
.membership-status h3 { margin: 4px 0; color: var(--blue); }
.membership-status p { margin: 0; color: #708097; font-size: 10px; }
.membership-status > b { padding: 7px 9px; border-radius: 999px; color: #81592a; background: #fff0bd; text-transform: uppercase; font-size: 8px; letter-spacing: 1px; }
.membership-status > b.active { color: #146143; background: #c9f5e4; }
.dashboard-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dashboard-actions .secondary { color: #29407d; background: white; border: 1px solid #cad4e5; box-shadow: none; }
.dashboard-actions a { display: block; background: #233974; box-shadow: none; }

footer { padding: 38px clamp(24px, 6vw, 90px); display: grid; grid-template-columns: 1fr auto; gap: 13px; align-items: center; color: white; background: #0c1739; }
footer p { margin: 0; color: #b9c5e3; font-size: 12px; }
footer > small { grid-column: 2; color: #7585ad; font-size: 9px; }

[hidden] { display: none !important; }
button:disabled { cursor: wait; opacity: .62; }

@media (max-width: 850px) {
  .member-hero, .account-section { grid-template-columns: 1fr; }
  .member-hero { padding-top: 55px; text-align: center; }
  .hero-copy > p, .trust-pills { margin-inline: auto; justify-content: center; }
  .animal-stage { width: min(100%, 610px); margin: auto; }
  .account-card, .dashboard-card { justify-self: center; max-width: 680px; }
}

@media (max-width: 620px) {
  .member-header { min-height: 70px; padding: 12px 15px; }
  .member-header nav a:not(:last-child) { display: none; }
  .member-brand > span { width: 40px; height: 40px; border-radius: 13px; }
  .member-brand strong { font-size: 17px; }
  .member-hero { min-height: 720px; padding: 55px 18px; }
  .hero-copy h1 { font-size: 51px; letter-spacing: -2.8px; }
  .hero-copy > p:not(.eyebrow) { font-size: 14px; }
  .animal-stage { min-height: 330px; }
  .animal-stage img { width: 155px; border-radius: 38px; }
  .animal-stage img:nth-child(1) { left: 0; top: 28%; }
  .animal-stage img:nth-child(2) { left: 29%; }
  .animal-stage img:nth-child(3) { right: -3%; }
  .plans { padding: 75px 14px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-grid .featured { transform: none; }
  .account-section { padding: 75px 14px; }
  .account-card, .dashboard-card { padding: 22px 17px; border-radius: 25px; }
  .membership-status { grid-template-columns: auto 1fr; }
  .membership-status > b { grid-column: 1 / -1; justify-self: start; }
  .dashboard-actions { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer > small { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
