:root {
  color-scheme: light;
  --ink: #111047;
  --muted: #6d6e9d;
  --accent: #6543f6;
  --accent-2: #9469ff;
  --page: #f7f6ff;
  --surface: #fff;
  --border: #e5e2fb;
  --panel: #17172f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--page); color: var(--ink); font: 16px/1.55 Inter, "Segoe UI", Arial, sans-serif; }
button, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
section[id] { scroll-margin-top: 24px; }
:where(a, button, select, summary):focus-visible { outline: 3px solid #a18cff; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 15px; border-radius: 8px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.page-width { width: min(1450px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 90px; }

/* The header sits directly on the illustrated first screen. */
.hero-shell { overflow: clip; }
.site-header { position: absolute; z-index: 30; inset: 0 0 auto; }
.header-inner { display: flex; align-items: center; min-height: 92px; gap: 38px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 9px; white-space: nowrap; font-size: 29px; font-weight: 850; letter-spacing: -.075em; line-height: 1; }
.brand img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 5px 10px #6852cc30); }
.brand-accent { color: var(--accent); }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 2.9vw, 45px); margin: 0 auto; font-size: 14px; font-weight: 630; }
.desktop-nav a { position: relative; padding: 16px 0; transition: color .2s; }
.desktop-nav a:hover { color: var(--accent); }
.desktop-nav .nav-current::after { content: ""; position: absolute; bottom: 8px; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.theme-control { display: flex; gap: 2px; padding: 4px; border: 1px solid #dcd7fa; border-radius: 24px; background: #ffffffd9; box-shadow: 0 4px 15px #28186a0b; }
.theme-control button { display: inline-flex; align-items: center; gap: 6px; min-height: 33px; padding: 5px 10px; border: 0; border-radius: 19px; background: transparent; color: #565083; font-size: 12px; font-weight: 750; transition: background .25s, color .25s, transform .25s; }
.theme-control button:hover { transform: translateY(-1px); }
.theme-control button[aria-pressed="true"] { background: #302a58; color: #fff; box-shadow: 0 3px 9px #211a4933; }
.theme-control button[aria-pressed="true"] img { filter: brightness(0) invert(1); }
.language-menu { position: relative; }
.language-menu summary { display: flex; align-items: center; gap: 9px; min-height: 43px; padding: 0 13px; border: 1px solid #dcd7fa; border-radius: 24px; background: #ffffffd9; box-shadow: 0 4px 15px #28186a0b; cursor: pointer; font-size: 12px; font-weight: 750; list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary .current-language-flag, .language-options img, .mobile-language-options img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.language-menu summary .language-chevron { width: 16px; height: 16px; margin-left: 4px; transition: transform .2s; }
.language-menu[open] summary .language-chevron { transform: rotate(180deg); }
.language-options { position: absolute; z-index: 35; top: 51px; right: 0; display: grid; min-width: 178px; padding: 6px; border: 1px solid #dcd7fa; border-radius: 16px; background: #fff; box-shadow: 0 16px 34px #20114830; }
.language-options button, .mobile-language-options button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent; color: #25215c; font-size: 13px; font-weight: 650; text-align: left; }
.language-options button:hover, .language-options button[aria-current="true"], .mobile-language-options button:hover, .mobile-language-options button[aria-current="true"] { background: #f1edff; color: #583bd2; }
.mobile-menu { display: none; }

/* First screen */
.hero { position: relative; isolation: isolate; min-height: 612px; background: #faf9ff url('/landing-assets/hero/hero-desktop.webp') center center / cover no-repeat; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #f8f7fff2 0%, #f8f7ffb8 31%, transparent 66%); pointer-events: none; }
.hero-inner { position: relative; min-height: inherit; padding: 120px 0 156px; }
.hero-copy { position: relative; z-index: 2; max-width: 800px; animation: arrive .7s both; }
.hero h1 { font-size: clamp(53px, 4.9vw, 76px); font-weight: 830; line-height: 1.05; letter-spacing: -.07em; }
.hero h1 em { display: inline-block; color: var(--accent); font-size: .92em; font-style: italic; font-weight: 820; white-space: nowrap; background: linear-gradient(105deg, #5734df, #6b40e7, #4c2dc9, #6b40e7); background-size: 220% 100%; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient-drift 9s ease-in-out infinite alternate; }
.hero-lead { max-width: 600px; margin-top: 24px; color: #5f6092; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.4; }
.hero-actions { display: flex; align-items: center; gap: 21px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 60px; padding: 12px 27px; border: 0; border-radius: 19px; font-size: 17px; font-weight: 780; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { border: 1px solid #9d80ff; background: linear-gradient(125deg, #8e68ff, #5834ef 78%); color: #fff; box-shadow: 0 12px 28px #6844ea4d, inset 0 1px #ffffff60; }
.button-primary:hover { box-shadow: 0 17px 34px #6844ea60, inset 0 1px #ffffff60; }
.button-primary img { filter: brightness(0) invert(1); }
.watch-link { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; }
.watch-link > span { display: grid; place-items: center; width: 51px; height: 51px; border: 1px solid #c5baff; border-radius: 50%; background: #ffffff7a; transition: background .2s, transform .2s; }
.watch-link:hover > span { background: #fff; transform: scale(1.06); }
.watch-link strong { display: grid; font-size: 15px; line-height: 1.25; }
.watch-link small { color: #8580b8; font-size: 12px; font-weight: 500; }
.speech-bubble { position: absolute; z-index: 1; padding: 13px 19px; border: 1px solid #e5defe; border-radius: 21px; background: #ffffffbf; box-shadow: 0 10px 25px #6850b52c; color: #353082; font-size: 13px; font-weight: 650; line-height: 1.35; animation: bob 5s ease-in-out infinite; }
.speech-first { top: 35%; left: 57%; }
.speech-second { top: 38%; right: 11%; animation-delay: -2.1s; }
.hero-whisper { position: absolute; top: 25%; right: 2%; color: #39318a; font-family: cursive; font-size: 19px; font-style: italic; line-height: 1.25; text-align: center; transform: rotate(-8deg); }

/* Quick search carries selected filters into the actual chat. */
.search-area { position: relative; z-index: 3; margin-top: -78px; padding-bottom: 24px; }
.search-panel { position: relative; overflow: hidden; padding: 31px 32px 28px; border: 1px solid #454488; border-radius: 34px; background: radial-gradient(ellipse at 88% 95%, #41307880, transparent 33%), linear-gradient(145deg, #20213d, #15162d 75%); color: #f8f6ff; box-shadow: 0 25px 58px #11124840, 0 0 0 12px #1a1b3733; }
.search-panel::after { content: ""; position: absolute; right: -60px; bottom: -145px; width: 430px; height: 260px; border: 1px solid #a98aff80; border-radius: 50%; transform: rotate(-27deg); pointer-events: none; }
.search-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; padding: 0 8px 22px; }
.panel-kicker { color: #a99bff; font-size: 10px; font-weight: 790; letter-spacing: .18em; text-transform: uppercase; }
.search-heading h2 { margin-top: 3px; font-size: clamp(29px, 2.5vw, 38px); }
.search-heading h2 span { color: #ab8bff; }
.search-heading > p { max-width: 285px; color: #b6b3d7; font-size: 12px; }
.search-form { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 1.15fr 1.2fr .94fr; gap: 0; padding: 21px 8px 0; border-top: 1px solid #5955826b; }
.search-step { min-width: 0; padding: 0 20px; border-right: 1px solid #55537281; }
.search-step:first-child { padding-left: 0; }
.step-country { padding-right: 18px; }
.step-heading { display: flex; align-items: center; gap: 13px; min-height: 60px; margin-bottom: 17px; }
.step-number { display: grid; place-items: center; flex: none; width: 51px; height: 51px; border-radius: 50%; background: linear-gradient(145deg, #33345f, #24243f); color: #ad94ff; font-size: 25px; font-weight: 750; letter-spacing: -.04em; }
.step-heading h3 { font-size: 18px; letter-spacing: -.025em; }
.step-heading p { margin-top: 4px; color: #aaa7ce; font-size: 12px; line-height: 1.3; }
.select-wrap { position: relative; display: flex; align-items: center; height: 53px; margin-top: 10px; padding: 0 13px; border: 1px solid #3c3c69; border-radius: 12px; background: #22233e; transition: border-color .2s, background .2s; }
.select-wrap:focus-within, .select-wrap:hover { border-color: #9b82ff; background: #292949; }
.select-wrap > img:first-child { flex: none; }
.select-wrap select { min-width: 0; width: 100%; height: 100%; padding: 0 5px 0 13px; border: 0; outline: none; appearance: none; background: transparent; color: #f8f6ff; font-size: 13px; cursor: pointer; }
.select-wrap select:invalid { color: #aaa7cf; }
.select-wrap select option { background: #24243c; color: white; }
.select-wrap .chevron { flex: none; pointer-events: none; }
.age-choices { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: 11px 0 0; border: 0; }
.age-choices legend { float: left; width: 100%; margin-bottom: 6px; color: #bab7d8; font-size: 11px; }
.age-choices legend small { color: #8d8cbb; font-size: 10px; }
.choice, .country-choice { min-height: 35px; padding: 5px 9px; border: 1px solid #414170; border-radius: 10px; background: #22233e; color: #dad8f3; font-size: 11px; font-weight: 600; white-space: nowrap; transition: background .18s, border-color .18s, transform .18s; }
.choice:hover, .country-choice:hover { border-color: #a78dff; transform: translateY(-1px); }
.choice.is-selected, .country-choice.is-selected { border-color: #ad92ff; background: linear-gradient(120deg, #5136be, #6748ea); color: #fff; box-shadow: 0 0 15px #7c5dff6b; }
.country-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.country-choice { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; }
.country-choice img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.country-choice .globe-icon { width: 16px; height: 16px; object-fit: contain; }
.country-choice.is-selected .globe-icon { filter: brightness(0) invert(1); }
.country-picker { height: 43px; margin-top: 9px; }
.country-picker select { font-size: 11px; }
.privacy-choice { display: flex; align-items: center; gap: 9px; margin-top: 14px; color: #d8d5f1; font-size: 11px; cursor: pointer; }
.privacy-choice input { position: absolute; opacity: 0; }
.privacy-choice input:focus-visible ~ i { outline: 3px solid #a18cff; outline-offset: 3px; }
.privacy-choice > span { flex: 1; }
.privacy-choice i { position: relative; flex: none; width: 35px; height: 20px; border-radius: 20px; background: #66637a; transition: background .2s; }
.privacy-choice i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.privacy-choice input:checked ~ i { background: #7954f5; }
.privacy-choice input:checked ~ i::after { transform: translateX(15px); }
.search-submit { display: grid; align-content: center; gap: 24px; padding-left: 22px; }
.search-submit .button { min-height: 72px; padding-inline: 16px; font-size: 15px; box-shadow: 0 0 22px #7453ff89, 0 10px 25px #4935c260; }
.search-submit p { display: flex; align-items: center; justify-content: center; gap: 11px; color: #c5c1e2; font-size: 12px; line-height: 1.3; }
.search-submit p img { filter: brightness(0) invert(.95); }

/* The rest of the page stays light and airy around the dark search panel. */
.section-kicker { display: block; margin-bottom: 10px; color: #7252ec; font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.section-title { max-width: 780px; font-size: clamp(35px, 3.6vw, 54px); }
.benefits { padding-top: 62px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-top: 32px; }
.benefit-card { min-height: 195px; padding: 25px; border: 1px solid var(--border); border-radius: 22px; background: #ffffffb3; box-shadow: 0 15px 32px #2922780b; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.benefit-card:hover { transform: translateY(-6px); border-color: #cbbdff; box-shadow: 0 22px 40px #29227818; }
.benefit-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border: 1px solid #d9d0ff; border-radius: 50%; background: #f3f0ff; }
.benefit-card h3 { margin-bottom: 8px; font-size: 17px; letter-spacing: -.03em; }
.benefit-card p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.how-section { background: linear-gradient(140deg, #f0edff, #faf9ff 70%); }
.how-layout { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(50px, 9vw, 160px); }
.how-intro > p { max-width: 510px; margin-top: 21px; color: var(--muted); font-size: 16px; }
.how-intro em { color: var(--accent); font-style: normal; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 25px; padding-bottom: 6px; border-bottom: 2px solid #8063ee; color: #583bd2; font-weight: 760; }
.how-list { padding: 0; margin: 0; list-style: none; }
.how-list li { display: grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid #d8d3f0; }
.how-list li:last-child { border-bottom: 1px solid #d8d3f0; }
.how-list li > span { color: #9b83f0; font-size: 26px; font-weight: 760; letter-spacing: -.06em; }
.how-list h3 { margin: 4px 0 7px; font-size: 20px; }
.how-list p { max-width: 520px; color: var(--muted); font-size: 14px; }
.faq-layout { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(45px, 8vw, 130px); }
.faq-list { border-top: 1px solid #d9d6ef; }
.faq-list details { border-bottom: 1px solid #d9d6ef; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 67px; padding: 14px 3px; cursor: pointer; list-style: none; font-weight: 690; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: #805dec; font-size: 25px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 590px; padding: 0 30px 22px 3px; color: var(--muted); font-size: 14px; }
.closing-section { padding-block: 70px; background: linear-gradient(110deg, #e8e1ff, #f8f7ff 65%, #e6e2ff); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.closing-inner h2 { font-size: clamp(34px, 3.4vw, 52px); }
.closing-inner p { margin-top: 10px; color: var(--muted); }

[data-reveal] { transition: opacity .6s, transform .6s; }
.motion-ready [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(24px); }
@keyframes arrive { from { opacity: 0; transform: translateY(16px); } }
@keyframes bob { 50% { transform: translateY(-9px); } }
@keyframes gradient-drift { to { background-position: 100% 0; } }

/* Optional night theme applies only to the public landing page. */
html[data-landing-theme="night"] { color-scheme: dark; --ink: #f4f1ff; --muted: #b5b1d4; --page: #151429; --surface: #22213d; --border: #393654; }
html[data-landing-theme="night"] .hero { background-image: linear-gradient(90deg, #14132df2, #201b4ab0 46%, #201b4a57 75%), url('/landing-assets/hero/hero-desktop.webp'); }
html[data-landing-theme="night"] .hero::before { background: linear-gradient(0deg, #17162c, transparent 30%); }
html[data-landing-theme="night"] .hero h1 em { background: none; color: #b99aff; -webkit-text-fill-color: currentColor; animation: none; }
html[data-landing-theme="night"] .hero-lead { color: #e4e0f5; }
html[data-landing-theme="night"] .how-intro > p { color: #c9c6e1; }
html[data-landing-theme="night"] .theme-control, html[data-landing-theme="night"] .language-menu summary { border-color: #5c528d; background: #292645d9; color: #eae4ff; }
html[data-landing-theme="night"] .theme-control button { color: #c9c4e7; }
html[data-landing-theme="night"] .theme-control button[aria-pressed="true"] { background: #7353ed; color: #fff; }
html[data-landing-theme="night"] .language-options { border-color: #5c528d; background: #25223f; }
html[data-landing-theme="night"] .language-options button { color: #eae4ff; }
html[data-landing-theme="night"] .language-options button:hover, html[data-landing-theme="night"] .language-options button[aria-current="true"] { background: #393158; color: #fff; }
html[data-landing-theme="night"] .speech-bubble { border-color: #65548b; background: #252246d9; color: #eee8ff; }
html[data-landing-theme="night"] .hero-whisper { color: #d4c8ff; }
html[data-landing-theme="night"] .watch-link small { color: #aaa6d1; }
html[data-landing-theme="night"] .watch-link > span { background: #282445; }
html[data-landing-theme="night"] .benefit-card { background: #22213d; }
html[data-landing-theme="night"] .benefit-icon { border-color: #524785; background: #302b50; }
html[data-landing-theme="night"] .how-section, html[data-landing-theme="night"] .closing-section { background: #1d1b35; }
html[data-landing-theme="night"] .how-list li, html[data-landing-theme="night"] .faq-list, html[data-landing-theme="night"] .faq-list details { border-color: #45405e; }

@media (max-width: 1280px) {
  .page-width { width: min(100% - 48px, 1170px); }
  .hero h1 { font-size: clamp(52px, 5.4vw, 72px); }
  .hero-copy { max-width: 690px; }
  .hero-whisper { display: none; }
  .search-form { grid-template-columns: 1fr 1.1fr 1.1fr; row-gap: 25px; }
  .step-country { border-right: 0; }
  .search-submit { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; padding: 0; border-top: 1px solid #5955826b; padding-top: 20px; }
  .search-submit .button { justify-self: start; min-height: 60px; }
  .search-submit p { justify-content: end; }
}
@media (max-width: 900px) {
  .desktop-nav, .language-menu { display: none; }
  .header-tools { margin-left: auto; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { display: grid; place-content: center; gap: 5px; width: 42px; height: 42px; border: 1px solid #dcd7fa; border-radius: 14px; background: #ffffffcc; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 19px; height: 2px; border-radius: 3px; background: #30276c; }
  .mobile-menu-panel { position: absolute; z-index: 35; top: 52px; right: 0; width: min(290px, calc(100vw - 36px)); padding: 8px; border: 1px solid #dcd7fa; border-radius: 17px; background: #fff; box-shadow: 0 15px 40px #21134d30; }
  .mobile-menu nav { display: grid; }
  .mobile-menu nav a { padding: 10px 12px; border-radius: 9px; color: #211d67; font-size: 14px; }
  .mobile-menu nav a:hover { background: #f1edff; }
  .mobile-language-options { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 7px; padding-top: 8px; border-top: 1px solid #e5e2fb; }
  .mobile-language-options button { min-width: 0; gap: 6px; padding-inline: 7px; font-size: 11px; }
  html[data-landing-theme="night"] .mobile-menu-panel { border-color: #5c528d; background: #25223f; }
  html[data-landing-theme="night"] .mobile-menu summary { border-color: #5c528d; background: #292645d9; }
  html[data-landing-theme="night"] .mobile-menu summary span { background: #eae4ff; }
  html[data-landing-theme="night"] .mobile-menu nav a, html[data-landing-theme="night"] .mobile-language-options button { color: #eae4ff; }
  html[data-landing-theme="night"] .mobile-menu nav a:hover, html[data-landing-theme="night"] .mobile-language-options button:hover, html[data-landing-theme="night"] .mobile-language-options button[aria-current="true"] { background: #393158; }
  html[data-landing-theme="night"] .mobile-language-options { border-color: #51476d; }
  .hero { min-height: 600px; background-position: 57% center; }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: clamp(49px, 7vw, 68px); }
  .hero-lead { max-width: 530px; }
  .speech-bubble, .hero-whisper { display: none; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .step-looking { border-right: 0; }
  .step-country { grid-column: 1 / -1; padding: 20px 0 0; border-top: 1px solid #5955826b; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-layout, .faq-layout { gap: 50px; }
}
@media (max-width: 760px) {
  .page-width { width: calc(100% - 32px); }
  .header-inner { min-height: 76px; gap: 10px; }
  .brand { font-size: 24px; }
  .brand img { width: 46px; height: 46px; }
  .theme-control button { min-height: 32px; padding: 5px 8px; font-size: 11px; }
  .theme-control button img { width: 15px; height: 15px; }
  .hero { min-height: 795px; background-image: url('/landing-assets/hero/hero-mobile.webp'); background-position: center bottom; background-size: cover; }
  html[data-landing-theme="night"] .hero { background-image: linear-gradient(#14132d8c, #201b4a38), url('/landing-assets/hero/hero-mobile.webp'); }
  .hero::before { background: linear-gradient(#faf9ff1c, transparent 40%); }
  .hero-inner { padding-top: 118px; }
  .hero-copy { max-width: 590px; }
  .hero h1 { font-size: clamp(41px, 8vw, 61px); }
  .hero h1 em { white-space: normal; }
  .hero-lead { max-width: 510px; margin-top: 19px; font-size: 17px; }
  .hero-actions { margin-top: 25px; }
  .search-area { margin-top: -21px; }
  .search-panel { padding: 24px 20px; border-radius: 27px; box-shadow: 0 16px 40px #17184740; }
  .search-heading { display: block; padding: 0 2px 20px; }
  .search-heading h2 { font-size: clamp(29px, 5vw, 35px); }
  .search-heading > p { margin-top: 8px; }
  .search-form { grid-template-columns: 1fr; padding: 8px 0 0; row-gap: 0; }
  .search-step, .search-step:first-child { grid-column: 1; padding: 15px 0 22px; border-right: 0; border-bottom: 1px solid #5955826b; }
  .step-country { border-top: 0; }
  .step-heading { margin-bottom: 10px; }
  .select-wrap { height: 52px; }
  .search-submit { display: grid; grid-template-columns: 1fr; gap: 14px; grid-column: 1; padding-top: 21px; border-top: 0; }
  .search-submit .button { width: 100%; }
  .search-submit p { justify-content: center; }
  .benefits { padding-top: 66px; }
  .section { padding-bottom: 70px; }
  .how-layout, .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .closing-inner { display: grid; gap: 25px; }
  .closing-inner .button { width: max-content; }
}
@media (max-width: 520px) {
  .hero { min-height: 840px; background-color: #faf9ff; background-size: 100% auto; }
  .hero::before { background: linear-gradient(#faf9ff 0%, #faf9ff 30%, #faf9ffbe 51%, transparent 76%); }
  html[data-landing-theme="night"] .hero { background-color: #14132d; }
  html[data-landing-theme="night"] .hero::before { background: linear-gradient(#14132d 0%, #14132d 37%, #14132de8 56%, #14132d56 77%, transparent 94%); }
  .hero-inner { padding-top: 111px; }
  .hero h1 { font-size: clamp(39px, 10.5vw, 53px); }
  .theme-control button { gap: 3px; padding-inline: 6px; font-size: 11px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .hero-actions .button { width: 100%; min-height: 57px; }
  .watch-link { align-self: flex-start; }
  .search-panel { padding: 23px 17px; }
  .search-heading h2 { font-size: 29px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; }
  .section-title { font-size: 36px; }
  .closing-inner .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-ready [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}

/* Shared visual language. The layout and responsive composition above stay intact. */
:root,
html[data-landing-theme="night"] {
  color-scheme: dark;
  --ink: #f5f4f8;
  --copy: #d0ced8;
  --muted: #aaa8b8;
  --accent: #a895ef;
  --page: #14141b;
  --surface: #1d1d26;
  --field: #23232f;
  --border: #34343f;
  --accent-bg: #292638;
  --action: #7765b8;
}
html[data-landing-theme="day"] {
  color-scheme: light;
  --ink: #1c1b32;
  --copy: #3e3d58;
  --muted: #68677e;
  --accent: #654ac7;
  --page: #f7f6fc;
  --surface: #fff;
  --field: #f8f7fc;
  --border: #e1dfed;
  --accent-bg: #efecfa;
  --action: #6750b5;
}
body { background: var(--page) url('/conversation-pattern.svg') center top / 720px 480px repeat; color: var(--ink); }
html[data-landing-theme="day"] body { background-image: none; }
:where(a, button, select):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { background: var(--surface); color: var(--ink); }

/* Header retains its place over the hero but matches the document navigation. */
.site-header { border-bottom: 1px solid var(--border); background: var(--page); }
.brand { color: var(--ink); }
.brand img { filter: none; }
html[data-landing-theme="day"] .brand img { filter: drop-shadow(0 1px 1px #48388a7a); }
.desktop-nav { color: var(--muted); }
.desktop-nav a:hover { color: var(--ink); }
.desktop-nav .nav-current::after { background: var(--accent); }
.theme-control, .language-menu summary, .mobile-menu summary { border-color: var(--border); border-radius: 10px; background: var(--surface); color: var(--ink); box-shadow: none; }
.theme-control button { border-radius: 7px; color: var(--muted); }
.theme-control button:hover { transform: none; color: var(--ink); }
.theme-control button[aria-pressed="true"] { background: var(--accent-bg); color: var(--ink); box-shadow: none; }
.theme-control button[aria-pressed="true"] img { filter: none; }
.language-options, .mobile-menu-panel { border-color: var(--border); border-radius: 12px; background: var(--surface); box-shadow: 0 14px 30px #0004; }
.language-options button, .mobile-language-options button, .mobile-menu nav a { color: var(--copy); }
.language-options button:hover, .language-options button[aria-current="true"], .mobile-language-options button:hover, .mobile-language-options button[aria-current="true"], .mobile-menu nav a:hover { background: var(--accent-bg); color: var(--ink); }
.mobile-menu summary span { background: var(--ink); }
.mobile-language-options { border-color: var(--border); }
html[data-landing-theme="night"] .theme-control,
html[data-landing-theme="night"] .language-menu summary,
html[data-landing-theme="night"] .mobile-menu summary,
html[data-landing-theme="night"] .language-options,
html[data-landing-theme="night"] .mobile-menu-panel { border-color: var(--border); background: var(--surface); color: var(--ink); }
html[data-landing-theme="night"] .theme-control button,
html[data-landing-theme="night"] .language-options button,
html[data-landing-theme="night"] .mobile-menu nav a,
html[data-landing-theme="night"] .mobile-language-options button { color: var(--copy); }
html[data-landing-theme="night"] .theme-control button[aria-pressed="true"],
html[data-landing-theme="night"] .language-options button:hover,
html[data-landing-theme="night"] .language-options button[aria-current="true"],
html[data-landing-theme="night"] .mobile-menu nav a:hover,
html[data-landing-theme="night"] .mobile-language-options button:hover,
html[data-landing-theme="night"] .mobile-language-options button[aria-current="true"] { background: var(--accent-bg); color: var(--ink); }
html[data-landing-theme="night"] .mobile-menu summary span { background: var(--ink); }
html[data-landing-theme="night"] .mobile-language-options { border-color: var(--border); }
html[data-landing-theme="night"] .theme-control img,
html[data-landing-theme="night"] .language-chevron { filter: brightness(0) invert(.82); }

/* Preserve the illustrated hero and overlapping search form with quieter color. */
html[data-landing-theme="night"] .hero {
  background-color: var(--page);
  background-image: linear-gradient(90deg, #14141bf2 0%, #14141bd9 34%, #14141b9c 70%, #14141b6e 100%), url('/landing-assets/hero/hero-desktop.webp');
}
html[data-landing-theme="day"] .hero {
  background-color: var(--page);
  background-image: linear-gradient(90deg, #f7f6fcf5 0%, #f7f6fcd4 36%, #f7f6fc7d 72%, #f7f6fc4d 100%), url('/landing-assets/hero/hero-desktop.webp');
}
html[data-landing-theme] .hero::before { background: linear-gradient(0deg, var(--page), transparent 26%); }
.hero h1 { font-weight: 770; letter-spacing: -.06em; }
html[data-landing-theme] .hero h1 em { background: none; color: var(--accent); font-style: normal; font-weight: 770; -webkit-text-fill-color: currentColor; animation: none; }
html[data-landing-theme] .hero-lead { color: var(--copy); }
.button { border-radius: 10px; box-shadow: none; }
.button-primary { border: 1px solid var(--action); background: var(--action); color: #fff; box-shadow: none; }
.button-primary:hover { border-color: var(--accent); background: var(--accent); box-shadow: none; }
.watch-link { color: var(--copy); }
.watch-link strong { color: var(--ink); }
.watch-link > span, html[data-landing-theme="night"] .watch-link > span { border-color: var(--border); border-radius: 10px; background: var(--surface); }
.watch-link:hover > span { border-color: var(--accent); background: var(--surface); transform: none; }
.watch-link small, html[data-landing-theme="night"] .watch-link small { color: var(--muted); }
.speech-bubble, html[data-landing-theme="night"] .speech-bubble { border-color: var(--border); border-radius: 12px; background: var(--surface); color: var(--copy); box-shadow: none; animation: none; }
.hero-whisper { display: none; }

.search-panel { border-color: var(--border); border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: none; }
.search-panel::after { display: none; }
.panel-kicker, .section-kicker { color: var(--accent); }
.search-heading h2 span { color: var(--accent); }
.search-heading > p, .step-heading p { color: var(--muted); }
.search-form, .search-submit { border-color: var(--border); }
.search-step { border-color: var(--border); }
.step-number { border-radius: 10px; background: var(--accent-bg); color: var(--accent); }
.select-wrap { border-color: var(--border); border-radius: 9px; background: var(--field); }
.select-wrap:hover, .select-wrap:focus-within { border-color: var(--accent); background: var(--field); }
.select-wrap select { color: var(--ink); }
.select-wrap select:invalid { color: var(--muted); }
.select-wrap select option { background: var(--surface); color: var(--ink); }
.age-choices legend, .privacy-choice { color: var(--copy); }
.age-choices legend small { color: var(--muted); }
.choice, .country-choice { border-color: var(--border); border-radius: 8px; background: var(--field); color: var(--copy); }
.choice:hover, .country-choice:hover { border-color: var(--accent); transform: none; }
.choice.is-selected, .country-choice.is-selected { border-color: var(--accent); background: var(--accent-bg); color: var(--ink); box-shadow: none; }
.privacy-choice i { background: var(--border); }
.privacy-choice input:checked ~ i { background: var(--action); }
.search-submit .button { box-shadow: none; }
.search-submit p { color: var(--muted); }

/* Equal search columns with one clear action below them. */
.search-heading { flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.search-heading > p { max-width: none; }
.search-form { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 20px; }
.search-step, .search-step:first-child, .step-country {
  min-height: 344px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--field);
}
.step-heading { align-items: flex-start; min-height: 54px; margin-bottom: 14px; }
.step-number { width: 44px; height: 44px; font-size: 21px; }
.step-heading h3 { padding-top: 3px; }
.select-wrap { background: var(--surface); }
.select-wrap:hover, .select-wrap:focus-within { background: var(--surface); }
.country-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.country-choice { justify-content: center; min-width: 0; padding-inline: 5px; font-size: 11px; }
.country-choice[data-country="any"] { grid-column: 1 / -1; }
.search-step .country-picker { margin-top: 10px; }
.search-submit {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding: 10px 0 0;
  border-top: 0;
}
.search-submit .button { width: min(100%, 360px); min-height: 58px; font-size: 15px; }
.search-submit p { justify-content: center; text-align: center; }

/* Same flat surfaces and readable copy as the legal pages. */
.benefit-card, html[data-landing-theme="night"] .benefit-card { border-color: var(--border); border-radius: 14px; background: var(--surface); box-shadow: none; }
.benefit-card:hover { border-color: var(--accent); box-shadow: none; transform: translateY(-3px); }
.benefit-icon, html[data-landing-theme="night"] .benefit-icon { border-color: var(--border); border-radius: 10px; background: var(--accent-bg); }
.benefit-card p, .how-intro > p, html[data-landing-theme="night"] .how-intro > p, .how-list p, .faq-list p, .closing-inner p { color: var(--copy); }
.how-intro em { color: var(--accent); }
.how-section, .closing-section, html[data-landing-theme="night"] .how-section, html[data-landing-theme="night"] .closing-section { border-block: 1px solid var(--border); background: var(--surface); }
.text-link { border-color: var(--accent); color: var(--accent); }
.how-list li, .faq-list, .faq-list details, html[data-landing-theme="night"] .how-list li, html[data-landing-theme="night"] .faq-list, html[data-landing-theme="night"] .faq-list details { border-color: var(--border); }
.how-list li > span, .faq-list summary::after { color: var(--accent); }

@media (max-width: 760px) {
  html[data-landing-theme="night"] .hero {
    background-image: linear-gradient(#14141bf7 0%, #14141bf0 36%, #14141ba8 58%, #14141b55 86%), url('/landing-assets/hero/hero-mobile.webp');
  }
  html[data-landing-theme="day"] .hero {
    background-image: linear-gradient(#f7f6fcf5 0%, #f7f6fce8 38%, #f7f6fc9c 62%, #f7f6fc66 90%), url('/landing-assets/hero/hero-mobile.webp');
  }
  html[data-landing-theme] .hero::before { background: linear-gradient(0deg, var(--page), transparent 14%); }
  .watch-link { padding: 5px 11px 5px 5px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
  .search-step { border-color: var(--border); }
}
@media (max-width: 900px) {
  .search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-country { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 760px) {
  .search-form { grid-template-columns: 1fr; }
  .search-step, .search-step:first-child, .step-country {
    grid-column: 1;
    min-height: 0;
    margin: 0;
    padding: 17px;
    border: 1px solid var(--border);
  }
  .search-submit { grid-column: 1; margin-top: 0; padding-top: 8px; }
  .search-submit .button { width: 100%; }
}
@media (max-width: 520px) {
  .country-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { padding-bottom: 115px; }
}
@media (max-width: 350px) {
  .header-inner { gap: 6px; }
  .brand { font-size: 20px; }
  .brand img { width: 38px; height: 38px; }
  .theme-control button { justify-content: center; width: 30px; padding: 4px; }
  .theme-control button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .mobile-menu summary { width: 39px; }
}

/* Motion is limited to opacity, transform and control colors for smooth scrolling. */
:root { --ui-ease: cubic-bezier(.22, 1, .36, 1); }
.hero h1, .search-heading h2, .section-title, .closing-inner h2 { text-wrap: balance; }
.step-number { font-variant-numeric: tabular-nums; }
.hero-copy { animation: landing-enter .55s var(--ui-ease) both; }
.hero-lead { animation: landing-enter .55s .07s var(--ui-ease) both; }
.hero-actions { animation: landing-enter .55s .13s var(--ui-ease) both; }
.search-panel { animation: landing-enter .55s .16s var(--ui-ease) both; }
.speech-bubble, html[data-landing-theme="night"] .speech-bubble { animation: conversation-float 7s ease-in-out infinite; }
.speech-second { animation-delay: -3.5s; }
.theme-control button, .language-menu summary, .mobile-menu summary,
.language-options button, .mobile-language-options button, .mobile-menu nav a,
.button, .watch-link > span, .select-wrap, .choice, .country-choice,
.privacy-choice i, .benefit-card, .faq-list summary, .text-link {
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease, transform .25s var(--ui-ease);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button img:last-child, .text-link img { transition: transform .25s var(--ui-ease); }
.button:hover img:last-child, .text-link:hover img { transform: translateX(3px); }
.choice:active, .country-choice:active { transform: scale(.98); }
.benefit-card { display: flex; flex-direction: column; }
.benefit-card h3 { line-height: 1.28; }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--accent); }
.faq-list details[open] p { animation: faq-appear .26s var(--ui-ease) both; }
.language-menu[open] .language-options, .mobile-menu[open] .mobile-menu-panel { animation: menu-appear .18s var(--ui-ease) both; }
[data-reveal] { transition: border-color .2s ease; }
.motion-ready [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
.motion-ready [data-reveal].is-visible { animation: landing-enter .48s var(--ui-ease) both; }
.motion-ready .benefit-card:nth-child(2).is-visible,
.motion-ready .how-list li:nth-child(2).is-visible { animation-delay: 55ms; }
.motion-ready .benefit-card:nth-child(3).is-visible,
.motion-ready .how-list li:nth-child(3).is-visible { animation-delay: 110ms; }
.motion-ready .benefit-card:nth-child(4).is-visible { animation-delay: 165ms; }
@media (min-width: 901px) {
  .benefit-card h3 { min-height: 2.55em; }
}
@media (hover: none) {
  .button:hover, .benefit-card:hover { transform: none; }
  .button:hover img:last-child, .text-link:hover img { transform: none; }
}
@media (max-width: 760px) {
  .motion-ready .benefit-card.is-visible, .motion-ready .how-list li.is-visible { animation-delay: 0ms; }
  .choice, .country-choice { min-height: 40px; }
}
@keyframes landing-enter { from { opacity: 0; transform: translateY(10px); } }
@keyframes conversation-float { 50% { transform: translateY(-5px); } }
@keyframes faq-appear { from { opacity: 0; transform: translateY(-5px); } }
@keyframes menu-appear { from { opacity: 0; transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-lead, .hero-actions, .search-panel, .speech-bubble,
  .faq-list details[open] p, .language-menu[open] .language-options,
  .mobile-menu[open] .mobile-menu-panel,
  .motion-ready [data-reveal].is-visible { animation: none !important; }
  .motion-ready [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
  .button:hover, .benefit-card:hover, .button img:last-child,
  .text-link img { transform: none !important; }
}

/* One compact theme action: the icon shows the available theme. */
.theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease;
}
.theme-toggle:hover { border-color: var(--accent); background: var(--accent-bg); }
.theme-toggle img { width: 20px; height: 20px; }
html[data-landing-theme="night"] .theme-toggle img { filter: brightness(0) invert(.88); }
html[data-landing-theme="night"] .theme-moon,
html[data-landing-theme="day"] .theme-sun { display: none; }

/* The landing uses the chat's compact, searchable preference menus. */
.search-panel { overflow: visible; }
.select-wrap.is-enhanced { padding-right: 10px; }
.select-wrap.is-enhanced > select,
.select-wrap.is-enhanced > .chevron { display: none; }
.select-trigger {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
  height: 100%;
  gap: 8px;
  padding: 0 0 0 13px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 13px;
}
.select-trigger.is-placeholder { color: var(--muted); }
.select-trigger > span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-trigger > img { width: 17px; height: 17px; transition: transform .2s; }
.select-wrap.is-open { z-index: 10; border-color: var(--accent); }
.select-wrap.is-open .select-trigger > img { transform: rotate(180deg); }
.select-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  min-width: min(260px, calc(100vw - 42px));
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgb(0 0 0 / 28%);
}
.select-menu[hidden] { display: none; }
.select-menu__search { width: 100%; min-height: 42px; margin-bottom: 5px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; outline: none; background: var(--field); color: var(--ink); font: inherit; font-size: 13px; }
.select-menu__search:focus { border-color: var(--accent); }
.select-menu__list { max-height: min(280px, 50dvh); overflow-y: auto; overscroll-behavior: contain; }
.select-menu__option { display: flex; align-items: center; width: 100%; min-height: 40px; gap: 9px; padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); text-align: left; font: inherit; font-size: 13px; }
.select-menu__option:hover, .select-menu__option.is-active { background: var(--accent-bg); }
.select-menu__option[aria-selected="true"] { color: var(--accent); font-weight: 700; }
.select-menu__option > span { flex: 1; }
.select-menu__option img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.select-menu__empty { padding: 12px; color: var(--muted); font-size: 13px; }
.select-wrap.country-picker { height: 48px; }
@media (max-width: 760px) {
  .select-menu { min-width: 100%; }
  .select-menu__option { min-height: 46px; font-size: 14px; }
}
