/* Aarla Nextech: brand tokens for the landing pages. */
.lp-aa {
  --lp-hero: #090110; --lp-hero-ink: #FFFFFF; --lp-hero-soft: #CFCBE6; --lp-pop: #B1A9FF; --lp-pop-ink: #090110;
  --lp-brand: #1F2353; --lp-brand-ink: #FFFFFF; --lp-surface: #F5F4FA; --lp-ink: #090110; --lp-muted: #4A4660; --lp-line: #E1DFEC; --lp-card: #FFFFFF;
  --default-font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif; --heading-font-family: var(--default-font-family);
  --lp-display-weight: 700; --lp-display-track: -0.025em;
}

/* Landing pages: layout and components on top of Radix Themes. The brand tokens (--lp-*) are defined above. */
/* the accent Radix uses for buttons, focus and selection = the brand colour */
.lp.radix-themes { --accent-9: var(--lp-brand); --accent-10: color-mix(in srgb, var(--lp-brand) 86%, black); --accent-contrast: var(--lp-brand-ink);
  --accent-11: var(--lp-brand); --accent-12: var(--lp-ink); --focus-8: var(--lp-brand); color: var(--lp-ink); background: #FFFFFF; }

body { margin: 0; }
.lp img { max-width: 100%; display: block; }
.lp-hide-sm { display: none !important; }
@media (min-width: 768px) { .lp-hide-sm { display: inline-flex !important; } }

/* header and footer sit on the dark brand ground */
.lp-header { background: var(--lp-hero); border-bottom: 1px solid color-mix(in srgb, var(--lp-hero-ink) 10%, transparent); position: sticky; top: 0; z-index: 10; }
.lp-logo { height: 34px; width: auto; }
.lp-wordmark { font-family: var(--default-font-family); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--lp-hero-ink); white-space: nowrap; }
.lp-wordmark span { color: var(--lp-pop); }
.lp-tag { color: var(--lp-hero-soft) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lp-hero-ink) 28%, transparent) !important; display: none; }
@media (min-width: 640px) { .lp-tag { display: inline-flex; } }
.lp-footer { background: var(--lp-hero); color: var(--lp-hero-ink); }
.lp-soft { color: var(--lp-hero-soft); }

/* hero */
.lp-hero { background: var(--lp-hero); color: var(--lp-hero-ink); }
.lp-h1 { font-size: clamp(40px, 6vw, 76px) !important; line-height: 1.02 !important; font-weight: var(--lp-display-weight) !important; letter-spacing: var(--lp-display-track) !important; color: var(--lp-hero-ink); margin: 0; }
.lp-h1-sm { font-size: clamp(34px, 4.4vw, 56px) !important; }
.lp-statement { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; font-weight: 600; color: var(--lp-pop); margin: 0; }
.lp-lead { color: var(--lp-hero-soft); line-height: 1.55 !important; max-width: 40em; margin: 0; }
.lp-kicker { text-transform: uppercase; letter-spacing: 0.14em; color: var(--lp-pop); margin: 0; font-size: 13px !important; }
.lp-band-light .lp-kicker, .lp-card .lp-kicker, main > .rt-Section .lp-kicker { color: var(--lp-brand); }
.lp-hero-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-5); box-shadow: 0 30px 80px rgb(0 0 0 / 0.35); }
.lp-bm .lp-hero-media img { border-radius: 0; }
.lp-btn-hero { background: var(--lp-pop) !important; color: var(--lp-pop-ink) !important; font-weight: 600 !important; }
.lp-btn-hero:hover { filter: brightness(1.06); }
.lp-btn-ghost { color: var(--lp-hero-ink) !important; }
.lp-btn-main { font-weight: 600 !important; }

