:root {
  --smk-bg: #f6f3ef;
  --smk-card: #ffffff;
  --smk-text: #14161d;
  --smk-muted: #6f7580;
  --smk-line: #e7e0da;
  --smk-accent: #f36d58;
  --smk-accent-dark: #e15742;
  --smk-accent-soft: #fff3ef;
  --smk-success: #167d59;
  --smk-success-soft: #e8f6ef;
  --smk-error: #b42318;
  --smk-error-soft: #fff1ee;
  --smk-ink: #111318;
  --smk-radius: 30px;
  --smk-shadow: 0 28px 80px rgba(17, 19, 24, 0.10);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body.smk-auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 6% 10%, rgba(243, 109, 88, .09), transparent 26%),
    radial-gradient(circle at 92% 86%, rgba(243, 109, 88, .08), transparent 24%),
    linear-gradient(180deg, #faf8f5 0%, var(--smk-bg) 100%);
  color: var(--smk-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.smk-auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 26px;
}

.smk-auth-card {
  width: min(100%, 1080px);
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  background: var(--smk-card);
  border: 1px solid rgba(222, 216, 209, .9);
  border-radius: var(--smk-radius);
  overflow: hidden;
  box-shadow: var(--smk-shadow);
}

.smk-auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 50px 42px;
  min-width: 0;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,251,249,1) 100%);
}

.smk-auth-form-wrap { width: min(100%, 420px); }

.smk-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--smk-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 28px;
}
.smk-auth-brand img { display: block; max-width: 152px; max-height: 48px; width: auto; height: auto; object-fit: contain; }
.smk-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff977f, var(--smk-accent-dark));
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(243, 109, 88, .22);
}

.smk-auth-copy { margin-bottom: 18px; }
.smk-eyebrow {
  margin: 0 0 9px;
  color: var(--smk-accent-dark);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.smk-auth-copy h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 860;
}
.smk-auth-copy p:not(.smk-eyebrow) {
  margin: 12px 0 0;
  max-width: 390px;
  color: var(--smk-muted);
  font-size: 14px;
  line-height: 1.7;
}

.smk-progress {
  display: flex;
  gap: 8px;
  margin: 0 0 22px;
}
.smk-progress span {
  height: 5px;
  width: 34px;
  border-radius: 999px;
  background: #e8e5e2;
  transition: .24s ease;
}
.smk-progress span.is-active { width: 48px; background: var(--smk-accent); }

.smk-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 700;
}
.smk-alert.is-error { background: var(--smk-error-soft); color: var(--smk-error); border: 1px solid #ffd7d1; }
.smk-alert.is-success { background: var(--smk-success-soft); color: var(--smk-success); border: 1px solid #cfeedd; }

.smk-step { display: none; animation: smkFade .28s ease both; }
.smk-step.is-active { display: block; }
@keyframes smkFade { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.smk-label {
  display: block;
  margin: 0 0 8px;
  color: #474b55;
  font-size: 12px;
  font-weight: 780;
}

.smk-input-wrap,
.smk-phone-wrap,
.smk-field,
.smk-otp-input {
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.smk-input-wrap,
.smk-phone-wrap {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: #fff;
  border: 1.5px solid var(--smk-line);
  border-radius: 16px;
}

.smk-input-wrap:focus-within,
.smk-phone-wrap:focus-within,
.smk-field:focus,
.smk-otp-input:focus {
  border-color: var(--smk-accent);
  box-shadow: 0 0 0 4px rgba(243, 109, 88, .10);
  outline: none;
}

.smk-input-wrap svg {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: #aaafb8;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.smk-input-wrap input,
.smk-phone-wrap input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--smk-text);
  font-size: 15px;
}
.smk-input-wrap input::placeholder,
.smk-phone-wrap input::placeholder,
.smk-field::placeholder,
.smk-otp-input::placeholder { color: #b6bac2; }

.smk-primary-btn {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff8c76 0%, var(--smk-accent-dark) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 820;
  letter-spacing: -.01em;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(225, 87, 66, .22);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.smk-primary-btn:hover { transform: translateY(-1px); box-shadow: 0 18px 38px rgba(225, 87, 66, .28); }
.smk-primary-btn:active { transform: translateY(0) scale(.99); }
.smk-primary-btn:disabled { cursor: wait; opacity: .7; }
.smk-primary-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.smk-primary-btn.is-loading span::after { content: "…"; }

.smk-back-link,
.smk-text-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--smk-accent-dark);
  cursor: pointer;
  padding: 0;
  font-weight: 760;
}
.smk-back-link { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 14px; font-size: 12px; }
.smk-back-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.smk-flow-note {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.smk-flow-pill {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 13px;
  background: #fff8f5;
  border: 1px solid #f5ddd7;
  border-radius: 14px;
  color: #545862;
  font-size: 12px;
  line-height: 1.5;
}
.smk-flow-pill strong { color: var(--smk-ink); }
.smk-flow-pill span:first-child {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: #fff;
  color: var(--smk-accent-dark);
  border: 1px solid #f2d0c8;
  font-size: 12px;
  font-weight: 800;
}

.smk-verified-email {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0 14px;
  background: #faf7f5;
  border: 1px solid #f0e8e2;
  border-radius: 14px;
  color: #535761;
  font-size: 12px;
  font-weight: 650;
  word-break: break-all;
}
.smk-check {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--smk-success);
  color: #fff;
  font-weight: 900;
}

.smk-otp-input {
  width: 100%;
  height: 64px;
  padding: 0 18px;
  border: 1.5px solid var(--smk-line);
  border-radius: 18px;
  text-align: center;
  color: var(--smk-text);
  background:
    linear-gradient(90deg,
      rgba(243,109,88,.06) 0,
      rgba(243,109,88,.06) calc(16.666% - 7px),
      transparent calc(16.666% - 7px),
      transparent 16.666%),
    #fff;
  background-size: calc(100%/6) 100%, auto;
  font-size: 28px;
  font-weight: 860;
  letter-spacing: .42em;
  text-indent: .42em;
}

.smk-resend-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  color: var(--smk-muted);
  font-size: 12px;
}
.smk-text-btn { font-size: 12px; }
.smk-text-btn:disabled { color: #a7acb4; cursor: default; }

.smk-success-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--smk-success-soft);
  color: var(--smk-success);
  font-size: 11px;
  font-weight: 800;
}
.smk-success-chip span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--smk-success);
  color: #fff;
}

