/* lookalong.app. Built from design_handoff_landing (tokens and sizes are the design's). Light theme only. */
:root {
  --plum: #2B2340; --plum-hover: #3A3056; --coral: #F2553D; --cream: #FFF3E2; --lilac: #A99BD6;
  --text: #1F1B2B; --body: #3A3548; --soft: #5A5468; --on-plum: #E6DFF5;
  --page: #FDFCFA; --panel: #F3EFEA; --stroke: #E6E1DA; --input: #CFC8DA; --error: #B3264F;
}
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif; }
a { color: var(--plum); }
a:hover { color: var(--coral); }
button, input { font-family: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Header */
.site-header { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); }
.logo span { font-size: 22px; font-weight: 600; letter-spacing: -.3px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; }
.site-header nav a { text-decoration: none; }
.site-header nav a.strong { font-weight: 600; }

/* Hero */
.hero { padding-top: 36px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.roll { margin: 0; display: grid; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -1.5px; font-weight: 600; color: var(--plum); overflow: hidden; padding-bottom: .08em; }
.roll span { grid-area: 1 / 1; text-wrap: balance; opacity: 0; transform: translateY(.5em); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
.roll span.cur { opacity: 1; transform: none; }
.roll span.prev { transform: translateY(-.5em); }
.intro { margin: 0; font-size: 19px; line-height: 1.5; color: var(--body); max-width: 520px; text-wrap: pretty; }
.tiles { display: flex; flex-wrap: wrap; gap: 12px; }
.tile { flex: 1 1 200px; max-width: 260px; background: var(--panel); border: 1px solid var(--stroke); border-radius: 10px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; cursor: not-allowed; }
.tile b { font-size: 17px; font-weight: 600; }
.tile span { font-size: 14px; color: var(--soft); }
.also { margin: 0; font-size: 15px; line-height: 1.5; color: var(--soft); max-width: 532px; }
.news { display: flex; flex-direction: column; gap: 10px; max-width: 532px; scroll-margin-top: 24px; }
.news-title { font-size: 16px; font-weight: 600; }
.news form { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.news input { flex: 1 1 220px; min-width: 0; height: 48px; box-sizing: border-box; border: 1px solid var(--input); border-radius: 8px; padding: 0 14px; font-size: 16px; background: #fff; color: var(--text); outline: none; }
.news input:focus { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(169, 155, 214, .5); }
.news button { height: 48px; padding: 0 22px; border: none; border-radius: 8px; background: var(--plum); color: var(--cream); font-size: 16px; font-weight: 600; cursor: pointer; }
.news button:hover { background: var(--plum-hover); }
.news button:focus-visible, .site-header a:focus-visible, .site-footer a:focus-visible, .legal a:focus-visible { outline: 3px solid var(--lilac); outline-offset: 2px; }
.news .error { font-size: 14px; color: var(--error); }
.news .help { font-size: 13px; color: var(--soft); }
.news .thanks { display: flex; align-items: center; gap: 14px; background: var(--panel); border-radius: 10px; padding: 12px 16px; font-size: 16px; line-height: 1.4; }
.news .thanks svg { width: 72px; height: 60px; flex: none; }

.hero-art { flex: 1 1 420px; min-width: 0; background: var(--panel); border-radius: 20px; padding: 28px 20px 44px; box-sizing: border-box; display: grid; align-items: end; }
.scene { grid-area: 1 / 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 16px; opacity: 0; transition: opacity .9s ease; }
.scene.cur { opacity: 1; }
.scene-caption { flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.pill { background: var(--plum); color: var(--cream); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.scene-caption q { font-size: 16px; color: var(--body); quotes: "\201C" "\201D"; }
.scene > svg.oo { width: 170px; height: 142px; flex: none; }
.browser { flex: 1 1 280px; min-width: 0; max-width: 420px; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(43, 35, 64, .16); overflow: hidden; text-align: left; }
.browser-bar { background: #E4E1EA; padding: 8px 12px; display: flex; align-items: center; gap: 8px; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C9C3D4; }
.browser-bar span { flex: 1; min-width: 0; background: #fff; border-radius: 999px; padding: 3px 12px; font-size: 12px; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
svg.oo { display: block; overflow: visible; }

/* How it works */
.how { background: var(--panel); }
.how > div { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
h2 { margin: 0; font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -.8px; font-weight: 600; color: var(--plum); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--page); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card svg.oo { width: 120px; height: 100px; }
.card h3 { margin: 0; font-size: 22px; font-weight: 600; }
.card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); }
.closing { margin: 0; font-size: 18px; line-height: 1.5; color: var(--body); max-width: 680px; text-wrap: pretty; }
.closing strong { color: var(--text); }

/* You stay in control */
.control { background: var(--plum); color: var(--cream); }
.control > div { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.control h2 { color: var(--cream); max-width: 720px; text-wrap: balance; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.points div { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--coral); padding-top: 14px; }
.points h3 { margin: 0; font-size: 19px; font-weight: 600; }
.points p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--on-plum); }

/* Questions */
.faq { max-width: 820px; margin: 0 auto; padding: 64px 24px; display: flex; flex-direction: column; gap: 8px; }
.faq h2 { margin-bottom: 12px; }
.faq div { border-top: 1px solid var(--stroke); padding: 18px 0; display: flex; flex-direction: column; gap: 6px; }
.faq div:last-child { border-bottom: 1px solid var(--stroke); }
.faq h3 { margin: 0; font-size: 18px; font-weight: 600; }
.faq p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); }

/* Footer */
.site-footer { background: var(--panel); }
.site-footer > div { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; font-size: 14px; line-height: 1.6; color: var(--body); }
.site-footer .brand { display: flex; flex-direction: column; gap: 8px; }
.site-footer .brand .logo span { font-size: 18px; }
.site-footer address { font-style: normal; }
.site-footer address strong { color: var(--text); }
.site-footer .links { display: flex; flex-direction: column; gap: 2px; }
.site-footer .small { max-width: 340px; color: var(--soft); }

/* Privacy policy and terms */
.legal { max-width: 780px; margin: 0 auto; padding: 28px 24px 80px; font-size: 16px; line-height: 1.6; color: var(--body); }
.legal h1 { margin: 0 0 6px; font-size: clamp(32px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -1px; font-weight: 600; color: var(--plum); }
.legal .updated { color: var(--soft); font-size: 15px; margin: 0 0 28px; }
.legal h2 { font-size: 24px; letter-spacing: -.3px; margin: 40px 0 10px; scroll-margin-top: 16px; }
.legal h3 { font-size: 18px; font-weight: 600; color: var(--text); margin: 24px 0 6px; }
.legal p, .legal ul, .legal ol { margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--text); }
.legal .summary { background: var(--panel); border-radius: 16px; padding: 18px 24px; margin: 0 0 8px; }
.legal .summary ul { padding-left: 20px; }
.legal .toc { columns: 2 260px; column-gap: 32px; padding-left: 20px; font-size: 15px; }
.legal .scroll { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; margin: 14px 0; }
.legal th { text-align: left; font-weight: 600; color: var(--text); padding: 8px 14px 8px 0; border-bottom: 2px solid var(--stroke); vertical-align: bottom; }
.legal td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--stroke); vertical-align: top; }
.legal th:last-child, .legal td:last-child { padding-right: 0; }
.legal address { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .roll span, .scene { transition: none; }
}