/* light bands, headings, cards */
.lp-band-light { background: var(--lp-surface); }
.lp-h2 { letter-spacing: var(--lp-display-track); line-height: 1.08 !important; font-weight: var(--lp-display-weight) !important; color: var(--lp-ink); margin-top: 8px; }
.lp-muted { color: var(--lp-muted); line-height: 1.55 !important; }
.lp-card { background: var(--lp-card) !important; box-shadow: 0 0 0 1px var(--lp-line) !important; }
.lp-panel-accent { background: var(--lp-brand); color: var(--lp-brand-ink); border-radius: var(--radius-5); padding: 32px; }
.lp-bm .lp-panel-accent { border-radius: 0; }
.lp-panel-accent .lp-kicker, .lp-panel-accent .rt-Text { color: var(--lp-brand-ink) !important; }
.lp-pill { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: color-mix(in srgb, var(--lp-brand-ink) 16%, transparent); color: var(--lp-brand-ink); }
.lp-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-4); background: var(--lp-surface); color: var(--lp-brand); }
.lp-badge { font-weight: 600; }

/* the ad itself: carousel slides in order, or the single ad */
.lp-slides { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.lp-slides-one { grid-auto-flow: row; grid-template-columns: minmax(0, 520px); }
@media (min-width: 900px) { .lp-slides:not(.lp-slides-sm):not(.lp-slides-one) { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; } }
.lp-slide { margin: 0; scroll-snap-align: start; }
.lp-slide img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-4); box-shadow: 0 0 0 1px var(--lp-line), 0 12px 30px rgb(0 0 0 / 0.08); }
.lp-bm .lp-slide img { border-radius: 0; }
.lp-slide figcaption { margin-top: 12px; color: var(--lp-muted); }
.lp-num { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 999px; background: var(--lp-brand); color: var(--lp-brand-ink); font-size: 12px; font-weight: 700; }
.lp-slides-sm { grid-auto-columns: 112px; gap: 10px; }
.lp-slides-sm.lp-slides-one { grid-template-columns: 200px; }
.lp-slides-sm .lp-slide img { box-shadow: 0 0 0 1px color-mix(in srgb, var(--lp-hero-ink) 18%, transparent); }

/* steps */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .lp-steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.lp-steps li { border-top: 3px solid var(--lp-brand); padding-top: 18px; }
.lp-step-n { display: block; font-weight: 700; font-size: 15px; color: var(--lp-brand); margin-bottom: 10px; letter-spacing: 0.08em; }

/* lists */
.lp-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.lp-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.lp-checks svg { color: var(--lp-brand); margin-top: 2px; }
.lp-checks-dark li, .lp-checks-dark .rt-Text { color: var(--lp-hero-ink); }
.lp-checks-dark svg { color: var(--lp-pop); }
.lp-checks-lg { gap: 16px; }
.lp-numbered { margin: 0; padding-left: 1.3em; display: grid; gap: 12px; }
.lp-numbered li::marker { font-weight: 700; }

/* FAQ (Radix Accordion) */
.lp-faq { border-top: 1px solid var(--lp-line); }
.lp-faq-item { border-bottom: 1px solid var(--lp-line); }
.lp-faq-h { margin: 0; }
.lp-faq-t { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; font-size: 19px; font-weight: 600; color: var(--lp-ink); font-family: var(--default-font-family); }
.lp-faq-t:focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 2px; }
.lp-faq-t svg { flex: none; transition: transform 200ms ease; color: var(--lp-brand); }
.lp-faq-t[data-state="open"] svg { transform: rotate(180deg); }
.lp-faq-c { overflow: hidden; padding: 0 4px; }
.lp-faq-c[data-state="open"] { padding-bottom: 22px; }

