@font-face{font-family:Oswald;src:url("fonts/Oswald.ttf") format("truetype");font-display:swap;font-weight:400 700}
:root {
  --paper: #f3f4ec;
  --paper-soft: #f7f8f1;
  --ink: #121716;
  --ink-soft: #4f5e4c;
  --muted: #6b7a67;
  --line: #d7dfd2;
  --lime: #d9fa74;
  --green: #5d792d;
  --oswald: "Oswald", Impact, "Arial Narrow", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.rp-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Segoe UI", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
p,
ol {
  margin: 0;
}

.rp-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.rp-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Topline ---------- */

.rp-topline {
  background: #101b16;
  border-bottom: 1px solid #2c3b30;
  color: #a9b8a8;
  font-size: 10px;
}

.rp-topline-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
}

.rp-test {
  color: var(--lime);
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.rp-test-note {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-topline-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.rp-topline-links > a {
  color: #dcebd5;
  font-weight: 700;
}

.rp-topline-links > a:hover {
  color: var(--lime);
}

.rp-lang {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7f9083;
}

.rp-lang b {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Header ---------- */

.rp-head {
  background: #101b16;
  border-bottom: 1px solid #29382d;
}

.rp-head-inner {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 200px;
  height: 33px;
  overflow: hidden;
  line-height: 0;
}

.brand-mark,
.brand-word {
  position: relative;
  display: block;
  flex: none;
  overflow: hidden;
}

.brand-mark {
  width: 46px;
  height: 33px;
}

.brand-word {
  width: 148px;
  height: 27px;
}

.brand img {
  position: absolute;
  display: block;
  max-width: none;
  mix-blend-mode: screen;
  pointer-events: none;
}

.brand-mark img {
  width: 62px;
  height: 61px;
  left: -7px;
  top: -11px;
}

.brand-word img {
  width: 176px;
  height: 172px;
  left: -14px;
  top: -132px;
}

.rp-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.rp-nav a {
  color: #f6faf2;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.rp-nav a:hover {
  color: var(--lime);
}

.rp-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #768b76;
  border-radius: 5px;
  color: #f6faf2;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.rp-login:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* ---------- Shell ---------- */

.rp-shell {
  display: grid;
  grid-template-columns: minmax(360px, min(40vw, 560px)) minmax(0, 1fr);
  align-items: stretch;
  background: var(--paper);
}

/* ---------- Story ---------- */

.rp-story {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 250, 116, 0.15), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(217, 250, 116, 0.1), transparent 38%),
    #121716;
  color: #f7f8f1;
}

.rp-story::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -110px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(217, 250, 116, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.rp-story-inner {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-height: calc(100vh - 94px);
  padding: 40px 40px 34px;
}

.rp-story-top,
.rp-story-main,
.rp-story-bottom {
  position: relative;
  z-index: 1;
}

.rp-eyebrow {
  display: block;
  color: #93a48f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.rp-eyebrow--card {
  color: var(--green);
  letter-spacing: 1.3px;
}

.rp-story-main h1 {
  font-family: var(--oswald);
  font-size: clamp(38px, 3.9vw, 56px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.rp-story-main h1 em {
  color: var(--lime);
  font-style: normal;
}

.rp-story-main > p {
  max-width: 380px;
  margin-top: 18px;
  color: #c2cec0;
  font-size: 12.5px;
  line-height: 1.65;
}

.rp-story-main > p b {
  color: #e8f1e1;
  font-weight: 700;
}

.rp-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid #2a3a2d;
  list-style: none;
}

.rp-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #2a3a2d;
}

.rp-steps b {
  flex: 0 0 auto;
  width: 20px;
  padding-top: 1px;
  color: var(--lime);
  font-family: var(--oswald);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.rp-steps div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rp-steps span {
  color: #dfe8d9;
  font-size: 11.5px;
  line-height: 1.4;
}

.rp-steps small {
  color: #849482;
  font-size: 9.5px;
  line-height: 1.4;
}

.rp-steps li.is-current b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: -1px;
  border-radius: 50%;
  background: var(--lime);
  color: #1b281a;
  font-size: 10px;
}

.rp-steps li.is-current span {
  color: #ffffff;
  font-weight: 700;
}

.rp-story-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 380px;
  margin-top: 16px;
  color: #849482;
  font-size: 9.5px;
  line-height: 1.55;
}

.rp-story-note svg {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Form column ---------- */

.rp-form-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 32px 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 250, 116, 0.2), transparent 44%),
    #f4f5ec;
}

