/* Landing page only. Shared tokens, fonts, dialog and footer basics live in styles.css. */
.lp { --lp-ink: #1f251d; --lp-muted: #5c6457; --lp-soft: #6b7366; --lp-green: #4f6339; --lp-green-dark: #3f5030; --lp-gold: #a87310; --lp-tint: #eef0e6; --lp-tile: #e6eadb; --lp-card: #fffefa; --lp-line: rgba(31, 37, 29, 0.14); --lp-hair: rgba(31, 37, 29, 0.08); background: var(--paper); color: var(--lp-ink); font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
.lp-shell { width: min(1200px, 100% - 80px); margin-inline: auto; }

/* Top bar sits on the page ground, no divider, so it reads as part of the hero. */
.lp-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--lp-ink); text-decoration: none; }
.lp-brand img { width: auto; height: 25px; object-fit: contain; }
.lp-brand span { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.lp-nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.lp-nav-links a { color: var(--lp-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.lp-nav-links a:hover { color: var(--lp-green); }
.lp-nav-links .lp-nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--lp-ink); color: var(--paper); font-weight: 700; }
.lp-nav-links .lp-nav-cta:hover { background: #2d362a; color: var(--paper); }

.lp h1, .lp h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.lp h1 em, .lp h2 em { font-style: italic; color: var(--lp-green); }
.lp-kicker { margin: 0 0 14px; color: var(--lp-green); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.lp-kicker-muted { color: var(--lp-muted); font-weight: 700; letter-spacing: 0.08em; }

/* Buttons */
.lp-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.lp-button-primary { background: var(--lp-green); color: #fff; }
.lp-button-primary:hover { background: var(--lp-green-dark); }
.lp-button-secondary { gap: 12px; padding: 0 20px; border-color: rgba(31, 37, 29, 0.18); background: var(--lp-card); color: var(--lp-ink); box-shadow: 0 1px 2px rgba(31, 37, 29, 0.06); }
.lp-button-secondary:hover { border-color: rgba(31, 37, 29, 0.32); }
.lp-button-secondary img { display: block; width: 86px; height: auto; flex: none; }
.lp-divider { width: 1px; height: 22px; background: rgba(31, 37, 29, 0.16); }
.lp-button-light { background: var(--paper); color: var(--lp-ink); }
.lp-button-light:hover { background: #fff; }
.lp-button-ghost { border-color: rgba(244, 241, 230, 0.35); background: none; color: #f4f1e6; }
.lp-button-ghost:hover { border-color: rgba(244, 241, 230, 0.7); }

/* Hero */
.lp-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(48px, 6vw, 88px); padding-block: clamp(24px, 4vw, 48px) clamp(56px, 6vw, 96px); }
.lp-hero-copy { flex: 1 1 520px; min-width: 0; max-width: 640px; }
.lp-hero h1 { margin: 0; font-size: clamp(46px, 6.2vw, 88px); line-height: 0.98; }
.lp-lede { max-width: 470px; margin: 22px 0 0; color: var(--lp-muted); font-size: clamp(17px, 1.45vw, 19px); line-height: 1.55; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-actions .lp-button-primary { min-width: 190px; }
.lp-note { margin: 12px 0 0; color: var(--lp-soft); font-size: 14px; }
.lp-hero-roles { margin-top: clamp(36px, 4vw, 48px); }
.lp-hero-roles .lp-kicker { margin-bottom: 12px; }
.lp-hero-roles ul { display: flex; flex-wrap: wrap; gap: 8px; max-width: 680px; margin: 0; padding: 0; list-style: none; }
/* Ten roles: quiet, compact chips with the existing landing palette. */
.lp-hero-roles .lp-role-tile { gap: 8px; min-height: 38px; padding: 8px 12px; border-radius: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.lp-hero-roles .lp-role-icon { width: 16px; height: 16px; border-radius: 0; background: transparent; }
.lp-hero-roles .lp-role-icon svg { width: 16px; height: 16px; }
.lp-role-tile { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px 10px 10px; border: 1px solid rgba(31, 37, 29, 0.12); border-radius: 14px; background: var(--lp-card); color: var(--lp-ink); font-size: 15px; font-weight: 700; line-height: 1.25; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.lp-role-tile:hover { border-color: var(--lp-green); box-shadow: 0 10px 24px -14px rgba(31, 37, 29, 0.35); }
.lp-role-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--lp-tile); color: var(--lp-green); }
.lp-role-icon-lg { width: 48px; height: 48px; border-radius: 12px; }

/* Phone carousel: light frame on a soft glow, screens rendered from the app. */
.lp-showcase { overflow-x: clip; flex: 0 1 440px; min-width: 0; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lp-phone-stage { position: relative; display: flex; justify-content: center; width: 100%; padding-block: 24px; margin-bottom: 22px; }
.lp-phone-stage::before { content: ""; position: absolute; top: 50%; left: 50%; width: min(112%, 520px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #e6eadb 0%, #eef0e6 45%, rgba(247, 245, 238, 0) 70%); }
.lp-phone { position: relative; width: clamp(260px, 25vw, 330px); aspect-ratio: 9 / 18.8; padding: 8px; border: 1px solid rgba(31, 37, 29, 0.12); border-radius: 50px; background: #fdfcf8; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 50px 90px -40px rgba(31, 37, 29, 0.35), 0 10px 30px -12px rgba(31, 37, 29, 0.12); }
.lp-phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 42px; background: #faf9f4; box-shadow: 0 0 0 1px rgba(31, 37, 29, 0.08); }
.lp-phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .25s ease; }
.lp-phone-island { position: absolute; top: 9px; left: 50%; width: 26%; height: 18px; transform: translateX(-50%); border-radius: 999px; background: var(--lp-ink); }
.lp-showcase-title { margin: 0; color: var(--lp-muted); font-size: 14px; font-weight: 600; }
.lp-dots { display: flex; justify-content: center; gap: 8px; }
.lp-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 12px; }
.lp-dot { position: relative; display: grid; place-items: center; width: 28px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.lp-dot::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #c9cebe; transition: width .2s ease, background .2s ease; }
.lp-dot[aria-current="true"]::before { width: 20px; background: var(--lp-green); }
.lp-carousel-toggle { min-width: 62px; min-height: 32px; padding: 4px 10px; border: 1px solid var(--lp-line); border-radius: 8px; background: var(--lp-card); color: var(--lp-ink); font: inherit; font-size: 13px; cursor: pointer; }

/* Roles */
.lp-roles { padding-block: clamp(64px, 7vw, 112px); background: var(--lp-tint); scroll-margin-top: 0; }
.lp-roles-inner { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); align-items: start; column-gap: clamp(40px, 6vw, 96px); row-gap: 28px; }
.lp-roles-intro { grid-column: 1; grid-row: 1; }
.lp-roles h2, .lp-features h2 { margin: 0; font-size: clamp(38px, 4vw, 54px); line-height: 1.02; }
.lp-section-lede { margin: 16px 0 0; color: var(--lp-muted); font-size: 17px; }
.lp-role-options { display: flex; flex-direction: column; margin-top: 32px; border-top: 1px solid var(--lp-line); }
.lp-role-option { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--lp-line); background: none; color: var(--lp-muted); font-size: 17px; font-weight: 600; text-align: left; cursor: pointer; }
.lp-role-option:hover { color: var(--lp-ink); }
.lp-role-option .lp-role-icon { display: none; }
.lp-role-option-name { flex: 1; }
.lp-role-option-arrow { display: none; color: var(--lp-green); }
.lp-role-option[aria-selected="true"] { background: var(--lp-card); color: var(--lp-ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--lp-green); }
.lp-role-option[aria-selected="true"] .lp-role-option-arrow { display: block; }
.lp-role-card { grid-column: 2; grid-row: 1; overflow: hidden; border: 1px solid rgba(31, 37, 29, 0.1); border-radius: 24px; background: var(--lp-card); box-shadow: 0 30px 60px -30px rgba(31, 37, 29, 0.25); }
.lp-role-card[hidden] { display: none; }
.lp-role-card-head { display: flex; align-items: center; gap: 14px; padding: 24px clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--lp-hair); background: #fbfaf5; }
.lp-role-card-head h3 { margin: 0; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); font-weight: 400; line-height: 1.1; }
.lp-role-card-body { padding: 8px clamp(24px, 3vw, 40px) 0; }
.lp-questions { margin: 0; padding: 0; list-style: none; counter-reset: lp-q; }
.lp-questions li { counter-increment: lp-q; display: grid; grid-template-columns: 28px minmax(0, 1fr); padding-block: 18px; border-bottom: 1px solid var(--lp-hair); font-size: clamp(17px, 1.5vw, 19px); font-weight: 600; line-height: 1.45; }
.lp-questions li::before { content: counter(lp-q, decimal-leading-zero); color: var(--lp-gold); font-size: 13px; font-weight: 700; line-height: 1.9; }
.lp-role-card-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-block: 24px clamp(24px, 3vw, 40px); }
.lp-role-card-action span { color: var(--lp-soft); font-size: 14px; font-weight: 600; }
.lp-role-card-action .lp-button { min-height: 50px; font-size: 15px; }
.lp-role-card-foot { padding: 20px clamp(24px, 3vw, 40px) 24px; border-top: 1px solid var(--lp-hair); background: var(--paper); }
.lp-role-card-foot .lp-kicker { font-size: 12px; }
.lp-themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.lp-themes li { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; column-gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.lp-themes svg { display: block; }

/* Features */
.lp-features { padding-block: clamp(64px, 7vw, 112px) clamp(40px, 4vw, 64px); }
.lp-features h2 { max-width: 640px; }
.lp-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin-top: 48px; }
.lp-feature { display: flex; flex-direction: column; gap: 20px; padding: 28px 26px 30px; border: 1px solid rgba(31, 37, 29, 0.1); border-radius: 22px; background: var(--lp-card); }
.lp-feature-top { display: flex; align-items: center; justify-content: space-between; }
.lp-feature-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--lp-tile); color: var(--lp-green); }
.lp-feature-num { color: var(--lp-gold); font-size: 13px; font-weight: 800; }
.lp-feature h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; }
.lp-feature p { margin: -12px 0 0; color: var(--lp-muted); font-size: 15px; line-height: 1.55; }

/* Closing */
.lp-closing { padding-block: clamp(24px, 3vw, 40px) clamp(64px, 7vw, 104px); }
.lp-closing-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(36px, 5vw, 64px); border-radius: 28px; background: #24301f; color: #f4f1e6; }
.lp-closing-card > div:first-child { flex: 1 1 360px; min-width: 0; }
.lp-closing h2 { max-width: 560px; margin: 0; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.04; }
.lp-closing p { margin: 14px 0 0; color: rgba(244, 241, 230, 0.72); font-size: 16px; }
.lp-closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.lp-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px 40px; border-top: 1px solid rgba(31, 37, 29, 0.12); color: var(--lp-muted); font-size: 14px; }
.lp-footer nav { display: flex; gap: 24px; }
.lp-footer a { color: var(--lp-muted); text-underline-offset: 4px; }

.lp a:focus-visible, .lp button:focus-visible { outline: 2px solid var(--lp-green); outline-offset: 3px; }

/* Tablet and phone: phone follows the actions, roles live in their own section as a tile grid. */
@media (max-width: 900px) {
  .lp-hero-roles { display: none; }
  .lp-roles-inner { grid-template-columns: minmax(0, 1fr); }
  .lp-role-card { grid-column: 1; grid-row: 2; }
  .lp-roles-intro { max-width: 640px; }
  .lp-role-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 24px; border-top: 0; }
  .lp-role-option { gap: 12px; min-height: 60px; padding: 10px 12px 10px 10px; border: 1px solid rgba(31, 37, 29, 0.12); border-radius: 14px; background: var(--lp-card); color: var(--lp-ink); font-size: 14px; font-weight: 700; line-height: 1.25; }
  .lp-role-option .lp-role-icon { display: grid; }
  .lp-role-option[aria-selected="true"] { border: 1.5px solid var(--lp-green); box-shadow: 0 10px 24px -14px rgba(31, 37, 29, 0.35); }
  .lp-role-option[aria-selected="true"] .lp-role-option-arrow { display: none; }
}
@media (max-width: 680px) {
  .lp-shell { width: min(100% - 40px, 1200px); }
  .lp-nav { padding-block: 14px; }
  .lp-nav-links { gap: 16px; }
  .lp-nav-links .lp-nav-extra { display: none; }
  .lp-nav-links .lp-nav-cta { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .lp-brand img { width: auto; height: 23px; }
  .lp-brand span { font-size: 19px; }
  .lp-hero { padding-block: 20px 0; gap: 0; }
  .lp-hero h1 { font-size: clamp(40px, 11.8vw, 52px); line-height: 1; }
  .lp-lede { margin-top: 16px; font-size: 17px; }
  .lp-actions { flex-direction: column; gap: 10px; margin-top: 24px; }
  .lp-button { min-height: 52px; }
  .lp-button-secondary img { width: 80px; }
  .lp-note { margin-top: 10px; font-size: 13px; text-align: center; }
  .lp-showcase { margin-top: 44px; padding-bottom: 40px; }
  .lp-phone-stage::before { width: 460px; }
  .lp-phone { width: min(272px, 72vw); padding: 7px; border-radius: 46px; }
  .lp-phone-screen { border-radius: 39px; }
  .lp-roles { padding-block: 56px 48px; }
  .lp-roles h2, .lp-features h2 { font-size: clamp(32px, 9.2vw, 38px); line-height: 1.04; }
  .lp-section-lede { margin-top: 12px; font-size: 16px; }
  .lp-roles-inner { row-gap: 16px; }
  .lp-role-card { border-radius: 20px; box-shadow: 0 24px 48px -28px rgba(31, 37, 29, 0.3); }
  .lp-role-card-head { padding: 18px 20px; }
  .lp-role-card-head h3 { font-size: 24px; }
  .lp-role-icon-lg { width: 40px; height: 40px; }
  .lp-role-card-body { padding: 8px 20px 0; }
  .lp-questions li { font-size: 17px; }
  .lp-role-card-action { flex-direction: column-reverse; align-items: stretch; gap: 10px; margin-block: 22px 20px; text-align: center; }
  .lp-role-card-action span { font-size: 13px; }
  .lp-role-card-action .lp-button { min-height: 52px; font-size: 16px; }
  .lp-role-card-foot { padding: 18px 20px 20px; }
  .lp-themes { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lp-features { padding-block: 56px 32px; }
  .lp-feature-grid { gap: 14px; margin-top: 28px; }
  .lp-feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; padding: 20px; border-radius: 18px; }
  .lp-feature-top { grid-row: span 2; align-self: start; }
  .lp-feature-icon { width: 48px; height: 48px; border-radius: 14px; }
  .lp-feature-icon svg { width: 24px; height: 24px; }
  .lp-feature-num { display: none; }
  .lp-feature h3 { margin-top: 2px; font-size: 16px; }
  .lp-feature p { margin: 0; font-size: 14px; }
  .lp-closing { padding-block: 16px 48px; }
  .lp-closing-card { padding: 32px 24px; border-radius: 24px; }
  .lp-closing h2 { font-size: 34px; line-height: 1.05; }
  .lp-closing p { font-size: 15px; }
  .lp-closing-actions { flex-direction: column; width: 100%; gap: 10px; }
  .lp-footer { padding-block: 24px 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-button, .lp-role-tile, .lp-dot, .lp-phone-screen img { transition: none; }
}
/* Keep the complete desktop introduction within ordinary laptop viewports. */
@media (min-width: 901px) {
  .lp-nav { padding-block: 14px; }
  .lp-hero { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 440px); align-items: start; gap: clamp(32px, 4vw, 64px); padding-block: clamp(28px, 6svh, 56px) 32px; }
  .lp-hero-copy { padding-top: 24px; }
  .lp-hero h1 { font-size: clamp(44px, 5.2vw, 68px); }
  .lp-lede { margin-top: 16px; }
  .lp-actions { margin-top: 22px; }
  .lp-hero-roles { margin-top: 24px; }
  .lp-role-tile { min-height: 56px; padding-block: 8px; }
  .lp-showcase { width: 100%; }
  .lp-phone-stage { padding-block: 8px; margin-bottom: 0; }
  .lp-phone { width: clamp(200px, calc((100svh - 250px) * .4787), 290px); }
}

/* A quiet mobile header; supported roles remain in the dedicated section. */
@media (max-width: 680px) {
  .lp-nav { padding-block: 20px; }
  .lp-nav-links { gap: 20px; }
  .lp-nav-links .lp-nav-blog, .lp-nav-links .lp-nav-cta { display: none; }
  .lp-menu-toggle { place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--lp-hair); border-radius: 10px; background: transparent; color: var(--lp-ink); cursor: pointer; }
  .lp-hero { padding-top: 28px; }
  .lp-mobile-menu:popover-open { display: flex; flex-direction: column; gap: 8px; }
  .lp-showcase { margin-top: 24px; padding-bottom: 28px; }
  .lp-phone-stage { padding-block: 8px; margin-bottom: 0; }
  .lp-phone { width: min(224px, 62vw); border-radius: 38px; }
  .lp-phone-screen { border-radius: 31px; }
}

