/* =========================================================
   Part 1 — onboarding (iPad canvas 1448 x 1086)
   ========================================================= */
#layer { position: absolute; inset: 0; z-index: 70; pointer-events: none}
#layer > * { pointer-events: auto}
.ab-row { display: grid; grid-template-columns: 1fr 262px; gap: 24px; align-items: center}
.gender-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 60px}
.gender-seg button { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; border: 1px solid #232325; background: #0a0a0b; font-size: 17px; color: #f5f5f7; transition: border-color .2s, background .2s, color .2s}
.gender-seg button:hover { border-color: #3a3a3c}
.gender-seg button.on { border-color: var(--accent); color: var(--accent); background: rgba(124, 124, 124, 0.08); outline: 1px solid rgba(0,255,111,0.35); outline-offset: -1px; box-shadow: none}
.gender-seg.error button { border-color: rgba(255,92,174,0.7)}
.show-hints [data-act] { outline: 2px solid rgba(0,255,111,0.8); outline-offset: 0; box-shadow: none}
.modal-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(135, 135, 135, 0.16); color: var(--accent); flex: none}

.ob { position: absolute; inset: 0; background: #000000; overflow: hidden}
.ob-hero { position: absolute; top: 0; inset-inline-end: 0; bottom: 0; z-index: 1; overflow: hidden}
.ob-hero img { position: absolute; top: 0; inset-inline-end: 0; inset-inline-start: auto; height: 100%; width: auto; max-width: none}
.ob-hero::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 110px; z-index: 2; background: none}
.ob-hero::after { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; height: 130px; z-index: 2; background: none; pointer-events: none}
.ob-hero .slide { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; opacity: 0; transition: opacity 1s ease}
.ob-hero .slide.on { opacity: 1}
.ob-hero .slide img { position: relative; height: 100%; width: auto}
.ob-hero .slide::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: -2px; width: 160px; z-index: 1; background: none}
.ob-hero.kb img { animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 60% 40%}
@keyframes kenburns { from { transform: scale(1)} to { transform: scale(1.035)} }

.ob-left-glow { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 760px; z-index: 2; pointer-events: none;
  background: rgba(124, 124, 124, 0.035)}

.ob-col { position: absolute; top: 0; bottom: 0; z-index: 4}
.ob-col > .abs { position: absolute; inset-inline-start: 0; inset-inline-end: 0}