/* form */
.lp-form-card { background: #FFFFFF !important; color: var(--lp-ink); box-shadow: 0 30px 80px rgb(0 0 0 / 0.30) !important; }
.lp-form-card .rt-Text, .lp-form-h { color: var(--lp-ink); }
.lp-form-card .lp-muted { color: var(--lp-muted); }
.lp-select { width: 100%; }
.lp-hero-b .lp-b-media { margin-top: 12px; }
.lp-center { text-align: center; }
.lp-center .lp-lead { margin: 0 auto; }

/* small screens: grid columns may shrink below their content, long badges wrap, nothing widens the page */
.lp .rt-Grid > *, .lp .rt-Flex > * { min-width: 0; }
.lp-badge { white-space: normal !important; height: auto !important; line-height: 1.35 !important; padding-top: 4px !important; padding-bottom: 4px !important; text-align: left; }
.lp-slides { max-width: 100%; }
.lp-h1 { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 520px) { .lp-h1 { font-size: 38px !important; } .lp-h1-sm { font-size: 32px !important; } .lp-statement { font-size: 21px; } .lp-form-card { padding: 4px; } }

.lp-facts { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.lp-facts li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: var(--lp-muted); }
.lp-facts svg { color: var(--lp-brand); margin-top: 2px; }
.lp-pill { white-space: normal; line-height: 1.35; }

/* accent shades Radix uses for soft badges, chips and selection: the brand colour, not Radix's default palette */
.lp.radix-themes { --accent-a3: color-mix(in srgb, var(--lp-brand) 10%, transparent); --accent-a4: color-mix(in srgb, var(--lp-brand) 16%, transparent);
  --accent-a5: color-mix(in srgb, var(--lp-brand) 22%, transparent); --accent-a11: var(--lp-brand); --accent-3: color-mix(in srgb, var(--lp-brand) 10%, white);
  --accent-4: color-mix(in srgb, var(--lp-brand) 16%, white); --accent-surface: color-mix(in srgb, var(--lp-brand) 6%, white); }
.lp-footer .lp-logo { align-self: flex-start; width: auto; height: 34px; object-fit: contain; }
.lp-standfirst { font-weight: 600 !important; line-height: 1.3 !important; letter-spacing: 0 !important; }
.lp-btn-outline { color: var(--lp-brand) !important; box-shadow: inset 0 0 0 1.5px var(--lp-brand) !important; font-weight: 600 !important; }
.lp-slides-sm { grid-auto-columns: 132px; }
.lp-slides-sm.lp-slides-one { grid-template-columns: 240px; }

/* ---------------------------------------------------------------- image-led layout */
.lp-photo-section { position: relative; overflow: hidden; isolation: isolate; }
.lp-photo-section .lp-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.lp-photo-section .lp-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--lp-hero) 0%, color-mix(in srgb, var(--lp-hero) 90%, transparent) 34%, color-mix(in srgb, var(--lp-hero) 45%, transparent) 64%, color-mix(in srgb, var(--lp-hero) 10%, transparent) 100%); }
.lp-photo-section .lp-over { position: relative; }
.lp-hero-a { min-height: clamp(620px, 88vh, 880px); display: flex; align-items: center; }
.lp-hero-a .lp-over, .lp-band-photo .lp-over { width: 100%; }
.lp-hero-copy { max-width: 640px; }
.lp-center.lp-hero-copy { max-width: none; }
.lp-band-photo { min-height: 520px; display: flex; align-items: center; }
.lp-band-photo .lp-shade { background: linear-gradient(90deg, color-mix(in srgb, var(--lp-hero) 92%, transparent) 0%, color-mix(in srgb, var(--lp-hero) 55%, transparent) 55%, color-mix(in srgb, var(--lp-hero) 15%, transparent) 100%); }
.lp-band-photo.lp-close .lp-shade, .lp-close .lp-shade { background: color-mix(in srgb, var(--lp-hero) 78%, transparent); }
.lp-hero-b .lp-shade { background: linear-gradient(90deg, var(--lp-hero) 0%, color-mix(in srgb, var(--lp-hero) 86%, transparent) 50%, color-mix(in srgb, var(--lp-hero) 55%, transparent) 100%); }
.lp-photo-section .lp-lead { color: color-mix(in srgb, var(--lp-hero-ink) 86%, transparent); }