.rp-states {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid #d9e2d2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.rp-states__btn {
  padding: 6px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #7d8a77;
  font-size: 9.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.rp-states__btn:hover {
  color: #3f512c;
}

.rp-states__btn.is-active {
  background: var(--ink);
  color: var(--lime);
}

.rp-card {
  width: 100%;
  max-width: 470px;
  padding: 30px 32px 26px;
  border: 1px solid #dde5d5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 20px 44px rgba(23, 33, 26, 0.08);
}

.rp-card h2 {
  margin-top: 8px;
  font-family: var(--oswald);
  font-size: clamp(25px, 2.3vw, 29px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.2px;
  text-transform: uppercase;
}

.rp-card-lead {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

/* ---------- Field ---------- */

.field {
  margin-top: 18px;
}

.field label {
  display: block;
  color: #4b5a45;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.field__control {
  position: relative;
  margin-top: 6px;
}

.field__icon {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  fill: none;
  stroke: #9aa894;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.field input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 12px 0 37px;
  border: 1px solid #cfd9c6;
  border-radius: 6px;
  background: #fdfdfa;
  color: var(--ink);
  font-size: 13px;
}

.field input::placeholder {
  color: #a6b09f;
}

.field input:focus {
  outline: 3px solid rgba(217, 250, 116, 0.7);
  border-color: #7d9a3c;
}

.field small {
  display: block;
  margin-top: 6px;
  color: #97a190;
  font-size: 9.5px;
  line-height: 1.45;
}

.field small b {
  color: #5f6d58;
  font-weight: 700;
}

/* ---------- Actions ---------- */

.rp-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.rp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.rp-btn svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rp-btn--lime {
  flex: 1;
  justify-content: space-between;
  padding: 0 16px 0 18px;
  border-color: var(--lime);
  background: var(--lime);
  color: #1b281a;
}

.rp-btn--lime:hover {
  background: #c9f05a;
}

.rp-btn--ghost {
  border-color: #cfd9c6;
  background: #ffffff;
  color: #40512f;
}

.rp-btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.rp-btn--ghost svg {
  width: 12px;
  height: 12px;
  stroke-width: 1.8;
}

/* ---------- Note ---------- */

.rp-note {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  margin-top: 16px;
  padding: 10px 12px;
  border-left: 3px solid var(--lime);
  border-radius: 3px;
  background: #f2f9e2;
  color: #43523e;
  font-size: 10px;
  line-height: 1.5;
}

.rp-note b {
  font-weight: 800;
}

.rp-note span {
  color: #6b7a67;
}

.rp-signin {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eef2e8;
  color: #8a9784;
  font-size: 10.5px;
  text-align: center;
}

.rp-signin a {
  color: #3f512c;
  font-weight: 800;
  border-bottom: 1px solid #c9d5bd;
}

/* ---------- Footer ---------- */

.rp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 470px;
  color: #8a9784;
  font-size: 9.5px;
}

.rp-foot nav {
  display: flex;
  gap: 14px;
}

.rp-foot a:hover {
  color: var(--ink);
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .rp-story-inner {
    padding: 32px 28px 28px;
  }

  .rp-story-main h1 {
    font-size: 42px;
  }

  .rp-form-col {
    padding: 30px 24px 24px;
  }
}

@media (max-width: 980px) {
  .rp-shell {
    grid-template-columns: 1fr;
  }

  .rp-story-inner {
    position: static;
    min-height: 0;
    gap: 20px;
    padding: 26px 24px 24px;
  }

  .rp-story::after {
    width: 220px;
    height: 220px;
    top: -90px;
    right: -70px;
  }

  .rp-story-main h1 {
    font-size: 36px;
  }

  .rp-story-main > p {
    max-width: 560px;
    margin-top: 12px;
    font-size: 11.5px;
  }

  .rp-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 12px;
    border-top: 0;
  }

  .rp-steps li {
    display: block;
    padding: 0;
    border-bottom: 0;
  }

  .rp-steps b {
    display: block;
    width: auto;
    margin-bottom: 4px;
    font-size: 10px;
  }

  .rp-steps span {
    display: block;
    font-size: 10px;
    color: #c9d6c4;
  }

  .rp-steps small {
    display: none;
  }

  .rp-story-note {
    display: none;
  }

  .rp-form-col {
    justify-content: flex-start;
    padding: 22px 18px 20px;
  }
}

@media (max-width: 720px) {
  .rp-wrap {
    padding: 0 16px;
  }

  .rp-test-note {
    display: none;
  }

  .rp-head-inner {
    grid-template-columns: 1fr auto;
    min-height: 58px;
  }

  .rp-nav {
    display: none;
  }

  .rp-story-inner {
    padding: 22px 16px 20px;
  }

  .rp-story-main h1 {
    font-size: 30px;
  }

  .rp-story-main > p {
    font-size: 11px;
  }

  .rp-card {
    padding: 24px 20px 22px;
    border-radius: 12px;
  }

  .rp-card h2 {
    font-size: 24px;
  }

  .rp-actions {
    flex-wrap: wrap;
  }

  .rp-btn--lime {
    flex: 1 1 100%;
  }

  .rp-btn--ghost {
    flex: 1 1 100%;
  }

  .rp-foot {
    justify-content: flex-start;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .rp-story-main h1 {
    font-size: 27px;
  }

  .rp-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rp-steps li {
    display: flex;
    gap: 10px;
    align-items: baseline;
  }

  .rp-steps b {
    margin-bottom: 0;
  }
}

/* The resend-email flow uses the same framed split layout as sign-in. */
body.rp-page--auth-shell {
  min-height: 100vh;
  padding: 14px 16px;
  background: #f4f6f0;
}

.rp-page--auth-shell .rp-shell {
  width: min(100%, 1400px);
  min-height: calc(100vh - 28px);
  margin: auto;
  overflow: hidden;
  border: 1px solid #d9e3cf;
  border-radius: 15px;
  box-shadow: 0 18px 45px #233a2114;
}

.rp-page--auth-shell .rp-story-inner {
  position: relative;
  top: auto;
  min-height: calc(100vh - 30px);
  padding: 32px 40px 29px;
}

.rp-page--auth-shell .rp-story-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: auto;
}

.rp-page--auth-shell .auth-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 203px;
  height: 36px;
  flex: none;
  overflow: hidden;
  line-height: 0;
}
.rp-page--auth-shell .auth-brand__mark,
.rp-page--auth-shell .auth-brand__word { position: relative; display: block; overflow: hidden; flex: none; }
.rp-page--auth-shell .auth-brand__mark { width: 47px; height: 34px; }
.rp-page--auth-shell .auth-brand__word { width: 148px; height: 29px; }
.rp-page--auth-shell .auth-brand img { position: absolute; display: block; max-width: none; mix-blend-mode: screen; pointer-events: none; }
.rp-page--auth-shell .auth-brand__mark img { width: 63px; height: 62px; left: -8px; top: -11px; }
.rp-page--auth-shell .auth-brand__word img { width: 176px; height: 173px; left: -14px; top: -132px; }
.rp-page--auth-shell .rp-story-top .rp-eyebrow { margin-top: 110px; }

