/* Start page: account, free preview and unlock. Builds on styles.css + apply.css. */
.start-page .shell { max-width: 1080px; }
.start-intro { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.start-intro .eyebrow { justify-content: center; }
.start-intro h1 em { color: var(--mint); font-style: normal; }
.start-panel { max-width: 720px; margin: 0 auto; }
.auth-panel { max-width: 480px; }
.start-panel h2 { margin-top: 0; }

.account-bar { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 auto 20px; color: var(--muted); font-size: .9rem; }
.account-bar strong { color: var(--text); overflow-wrap: anywhere; }
.link-button { appearance: none; background: none; border: 0; padding: 4px 0; color: var(--mint-light); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; min-height: 0; }
.link-button:hover { color: var(--mint); }

.start-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 48px 0; color: var(--muted); }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line-strong); border-top-color: var(--mint); border-radius: 50%; animation: yebo-spin .9s linear infinite; display: inline-block; }
.spinner.big { width: 54px; height: 54px; border-width: 5px; margin-bottom: 18px; }
@keyframes yebo-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-soft); }
.auth-tabs button { appearance: none; border: 0; border-radius: 999px; padding: 11px 10px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; }
.auth-tabs button[aria-selected="true"] { background: var(--mint); color: var(--ink); }
.google-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.google-button svg { width: 20px; height: 20px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 6px; color: var(--subtle); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#auth-form .apply-field { margin-top: 14px; }
#auth-form .button { margin-top: 18px; }
#forgot-password { display: block; margin: 14px auto 0; }
.info-message { border: 1px solid rgba(25, 227, 160, .4); background: rgba(25, 227, 160, .08); color: var(--mint-light); padding: 12px 14px; border-radius: 12px; font-size: .9rem; }
.start-panel .error-message { padding: 12px 14px; border-radius: 12px; font-size: .9rem; }

.verify-banner { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; max-width: 720px; margin: 0 auto 20px; padding: 18px 20px; border: 1px solid rgba(255, 197, 61, .45); border-radius: var(--radius); background: rgba(255, 197, 61, .08); }
.verify-banner p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.cluster-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

.field-label { display: block; margin-bottom: 8px; font-weight: 700; }
.turnstile-box { margin: 18px 0 12px; min-height: 65px; }

.progress-panel { text-align: center; padding: 48px 24px; }
#progress-message { color: var(--mint-light); font-weight: 600; min-height: 1.5em; }

/* The preview, shown inside a pretend browser with the rest of the page locked */
.preview-result { max-width: 1080px; margin: 0 auto; }
.browser-frame { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #e9ecf1; color: #4a5160; font-size: .8rem; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c7ccd5; }
.browser-bar span { flex: 1; margin-left: 10px; padding: 5px 12px; border-radius: 999px; background: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#teaser-frame { display: block; width: 100%; height: 980px; border: 0; background: #fff; }
.locked-rest { position: relative; padding: 36px 5%; background: #f4f5f7; filter: blur(6px); }
.ghost-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; margin-bottom: 22px; }
.ghost-row i { height: 150px; border-radius: 16px; background: linear-gradient(135deg, #d9dde4, #eceef2); }
.ghost-block { height: 220px; margin-bottom: 22px; border-radius: 18px; background: linear-gradient(90deg, #dfe3e9, #f0f2f5); }
.ghost-block.short { height: 120px; }
.unlock-card { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); padding: 28px 26px; border: 1px solid var(--line-strong); border-radius: var(--radius-large); background: rgba(13, 16, 23, .96); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); text-align: center; }
.unlock-card h2 { margin: 6px 0 10px; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.unlock-card p { color: var(--muted); }
.unlock-card .button { margin-top: 8px; }
.lock-icon { font-size: 1.8rem; }
.unlock-secondary { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.tiny-note { margin: 14px 0 0; font-size: .78rem; color: var(--subtle) !important; }

.order-card { margin: 0 auto 22px; padding: 24px; border: 1px solid rgba(25, 227, 160, .45); border-radius: var(--radius); background: rgba(25, 227, 160, .07); text-align: center; }
.order-card h2 { margin: 0 0 8px; }
.order-card p { color: var(--muted); overflow-wrap: anywhere; }
.order-card .button { margin-top: 8px; }

@media (max-width: 640px) {
  #teaser-frame { height: 720px; }
  .unlock-card { position: relative; left: auto; bottom: auto; transform: none; width: auto; margin: -170px 12px 16px; padding: 22px 18px; }
  .locked-rest { padding-bottom: 60px; }
  .verify-banner { padding: 16px; }
}

/* Account mode on the order form (contact.html?from=preview) */
.preview-gate { max-width: 640px; margin: 0 auto; text-align: center; }
.preview-gate .button { margin-top: 10px; }
.result-notice { margin: 0 auto 18px; }
#preview-form .apply-consent label { flex: 1 1 0; min-width: 0; }
.verify-hint { color: var(--yellow) !important; font-weight: 600; }
