/* Sign-in / create-account pages: soft light page, short welcome, warm card, footer */
:root {
  --st-navy: #f4f5f9; --st-navy-2: #eef0f6; --st-ink-on: #141a2b; --st-soft-on: #3a4055;
  --st-sun: #f6b21b; --st-sun-2: #f08a1c; --st-sun-ink: #2a1a02;
  --st-card: #fffdf8; --st-line: #e6dfd0; --st-ink: #1a2033; --st-soft: #5b6273; --st-mute: #8b8f9c;
  --st-field: #ffffff; --st-msg-bg: #fff1d6; --st-msg: #7a4706;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--st-navy); }
body { font: 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; color: var(--st-ink-on); }
.st { min-height: 100vh; display: flex; flex-direction: column;
  background:
    var(--st-navy); }

.st-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(16px, 4vw, 48px); flex-wrap: wrap; }
.st-brand { display: flex; align-items: center; gap: 10px; color: var(--st-ink-on); text-decoration: none; }
.st-logo { width: 38px; height: 38px; border-radius: 11px; background: var(--st-sun); color: var(--st-sun-ink); display: grid; place-items: center; font: 800 18px/1 "Bricolage Grotesque", sans-serif; transform: rotate(-6deg); }
.st-brand b { font: 800 19px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.01em; }
.st-switch { font-size: 14.5px; color: var(--st-soft-on); }
.st-switch a { color: var(--st-ink-on); font-weight: 700; text-decoration: none; border: 1px solid #d6d9e3; background: #fff; border-radius: 999px; padding: 7px 14px; margin-left: 6px; }
.st-switch a:hover { border-color: var(--st-sun-2); color: var(--st-sun-2); }

.st-stage { width: 100%; max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(28px, 5vw, 64px); align-items: start; padding: 2vh clamp(16px, 4vw, 48px) 28px; }
.st-shelf { align-self: center; padding-bottom: 40px; }

/* Left: the shelf */
.st-eyebrow { display: inline-block; font: 600 12px/1 "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: #b45f06; background: #fff3dc; border: 1px solid #f3d9a6; border-radius: 999px; padding: 7px 12px; margin: 0 0 16px; }
.st-shelf h1 { font: 800 clamp(28px, 3vw, 40px)/1.05 "Bricolage Grotesque", sans-serif; letter-spacing: -.03em; margin: 0 0 18px; }
.st-shelf h1 span { display: block; color: var(--st-sun-2); }
.st-lead { color: var(--st-soft-on); font-size: 16.5px; line-height: 1.65; max-width: 460px; margin: 0; }



.st-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; color: var(--st-soft-on); font-size: 14px; }
.st-trust span::before { content: "✓"; color: var(--st-sun); font-weight: 700; margin-right: 7px; }

/* Right: the card */
.st-card { background: var(--st-card); color: var(--st-ink); border-radius: 16px; padding: 22px 22px 18px; border: 1px solid #e3e5ec; box-shadow: 0 18px 50px rgba(20,26,43,.08); border-top: 5px solid var(--st-sun); }
.st-kicker { display: flex; align-items: center; gap: 8px; font: 600 11px/1 "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--st-sun-2); margin: 0 0 10px; }
.st-kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.st-card h2 { font: 800 20px/1.2 "Bricolage Grotesque", sans-serif; letter-spacing: -.02em; margin: 0 0 8px; }
.st-sub { color: var(--st-soft); font-size: 13.5px; margin: 0 0 12px; }
.st-msg { background: var(--st-msg-bg); color: var(--st-msg); border-radius: 10px; padding: 9px 12px; font-size: 13px; margin: 0 0 14px; }
.st-form { display: grid; gap: 4px; }
.st-form label { font-weight: 700; font-size: 12.5px; margin-top: 7px; }
.st-form label:first-of-type { margin-top: 0; }
.st-input { width: 100%; font: inherit; color: var(--st-ink); background: var(--st-field); border: 1.5px solid var(--st-line); border-radius: 9px; padding: 8px 12px; font-size: 14px; }
.st-input::placeholder { color: var(--st-mute); }
.st-input:focus { outline: none; border-color: var(--st-sun-2); box-shadow: 0 0 0 4px rgba(246,178,27,.22); }
.st-help { color: var(--st-mute); font-size: 12px; margin: 3px 0 0; }
.st-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 0; font-size: 13.5px; flex-wrap: wrap; }
.st-row label { margin: 0; font-weight: 500; display: flex; align-items: center; gap: 8px; color: var(--st-soft); }
.st-row input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--st-sun-2); }
.st-row a, .st-alt a { color: var(--st-sun-2); font-weight: 700; text-decoration: none; }
.st-row a:hover, .st-alt a:hover { text-decoration: underline; }
.st-btn { margin-top: 12px; width: 100%; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; font: 800 14px/1 "Plus Jakarta Sans", sans-serif; color: var(--st-sun-ink); padding: 11px; border-radius: 9px; background: var(--st-sun); box-shadow: 0 4px 0 #c97f0f; transition: transform .08s, box-shadow .08s; }
.st-btn::after { content: "→"; font-size: 18px; }
.st-btn:hover { background: #ffc23a; }
.st-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #c97f0f; }
.st-fine { color: var(--st-mute); font-size: 12px; text-align: center; margin: 10px 0 0; }
.st-alt { margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(246,178,27,.1); color: var(--st-soft); text-align: center; font-size: 13px; }
.st-back { text-align: center; margin: 12px 0 0; font-size: 13px; color: var(--st-soft-on); }
.st-back a { color: var(--st-soft-on); text-decoration: none; }
.st-back a:hover { color: var(--st-ink-on); }

@media (max-width: 920px) {
  .st-stage { grid-template-columns: 1fr; padding-top: 8px; }
  .st-panel { order: -1; }
  .st-shelf { padding-bottom: 0; }
  .st-shelf h1 { font-size: 32px; }
  .st-lead { font-size: 16px; }

  .st-card { padding: 24px 18px 20px; }
}
@media (max-width: 480px) { .st-switch span { display: none; } }

/* Footer */
.st-foot { border-top: 1px solid #e3e5ec; margin-top: auto; }
.st-foot-in { max-width: 1040px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 48px) 26px; color: var(--st-soft-on); font-size: 13.5px; line-height: 1.7; }
.st-foot p { margin: 0 0 4px; }
.st-foot a { color: var(--st-soft-on); }
.st-foot a:hover { color: var(--st-ink-on); }
.st-foot-links a { text-decoration: underline; text-underline-offset: 2px; }
.st-foot-fb { display: inline-flex; vertical-align: -2px; margin-left: 8px; text-decoration: none !important; }
.st-foot-legal { color: #6b7186; }

/* Top bar: the same one as My Apps (styles come from hub.css) */
.st-bar { background: transparent; }
.st-bar .hh-top { position: static; }
.st-stage { padding-top: 4vh; }
.st-spacer { visibility: hidden; }
@media (max-width: 720px) { .st-spacer { display: none; } }

/* Show / hide password */
.st-pw { position: relative; }
.st-pw .st-input { padding-right: 42px; }
.st-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; color: var(--st-mute); border-radius: 8px; display: grid; place-items: center; cursor: pointer; }
.st-eye:hover { color: var(--st-ink); background: rgba(20,26,43,.05); }
.st-eye .st-eye-x { display: none; }
.st-eye.is-on .st-eye-x { display: inline; }
