:root {
  color-scheme: light;
  --ink: #101d38;
  --muted: #68758d;
  --line: #dce3ee;
  --green: #0d8d70;
  --green-dark: #08705a;
  --cyan: #33d2d7;
  --night: #101a37;
  --night-soft: #172447;
  --violet: #5553d8;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(90deg, var(--night) 0 58%, #f5f7fc 58% 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
.accountHeader {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  padding: 0 52px;
}
.brand { display: flex; align-items: center; gap: 11px; width: max-content; color: #f4fbff; }
.brandMark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--cyan);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(51, 210, 215, .08);
  font-weight: 900;
  box-shadow: inset 0 0 0 4px rgba(51, 210, 215, .05);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: -.01em; }
.brand small { margin-top: 2px; color: #9fb0cf; font-size: 9px; letter-spacing: .2em; }
.backLink { justify-self: end; color: #66738a; font-size: 14px; }
.backLink:hover { color: var(--green-dark); }
.accountMain {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 58% 42%;
  overflow: hidden;
}
.accountMain::before,
.accountMain::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(58% - 355px);
  top: 50%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(120, 116, 255, .18);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 80px rgba(92, 84, 222, .055), 0 0 0 160px rgba(92, 84, 222, .035);
}
.accountMain::after {
  left: -260px;
  top: 100%;
  width: 720px;
  height: 720px;
  border: 0;
  background: radial-gradient(circle, rgba(18, 125, 146, .23), transparent 68%);
  box-shadow: none;
}
.accountBenefits {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: min(760px, calc(100% - 110px));
  margin: 54px auto 0;
  padding-right: 110px;
  color: #f7faff;
}
.accountBenefits .eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.accountBenefits h2 {
  max-width: 640px;
  margin: 22px 0 20px;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.12;
  letter-spacing: -.055em;
}
.accountBenefits > p { max-width: 620px; color: #b3c2dc; line-height: 1.8; }
.accountBenefits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.accountBenefits li { position: relative; padding-left: 20px; }
.accountBenefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--cyan);
  font-weight: 900;
}
.accountBenefits li b { display: block; color: #eef6ff; font-size: 13px; }
.accountBenefits li span { display: none; }
.accountBenefits > a { display: none; }
.accountCard {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: min(430px, calc(100% - 56px));
  margin-top: 35px;
  padding: 36px 38px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 70px rgba(48, 61, 97, .12);
}
.trustLine { color: var(--green-dark); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.trustLine i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--green); }
h1 { margin: 17px 0 6px; font-size: 27px; line-height: 1.2; letter-spacing: -.035em; }
.intro { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  margin-bottom: 22px;
  border-radius: 11px;
  background: #f1f4f8;
}
.tabs button {
  min-height: 39px;
  border: 0;
  border-radius: 8px;
  color: #7a8498;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.tabs button[aria-selected="true"] { color: var(--ink); background: #fff; box-shadow: 0 4px 14px rgba(42, 58, 89, .08); }
.formPanel { display: grid; gap: 15px; }
.formPanel[hidden] { display: none; }
label { display: grid; gap: 7px; font-size: 12px; font-weight: 800; }
input {
  width: 100%;
  min-height: 47px;
  padding: 0 13px;
  border: 1px solid #d4dce8;
  border-radius: 9px;
  color: var(--ink);
  background: #fbfcfe;
  font: inherit;
  font-size: 14px;
  outline: none;
}
input::placeholder { color: #8994a6; }
input:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(13, 141, 112, .1); }
.codeRow { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 8px; }
.codeButton {
  border: 1px solid #bad8cf;
  border-radius: 9px;
  color: var(--green-dark);
  background: #eef8f5;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.codeButton:disabled { color: #8c9995; cursor: default; }
.primaryButton {
  min-height: 48px;
  margin-top: 3px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(100deg, var(--green), #13a67f);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 23px rgba(13, 141, 112, .22);
}
.primaryButton:hover { background: linear-gradient(100deg, var(--green-dark), var(--green)); }
.primaryButton:disabled { opacity: .65; cursor: wait; }
.message { min-height: 0; color: #b24434; font-size: 12px; line-height: 1.5; }
.message:not(:empty) { padding: 10px 12px; border-radius: 8px; background: #fff3f1; }
.message.success { color: #09664f; background: #eaf8f3; }
.switchHint { margin: 0; text-align: center; color: #7c879c; font-size: 12px; }
.switchHint button { padding: 0; border: 0; color: var(--green-dark); background: none; font: inherit; font-weight: 900; cursor: pointer; }
footer {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 22px;
  width: 42%;
  text-align: center;
  color: #929bad;
  font-size: 11px;
}
@media (max-width: 1000px) {
  body { background: linear-gradient(90deg, var(--night) 0 48%, #f5f7fc 48% 100%); }
  .accountHeader, .accountMain { grid-template-columns: 48% 52%; }
  .accountMain::before { left: calc(48% - 355px); }
  .accountBenefits { width: calc(100% - 60px); padding-right: 30px; }
  .accountBenefits h2 { font-size: 42px; }
  .accountBenefits ul { display: grid; gap: 12px; }
  .accountCard { width: min(420px, calc(100% - 42px)); }
  footer { width: 52%; }
}
@media (max-width: 760px) {
  body { background: #f5f7fc; }
  .accountHeader { position: relative; height: 72px; grid-template-columns: 1fr auto; padding: 0 18px; background: var(--night); }
  .backLink { color: #bdc8dc; }
  .accountMain { min-height: calc(100vh - 112px); grid-template-columns: 1fr; overflow: visible; }
  .accountMain::before, .accountMain::after { display: none; }
  .accountBenefits { display: none; }
  .accountCard { grid-column: 1; width: min(440px, calc(100% - 24px)); margin: 24px auto 76px; padding: 28px 22px; }
  footer { position: static; width: 100%; height: 40px; }
}
