/* SATECH landing — mobile first, flat colors, Thmanyah typeface */

@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyah/thmanyahsans-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyah/thmanyahsans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyah/thmanyahsans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyah/thmanyahsans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyah/thmanyahserifdisplay-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyah/thmanyahserifdisplay-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyah/thmanyahserifdisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
    --ink: #1d1d1f;
    --ink-2: #6e6e73;
    --paper: #ffffff;
    --mist: #f5f5f7;
    --line: #d2d2d7;
    --accent: #0071e3;
    --accent-press: #0062c4;
    --night: #000000;
    --night-2: #1d1d1f;
    --night-ink: #f5f5f7;
    --night-ink-2: #a1a1a6;
    --sans: "Thmanyah Sans", -apple-system, "Segoe UI", Tahoma, sans-serif;
    --serif: "Thmanyah Serif Display", "Thmanyah Sans", Georgia, serif;
    --shell: 1120px;
    --gutter: 20px;
    --nav-h: 52px;
    --ease: cubic-bezier(.25, .1, .25, 1);
    --radius-lg: 28px;
    --radius-md: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.lx-shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.lx-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.lx-skip:focus { top: 12px; }

/* ---------- Type ---------- */
.lx-eyebrow { font-size: 15px; font-weight: 500; color: var(--ink-2); margin-bottom: 10px; }
.lx-eyebrow--light { color: rgba(245, 245, 247, .78); }
.lx-title { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 7.4vw, 3.5rem); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.lx-head { margin-bottom: 36px; max-width: 760px; }
.lx-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.lx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 17px; font-weight: 500; transition: background-color .2s var(--ease); }
.lx-btn:hover { background: var(--accent-press); }
.lx-btn--sm { min-height: 32px; padding: 0 14px; font-size: 14px; }
.lx-btn--light { background: var(--paper); color: var(--ink); }
.lx-btn--light:hover { background: #e8e8ed; }
.lx-link { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; color: var(--accent); font-size: 17px; font-weight: 500; }
.lx-link::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform .2s var(--ease); }
[dir="rtl"] .lx-link::after { content: "‹"; }
.lx-link:hover::after { transform: translateX(3px); }
[dir="rtl"] .lx-link:hover::after { transform: translateX(-3px); }
.lx-link--light { color: var(--paper); }