@media (max-width: 380px) {
  .lp-nav { gap: 8px; }
  .lp-nav-links { gap: 16px; }
  .lp-nav-links a { font-size: 13px; }
  .lp-nav-links .lp-nav-cta { padding-inline: 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .lp-dot::before { transition: none; } }

/* Native popover supplies outside-click and Escape dismissal. */
.lp-menu-toggle { display: none; }
.lp-mobile-menu { inset: 76px 20px auto auto; width: min(260px, calc(100vw - 40px)); margin: 0; padding: 16px; border: 1px solid var(--lp-line); border-radius: 16px; background: var(--lp-card); color: var(--lp-ink); box-shadow: 0 18px 40px rgba(31, 37, 29, .15); }
.lp-mobile-menu > a { padding: 12px; color: var(--lp-ink); font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 8px; }
.lp-mobile-menu > .lp-button-primary { color: white; }
@media (max-width: 680px) { .lp-menu-toggle { display: grid; } }

/* Homepage link to the AI interview practice page, and a footer that wraps once it has more links. */
.lp-features-more { margin: 28px 0 0; }
.lp-features-more a { color: var(--lp-green); font-size: 16px; font-weight: 700; text-underline-offset: 4px; }
.lp-footer nav { flex-wrap: wrap; row-gap: 10px; }

/* AI interview practice page (/ai-interview-practice/): opening with an animated answer check, step carousel, FAQ. */
.lp-ai-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); align-items: center; gap: clamp(32px, 6vw, 88px); padding-block: clamp(40px, 6vw, 88px); }
.lp-ai-hero h1 { max-width: 640px; margin: 0; font-size: clamp(44px, 5.4vw, 70px); line-height: 1.02; text-wrap: balance; }
.lp-ai-sub { max-width: 520px; margin: 20px 0 0; color: var(--lp-muted); font-size: 19px; line-height: 1.55; }

