/* Losali international landing pages (UK · Spain).
 *
 * These pages render inside the "Le Pont" redesign shell (components/redesign/
 * LpShell), so this file is scoped under #lp-root and takes every colour, font
 * and surface from the tokens lp.css declares there. That is what makes the
 * landing pages match the redesigned home page — and follow the day/night
 * toggle — without touching a single word of the generated HTML, whose class
 * vocabulary (hero, phone-panel, prose, faq-item…) is unchanged.
 *
 * Only the LAYOUT lives here. If a colour looks wrong, the fix is in lp.css's
 * token block, not in this file: there is one palette for the whole redesign.
 *
 * The page fragment is served by lib/legacyHtml.readIntlLandingPage, which
 * extracts <main>, so the old .site-header / .site-footer rules are gone: the
 * shell owns the chrome now.
 */

#lp-root {
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --ease-out: cubic-bezier(.22,.61,.36,1);

  /* Tints derived from the shared accent, so they follow the theme. */
  --accent-soft: rgba(62,107,224,.15);
  --accent-ring: rgba(62,107,224,.38);
  --ok: #16A34A;
  --ok-soft: rgba(90,224,160,.16);
}

#lp-root :focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; border-radius: 6px; }
#lp-root img { max-width: 100%; height: auto; display: block; }

#lp-root main h1,
#lp-root main h2,
#lp-root main h3,
#lp-root main h4 {
  font-family: var(--display); color: var(--ink);
  letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 .5rem; font-weight: 700;
}
#lp-root main h1 { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem); letter-spacing: -0.025em; font-weight: 800; }
#lp-root main h2 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); font-weight: 700; }
#lp-root main h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
#lp-root main p { margin: 0 0 1em; }
#lp-root main a { color: var(--eye); text-decoration: none; transition: color .15s var(--ease-out); }
#lp-root main a:hover { color: var(--accent); }

#lp-root .container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { #lp-root .container { padding-inline: 2rem; } }
#lp-root .container--narrow { max-width: 760px; }
#lp-root main > .section { padding: 4rem 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { #lp-root main > .section { padding: 6rem 0; } }
/* .section--alt is the band treatment; .lp-flip on the same element would
   invert the palette, but the generated HTML carries neither, so the band is
   drawn from the secondary background instead. */
#lp-root .section--alt { background: var(--bg2); border-top: 0; }

#lp-root .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-weight: 600; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--eye); margin-bottom: .75rem;
}
#lp-root .eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--eye); border-radius: 2px; }
#lp-root .section__lead { color: var(--muted); }

/* ===== hero ===== */
#lp-root .hero {
  position: relative; padding: 3.5rem 0 4rem;
  background:
    radial-gradient(900px 500px at 88% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, var(--accent-soft), transparent 60%);
  overflow: hidden;
}
#lp-root .hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none; z-index: 0;
}
@media (min-width: 768px) { #lp-root .hero { padding: 5rem 0 6rem; } }
#lp-root .hero__grid { position: relative; z-index: 1; display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { #lp-root .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: stretch; } }

#lp-root .breadcrumb { font-size: .875rem; color: var(--muted); margin-bottom: 1.5rem; }
#lp-root .breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
#lp-root .breadcrumb li { display: inline-flex; align-items: center; gap: .35rem; }
#lp-root .breadcrumb li + li::before { content: "\203A"; color: var(--faint); margin-right: .35rem; font-weight: 600; }
#lp-root .breadcrumb a { color: var(--muted); }
#lp-root .breadcrumb a:hover { color: var(--ink); }
#lp-root .breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

#lp-root .hero__identity { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
#lp-root .hero__identity-text { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
#lp-root .hero__classification { display: inline-flex; align-items: center; gap: .75rem; flex-wrap: wrap; row-gap: .35rem; }
#lp-root .hero__identity-text .eyebrow { margin-bottom: 0; }
#lp-root .hero__classification .eyebrow,
#lp-root .hero__classification .badge { min-height: 30px; display: inline-flex; align-items: center; line-height: 1; white-space: nowrap; margin: 0; }

#lp-root .badge {
  display: inline-flex; align-items: center; gap: .45rem; height: 30px; padding: 0 .85rem;
  border-radius: var(--radius-pill); font-family: var(--display);
  font-size: .8125rem; font-weight: 600; letter-spacing: -0.005em;
  background: var(--chip); color: var(--ink); border: 1px solid var(--brd);
}
#lp-root .badge--free { background: var(--ok-soft); color: var(--success); border-color: rgba(90,224,160,.35); }
#lp-root .badge--geo  { background: var(--accent-soft); color: var(--eye); border-color: var(--accent-ring); }
#lp-root .badge__dot { width: 6px; height: 6px; flex: 0 0 6px; align-self: center; border-radius: 50%; background: currentColor; }