/* ---------- Navigation ---------- */
.lx-nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--paper); transition: background-color .3s var(--ease), color .3s var(--ease); }
.lx-nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.lx-nav.is-solid, .lx-nav.is-open { background: rgba(22, 22, 23, .84); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.lx-nav.is-open { background: rgba(22, 22, 23, .97); }
.lx-brand { font-family: var(--sans); font-weight: 700; font-size: 19px; letter-spacing: .14em; }
.lx-nav__links { display: none; }
.lx-nav__actions { display: flex; align-items: center; gap: 14px; }
.lx-nav__lang, .lx-nav__login { display: none; font-size: 14px; opacity: .85; transition: opacity .2s; }
.lx-nav__lang:hover, .lx-nav__login:hover { opacity: 1; }
.lx-nav__toggle { position: relative; width: 32px; height: 32px; }
.lx-nav__toggle span { position: absolute; inset-inline: 7px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.lx-nav__toggle span:first-child { top: 12px; }
.lx-nav__toggle span:last-child { top: 19px; }
.lx-nav.is-open .lx-nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.lx-nav.is-open .lx-nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.lx-menu { display: grid; padding: 8px var(--gutter) 28px; max-width: var(--shell); margin-inline: auto; }
.lx-menu[hidden] { display: none; }
.lx-menu a { padding: 12px 0; font-family: var(--serif); font-size: 26px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.lx-menu a:last-child { border-bottom: 0; font-family: var(--sans); font-size: 17px; color: #2997ff; }

/* ---------- Hero ---------- */
.lx-hero { position: relative; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--night) url("../media/landing/hero-poster.jpg") center / cover no-repeat; color: var(--paper); }
.lx-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lx-hero__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.lx-hero__content { position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 88px; }
.lx-hero__title { font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 11vw, 6.4rem); line-height: 1.06; letter-spacing: -.015em; }
.lx-hero__title span { display: block; }
.lx-hero__sub { margin-top: 18px; max-width: 30ch; font-size: clamp(1.1rem, 4.4vw, 1.5rem); font-weight: 300; line-height: 1.5; color: rgba(245, 245, 247, .9); }
.lx-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 30px; }
.lx-hero__toggle { position: absolute; inset-inline-end: var(--gutter); bottom: 24px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: var(--paper); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .2s; }
.lx-hero__toggle:hover { background: rgba(255, 255, 255, .28); }
.lx-hero__toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lx-hero__toggle .is-play { display: none; }
.lx-hero__toggle.is-paused .is-pause { display: none; }
.lx-hero__toggle.is-paused .is-play { display: block; fill: currentColor; stroke: none; }

/* ---------- Statement ---------- */
.lx-statement { padding: 120px 0; }
.lx-statement__text { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 8.2vw, 4.6rem); line-height: 1.2; letter-spacing: -.01em; max-width: 980px; }
.js .lx-word { color: #d2d2d7; transition: color .35s var(--ease); }
.js .lx-word.is-lit { color: var(--ink); }

/* ---------- Sections ---------- */
.lx-section { padding: 96px 0; }
.lx-section--mist { background: var(--mist); }
.lx-section--night { background: var(--night); color: var(--night-ink); }

/* ---------- Carousel ---------- */
.lx-carousel__track { --edge: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter))); display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 4px var(--edge) 8px; scrollbar-width: none; }
.lx-carousel__track::-webkit-scrollbar { display: none; }
.lx-card { position: relative; flex: 0 0 84%; display: flex; flex-direction: column; min-height: 420px; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--paper); scroll-snap-align: start; }
.lx-card__index { font-size: 14px; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lx-card__icon { width: 44px; height: 44px; margin-top: 22px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.lx-card__body { margin-top: auto; }
.lx-card h3 { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.2; }
.lx-card p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.lx-carousel__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.lx-carousel__dots { display: flex; gap: 8px; }
.lx-carousel__dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .3s var(--ease), background-color .3s; }
.lx-carousel__dots span.is-active { width: 24px; background: var(--ink); }
.lx-carousel__arrows { display: flex; gap: 12px; }
.lx-round { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e8e8ed; color: var(--ink); transition: background-color .2s, opacity .2s; }
.lx-round:hover { background: #dcdce1; }
.lx-round:disabled { opacity: .35; cursor: default; }
.lx-round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="ltr"] .lx-round svg { transform: scaleX(-1); }

/* ---------- Tabs ---------- */
.lx-tabs { max-width: 760px; margin-inline: auto; text-align: center; }
.lx-tabs__list { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--night-2); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.lx-tabs__list::-webkit-scrollbar { display: none; }
.lx-tabs__list button { min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--night-ink-2); transition: background-color .25s var(--ease), color .25s var(--ease); }
.lx-tabs__list button:hover { color: var(--night-ink); }
.lx-tabs__list button.is-active { background: var(--paper); color: var(--ink); }
.lx-tabs__panel { margin-top: 48px; }
.lx-tabs__panel.is-active { animation: lx-fade .5s var(--ease) both; }
.lx-tabs__panel h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 9vw, 4rem); line-height: 1.1; }
.lx-tabs__panel > p { margin-top: 14px; font-size: 19px; color: var(--night-ink-2); }
.lx-tabs__panel ul { display: grid; gap: 1px; margin-top: 36px; border-radius: var(--radius-md); overflow: hidden; background: #333336; text-align: start; }
.lx-tabs__panel li { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--night-2); font-size: 17px; }
.lx-tabs__panel li svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--night-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Bento ---------- */
.lx-bento { display: grid; gap: 14px; }
.lx-tile { display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--mist); }
.lx-tile h3 { font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.2; }
.lx-tile p { margin-top: 10px; color: var(--ink-2); }
.lx-tile--night { background: var(--night); color: var(--night-ink); }
.lx-tile--night p { color: var(--night-ink-2); }