.lp-ai-demo { position: relative; padding: clamp(18px, 2.4vw, 28px); border-radius: 36px; background: radial-gradient(120% 90% at 100% 0%, #dfe6cf 0%, var(--lp-tint) 55%, #f3f1e7 100%); }
.lp-ai-demo-card { padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--lp-hair); border-radius: 26px; background: var(--lp-card); box-shadow: 0 40px 80px -48px rgba(31, 37, 29, 0.5); }
.lp-ai-demo-label { margin: 0; color: var(--lp-green); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.lp-ai-demo-q { margin: 10px 0 0; font-family: var(--serif); font-size: clamp(24px, 2.3vw, 30px); line-height: 1.12; letter-spacing: -0.01em; }
.lp-ai-demo-rec { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 14px; border-radius: 14px; background: var(--lp-tile); }
.lp-ai-demo-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--lp-soft); transition: background 0.3s; }
.lp-ai-demo-bars { display: flex; flex: 1; align-items: center; gap: 3px; height: 28px; }
.lp-ai-demo-bars i { flex: 1; height: 100%; border-radius: 2px; background: var(--lp-green); opacity: 0.35; transform: scaleY(0.18); transition: transform 0.4s, opacity 0.4s; }
.lp-ai-demo-time { flex: none; color: var(--lp-muted); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-ai-demo.is-rec .lp-ai-demo-dot { background: #c2410c; animation: lp-ai-pulse 1.2s ease-in-out infinite; }
.lp-ai-demo.is-rec .lp-ai-demo-bars i { opacity: 1; animation: lp-ai-bar 0.9s ease-in-out infinite; }
.lp-ai-demo.is-rec .lp-ai-demo-bars i:nth-child(3n) { animation-duration: 0.7s; animation-delay: -0.2s; }
.lp-ai-demo.is-rec .lp-ai-demo-bars i:nth-child(4n+1) { animation-duration: 1.1s; animation-delay: -0.5s; }
.lp-ai-demo.is-rec .lp-ai-demo-bars i:nth-child(5n+2) { animation-duration: 0.8s; animation-delay: -0.35s; }
.lp-ai-demo.is-done .lp-ai-demo-bars i { opacity: 0.6; transform: scaleY(0.45); }
.lp-ai-demo.is-done .lp-ai-demo-bars i:nth-child(odd) { transform: scaleY(0.7); }
.lp-ai-demo-checks { margin: 18px 0 0; padding: 0; list-style: none; }
.lp-ai-demo-checks li { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-top: 1px solid var(--lp-hair); border-radius: 10px; font-size: 15px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s, background 0.4s, color 0.4s; }
.lp-ai-demo-checks svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--lp-green); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: background 0.4s; }
.lp-ai-demo-checks .is-missing { color: var(--lp-soft); }
.lp-ai-demo-checks .is-missing svg { background: rgba(31, 37, 29, 0.18); }
.lp-ai-demo.is-check .lp-ai-demo-checks li { opacity: 1; transform: none; }
.lp-ai-demo.is-check .lp-ai-demo-checks li:nth-child(2) { transition-delay: 0.35s; }
.lp-ai-demo.is-check .lp-ai-demo-checks li:nth-child(3) { transition-delay: 0.7s; }
.lp-ai-demo.is-check .lp-ai-demo-checks li:nth-child(4) { transition-delay: 1.05s; }
.lp-ai-demo.is-flag .lp-ai-demo-checks .is-missing { background: #fbf0d9; color: #7a5208; transition-delay: 0s; }
.lp-ai-demo.is-flag .lp-ai-demo-checks .is-missing svg { background: var(--lp-gold); }
.lp-ai-demo-note { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: #fbf0d9; color: #6b4a0b; font-size: 14px; line-height: 1.5; opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s; }
.lp-ai-demo.is-flag .lp-ai-demo-note { opacity: 1; transform: none; transition-delay: 0.3s; }
@keyframes lp-ai-bar { 0%, 100% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } }
@keyframes lp-ai-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.lp-ai-band { background: var(--lp-tint); overflow: hidden; }
.lp-ai-section { padding-block: clamp(48px, 6vw, 88px); scroll-margin-top: 16px; }
.lp-ai-section h2 { max-width: 760px; margin: 0; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.04; }
.lp-ai-walk-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.lp-ai-walk-nav { display: flex; gap: 10px; }
.lp-ai-walk-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--lp-line); border-radius: 50%; background: var(--lp-card); color: var(--lp-ink); cursor: pointer; transition: background 0.2s, opacity 0.2s; }
.lp-ai-walk-btn:hover:not(:disabled) { background: #fff; }
.lp-ai-walk-btn:disabled { opacity: 0.35; cursor: default; }
.lp-ai-walk { display: flex; gap: clamp(20px, 2.6vw, 36px); margin: 36px calc((100% - 100vw) / 2) 0 0; padding: 4px calc((100vw - 100%) / 2) 28px 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; list-style: none; counter-reset: lp-walk; outline: none; }
.lp-ai-walk::-webkit-scrollbar { display: none; }
.lp-ai-walk li { flex: 0 0 clamp(240px, 24vw, 290px); scroll-snap-align: start; counter-increment: lp-walk; min-width: 0; }
.lp-ai-walk img { display: block; width: 100%; height: auto; padding: 5px; border: 1px solid rgba(31, 37, 29, 0.14); border-radius: 26px; background: #fdfcf8; box-shadow: 0 24px 48px -30px rgba(31, 37, 29, 0.4); }
.lp-ai-walk h3 { margin: 18px 0 0; font-size: 17px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; }
.lp-ai-walk h3::before { content: counter(lp-walk, decimal-leading-zero); display: block; margin-bottom: 6px; color: var(--lp-gold); font-size: 13px; font-weight: 800; }
.lp-ai-walk p { margin: 6px 0 0; color: var(--lp-muted); font-size: 15px; line-height: 1.55; }
.lp-ai-faq { max-width: 800px; margin-top: 24px; border-top: 1px solid var(--lp-line); }
.lp-ai-faq details { border-bottom: 1px solid var(--lp-line); }
.lp-ai-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.lp-ai-faq summary::-webkit-details-marker { display: none; }
.lp-ai-faq summary::after { content: "+"; flex: none; color: var(--lp-green); font-size: 22px; line-height: 1; }
.lp-ai-faq details[open] summary::after { content: "\2013"; }
.lp-ai-faq p { max-width: 700px; margin: 0 0 20px; color: var(--lp-muted); font-size: 16px; line-height: 1.6; }
.lp-ai .lp-closing { padding-top: clamp(8px, 2vw, 24px); }
@media (max-width: 900px) {
  .lp-ai-hero { grid-template-columns: minmax(0, 1fr); }
  .lp-ai-demo { max-width: 520px; }
}
@media (max-width: 680px) {
  .lp-ai .lp-shell { width: min(100% - 32px, 1200px); }
  .lp-ai-hero { gap: 32px; }
  .lp-ai-hero h1 { font-size: clamp(38px, 11vw, 50px); }
  .lp-ai-sub { font-size: 17px; }
  .lp-ai-hero .lp-actions .lp-button { width: 100%; }
  .lp-ai-demo { padding: 14px; border-radius: 28px; }
  .lp-ai-demo-card { padding: 20px; border-radius: 20px; }
  .lp-ai-demo-checks li { font-size: 14px; }
  .lp-ai-section h2 { font-size: clamp(30px, 8.6vw, 36px); }
  .lp-ai-walk-btn { width: 40px; height: 40px; }
  .lp-ai-walk { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .lp-ai-walk li { flex-basis: 74%; }
  .lp-footer nav { gap: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-ai-walk { scroll-behavior: auto; }
  .lp-ai-demo *, .lp-ai-demo *::before { animation: none !important; transition: none !important; }
}

/* Keep narrow laptops uncluttered; put compact role choices with their questions. */
@media (max-width: 1100px) {
  .lp-hero-roles { display: none; }
  .lp-roles-inner { grid-template-columns: minmax(0, 1fr); }
  .lp-role-card { grid-column: 1; grid-row: 2; }
  .lp-roles-intro { max-width: none; }
  .lp-role-options { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 24px; border-top: 0; }
  .lp-role-option { gap: 8px; min-height: 44px; max-width: 100%; padding: 8px 12px; border: 1px solid rgba(31, 37, 29, 0.12); border-radius: 7px; background: var(--lp-card); color: var(--lp-ink); font-size: 13px; font-weight: 600; line-height: 1.25; }
  .lp-role-option .lp-role-icon { display: grid; width: 16px; height: 16px; border-radius: 0; background: transparent; }
  .lp-role-option .lp-role-icon svg { width: 16px; height: 16px; }
  .lp-role-option-name { flex: initial; min-width: 0; }
  .lp-role-option[aria-selected="true"] { border: 1px solid var(--lp-green); box-shadow: none; font-weight: 600; }
  .lp-role-option[aria-selected="true"] .lp-role-option-arrow { display: none; }
}

/* Mobile role choices stay in two equal columns; long names wrap within a chip. */
@media (max-width: 680px) {
  .lp-role-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-role-option { min-width: 0; }
  .lp-role-option-name { overflow-wrap: anywhere; }
}

/* A reading link at the page bottom, above the existing footer. */
.lp-guide-bar { border-block: 1px solid var(--lp-line); background: var(--lp-tint); }
.lp-guide-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 24px; }
.lp-guide-bar p { margin: 0; font-size: 16px; font-weight: 600; }
.lp-guide-bar a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--lp-green-dark); font-size: 15px; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.lp-guide-bar a:hover { color: var(--lp-ink); }
.lp-guide-bar a:focus-visible { outline: 2px solid var(--lp-green); outline-offset: 5px; border-radius: 2px; }
.lp-guide-bar + .lp-footer { border-top: 0; }
@media (max-width: 640px) {
  .lp-guide-bar-inner { align-items: flex-start; flex-direction: column; gap: 6px; padding-block: 22px; }
  .lp-guide-bar p { max-width: 28ch; }
  .lp-footer nav { flex-wrap: wrap; gap: 12px 20px; }
}