.ob-brand { position: absolute; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 16px; transform: translateX(-50%)}
.ob-back { position: absolute; inset-inline-start: 50px; top: 78px; z-index: 6; width: 54px; height: 54px; border-radius: 50%; border: 1px solid #333336; display: grid; place-items: center; color: #e5e5ea; transition: border-color .2s, background .2s}
.ob-back:hover { border-color: var(--accent-line); background: rgba(124, 124, 124, 0.06)}

/* stepper */
.stepper { position: absolute; z-index: 5; display: grid; grid-template-columns: repeat(6, 1fr)}
.stepper .st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: default}
.stepper .st.can { cursor: pointer}
.stepper .st .c { width: 35px; height: 35px; border-radius: 50%; border: 1.2px solid #c7c7cc; display: grid; place-items: center; font-size: 15px; color: #f5f5f7; background: #000000; position: relative; z-index: 2; transition: all .25s}
.stepper .st .l { font-size: 15px; color: #e5e5ea; white-space: nowrap}
.stepper .st.cur .c { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; box-shadow: none}
.stepper .st.cur .l { color: var(--accent); font-weight: 600}
.stepper .st.can:hover .c { border-color: var(--accent)}
.stepper .st:not(:last-child)::after { content: ""; position: absolute; top: 17px; inset-inline-start: calc(50% + 28px); inset-inline-end: calc(-50% + 28px); height: 1.5px; background: #2c2c2e}
.stepper .st.done:not(:last-child)::after { background: var(--accent-deep); height: 2px}

/* headings */
.ob-title { margin: 0; font-size: 52px; line-height: 1.12; font-weight: 700; letter-spacing: -.012em; color: #f5f5f7}
.ob-title em { font-style: normal; color: var(--accent)}
.ob-sub { margin: 0; font-size: 20px; color: #c7c7cc; font-weight: 400; white-space: nowrap}

.ob-btn { width: 100%; height: 68px; border-radius: 12px; font-size: 22px; font-weight: 600; gap: 14px}
.ob-btn.btn-primary { background: #00FF6F}
.ob-btn.btn-primary:hover { background: #00FF6F}
.ob-btn.btn-primary.is-disabled { background: #232325; color: #6f9a8d; box-shadow: none; cursor: not-allowed}
.ob-btn-out { width: 100%; height: 64px; border-radius: 12px; border: 1px solid #3a3a3c; background: rgba(12, 12, 12, 0.7); font-size: 18px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #f5f5f7; transition: border-color .2s, background .2s}
.ob-btn-out:hover { border-color: #636366; background: #111112}

.or { display: flex; align-items: center; gap: 22px; color: #c7c7cc; font-size: 15px; margin: 0 40px}
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: #2c2c2e}

.shake { animation: shake .4s ease}
@keyframes shake { 20%, 60% { transform: translateX(-6px)} 40%, 80% { transform: translateX(6px)} }

/* ---------- splash ---------- */
.splash { position: absolute; inset: 0; cursor: pointer}
.splash .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000000}
.splash-shade { position: absolute; inset: 0; pointer-events: none; background: rgba(0, 0, 0, 0.45)}
.splash-brand { position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: 312px; display: flex; flex-direction: column; align-items: center; gap: 26px; filter: none}
.splash-tag { font-size: 15px; letter-spacing: .42em; padding-inline-start: .42em; color: #f5f5f7; margin-top: 4px}
.splash-kdb { position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: 610px; text-align: center; font-size: 32px; font-weight: 300; letter-spacing: .26em; padding-inline-start: .26em; color: #f5f5f7; text-shadow: none}
.splash-kdb b { color: var(--accent); font-weight: 600; margin: 0 .5em}
.splash-load { position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: 778px; text-align: center; font-size: 17px; color: #e5e5ea; text-shadow: none}
.splash-bar { position: absolute; inset-inline-start: 540px; top: 750px; width: 368px; height: 8px; border-radius: 4px; background: rgba(103, 103, 103, 0.55); overflow: hidden; outline: 1px solid rgba(255, 255, 255, 0.06); outline-offset: 0; box-shadow: none}
.splash-bar i { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 0; border-radius: 6px; background: #00FF6F; box-shadow: none}
.splash-skip { position: absolute; left: 50%; bottom: 118px; transform: translateX(-50%); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #f5f5f7; opacity: 0; animation: fadeIn .6s 1.4s ease forwards}

/* ---------- landing ---------- */
.land-head { position: absolute; inset-inline-start: 0; inset-inline-end: 0; text-align: center; font-size: 86px; line-height: 80px; font-weight: 800; letter-spacing: -.01em}
.land-head span { display: block}
.land-head .g { color: var(--accent)}
.parent-card { width: 100%; height: 95px; border-radius: 12px; border: 1px solid #232325; background: rgba(13, 13, 13, 0.85); display: flex; align-items: center; gap: 0; padding-block: 0 0; padding-inline: 38px 30px; text-align: start; transition: border-color .2s, background .2s}
.parent-card:hover { border-color: var(--accent-line); background: #111112}
.parent-card b { display: block; font-size: 18px; font-weight: 500; color: #f5f5f7}
.parent-card small { display: block; font-size: 15px; color: #aeaeb2; margin-top: 3px}
.car-dots { position: absolute; inset-inline-start: 1250px; top: 1015px; z-index: 5; display: flex; gap: 12px}
.car-dots button { width: 38px; height: 16px; display: grid; place-items: center}
.car-dots button i { width: 38px; height: 5px; border-radius: 3px; background: #424245; transition: background .3s}
.car-dots button.on i { background: var(--accent); box-shadow: none}

/* ---------- account ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; height: 62px; border-radius: 16px; border: 1px solid #333336; background: #0a0a0b}
.seg button { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 18px; color: #e5e5ea; border-radius: 16px; transition: all .2s}
.seg button.on { outline: 2px solid var(--accent); outline-offset: -2px; box-shadow: none; background: rgba(124, 124, 124, 0.04)}
.ob-label { font-size: 16px; color: #f5f5f7; font-weight: 400}
.ob-label.bold { font-size: 18px; font-weight: 500}
.social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px}
.social button { height: 61px; border-radius: 10px; border: 1px solid #232325; background: #111112; display: grid; place-items: center; transition: border-color .2s, background .2s; color: #f5f5f7}
.social button:hover { border-color: #424245; background: #161617}
.ob-legal { text-align: center; font-size: 15px; color: #c7c7cc; line-height: 1.5}
.ob-legal .u { color: #e5e5ea; text-decoration: underline; text-underline-offset: 3px; cursor: pointer}
.ob-legal .u:hover { color: var(--accent)}
.ob-foot { position: absolute; top: 1004px; inset-inline-start: 0; inset-inline-end: 0; display: flex; align-items: center; justify-content: space-between}
.ob-foot button { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #e5e5ea}
.ob-foot button:hover { color: var(--accent)}
.phone-pre { display: flex; align-items: center; gap: 6px; padding-inline-end: 12px; border-inline-end: 1px solid #2c2c2e; font-size: 18px; color: #e5e5ea; cursor: pointer}
.vision-hot { position: absolute; inset-inline-start: 1135px; top: 956px; width: 313px; height: 100px; z-index: 5; border-start-start-radius: 16px; border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: 16px}

/* ---------- code ---------- */
.otp { display: grid; grid-template-columns: repeat(6, 82px); justify-content: space-between}
.otp input { width: 82px; height: 81px; border-radius: 10px; border: 1.2px solid #333336; background: #0a0a0b; text-align: center; font-size: 30px; font-weight: 400; color: #f5f5f7; outline: none; caret-color: var(--accent); transition: border-color .15s, box-shadow .15s}
.otp input:focus { border: 2px solid var(--accent); box-shadow: none}
.otp.error input { border-color: rgba(255,92,174,0.8)}
.resend { text-align: center; font-size: 18px; color: #d2d2d7}
.resend button { color: var(--accent); font-size: 18px}
.resend button[disabled] { cursor: default}

/* ---------- about ---------- */
.sel { display: flex; align-items: center; gap: 16px; width: 100%; height: 60px; padding: 0 22px 0 22px; border-radius: 10px; background: #0a0a0b; border: 1px solid #232325; font-size: 18px; color: #f5f5f7; text-align: start; transition: border-color .2s}
.sel:hover, .sel[aria-expanded="true"] { border-color: var(--accent-line)}
.sel .ph { color: #86868b}
.sel .v { flex: 1}
.sel.error { border-color: rgba(255,92,174,0.7)}
.persona { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px}
.persona button { position: relative; height: 176px; border-radius: 12px; border: 1px solid #2c2c2e; background: #0a0a0b; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 30px; text-align: center; transition: border-color .2s, box-shadow .2s, background .2s}
.persona button:hover { border-color: #545458}
.persona button.on { border: 2px solid var(--accent); box-shadow: none; background: #111112}
.persona button .radio { position: absolute; top: 12px; inset-inline-end: 16px; width: 24px; height: 24px; border-width: 1.5px}
.persona b { display: block; margin-top: 12px; font-size: 19px; font-weight: 600; color: #f5f5f7}
.persona small { display: block; margin-top: 8px; font-size: 16px; line-height: 1.35; color: #c7c7cc}

/* ---------- interests: the seven worlds as icon cards, four over three ---------- */
.int-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px}
.int-card { position: relative; grid-column: span 3; height: 232px; display: flex; flex-direction: column; padding: 18px 16px 18px 18px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--panel); text-align: start; transition: border-color .2s, transform .2s}
.int-card.r2 { grid-column: span 4}
.int-card:hover { border-color: var(--line-3); transform: translateY(-2px)}
.int-card.on { border: 2px solid var(--accent); padding: 17px 15px 17px 17px}
.int-card.on .radio { top: 15px; inset-inline-end: 15px}
.int-ic { width: 62px; height: 62px; flex: none; display: grid; place-items: center; border-radius: 18px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); transition: border-color .2s, color .2s}
.int-card:hover .int-ic { border-color: var(--line-3)}
.int-card.on .int-ic { border-color: var(--accent); color: var(--accent)}
.int-card .txt { margin-top: auto}
.int-card b { display: block; font-size: 18px; font-weight: 600; color: var(--text); line-height: 1.2}
.int-card small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--text-2)}
.int-card .radio { position: absolute; top: 16px; inset-inline-end: 16px; width: 26px; height: 26px; border-width: 1.8px}
.dd-menu.tall { max-height: 460px}
.int-count { position: absolute; inset-inline-end: 0; font-size: 15px; color: var(--muted)}

/* ---------- goal ---------- */
.goal-card { width: 100%; border-radius: 12px; border: 1px solid #2c2c2e; background: #0a0a0b; display: grid; grid-template-columns: 236px 1fr 60px; align-items: center; text-align: start; transition: border-color .2s, box-shadow .2s; position: relative}
.goal-card:hover { border-color: #545458}
.goal-card.on { border: 2px solid var(--accent); box-shadow: none}
.goal-card .gi { display: grid; place-items: center; color: #f5f5f7}
.goal-card b { display: block; font-size: 25px; font-weight: 500; color: #f5f5f7}
.goal-card small { display: block; margin-top: 8px; font-size: 20px; line-height: 1.22; color: #c7c7cc; font-weight: 300}
.goal-card .radio { position: absolute; top: 18px; inset-inline-end: 16px; width: 29px; height: 29px; border-width: 1.6px}

/* ---------- review ---------- */
.rv { display: grid; gap: 9px}
.rv-row { position: relative; width: 100%; min-height: 68px; border-radius: 10px; border: 1px solid #2c2c2e; background: #0a0a0b; display: grid; grid-template-columns: 100px 1fr 44px; align-items: center; text-align: start; transition: border-color .2s, background .2s; padding: 10px 0}
.rv-row:hover { border-color: var(--accent-line); background: #111112}
.rv-row .ri { display: grid; place-items: center; color: #f5f5f7}
.rv-row small { display: block; font-size: 15px; color: #aeaeb2}
.rv-row span.v { display: block; font-size: 18px; color: #f5f5f7; margin-top: 3px; line-height: 1.3}
.rv-row .edit { color: var(--muted); opacity: 0; transition: opacity .2s}
.rv-row:hover .edit { opacity: 1; color: var(--accent)}

/* ---------- terms ---------- */
.terms-box { height: 420px; border-radius: 12px; border: 1px solid #2c2c2e; background: #0a0a0b; padding: 22px 22px 22px 22px}
.terms-box .scroll { height: 100%; padding-inline-end: 14px}
.terms-box h4 { margin: 0 0 6px; font-size: 19px; font-weight: 500; color: #f5f5f7}
.terms-box .upd { font-size: 16px; color: #c7c7cc; margin-bottom: 18px}
.terms-box h5 { margin: 16px 0 4px; font-size: 18px; font-weight: 500; color: #f5f5f7}
.terms-box p { margin: 0; font-size: 16px; line-height: 1.5; color: #c7c7cc}
.agree { display: flex; align-items: center; gap: 18px; font-size: 18px; color: #f5f5f7}
.agree .box { width: 36px; height: 36px; border-radius: 7px; border: 1.5px solid #6e6e73; display: grid; place-items: center; color: var(--accent-ink); flex: none; transition: all .15s}
.agree .box.on { background: var(--accent); border-color: var(--accent)}
.agree .link { color: var(--accent)}

/* ---------- welcome ---------- */
.wc-card { width: 100%; height: 117px; border-radius: 12px; border: 1px solid #2c2c2e; background: #0a0a0b; display: grid; grid-template-columns: 145px 1fr; align-items: center; text-align: start; transition: border-color .2s, background .2s}
.wc-card:hover { border-color: var(--accent-line); background: #111112}
.wc-card .wi { display: grid; place-items: center; color: #f5f5f7}
.wc-card b { display: block; font-size: 21px; font-weight: 500; color: #f5f5f7}
.wc-card small { display: block; font-size: 18px; margin-top: 8px; color: #c7c7cc; font-weight: 300}
.spin { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(20, 20, 20, 0.3); border-top-color: var(--accent-ink); animation: spin .7s linear infinite}
