:root {
  color-scheme: light;
  --ink: #171321;
  --muted: #6f6878;
  --line: rgba(91, 60, 102, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #17131a;
  color: var(--ink);
  font-family: Montserrat, "Avenir Next", "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 36px;
  background:
    radial-gradient(circle at 8% 10%, rgba(197, 60, 130, 0.34), transparent 29%),
    radial-gradient(circle at 88% 88%, rgba(98, 56, 138, 0.36), transparent 32%),
    linear-gradient(145deg, #211622 0%, #17131a 56%, #141117 100%);
}

.account-panel {
  position: relative;
  width: min(1180px, 100%);
  min-height: 690px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 32px;
  background: linear-gradient(115deg, rgba(255,255,255,.99), rgba(250,246,251,.96));
  box-shadow: 0 42px 110px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.94);
}

.brand-rail {
  position: absolute;
  inset: 0 auto 0 0;
  width: 14px;
  background: linear-gradient(180deg, #6f3ca0 0%, #bc3b80 55%, #f18ab5 100%);
}

.panel-content {
  min-height: 690px;
  display: flex;
  flex-direction: column;
  padding: 34px 44px 24px 56px;
}

.brand-header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .34em;
}

.security-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #62596a;
  font-size: 12px;
  font-weight: 600;
}

.security-label svg {
  width: 18px;
  fill: none;
  stroke: #8a579b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.content-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: 58px;
  align-items: center;
  padding: 46px 0 34px;
}

.result-card { max-width: 535px; }
.status-mark {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(97,55,116,.18);
}
.status-mark.success {
  color: white;
  background: linear-gradient(145deg, #71449d, #c64083 72%, #e76c9f);
}
.status-mark.warning {
  color: #8c4365;
  border: 1px solid rgba(169,65,111,.2);
  background: #fff0f6;
  font-size: 28px;
}
.status-mark svg {
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.eyebrow, .story-kicker {
  margin: 0 0 14px;
  color: #9d3970;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.result-copy {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.primary-action, .secondary-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

button.primary-action {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

button.primary-action:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
  box-shadow: none;
}

.primary-action {
  gap: 10px;
  padding: 0 21px;
  color: white;
  background: linear-gradient(120deg, #6c3e8d, #b83a79);
  box-shadow: 0 12px 26px rgba(107,54,119,.2);
}
.primary-action svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.secondary-action {
  padding: 0 18px;
  color: #5f5364;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}
.primary-action:hover, .secondary-action:hover { transform: translateY(-2px); }
.primary-action:hover { box-shadow: 0 16px 32px rgba(107,54,119,.27); }
.primary-action:focus-visible, .secondary-action:focus-visible, .wordmark:focus-visible, footer a:focus-visible,
.field-group input:focus-visible {
  outline: 3px solid rgba(179,57,121,.28);
  outline-offset: 4px;
}

.password-form {
  max-width: 510px;
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  color: #4f4555;
  font-size: 12px;
  font-weight: 700;
}

.field-group input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(91, 60, 102, .16);
  border-radius: 15px;
  outline: none;
  color: #211827;
  background: rgba(255, 255, 255, .86);
  font: inherit;
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field-group input:focus {
  border-color: rgba(157, 57, 112, .48);
  box-shadow: 0 0 0 4px rgba(179, 57, 121, .08);
}

.password-requirements,
.form-feedback {
  margin: -3px 0 0;
  font-size: 11px;
  line-height: 1.6;
}

.password-requirements { color: #817886; }

.form-feedback {
  padding: 11px 13px;
  border: 1px solid rgba(169, 65, 111, .17);
  border-radius: 12px;
  color: #8c4365;
  background: #fff0f6;
}

.submit-action {
  width: fit-content;
  margin-top: 2px;
}

.security-note {
  max-width: 510px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #817886;
  font-size: 11px;
  line-height: 1.65;
}

.product-story {
  position: relative;
  padding: 36px 36px 32px;
  border: 1px solid rgba(104,63,116,.11);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(245,237,247,.72));
  box-shadow: 0 28px 66px rgba(57,35,65,.1), inset 0 1px 0 rgba(255,255,255,.96);
}
.product-story::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b43c7d, #ec87b3);
}
.product-story h2 {
  max-width: 390px;
  margin: 0;
  color: #281c2d;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 560;
  line-height: 1.14;
  letter-spacing: -.035em;
}
.story-copy {
  margin: 17px 0 26px;
  color: #716776;
  font-size: 13px;
  line-height: 1.72;
}
.feature-list { display: grid; gap: 8px; }
.feature-list article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 13px;
  padding: 13px 0;
  border-top: 1px solid rgba(94,62,104,.09);
}
.feature-list article > span {
  padding-top: 2px;
  color: #bd3f80;
  font-size: 10px;
  font-weight: 700;
}
.feature-list h3 { margin: 0; color: #35273a; font-size: 13px; font-weight: 700; }
.feature-list p { margin: 5px 0 0; color: #7c7180; font-size: 11px; line-height: 1.55; }

footer {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #8b818e;
  font-size: 10px;
  letter-spacing: .05em;
}
footer p { margin: 0; font-weight: 650; letter-spacing: .15em; }
footer nav { display: flex; align-items: center; gap: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: #9d3970; }

@media (max-width: 900px) {
  .site-shell { padding: 20px; }
  .panel-content { padding: 30px 32px 24px 42px; }
  .content-grid { grid-template-columns: 1fr; gap: 38px; padding-top: 38px; }
  .result-card { max-width: 650px; }
}

@media (max-width: 600px) {
  .site-shell { display: block; padding: 0; background: #fbf9fc; }
  .account-panel { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .brand-rail { inset: 0 0 auto; width: auto; height: 8px; }
  .panel-content { min-height: 100vh; padding: 28px 22px 20px; }
  .brand-header { align-items: flex-start; gap: 18px; }
  .wordmark { font-size: 17px; letter-spacing: .28em; }
  .security-label { max-width: 105px; justify-content: flex-end; text-align: right; font-size: 9px; }
  .security-label svg { flex: 0 0 auto; }
  .content-grid { gap: 32px; padding: 42px 0 30px; }
  .status-mark { width: 58px; height: 58px; margin-bottom: 23px; border-radius: 19px; }
  h1 { font-size: clamp(36px, 11.5vw, 48px); }
  .result-copy { font-size: 15px; }
  .action-row { align-items: stretch; flex-direction: column; }
  .primary-action, .secondary-action { width: 100%; }
  .product-story { padding: 29px 24px 24px; border-radius: 22px; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  footer nav { align-items: flex-start; flex-direction: column; gap: 7px; }
  footer nav span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
