/* org_onboard.css — the /start "paste your website" wizard.
   Uses the marketing design tokens (:root in style.css); warm, calm, confident. */

.start-main { min-height: 60vh; }
.start-hero {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(48px, 8vw, 96px) 20px 80px;
    text-align: center;
}
.start-hero__eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 13px;
    color: var(--accent);
    margin: 0 0 12px;
}
.start-hero__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0 0 14px;
}
.start-hero__sub {
    font-size: clamp(17px, 2.4vw, 20px);
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 560px;
    margin: 0 auto 32px;
}
.start-hero__reassure { margin-top: 26px; font-size: 15px; color: var(--text-muted); }
.start-hero__reassure a { color: var(--accent); text-decoration: none; font-weight: 600; }
.start-hero__reassure a:hover { text-decoration: underline; }

/* ── Idle framing (used when mounted inside the demo convert) ── */
.oo-idle__head {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(21px, 3vw, 27px);
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0 auto 10px;
    max-width: 520px;
}
.oo-idle__sub {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 480px;
    margin: 0 auto 22px;
}

/* ── Input row ── */
.oo-row {
    display: flex;
    align-items: stretch;
    max-width: 520px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.oo-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); }
.oo-row__proto {
    display: flex; align-items: center;
    padding: 0 4px 0 16px;
    font-size: 17px; color: var(--text-muted);
    background: transparent;
}
.oo-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none; outline: none; background: transparent;
    font-size: 17px; color: var(--text-primary);
    padding: 16px 8px 16px 0;
    font-family: var(--font-body);
}
.oo-input.is-bad { color: var(--danger); }
.oo-input::placeholder { color: var(--text-muted); }
.oo-btn {
    flex: 0 0 auto;
    border: none; cursor: pointer;
    background: var(--accent); color: #fff;
    font-family: var(--font-heading); font-weight: 700; font-size: 16px;
    padding: 0 22px;
    white-space: nowrap;
    transition: background .18s var(--ease-out);
}
.oo-btn:hover { background: var(--accent-hover); }
.oo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.oo-fine { font-size: 14px; color: var(--text-muted); margin: 14px 0 0; }
.oo-fine a { color: var(--accent); }

/* ── Loading ── */
.oo-loading { padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.oo-spinner {
    width: 40px; height: 40px; border-radius: 50%;
    border: 3px solid var(--accent-dim);
    border-top-color: var(--accent);
    animation: oo-spin .8s linear infinite;
}
@keyframes oo-spin { to { transform: rotate(360deg); } }
.oo-loading__text {
    font-family: var(--font-heading); font-weight: 600; font-size: 19px;
    color: var(--text-primary);
    transition: opacity .2s var(--ease-out);
}

/* ── Reveal ── */
.oo-reveal { max-width: 560px; margin: 0 auto; }
.oo-reveal__lead {
    font-family: var(--font-heading); font-size: 20px; font-weight: 600;
    color: var(--text-secondary); margin-bottom: 18px;
}
.oo-reveal__lead strong { color: var(--text-primary); }
.oo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
    padding: 26px 24px;
    text-align: left;
}
.oo-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.oo-card__logo {
    flex: 0 0 auto; width: 68px; height: 68px;
    border-radius: var(--radius-md); overflow: hidden;
    background: #fff; border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
}
.oo-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.oo-card__logo.is-empty {
    background: var(--accent-dim); color: var(--accent);
    font-family: var(--font-heading); font-weight: 800; font-size: 30px;
}
.oo-card__id { min-width: 0; }
.oo-card__name {
    font-family: var(--font-heading); font-weight: 800;
    font-size: 22px; color: var(--text-primary); line-height: 1.2;
}
.oo-card__tag { font-size: 15px; color: var(--text-secondary); margin-top: 3px; line-height: 1.4; }
.oo-card__loc { font-size: 13.5px; color: var(--text-muted); margin-top: 5px; }
.oo-card__desc { font-size: 15.5px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 16px; }