.lp-card-photo { overflow: hidden; }
.lp-card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.lp-icon-sm { width: 34px; height: 34px; flex: none; }
.lp-photo { display: block; width: 100%; }
.lp-tall { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-5); }
.lp-bm .lp-tall, .lp-bm .lp-mosaic img { border-radius: 0; }
@media (min-width: 768px) { .lp-sticky { position: sticky; top: 96px; } }
@media (max-width: 767px) { .lp-hide-mobile { display: none; } }

.lp-mosaic { display: grid; gap: 14px; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; min-height: 460px; }
.lp-mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-5); min-height: 200px; }
.lp-mosaic .lp-mosaic-0 { grid-row: 1 / span 2; }
.lp-mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 13px; line-height: 1.4; color: var(--lp-hero-ink);
  background: linear-gradient(to top, color-mix(in srgb, var(--lp-hero) 85%, transparent), transparent); }
@media (max-width: 640px) { .lp-mosaic { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; } .lp-mosaic figure { min-height: 0; aspect-ratio: 4 / 3; } .lp-mosaic .lp-mosaic-0 { grid-row: auto; } }

/* phones: the photograph sits on top, the words below it on the brand's dark ground */
@media (max-width: 767px) {
  .lp-photo-section { display: block; min-height: 0 !important; }
  .lp-photo-section .lp-bg { position: relative; z-index: 0; height: auto; aspect-ratio: 4 / 3; object-position: center; }
  .lp-photo-section .lp-shade { inset: 0 0 auto 0; height: 75vw; z-index: 1; background: linear-gradient(to top, var(--lp-hero) 0%, transparent 45%) !important; }
  .lp-photo-section .lp-over { z-index: 2; margin-top: -48px; }
  .lp-close .lp-bg, .lp-band-photo .lp-bg { aspect-ratio: 16 / 9; }
}
@media (min-width: 768px) { #how .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- photo placement v2: words never sit on people */
.lp-hero-split, .lp-band2 { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.lp-hero-split { min-height: clamp(600px, 84vh, 860px); }
.lp-band2 { min-height: 500px; }
.lp-hero-pic, .lp-band2-pic { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -1; }
.lp-band2-pic { width: 54%; }
.lp-hero-pic img, .lp-band2-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--lp-hero) 0%, color-mix(in srgb, var(--lp-hero) 55%, transparent) 14%, transparent 34%); }
.lp-hero-split .lp-over, .lp-band2 .lp-over { width: 100%; }
.lp-hero-split .lp-hero-copy { max-width: 560px; }
.lp-band2-copy { max-width: 520px !important; }
/* option B: the photograph as a wide strip on top, the question below it, the form card rising into the strip */
.lp-hero-strip { position: relative; }
.lp-strip-pic { position: relative; height: clamp(300px, 42vh, 460px); overflow: hidden; }
.lp-strip-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-strip-fade { position: absolute; inset: 0; background: linear-gradient(to top, var(--lp-hero) 0%, color-mix(in srgb, var(--lp-hero) 35%, transparent) 30%, transparent 60%); }
.lp-strip-copy { padding-top: 8px; }
@media (min-width: 768px) { .lp-strip-form { margin-top: calc(-1 * clamp(220px, 30vh, 340px)); position: relative; z-index: 2; } .lp-strip-copy { margin-top: -72px; position: relative; z-index: 1; } }
.lp-mosaic figure { background: var(--lp-surface); }
.lp-mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-close .lp-bg { object-fit: cover; }
@media (max-width: 767px) {
  .lp-hero-split, .lp-band2 { display: block; min-height: 0; }
  .lp-hero-pic, .lp-band2-pic { position: relative; width: 100%; aspect-ratio: 4 / 3; z-index: 0; }
  .lp-hero-fade { background: linear-gradient(to top, var(--lp-hero) 0%, transparent 40%); }
  .lp-hero-split .lp-over, .lp-band2 .lp-over { margin-top: -40px; position: relative; z-index: 1; }
  .lp-strip-pic { height: auto; aspect-ratio: 4 / 3; }
  .lp-strip-copy { margin-top: -40px; position: relative; z-index: 1; }
}