#lp-root .hero h1 { margin-bottom: 1.25rem; }
#lp-root .hero h1 .accent { color: var(--eye); }
#lp-root .hero__lead { font-size: 1.125rem; color: var(--muted); margin-bottom: 1.25rem; max-width: 56ch; }
@media (min-width: 768px) { #lp-root .hero__lead { font-size: 1.1875rem; } }
#lp-root .hero__meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.25rem; margin-top: 1.25rem; color: var(--muted); font-size: .875rem; }
#lp-root .hero__meta-row svg { color: var(--faint); }
#lp-root .hero__meta-row strong { color: var(--txt); }

#lp-root .self-qual { list-style: none; padding: 0; margin: 1rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
#lp-root .self-qual li {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem;
  background: var(--chip); border: 1px solid var(--brd); border-radius: var(--radius-pill);
  font-size: .875rem; font-weight: 600; color: var(--txt); font-family: var(--display);
}
#lp-root .self-qual svg { color: var(--eye); flex-shrink: 0; }

/* ===== phone panel ===== */
#lp-root .phone-panel {
  background: var(--panel);
  border: 1px solid var(--brd); border-radius: var(--radius-xl);
  padding: 1.5rem; box-shadow: 0 24px 60px rgba(4, 12, 32, .28); max-width: 460px; width: 100%; margin-inline: auto;
}
#lp-root[data-theme="day"] .phone-panel { box-shadow: 0 24px 60px rgba(0, 40, 90, .12); }
@media (min-width: 1024px) { #lp-root .phone-panel { padding: 1.75rem; margin: 0; align-self: center; } }
#lp-root .phone-panel__header { display: flex; align-items: center; justify-content: flex-start; gap: 1rem; margin-bottom: 1.1rem; }
#lp-root .phone-panel__titles { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
#lp-root .phone-panel__label { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; }
#lp-root .phone-panel__sub { font-size: .8125rem; color: var(--muted); line-height: 1.4; }
#lp-root .phone-panel__hint { margin: 1rem 0 0; font-size: .8125rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; line-height: 1.55; }
#lp-root .phone-panel__hint svg { flex: 0 0 16px; margin-top: 2px; color: var(--faint); }
#lp-root .phone-panel__hint strong { color: var(--ink); }

#lp-root .phone-list { display: grid; gap: .65rem; }
#lp-root .phone-call-btn {
  display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; row-gap: .35rem;
  width: 100%; min-width: 0; max-width: 100%; padding: .9rem 1rem;
  background: var(--chip); border: 1px solid var(--brd); border-radius: var(--radius-md);
  text-align: left; cursor: pointer; font-family: inherit; color: var(--ink); overflow: hidden;
  transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out), transform .18s var(--ease-out);
}
#lp-root .phone-call-btn:hover { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); transform: translateY(-1px); }
#lp-root .phone-call-btn__icon { flex: 0 0 44px; height: 44px; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--eye); display: grid; place-items: center; position: relative; }
#lp-root .phone-call-btn__icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(62,107,224,.45); animation: icon-pulse 2.4s var(--ease-out) infinite; }
#lp-root .phone-list > *:nth-child(2) .phone-call-btn__icon::after { animation-delay: .8s; }
#lp-root .phone-list > *:nth-child(3) .phone-call-btn__icon::after { animation-delay: 1.6s; }
@keyframes icon-pulse { 0% { box-shadow: 0 0 0 0 rgba(62,107,224,.40); } 70% { box-shadow: 0 0 0 12px rgba(62,107,224,0); } 100% { box-shadow: 0 0 0 0 rgba(62,107,224,0); } }
#lp-root .phone-call-btn__body { display: flex; flex-direction: column; min-width: 0; flex: 1 1 0; }
#lp-root .phone-call-btn__number { font-variant-numeric: tabular-nums; font-family: var(--mono); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; color: var(--ink); }
#lp-root .phone-call-btn__label { color: var(--muted); font-size: .9375rem; min-width: 0; white-space: normal; word-break: break-word; }
#lp-root .phone-call-btn__cta { margin-left: auto; color: var(--eye); font-weight: 700; font-size: .9375rem; display: inline-flex; align-items: center; gap: .25rem; flex-shrink: 0; }
@media (max-width: 480px) { #lp-root .phone-call-btn__cta span { display: none; } }

#lp-root .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 56px; padding: 0 1.75rem; font-family: var(--display);
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.005em; color: #fff; background: var(--accent);
  border: 0; border-radius: var(--radius-pill); cursor: pointer; box-shadow: 0 10px 28px rgba(62,107,224,.32);
  transition: transform .15s var(--ease-out), background-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
#lp-root .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(62,107,224,.36); color: #fff; }
#lp-root .btn-primary:active { transform: translateY(0); }
#lp-root .btn-primary svg { width: 20px; height: 20px; }

#lp-root .trust-row { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; align-items: center; color: var(--muted); font-size: .9375rem; margin-top: 1.5rem; }
#lp-root .trust-row__item { display: inline-flex; align-items: center; gap: .4rem; }
#lp-root .trust-row svg { color: var(--success); flex-shrink: 0; }

/* ===== trust tiles ===== */
#lp-root .trust-tiles { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; max-width: 1080px; margin-inline: auto; }
@media (min-width: 768px) { #lp-root .trust-tiles { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
#lp-root .trust-tile { background: var(--panel); border: 1px solid var(--brd); border-radius: var(--radius-lg); padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: .6rem; transition: transform .2s var(--ease-out), border-color .2s var(--ease-out); }
#lp-root .trust-tile:hover { transform: translateY(-3px); border-color: var(--accent-ring); }
#lp-root .trust-tile__icon { width: 40px; height: 40px; background: var(--accent-soft); color: var(--eye); border-radius: var(--radius-md); display: grid; place-items: center; }
#lp-root .trust-tile__icon svg { width: 22px; height: 22px; }
#lp-root .trust-tile__title { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1rem; line-height: 1.3; letter-spacing: -.01em; }
#lp-root .trust-tile__text { color: var(--muted); font-size: .875rem; line-height: 1.5; margin: 0; }

/* ===== how it works ===== */
#lp-root .how-steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 768px) {
  #lp-root .how-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
  #lp-root .how-steps::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(to right, var(--accent-ring), var(--accent-ring) 6px, transparent 6px, transparent 12px); z-index: 0; }
}
#lp-root .how-step { background: var(--panel); border: 1px solid var(--brd); border-radius: var(--radius-lg); padding: 1.75rem; position: relative; z-index: 1; transition: transform .2s var(--ease-out), border-color .2s var(--ease-out); }
#lp-root .how-step:hover { transform: translateY(-4px); border-color: var(--accent-ring); }
#lp-root .how-step__num { width: 56px; height: 56px; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.5rem; border-radius: 50%; box-shadow: 0 6px 16px rgba(62,107,224,.32); margin-bottom: 1rem; }
#lp-root .how-step h3 { font-size: 1.125rem; margin-bottom: .5rem; }
#lp-root .how-step p { color: var(--muted); font-size: .9375rem; margin: 0; line-height: 1.6; max-width: none; }
#lp-root .how-step__icon { position: absolute; top: 1.75rem; right: 1.75rem; color: var(--accent-ring); width: 28px; height: 28px; }

/* ===== article ===== */
#lp-root .prose h3 { margin-top: 2.5rem; margin-bottom: .75rem; scroll-margin-top: 90px; }
#lp-root .prose p { color: var(--body); font-size: 1.0625rem; line-height: 1.75; max-width: 65ch; }
#lp-root .prose > *:first-child { margin-top: 0; }

#lp-root .pull-quote {
  margin: 2.5rem 0; padding: 1.75rem 2rem;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent); border-radius: var(--radius-md);
  font-family: var(--display); font-size: 1.25rem; font-weight: 600; line-height: 1.45;
  color: var(--ink); letter-spacing: -.01em; position: relative;
}
#lp-root .pull-quote::before { content: "\201C"; position: absolute; top: -.5rem; left: 1rem; font-size: 4rem; color: var(--accent); opacity: .25; line-height: 1; font-family: Georgia, serif; }
@media (min-width: 768px) { #lp-root .pull-quote { font-size: 1.4rem; padding: 2rem 2.5rem; } }

#lp-root .callout { margin: 2.5rem 0; padding: 1.5rem 1.75rem; background: var(--panel); border: 1px solid var(--brd); border-radius: var(--radius-lg); }
#lp-root .callout__head { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1rem; margin-bottom: .85rem; }
#lp-root .callout__head svg { color: var(--eye); flex-shrink: 0; }
#lp-root .callout ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
#lp-root .callout li { display: flex; align-items: flex-start; gap: .5rem; font-size: .9375rem; color: var(--body); line-height: 1.55; }
#lp-root .callout li svg { flex-shrink: 0; margin-top: 3px; color: var(--success); }

/* ===== FAQ =====
   Native <details>, so the answers are in the DOM for crawlers and need no JS.
   The redesigned home page uses the React accordion (components/redesign/LpFaq)
   instead; both share the look. */
#lp-root .faq-item { border: 1px solid var(--brd); border-radius: var(--radius-md); background: var(--panel); overflow: hidden; transition: border-color .18s var(--ease-out); }
#lp-root .faq-item + .faq-item { margin-top: .75rem; }
#lp-root .faq-item[open] { border-color: var(--accent-ring); }
#lp-root .faq-item > summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
#lp-root .faq-item > summary::-webkit-details-marker { display: none; }
#lp-root .faq-item > summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--eye); flex-shrink: 0; transition: transform .25s var(--ease-out); }
#lp-root .faq-item[open] > summary::after { transform: rotate(45deg); }
#lp-root .faq-item__q { font-size: inherit; font-weight: inherit; margin: 0; font-family: inherit; color: inherit; }
#lp-root .faq-item__body { padding: 0 1.25rem 1.25rem; color: var(--body); }
#lp-root .faq-item__body p { margin: 0; max-width: none; }

/* ===== final CTA =====
   Always the dark treatment, in both themes, exactly like .lp-cta-final on the
   redesigned pages: it is the one band that does not follow the toggle. */
#lp-root .section--final-cta {
  position: relative; overflow: hidden; border-top: 0;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(62,107,224,.30), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(62,107,224,.18), transparent 60%),
    linear-gradient(180deg, #061026, #0A1A3A);
  color: #fff;
}
#lp-root .section--final-cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%); pointer-events: none; }
#lp-root .section--final-cta > .container { position: relative; z-index: 1; }
#lp-root .final-cta__head { text-align: center; max-width: 720px; margin-inline: auto; }
#lp-root .final-cta__head h2 { color: #fff; font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem); }
#lp-root .final-cta__head .eyebrow { color: #8FB0FF; }
#lp-root .final-cta__head .eyebrow::before { background: #8FB0FF; }
#lp-root .final-cta__head p { color: #B4C2DA; font-size: 1.125rem; margin: 1rem auto 2rem; max-width: 60ch; }
#lp-root .final-cta__list { max-width: 560px; margin: 0 auto; }
#lp-root .final-cta__list .phone-call-btn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#lp-root .final-cta__list .phone-call-btn:hover { background: rgba(255,255,255,.10); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(62,107,224,.18); color: #fff; }
#lp-root .final-cta__list .phone-call-btn__number { color: #fff; }
#lp-root .final-cta__list .phone-call-btn__label { color: rgba(255,255,255,.65); }
#lp-root .final-cta__list .phone-call-btn__icon { background: rgba(105,168,255,.18); color: #69A8FF; }
#lp-root .final-cta__list .phone-call-btn__cta { color: #69A8FF; }
#lp-root .final-cta__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 1.75rem; color: #B4C2DA; font-size: .875rem; }