.smk-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.smk-field {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1.5px solid var(--smk-line);
  border-radius: 16px;
  background: #fff;
  color: var(--smk-text);
  font-size: 14px;
}
.smk-phone-wrap { height: 52px; }
.smk-phone-wrap > span {
  padding-right: 12px;
  border-right: 1px solid var(--smk-line);
  color: #666b74;
  font-size: 13px;
  font-weight: 780;
}

.smk-privacy {
  margin: 18px 0 0;
  color: #8f949c;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.smk-auth-art {
  position: relative;
  overflow: hidden;
  margin: 14px 14px 14px 0;
  border-radius: calc(var(--smk-radius) - 10px);
  background:
    radial-gradient(circle at 18% 15%, rgba(255,255,255,.10), transparent 18%),
    radial-gradient(circle at 88% 82%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(160deg, #12151b 0%, #161a22 60%, #1b2028 100%);
  color: #fff;
  isolation: isolate;
}
.smk-auth-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(243,109,88,.20), transparent 38%);
  pointer-events: none;
}
.smk-art-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .55;
}
.smk-orb-1 {
  width: 310px;
  height: 310px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(243,109,88,.48) 0%, rgba(243,109,88,0) 72%);
}
.smk-orb-2 {
  width: 250px;
  height: 250px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 72%);
}
.smk-orb-3 {
  width: 180px;
  height: 180px;
  top: 110px;
  left: 40px;
  background: radial-gradient(circle, rgba(243,109,88,.16) 0%, rgba(243,109,88,0) 72%);
}
.smk-art-content {
  position: absolute;
  inset: auto 42px 42px 42px;
  z-index: 2;
}
.smk-shield {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}
.smk-shield svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.smk-art-kicker {
  margin: 0 0 8px;
  color: #ff8f7a;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.smk-art-content h2 {
  max-width: 360px;
  margin: 0;
  font-size: 38px;
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 850;
}
.smk-art-content > p:nth-of-type(2) {
  max-width: 360px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.7;
}
.smk-art-points {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.smk-art-point {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  font-size: 13px;
  line-height: 1.5;
}
.smk-art-point span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: rgba(243,109,88,.20);
  color: #ff9a87;
  font-weight: 900;
}

@media (max-width: 900px) {
  .smk-auth-shell { padding: 18px; }
  .smk-auth-card { width: min(100%, 620px); min-height: auto; grid-template-columns: 1fr; }
  .smk-auth-art { display: none; }
  .smk-auth-form-panel { padding: 42px 34px 36px; }
}

@media (max-width: 560px) {
  body.smk-auth-body { background: #fff; }
  .smk-auth-shell { display: block; padding: 0; }
  .smk-auth-card {
    min-height: 100vh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .smk-auth-form-panel {
    align-items: flex-start;
    min-height: 100vh;
    min-height: 100dvh;
    padding: max(22px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
    background: #fff;
  }
  .smk-auth-form-wrap { width: 100%; }
  .smk-auth-brand { margin-bottom: 24px; }
  .smk-auth-copy { margin-bottom: 18px; }
  .smk-auth-copy h1 { font-size: 34px; }
  .smk-auth-copy p:not(.smk-eyebrow) { max-width: none; }
  .smk-progress { margin-bottom: 20px; }
  .smk-otp-input { font-size: 25px; letter-spacing: .34em; text-indent: .34em; }
  .smk-name-grid { grid-template-columns: 1fr; gap: 13px; }
}

@media (max-width: 380px) {
  .smk-auth-form-panel { padding-left: 16px; padding-right: 16px; }
  .smk-auth-copy h1 { font-size: 31px; }
  .smk-otp-input { letter-spacing: .28em; text-indent: .28em; font-size: 24px; }
  .smk-flow-pill { align-items: flex-start; }
}

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