@media (max-width: 980px) {
  .rp-page--auth-shell .rp-story-inner { min-height: 0; }
  .rp-page--auth-shell .rp-story-top .rp-eyebrow { margin-top: 28px; }
}

@media (max-width: 760px) {
  body.rp-page--auth-shell { padding: 8px; }
  .rp-page--auth-shell .rp-shell { min-height: calc(100vh - 16px); }
  .rp-page--auth-shell .rp-story-inner { padding: 25px 25px 23px; }
}

body.rp-page [hidden]{display:none!important}
#email-action-message,#token-action-message{margin:14px 0 0;font-size:12px;line-height:1.5}
#email-action-message:empty,#token-action-message:empty{display:none}
.service-error{color:#a52d27}
.service-success{color:#37690c;font-weight:700}
.rp-btn--lime:disabled{opacity:.55;cursor:not-allowed}

/* Keep recovery headlines at the same scale as the sign-in headline. */
.rp-page--auth-shell .rp-story-main h1 {
  font-size: clamp(37px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .01em;
}

@media (max-width: 760px) {
  .rp-page--auth-shell .rp-story-main h1 { font-size: 41px; }
}

@media (max-width: 430px) {
  .rp-page--auth-shell .rp-story-main h1 { font-size: 37px; }
}
html[data-theme="dark"] body.rp-page{background:#0e1411;color:#e8efe4}
html[data-theme="dark"] .rp-form-col{background:#0e1411}
html[data-theme="dark"] .rp-card{background:#141d17;border-color:#2a3b30;color:#e8efe4}
html[data-theme="dark"] .rp-card h2{color:#f2f7ee}
html[data-theme="dark"] .rp-card-lead{color:#a6b5a8}
html[data-theme="dark"] .rp-note{background:#1b2a1c;border-color:#2a3b30;color:#a6b5a8}
html[data-theme="dark"] .rp-note b{color:#e8efe4}
html[data-theme="dark"] .rp-note span{color:#a6b5a8}
html[data-theme="dark"] .rp-btn--ghost{background:#141d17;border-color:#3a4d40;color:#c7d5c8}
html[data-theme="dark"] .rp-btn--ghost:hover{border-color:#d5ff6b;color:#d5ff6b}
html[data-theme="dark"] .rp-btn--lime{color:#142017}
html[data-theme="dark"] .rp-signin{color:#a6b5a8}
html[data-theme="dark"] .rp-linkbtn{color:#d5ff6b}
html[data-theme="dark"] .field input{background:#0c130f;color:#e8efe4;border-color:#3a4d40}
html[data-theme="dark"] .field small{color:#a6b5a8}
html[data-theme="dark"] .rp-statusline{color:#a6b5a8}
html[data-theme="dark"] .rp-statusline.is-error{color:#ff9b90}
html[data-theme="dark"] .rp-foot{color:#8fa091}
html[data-theme="dark"] .rp-foot a{color:#c7d5c8}