@media (prefers-reduced-motion: reduce) {
  #lp-root .phone-call-btn__icon::after { animation: none; }
}

/* ── Generated pages (scripts/pseo-intl): number-type badges, the "coming soon"
   state, related links ── */
#lp-root .badge--service { background: rgba(245,158,11,.16); color: #F0A93B; border-color: rgba(245,158,11,.35); }
#lp-root .badge--premium { background: rgba(220,70,70,.16); color: #F08A8A; border-color: rgba(220,70,70,.35); }
#lp-root .badge--soon    { background: var(--chip); color: var(--muted); border-color: var(--brd); }
#lp-root[data-theme="day"] .badge--service { color: #9A4B00; }
#lp-root[data-theme="day"] .badge--premium { color: #A61B1B; }
#lp-root .phone-panel--soon { background: var(--chip); }
#lp-root .phone-call-btn--soon { cursor: default; border-style: dashed; background: transparent; color: var(--ink); }
#lp-root .phone-call-btn--soon:hover, #lp-root .phone-call-btn--soon:focus { transform: none; box-shadow: none; border-color: var(--brd); }
#lp-root .phone-call-btn--soon .phone-call-btn__icon { background: var(--chip); color: var(--muted); }
#lp-root .phone-call-btn__cta--soon { background: var(--chip); color: var(--muted); }
#lp-root .number-type { padding: 1rem 1.25rem; background: var(--chip); border-radius: 12px; border: 1px solid var(--brd); }
#lp-root .number-type--alt { background: var(--ok-soft); border-color: rgba(90,224,160,.35); }
#lp-root .related__title { margin: .4rem 0 1.5rem; }
#lp-root .related__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
#lp-root .related__card { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.25rem; border: 1px solid var(--brd); border-radius: 14px; background: var(--panel); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
#lp-root .related__card:hover { border-color: var(--accent-ring); transform: translateY(-2px); }
#lp-root .related__eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
#lp-root .related__card-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
#lp-root .related__arrow { margin-top: auto; color: var(--eye); font-weight: 600; font-size: .9rem; }
#lp-root .phone-call-btn__alt { display: block; font-size: .75rem; color: var(--faint); margin-top: .2rem; line-height: 1.35; }
