/* Marketing pages: landing, login, pricing. Uses the tokens and components from styles.css. */
html { scroll-behavior: smooth; }
.lp-wrap { max-width: 1120px; }
a.logo { color: var(--text); text-decoration: none; }
.site-header .header-actions a.btn { text-decoration: none; }

/* shared logo-wall background (same look as the app's first page) */
.auth-page, .lp-hero { position: relative; overflow: hidden; }
.auth-page { min-height: 100vh; background: linear-gradient(180deg, #eef3ff 0%, #f5f7fb 60%); }
.auth-page > .site-header, .auth-page > main { position: relative; z-index: 1; }
.auth-page > .site-header, .lp-nav { background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); }

/* ---------------- landing */
.lp-nav { position: sticky; top: 0; z-index: 20; }
.lp-nav .header-inner { gap: 20px; }
.lp-links { display: flex; gap: 26px; margin-left: auto; margin-right: 8px; }
.lp-links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.lp-links a:hover { color: var(--primary); }

.lp-hero { background: linear-gradient(180deg, #eef3ff 0%, #f5f7fb 100%); padding: 84px 0 70px; }
.lp-hero .logo-wall { -webkit-mask-image: radial-gradient(ellipse 42% 62% at 50% 50%, transparent 0 50%, #000 92%); mask-image: radial-gradient(ellipse 42% 62% at 50% 50%, transparent 0 50%, #000 92%); }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 5px 12px; border-radius: 999px; }
.lp-hero h1 { margin: 18px 0 14px; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.07; font-weight: 800; letter-spacing: -.03em; text-shadow: 0 2px 30px rgba(245, 247, 251, .9); }
.hl { background: linear-gradient(90deg, #2563eb, #4338ca); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 640px; margin: 0 auto; font-size: 17.5px; color: var(--text-2); background: rgba(245, 247, 251, .6); border-radius: 12px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn-cta { padding: 14px 26px; font-size: 16px; border-radius: 12px; text-decoration: none; }
.btn-primary.btn-cta { box-shadow: 0 8px 24px rgba(37, 99, 235, .35); }
.trust { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }

.lp-show { padding: 10px 0 70px; background: #f5f7fb; }
.browser { position: relative; max-width: 980px; margin: -10px auto 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: 0 30px 70px rgba(15, 23, 42, .18); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #eef1f6; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d4d9e2; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 12px; font-size: 12.5px; color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 7px; }
.slides { position: relative; aspect-ratio: 16 / 10; background: #0b1120; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.015); transition: opacity .7s ease, transform 1.2s ease; }
.slide.active { opacity: 1; transform: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.slide-nav { position: absolute; top: 55%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); font-size: 26px; line-height: 1; cursor: pointer; color: var(--text); }
.slide-nav.prev { left: 14px; } .slide-nav.next { right: 14px; }
.slide-caption { text-align: center; margin-top: 22px; }
.slide-caption b { display: block; font-size: 18px; }
.slide-caption span { color: var(--muted); }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: #cfd6e0; cursor: pointer; padding: 0; transition: width .25s, background .25s; }
.dots button.active { width: 26px; background: var(--primary); }

.lp-sec { padding: 76px 0; }
.lp-sec.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-sec h2 { text-align: center; margin: 0; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.02em; }
.sec-sub { text-align: center; color: var(--muted); margin: 10px 0 0; font-size: 16px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.feat { padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feat-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 14px; }
.feat b { display: block; font-size: 16.5px; margin-bottom: 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.how { text-align: center; padding: 10px; }
.how span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--primary); color: #fff; font-weight: 700; }
.how b { display: block; margin-bottom: 4px; }
.how p { margin: 0; color: var(--muted); font-size: 14.5px; }

.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 22px; justify-content: center; margin-top: 40px; }
.price { padding: 28px; position: relative; display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--primary); box-shadow: 0 20px 50px rgba(37, 99, 235, .18); }
.badge-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.p-name { font-size: 18px; }
.p-amt { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 14px; }
.p-amt small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price ul, .buy-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.price li, .buy-list li { padding-left: 26px; position: relative; font-size: 15px; color: var(--text-2); }
.price li::before, .buy-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.price .btn { text-decoration: none; }

.faq { max-width: 760px; }
.faq h2 { margin-bottom: 26px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--primary); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 16px; color: var(--text-2); }

.lp-foot { padding: 34px 0 40px; border-top: 1px solid var(--border); background: #f5f7fb; }
.lp-foot .lp-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-foot .logo { font-size: 13px; }
.lp-foot .credit { margin: 0; }

/* ---------------- login + pricing */
.auth-wrap { display: grid; place-items: center; padding: 50px 16px 30px; }
.auth-card { width: min(440px, 100%); padding: 0 0 26px; overflow: hidden; }
.auth-card > div:not(.auth-tabs) { padding: 0 28px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.auth-tab { border: 0; background: var(--surface-2); padding: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.auth-tab.active { background: var(--surface); color: var(--text); box-shadow: inset 0 -2px 0 var(--primary); }
.auth-card h1 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.01em; }
.btn-google { width: 100%; background: #fff; border: 1px solid var(--border-strong); color: var(--text); padding: 11px; }
.btn-google:hover { background: var(--surface-2); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-msg { background: var(--success-soft); color: #166534; padding: 10px 13px; border-radius: 10px; font-size: 14px; margin: 4px 0 14px; }
.link-btn { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--primary); font-weight: 600; cursor: pointer; font-size: 14px; }

.buy-wrap { padding-top: 70px; }
.buy-card { width: min(520px, 100%); padding: 38px 32px 28px; position: relative; text-align: left; border: 2px solid var(--primary); box-shadow: 0 24px 60px rgba(37, 99, 235, .18); }
.buy-card h1 { margin: 6px 0 8px; font-size: 24px; letter-spacing: -.01em; }
.p-amt.big { font-size: 46px; }
.fine-print { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .lp-links { display: none; }
  .lp-nav .header-actions { margin-left: auto; }
}
@media (max-width: 600px) {
  .feat-grid, .price-grid { grid-template-columns: 1fr; }
  .lp-hero { padding: 54px 0 48px; }
  .slide-nav { display: none; }
  .auth-card > div:not(.auth-tabs) { padding: 0 20px; }
  .buy-card { padding: 32px 20px 24px; }
}

/* ---------------- my interviews */
.hist-head { display: flex; justify-content: space-between; align-items: flex-end; margin: 30px 0 16px; }
.hist-head h1 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.hist-head p { margin: 4px 0 0; }
.hist-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.hist-stats .stat { padding: 16px 18px; }
.hist-list { display: grid; gap: 10px; margin-bottom: 40px; }
.hist-item { display: flex; align-items: center; gap: 16px; padding: 14px 18px; text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; transition: box-shadow .15s, transform .15s; }
.hist-item:hover:not([disabled]) { transform: translateY(-1px); box-shadow: var(--shadow); }
.hist-item[disabled] { cursor: default; opacity: .75; }
.hist-score { width: 54px; height: 54px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; font-size: 20px; font-weight: 800; flex: none; }
.hist-main { flex: 1; min-width: 0; }
.hist-main b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist-main small, .hist-side small { color: var(--muted); font-size: 13px; }
.hist-side { text-align: right; display: grid; gap: 4px; justify-items: end; flex: none; }
.empty-hist { padding: 34px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.empty-hist p { margin: 0 0 8px; }
.back-btn { margin: 24px 0 -8px; }
@media (max-width: 600px) { .hist-stats { grid-template-columns: 1fr 1fr 1fr; } .hist-side { display: none; } }

/* pricing: three plans, offer prices */
.price-grid.three, .lp-sec#pricing .price-grid { grid-template-columns: repeat(3, minmax(0, 340px)); }
.mrp { font-size: 22px; font-weight: 600; color: var(--muted); margin-right: 4px; text-decoration-thickness: 2px; }
.badge-off { position: absolute; top: 18px; right: 18px; background: var(--success-soft); color: var(--success); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
@media (max-width: 1000px) { .lp-sec#pricing .price-grid, .price-grid.three { grid-template-columns: minmax(0, 420px); } }
.buy-head { text-align: center; margin: 10px 0 30px; }
.buy-head h1 { margin: 0 0 6px; font-size: 30px; letter-spacing: -.02em; }
.price-grid.two { grid-template-columns: repeat(2, minmax(0, 380px)); margin-top: 10px; }
.price.picked { outline: 3px solid rgba(37, 99, 235, .25); }
.buy-msg { max-width: 780px; margin: 0 auto 14px; }
.buy-wrap .fine-print { max-width: 640px; margin: 22px auto 40px; }
@media (max-width: 820px) { .price-grid.two { grid-template-columns: minmax(0, 420px); } }

/* ---------------- footer */
.lp-foot { padding: 46px 0 26px; border-top: 1px solid var(--border); background: #fff; position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; align-items: start; }
.foot-brand p { margin: 12px 0 0; color: var(--muted); font-size: 14px; max-width: 320px; }
.foot-col { display: grid; gap: 9px; align-content: start; align-self: start; font-size: 14px; }
.foot-col b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text); margin-bottom: 2px; }
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--primary); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
.foot-bottom .credit { margin: 0; }
.foot-legal { margin-top: 14px; font-size: 12px; line-height: 1.6; color: #94a3b8; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------------- legal pages */
.legal { max-width: 820px; margin: 36px auto 50px; padding: 34px 38px; }
.legal h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.02em; }
.legal .updated { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; }
.legal h2 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-2); font-size: 15px; }
.legal ul { padding-left: 20px; }
@media (max-width: 600px) { .legal { padding: 24px 20px; } }

/* ---------------- small screens: keep the header on one line */
@media (max-width: 600px) {
  .site-header .header-inner { gap: 8px; }
  .site-header .header-actions { gap: 6px; flex-wrap: nowrap; }
  .site-header .header-actions .btn { padding: 6px 10px; font-size: 13px; white-space: nowrap; }
  .lp-nav .lp-links { display: none; }
  .site-header .header-actions:has(.btn-primary) .btn-ghost { display: none; }
  a.logo { font-size: 13px; gap: 8px; white-space: nowrap; }
  .site-header .header-inner > .theme-toggle { --tt-w: 50px; --tt-h: 26px; --tt-k: 20px; margin-right: 4px; }
}