.oo-card__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.oo-chip {
    font-size: 13px; font-weight: 600;
    color: var(--accent);
    background: var(--accent-dim);
    border-radius: 999px; padding: 5px 13px;
}

.oo-faqs { border-top: 1px solid var(--border); padding-top: 16px; }
.oo-faqs__head {
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    color: var(--text-muted); margin-bottom: 10px;
}
.oo-faq { border-bottom: 1px solid var(--border); }
.oo-faq:last-child { border-bottom: none; }
.oo-faq summary {
    cursor: pointer; list-style: none;
    padding: 11px 0; font-weight: 600; font-size: 15px; color: var(--text-primary);
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.oo-faq summary::-webkit-details-marker { display: none; }
.oo-faq summary::after { content: '+'; color: var(--accent); font-size: 20px; font-weight: 400; line-height: 1; }
.oo-faq[open] summary::after { content: '\2013'; }
.oo-faq p { margin: 0 0 12px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.55; }

/* ── Reveal CTA ── */
.oo-reveal__cta { margin-top: 24px; text-align: center; }
.oo-btn--go {
    display: inline-block; text-decoration: none;
    border-radius: var(--radius-md);
    padding: 15px 30px; font-size: 17px;
    box-shadow: var(--shadow-card);
}
.oo-restart {
    display: block; margin: 18px auto 0;
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); font-size: 14px; text-decoration: underline;
}

/* ── Error ── */
.oo-error { max-width: 520px; margin: 0 auto; }
.oo-error__msg {
    color: var(--text-secondary); font-size: 16px; line-height: 1.5;
    margin-bottom: 18px;
}

/* ── Signup step ── */
.oo-signup { max-width: 460px; margin: 0 auto; }
.oo-signup__head {
    font-family: var(--font-heading); font-weight: 800;
    font-size: clamp(22px, 3.4vw, 28px); color: var(--text-primary); margin-bottom: 8px;
}
.oo-signup__sub { font-size: 16px; color: var(--text-secondary); line-height: 1.5; margin: 0 auto 22px; max-width: 400px; }
.oo-form { text-align: left; }
.oo-form__row2 { display: flex; gap: 10px; }
.oo-form__row2 .oo-field { flex: 1 1 0; min-width: 0; }
.oo-field {
    display: block; width: 100%; box-sizing: border-box;
    font-family: var(--font-body); font-size: 16px; color: var(--text-primary);
    background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-md);
    padding: 13px 15px; margin-bottom: 11px;
    transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.oo-field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.oo-field::placeholder { color: var(--text-muted); }
.oo-field.is-bad { border-color: var(--danger); }
select.oo-field { cursor: pointer; }
.oo-turnstile { margin: 2px 0 10px; min-height: 1px; }
.oo-turnstile:empty { margin: 0; }
.oo-form__err { display: none; color: var(--danger); font-size: 14px; margin: 2px 0 12px; }
.oo-form .oo-btn--go { width: 100%; margin-top: 4px; }
.oo-done { font-size: 44px; line-height: 1; margin-bottom: 6px; }

/* "Your peace of mind" trust block on the signup step */
.oo-trust {
    max-width: 460px; margin: 22px auto 0; text-align: left;
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 15px 18px;
}
.oo-trust__head {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--text-muted); margin-bottom: 9px;
}
.oo-trust__list { list-style: none; margin: 0; padding: 0; }
.oo-trust__list li {
    position: relative; padding-left: 24px; margin-bottom: 7px;
    font-size: 14.5px; color: var(--text-secondary); line-height: 1.45;
}
.oo-trust__list li:last-child { margin-bottom: 0; }
.oo-trust__list li::before {
    content: '\2713'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700;
}

/* ── Entrance animation ── */
.oo-anim { animation: oo-in .45s var(--ease-out) both; }
@keyframes oo-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 480px) {
    .oo-row { flex-wrap: wrap; }
    .oo-btn { width: 100%; padding: 13px; }
    .oo-card__head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .oo-anim { animation: none; }
    .oo-spinner { animation-duration: 1.6s; }
}