/* ---------- How (accordion + media) ---------- */
.lx-how { display: grid; gap: 28px; }
.lx-how__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: #d2d2d7; }
.lx-how__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.lx-how__media img.is-active { opacity: 1; transform: none; }
.lx-acc { border-bottom: 1px solid var(--line); }
.lx-acc h3 { margin: 0; }
.lx-acc button { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; text-align: start; }
.lx-acc__num { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lx-acc__title { flex: 1; font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.25; color: var(--ink-2); transition: color .3s var(--ease); }
.lx-acc.is-open .lx-acc__title, .lx-acc button:hover .lx-acc__title { color: var(--ink); }
.lx-acc__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #e8e8ed; }
.lx-acc__icon::before, .lx-acc__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: var(--ink); transition: transform .3s var(--ease); }
.lx-acc__icon::after { transform: rotate(90deg); }
.lx-acc.is-open .lx-acc__icon::after { transform: rotate(0); }
.lx-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.lx-acc.is-open .lx-acc__panel { grid-template-rows: 1fr; }
.lx-acc__panel > div { overflow: hidden; }
.lx-acc__panel p { padding: 0 0 24px; padding-inline-start: 34px; color: var(--ink-2); font-size: 17px; max-width: 46ch; }
.no-js .lx-acc__panel { grid-template-rows: 1fr; }

/* ---------- Trial ---------- */
.lx-trial { padding: 128px 0; background: var(--night); color: var(--night-ink); text-align: center; }
.lx-trial__eyebrow { font-size: 19px; color: var(--night-ink-2); }
.lx-trial__title { margin-top: 6px; font-family: var(--serif); font-weight: 700; font-size: clamp(4rem, 22vw, 10rem); line-height: 1; letter-spacing: -.02em; }
.lx-trial__body { margin: 22px auto 0; max-width: 30ch; font-size: clamp(1.1rem, 4.4vw, 1.4rem); font-weight: 300; color: var(--night-ink-2); }
.lx-trial__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; margin-top: 34px; }

/* ---------- FAQ ---------- */
.lx-faq { max-width: 820px; }
.lx-faq .lx-title { margin-bottom: 28px; }
.lx-faq__item { border-bottom: 1px solid var(--line); }
.lx-faq__item summary { position: relative; display: block; padding: 22px 0; padding-inline-end: 40px; font-size: 19px; font-weight: 500; cursor: pointer; list-style: none; }
.lx-faq__item summary::-webkit-details-marker { display: none; }
.lx-faq__item summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--ink-2); transition: transform .3s var(--ease); }
.lx-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lx-faq__item p { padding-bottom: 22px; color: var(--ink-2); max-width: 60ch; }
.lx-faq__item[open] p { animation: lx-fade .35s var(--ease) both; }

/* ---------- Footer ---------- */
.lx-footer { padding: 48px 0 calc(32px + env(safe-area-inset-bottom)); background: var(--mist); color: var(--ink-2); font-size: 14px; }
.lx-footer__inner { display: grid; gap: 24px; }
.lx-brand--footer { color: var(--ink); margin-bottom: 6px; }
.lx-footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.lx-footer__links a:hover { color: var(--ink); }
.lx-footer__legal { padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes lx-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- ≥ 600px ---------- */
@media (min-width: 600px) {
    :root { --gutter: 32px; }
    .lx-card { flex-basis: 360px; min-height: 460px; }
    .lx-bento { grid-template-columns: repeat(2, 1fr); }
    .lx-tile--wide { grid-column: span 2; }
    .lx-nav__lang, .lx-nav__login { display: inline; }
}

/* ---------- ≥ 960px ---------- */
@media (min-width: 960px) {
    body { font-size: 18px; }
    .lx-nav__links { display: flex; gap: 30px; font-size: 14px; }
    .lx-nav__links a { opacity: .82; transition: opacity .2s; }
    .lx-nav__links a:hover { opacity: 1; }
    .lx-nav__toggle, .lx-menu { display: none !important; }
    .lx-hero { align-items: center; }
    .lx-hero__content { padding-bottom: 40px; }
    .lx-statement { padding: 180px 0; }
    .lx-section { padding: 140px 0; }
    .lx-head { margin-bottom: 56px; }
    .lx-card { flex-basis: 380px; min-height: 500px; padding: 40px 36px; }
    .lx-card h3 { font-size: 34px; }
    .lx-bento { grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .lx-tile--wide:last-child { grid-column: 1 / -1; }
    .lx-tile { min-height: 280px; padding: 40px 36px; }
    .lx-tile h3 { font-size: 32px; }
    .lx-how { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
    .lx-how__media { aspect-ratio: 4 / 5; }
    .lx-acc__title { font-size: 32px; }
    .lx-trial { padding: 180px 0; }
    .lx-footer__inner { grid-template-columns: 1fr auto; align-items: start; }
    .lx-footer__legal { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .js .lx-word { color: var(--ink); }
}
