/* WPtenet design system — tokens from design/*.dc.html */
:root {
  --navy: #0f1e3d;
  --blue: #123c7a;
  --emerald: #10b981;
  --green: #0e7c52;
  --body: #4a5a72;
  --body2: #5a6a82;
  --label: #3a4a63;
  --muted: #8a98ac;
  --border: #eaeff6;
  --input-border: #dbe3ee;
  --bg: #f5f8fc;
  --bg-soft: #f6f9fd;
  --chip: #eef3fb;
  --danger: #a5342a;
  --danger-bg: #fdecec;
  --danger-border: #f6cccc;
  --warn: #b9690a;
  --warn-bg: #fdf6ec;
  --ok-bg: #ecf7f1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #cfeede; color: var(--navy); }
a { color: inherit; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: clamp(22px, 3vw, 30px); box-shadow: 0 1px 3px rgba(16, 30, 61, .04);
}

h1.page-title {
  font-size: clamp(1.7rem, 4vw, 2.1rem); line-height: 1.15;
  letter-spacing: -.02em; font-weight: 800; color: var(--navy); margin: 0;
}
.subtitle { margin: 10px 0 0; color: var(--body2); }
.subtitle a { color: var(--blue); font-weight: 700; text-decoration: none; }

label.field { display: block; font-size: .85rem; font-weight: 700; color: var(--label); margin-bottom: 7px; }
label.field .opt { color: #a2adbe; font-weight: 600; }
.input {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--input-border); border-radius: 12px;
  font-size: .98rem; color: var(--navy); outline: none; font-family: inherit; background: #fff;
}
.input:focus { border-color: var(--blue); }
.input.err { border-color: #e0655a; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  background: var(--emerald); color: #fff; font-weight: 700; font-size: 1.02rem;
  padding: 15px; border-radius: 13px; border: none; cursor: pointer; font-family: inherit;
  box-shadow: 0 14px 30px -14px rgba(16, 185, 129, .9);
}
.btn:disabled { opacity: .7; cursor: default; }
.btn-blue { background: var(--blue); box-shadow: none; }
.btn-sm { width: auto; font-size: .9rem; padding: 11px 22px; border-radius: 12px; }

.alert-error {
  display: flex; gap: 10px; background: var(--danger-bg); border: 1px solid var(--danger-border);
  border-radius: 12px; padding: 12px 14px; margin-top: 16px;
  font-size: .88rem; color: var(--danger); font-weight: 600;
}
.alert-ok {
  background: var(--ok-bg); border: 1px solid #d5f0e2; border-radius: 12px; padding: 12px 14px;
  margin-top: 16px; font-size: .88rem; color: var(--green); font-weight: 700;
}

.check-row { display: flex; gap: 11px; align-items: flex-start; margin-top: 18px; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--emerald); flex: none; }
.check-row span { font-size: .88rem; color: var(--body2); line-height: 1.5; }
.check-row a { color: var(--blue); font-weight: 700; text-decoration: none; }

.footnote {
  display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px;
  color: var(--muted); font-size: .82rem; font-weight: 600;
}

.otp-input {
  text-align: center; font-size: 1.5rem; font-weight: 800; letter-spacing: .5em;
}

.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: clamp(24px, 5vw, 48px) 16px; }
.auth-box { width: 100%; max-width: 440px; }
.auth-head { text-align: center; margin-bottom: 28px; }

/* onboarding */
.progress-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.progress-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--input-border); transition: all .3s; }
.progress-dots span.on { width: 26px; background: var(--blue); }
.intent-btn {
  display: flex; gap: 14px; align-items: flex-start; text-align: left; cursor: pointer;
  width: 100%; font-family: inherit; transition: border-color .2s;
}
.intent-btn:hover { border-color: var(--blue); }
.intent-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--chip); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.intent-title { display: block; font-weight: 800; color: var(--navy); font-size: 1.02rem; }
.intent-desc { display: block; margin-top: 4px; font-size: .88rem; color: var(--body2); line-height: 1.5; }

.info-strip {
  display: flex; gap: 9px; align-items: flex-start; margin-top: 14px;
  background: var(--bg-soft); border-radius: 12px; padding: 12px 14px;
  font-size: .86rem; color: var(--body2); line-height: 1.5;
}
.info-strip strong { color: var(--navy); }

.link-muted { border: none; background: none; cursor: pointer; font-family: inherit; font-size: .85rem; font-weight: 700; color: var(--blue); padding: 0; text-decoration: underline; }
