/* ── Fonts, hosted on the site (from Google Fonts: Instrument Serif, DM Sans variable). ──
   Same files and unicode ranges as Google Fonts; no request to Google, preloaded in front.blade.php. */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(/frontend/fonts/dm-sans-normal-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(/frontend/fonts/dm-sans-normal-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/frontend/fonts/dm-sans-normal-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/frontend/fonts/dm-sans-normal-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(/frontend/fonts/dm-sans-normal-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(/frontend/fonts/dm-sans-normal-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(/frontend/fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(/frontend/fonts/instrument-serif-italic-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/frontend/fonts/instrument-serif-normal-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/frontend/fonts/instrument-serif-normal-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Fallback fonts resized to the metrics of DM Sans and Instrument Serif, so that text keeps its
   place when the web font arrives (no layout shift). Arial / Times New Roman (Liberation, Arimo,
   Tinos have the same metrics), then Roboto / Noto Serif on Android. Values computed from the
   average letter width and the ascent/descent of each font. */
@font-face {
    font-family: 'DM Sans Fallback';
    src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Arimo');
    size-adjust: 105.57%;
    ascent-override: 93.96%;
    descent-override: 29.36%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'DM Sans Fallback Android';
    src: local('Roboto'), local('Roboto-Regular');
    size-adjust: 105.25%;
    ascent-override: 94.25%;
    descent-override: 29.45%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'Instrument Serif Fallback';
    font-style: normal;
    src: local('Times New Roman'), local('TimesNewRomanPSMT'), local('Liberation Serif'), local('Tinos');
    size-adjust: 84.30%;
    ascent-override: 117.43%;
    descent-override: 36.77%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'Instrument Serif Fallback';
    font-style: italic;
    src: local('Times New Roman Italic'), local('TimesNewRomanPS-ItalicMT'), local('Liberation Serif Italic'), local('Tinos Italic');
    size-adjust: 88.58%;
    ascent-override: 111.76%;
    descent-override: 35.00%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'Instrument Serif Fallback Android';
    font-style: normal;
    src: local('Noto Serif'), local('NotoSerif-Regular');
    size-adjust: 70.42%;
    ascent-override: 140.59%;
    descent-override: 44.02%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'Instrument Serif Fallback Android';
    font-style: italic;
    src: local('Noto Serif Italic'), local('NotoSerif-Italic');
    size-adjust: 76.55%;
    ascent-override: 129.32%;
    descent-override: 40.49%;
    line-gap-override: 0%;
}


:root {
    --red: #c8312a;
    --red-l: #fdf0ef;
    --red-m: #f2cece;
    --gold: #d4a843;
    --ink: #111111;
    --ink2: #2a2825;
    --mid: #666666;
    --light: #999999;
    --off: #f8f7f4;
    --warm: #f2ede6;
    --border: #e8e5e0;
    --white: #ffffff;
    --bar-bg: #1a1a1a;
    --success: #3b6d11;
    --r: 8px;
    --rl: 14px;
    --rxl: 20px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
    --font: "DM Sans", "DM Sans Fallback", "DM Sans Fallback Android", system-ui, sans-serif;
    --serif: "Instrument Serif", "Instrument Serif Fallback", "Instrument Serif Fallback Android", Georgia, serif;
    --t: all 0.2s ease;
    --nav-h: 80px;
    --bar-h: 48px;
    --tab-h: 44px;
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    /* Anchors (/support#warranty, /how-it-works#cloud…) land a little below the sticky nav */
    scroll-padding-top: calc(var(--nav-h) + 1rem);
    font-size: 16px;
}
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ── Trust bar ── */
.trust-bar {
    background: var(--bar-bg);
    /* Safe-area: iPhone notch + Android punch-hole (fallback guarantees minimum padding) */
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: max(env(safe-area-inset-left, 0px), 0.75rem);
    padding-right: max(
        env(safe-area-inset-right, 0px),
        2rem
    ); /* 2rem fallback covers Galaxy S10 punch-hole */
    min-height: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3rem;
    overflow: clip; /* clip without BFC to avoid scroll context */
    box-sizing: border-box;
}
a.trust-item {
    text-decoration: none;
}
a.trust-item:hover {
    text-decoration: underline;
}
.trust-item {
    height: var(--bar-h);
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #fff;
    white-space: nowrap;
}

/* ── Main Nav ── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 600;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 0.5px solid var(--border);
    backdrop-filter: blur(14px);
}
.nav-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}
/* keep old text-logo rules in case they appear elsewhere */
.logo-pix,
.logo-star {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--ink);
}
.logo-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    margin: 0 1px 3px;
}
.main-links {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: var(--nav-h);
}
.main-link {
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    font-size: 0.95rem;
    color: var(--ink2);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: var(--t);
    white-space: nowrap;
    font-weight: 500;
}
.main-link:hover {
    color: var(--ink);
}
.main-link.active {
    color: var(--ink);
    border-bottom-color: var(--ink);
    font-weight: 600;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.nav-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.45rem 0.9rem;
    border: 0.5px solid var(--border);
    border-radius: var(--r);
    font-size: 0.8rem;
    color: var(--mid);
    transition: var(--t);
    cursor: pointer;
}
.nav-btn:hover {
    border-color: var(--ink);
    color: var(--ink);
}
.nav-btn-dark {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.nav-btn-dark:hover {
    background: #222;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    width: 38px;
    height: 38px;
    border-radius: var(--r);
    border: 0.5px solid var(--border);
    align-items: center;
    justify-content: center;
}
.burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: var(--t);
}
.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.burger.open span:nth-child(2) {
    opacity: 0;
}
.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ── Sub-tab bar ── */
.sub-bar {
    background: var(--off);
    border-bottom: 0.5px solid var(--border);
    height: var(--tab-h);
    display: flex;
    align-items: stretch;
    padding: 0 2rem;
    overflow-x: auto;
    scrollbar-width: none;
    position: sticky;
    top: var(--nav-h);
    z-index: 500;
}
.sub-bar::-webkit-scrollbar {
    display: none;
}
.sub-link {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-size: 0.82rem;
    color: var(--mid);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--t);
}
.sub-link:hover {
    color: var(--ink);
}
.sub-link.active {
    color: var(--ink);
    border-bottom-color: var(--red);
    font-weight: 500;
}

/* ── Mobile drawer ── */
.mobile-drawer {
    display: none;
    position: fixed;
    top: calc(var(--bar-h) + var(--nav-h)); /* adjusted per breakpoint */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 500;
    overflow-y: auto;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-drawer.open {
    display: block;
    transform: translateX(0);
}
.mobile-drawer .m-section {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light);
    padding: 0.75rem 0 0.35rem;
    border-top: 0.5px solid var(--border);
    margin-top: 0.75rem;
}
.mobile-drawer .m-section:first-child {
    margin-top: 0;
    border-top: none;
}
.mobile-drawer a {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--ink);
    border-bottom: 0.5px solid var(--border);
}
.mobile-drawer a:hover {
    color: var(--red);
}

/* ── Layout ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.page-section {
    padding: 5.5rem 2rem;
    display: none;
}
.page-section.active {
    display: block;
}
/* Home hero needs full bleed — remove page-section padding */
#home {
    padding: 0;
}
.sub-section {
    display: none;
}
.sub-section.active {
    display: block;
}
.section-off {
    background: var(--off);
}
.section-dark {
    background: var(--ink);
    color: #fff;
}
.section-dark p,
.section-dark .lead {
    color: rgba(255, 255, 255, 0.6);
}
.eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    display: block;
    margin-bottom: 0.6rem;
}
.section-dark .eyebrow {
    color: rgba(212, 49, 42, 0.75);
}
h1 {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.07;
    font-weight: 400;
    letter-spacing: -0.02em;
}
h1 .red {
    color: var(--red);
    font-style: italic;
    display: block;
}
h2 {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: -0.01em;
}
h3 {
    font-size: 1.05rem;
    font-weight: 500;
}
h4 {
    font-size: 0.9rem;
    font-weight: 500;
}
p,
.lead {
    color: var(--mid);
    font-size: 0.9rem;
    line-height: 1.72;
    font-weight: 300;
}
.lead {
    font-size: 1.05rem;
}
.section-header {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 3.5rem;
}
.section-header h2 {
    margin-bottom: 0.75rem;
}

/* ── Grids ── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.7rem 1.5rem;
    border-radius: var(--r);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--t);
    cursor: pointer;
    font-family: var(--font);
    border: none;
}
.btn-dark {
    background: var(--ink);
    color: #fff;
}
.btn-dark:hover {
    background: #222;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-red {
    background: var(--red);
    color: #fff;
}
.btn-red:hover {
    background: #b02520;
    transform: translateY(-1px);
}
.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--ink);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--ink);
}
.btn-white {
    background: #fff;
    color: var(--ink);
}
.btn-white:hover {
    background: var(--off);
}
.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
}

/* ── Hero ── */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    min-height: 0;
}
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4.5rem 3rem 4.5rem 2rem;
    background: var(--off);
}
.hero-left h1 {
    margin-bottom: 1rem;
}
.hero-left > .lead {
    max-width: 400px;
    margin-bottom: 1.5rem;
}
.hero-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    padding: 0.65rem 1rem;
    background: rgba(200, 49, 42, 0.07);
    border: 1px solid rgba(200, 49, 42, 0.15);
    border-radius: var(--r);
    width: fit-content;
}
.hero-price .from {
    font-size: 0.72rem;
    color: var(--mid);
    font-weight: 300;
}
.hero-price .amount {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--ink);
    line-height: 1;
}
.hero-price .note {
    font-size: 0.7rem;
    color: var(--light);
}
.hero-offer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}
.hero-offer .hero-price,
.hero-offer .launch-dates {
    margin-bottom: 0;
}
.hero-deadline {
    margin: -1.1rem 0 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--red);
}
.hero-price .old {
    font-size: 0.9rem;
    color: var(--light);
    text-decoration: line-through;
}
.hero-ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}
.hero-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.sec-hd .hero-rating {
    justify-content: center;
}
.hero-rating .reviews-link {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
}
.hero-rating .reviews-link:hover {
    text-decoration: underline;
}
.hero-rating .stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 1px;
}
.hero-rating span {
    font-size: 0.78rem;
    color: var(--mid);
}
.hero-right {
    background: var(--warm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    min-height: 0;
    contain: size;
}
.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: #fff;
    border-radius: var(--rl);
    padding: 0.9rem 1.1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    max-width: 175px;
}
.hero-badge-icon {
    color: var(--red);
    flex-shrink: 0;
    font-size: 1.1rem;
    margin-top: 2px;
    display: flex;
    align-items: center;
}
.hero-badge h4 {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
}
.hero-badge p {
    font-size: 0.62rem;
    color: var(--light);
    font-weight: 300;
    margin: 0;
}

/* ── Long words on small screens ──
   Translations have longer words than English (German compounds, Spanish…):
   grid and flex children may shrink, and a word longer than its column is
   hyphenated (by the page language) or broken instead of widening the page. */
@media (max-width: 640px) {
    body {
        overflow-wrap: break-word;
        hyphens: auto;
    }
    /* No hyphenation in titles ("pic-ture frame"): they wrap between words */
    h1,
    h2,
    h3 {
        hyphens: manual;
    }
    .stats-row .stat-card {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .split > *,
    [class*="-grid"] > *,
    [class*="-row"] > *,
    [class*="-list"] > *,
    [class*="-card"] > *,
    [class*="-item"] > *,
    form * {
        min-width: 0;
    }
    input,
    select,
    textarea {
        max-width: 100%;
    }
}

/* ── LUX 15 pre-order launch (homepage hero) ── */
.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    margin-bottom: 1.1rem;
    padding: 0.5rem 1rem 0.5rem 0.85rem;
    background: linear-gradient(135deg, #f3dd9b 0%, var(--gold) 55%, #b8862b 100%);
    color: #2a1f08;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(184, 134, 43, 0.35);
}
.launch-badge .launch-dot {
    background: #2a1f08;
}
a.launch-badge,
a.preorder-seal {
    text-decoration: none;
    transition: filter 0.2s, box-shadow 0.2s;
}
a.launch-badge:hover,
a.preorder-seal:hover {
    filter: brightness(1.06);
}
a.launch-badge:hover {
    box-shadow: 0 8px 22px rgba(184, 134, 43, 0.5);
}
.launch-badge .launch-dot::after {
    border-color: rgba(42, 31, 8, 0.6);
}
.launch-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}
.launch-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    animation: launch-pulse 1.8s ease-out infinite;
}
@keyframes launch-pulse {
    from { transform: scale(0.5); opacity: 1; }
    to { transform: scale(1.6); opacity: 0; }
}
.launch-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}
.launch-date {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    border-radius: var(--r);
}
.launch-date svg {
    color: var(--red);
    flex-shrink: 0;
}
.launch-date span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid);
}
.launch-date strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
}
.preorder-seal {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 144px;
    height: 144px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #f6e3a8 0%, var(--gold) 55%, #a8781f 100%);
    color: #2a1f08;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.15rem;
    padding: 0.75rem;
    transform: rotate(-10deg);
    box-shadow: var(--shadow-lg), inset 0 0 0 4px transparent, inset 0 0 0 5px rgba(255, 255, 255, 0.7);
}
.preorder-seal .seal-top,
.preorder-seal .seal-date {
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.25;
}
.preorder-seal .nowrap {
    white-space: nowrap;
}
.preorder-seal .seal-main {
    font-family: var(--serif);
    font-size: 1.7rem;
    line-height: 1;
}
@media (max-width: 640px) {
    .launch-badge {
        font-size: 0.7rem;
    }
    .launch-date strong {
        font-size: 1.15rem;
    }
    .preorder-seal {
        top: 1rem;
        left: 1rem;
        width: 110px;
        height: 110px;
    }
    .preorder-seal .seal-main {
        font-size: 1.3rem;
    }
    .preorder-seal .seal-top,
    .preorder-seal .seal-date {
        font-size: 0.6rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .launch-dot::after {
        animation: none;
    }
}

/* ── LUX 15 launch bar, under the menu on every page ── */
.launch-bar {
    display: block;
    background: var(--red);
    color: #fff;
    text-decoration: none;
}
.launch-bar-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0.7rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    font-size: 0.88rem;
}
.launch-bar strong {
    font-weight: 500;
    letter-spacing: 0.02em;
}
.launch-bar del {
    opacity: 0.7;
}
.launch-bar-detail {
    color: rgba(255, 255, 255, 0.88);
}
.launch-bar-detail::before {
    content: "·";
    margin-right: 1.25rem;
    opacity: 0.6;
}
.launch-bar-cta {
    padding: 0.3rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--t);
}
.launch-bar:hover .launch-bar-cta {
    background: #fff;
    color: var(--red);
}
@media (max-width: 640px) {
    .launch-bar-inner {
        padding: 0.65rem 1.25rem;
        font-size: 0.8rem;
        gap: 0.3rem 0.75rem;
    }
    .launch-bar .launch-dot,
    .launch-bar-detail::before,
    .launch-bar-detail + .launch-bar-detail {
        display: none;
    }
    .launch-bar-inner {
        font-size: 0.78rem;
    }
    .launch-bar strong,
    .launch-bar-detail {
        width: 100%;
        text-align: center;
    }
}

/* ── Icon strip ── */
.icon-strip {
    padding: 3rem 2rem;
    border-bottom: 0.5px solid var(--border);
}
.icon-strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.icon-feat {
    text-align: center;
    padding: 1rem 0.75rem;
}
.icon-feat .if-icon {
    font-size: 1.4rem;
    margin-bottom: 0.65rem;
}
.icon-feat h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.2rem;
    line-height: 1.35;
}
a.icon-feat,
a.gs-item,
a.hero-badge {
    color: inherit;
    text-decoration: none;
}
a.icon-feat {
    display: block;
}
.icon-feat p {
    font-size: 0.82rem;
    color: var(--light);
    line-height: 1.45;
    font-weight: 300;
}

/* ── Cards ── */
.card {
    background: var(--white);
    border: 0.5px solid var(--border);
    border-radius: var(--rl);
    padding: 1.75rem;
    transition: var(--t);
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
    width: 48px;
    height: 48px;
    background: var(--off);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.5px solid var(--border);
}
.card-dark {
    background: var(--ink2);
    border-color: transparent;
}
.card-dark h3,
.card-dark h4 {
    color: #fff;
}
.card-dark p {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Feature row ── */
.feature-row {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 0.5px solid var(--border);
    align-items: flex-start;
}
.feature-row:last-child {
    border-bottom: none;
}
.feature-num {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--red);
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}
.feature-row h3 {
    margin-bottom: 0.35rem;
}

/* ── Product cards ── */
.prod-card {
    border: 0.5px solid var(--border);
    border-radius: var(--rxl);
    overflow: hidden;
    background: var(--white);
    transition: var(--t);
    display: flex;
    flex-direction: column;
}
.prod-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.prod-card.featured {
    border: 2px solid var(--ink);
}
.prod-thumb {
    aspect-ratio: 4/3;
    background: var(--off);
    overflow: hidden;
    position: relative;
}
.prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.4s ease;
}
.prod-card:hover .prod-thumb img {
    transform: scale(1.04);
}
.prod-card.featured .prod-thumb {
    background: var(--warm);
}
.prod-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--ink);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
}
.prod-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.prod-size {
    font-family: var(--serif);
    font-size: 2.2rem;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 3px;
}
.prod-name {
    font-size: 0.75rem;
    color: var(--light);
    margin-bottom: 1rem;
}
.prod-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 1.25rem;
    flex: 1;
}
.prod-tag {
    background: var(--off);
    border: 0.5px solid var(--border);
    border-radius: 100px;
    padding: 3px 9px;
    font-size: 0.7rem;
    color: var(--ink2);
}
.prod-tag.accent {
    background: var(--red-l);
    border-color: var(--red-m);
    color: var(--red);
}
.prod-actions {
    display: flex;
    gap: 0.5rem;
}
.prod-actions a {
    flex: 1;
    padding: 0.58rem 0;
    border-radius: var(--r);
    font-size: 0.78rem;
    font-weight: 500;
    text-align: center;
    transition: var(--t);
}
.pa-dark {
    background: var(--ink);
    color: #fff;
}
.pa-dark:hover {
    background: #222;
}
.pa-line {
    border: 0.5px solid var(--border);
    color: var(--ink2);
}
.pa-line:hover {
    border-color: var(--ink);
}

/* ── Product specs list (homepage frame cards) ── */
.prod-specs {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.5rem;
}
.prod-spec {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: var(--ink2);
    line-height: 1.4;
}
.prod-spec svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--ink2);
    opacity: 0.55;
}

/* ── Video CTA ── */
.video-cta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--off);
    border: 0.5px solid var(--border);
    border-radius: var(--rl);
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: var(--t);
    text-decoration: none;
}
.video-cta:hover {
    border-color: var(--ink);
}
.play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--t);
}
.video-cta:hover .play-btn {
    background: var(--red);
    transform: scale(1.06);
}
.play-btn svg {
    width: 14px;
    height: 14px;
    fill: #fff;
    margin-left: 2px;
}
.video-cta-text strong {
    font-size: 0.875rem;
    color: var(--ink);
    display: block;
    margin-bottom: 2px;
}
.video-cta-text span {
    font-size: 0.75rem;
    color: var(--mid);
}

/* ── Steps ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}
.step-card {
    text-align: center;
    position: relative;
}
.step-visual {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--rxl);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}
.step-num {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 0.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink);
}
.step-arrow {
    position: absolute;
    top: 38%;
    right: -1.35rem;
    font-size: 0.9rem;
    color: var(--border);
}

/* ── Spec table ── */
.spec-tbl {
    width: 100%;
    border-collapse: collapse;
}
.spec-tbl th,
.spec-tbl td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 0.5px solid var(--border);
    font-size: 0.84rem;
}
.spec-tbl th {
    background: var(--off);
    font-weight: 500;
    color: var(--ink2);
    width: 40%;
}
.spec-tbl td {
    color: var(--mid);
}

/* ── Review cards ── */
.review-card {
    background: var(--off);
    border-radius: var(--rl);
    padding: 1.5rem;
}
.review-stars {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
    letter-spacing: 2px;
}
.review-quote {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--ink2);
    line-height: 1.65;
    margin-bottom: 0.9rem;
}
.review-author {
    font-size: 0.74rem;
    color: var(--light);
}

/* ── CTA banner ── */
.cta-banner {
    background: var(--ink);
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-banner h2 {
    color: #fff;
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.4rem;
    font-size: 0.875rem;
}
.cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ── FAQ ── */
.faq-item {
    border-bottom: 0.5px solid var(--border);
    padding: 1.1rem 0;
}
.faq-q {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 1rem;
}
.faq-q::after {
    content: "+";
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--light);
    flex-shrink: 0;
    transition: transform 0.25s;
}
.faq-item.open .faq-q::after {
    transform: rotate(45deg);
}
.faq-a {
    font-size: 0.875rem;
    color: var(--mid);
    line-height: 1.7;
    padding-top: 0.65rem;
    display: none;
}
.faq-item.open .faq-a {
    display: block;
}

/* ── Guarantee strip ── */
.gs-strip {
    padding: 2.5rem 2rem;
    border-top: 0.5px solid var(--border);
}
.gs-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.gs-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.gs-icon {
    font-size: 1.3rem;
    color: var(--ink);
    flex-shrink: 0;
}
.gs-text h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 1px;
}
.gs-text p {
    font-size: 0.82rem;
    color: var(--light);
    margin: 0;
    font-weight: 300;
}

/* ── Comparison table ── */
.cmp-wrap {
    border-radius: var(--rl);
    overflow-x: auto;
    border: 0.5px solid var(--border);
    -webkit-overflow-scrolling: touch;
}
.cmp-wrap > * {
    min-width: 520px;
}
.cmp-head {
    display: grid;
    background: var(--ink);
}
.cmp-row {
    display: grid;
    border-top: 0.5px solid var(--border);
}
.cmp-row:nth-child(even) {
    background: var(--off);
}
.ch {
    padding: 0.85rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}
.ch:first-child {
    text-align: left;
}
.ch.us {
    color: #fff;
    background: rgba(200, 49, 42, 0.85);
}
.cc {
    padding: 0.8rem 1.25rem;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid);
}
.cc:first-child {
    justify-content: flex-start;
    color: var(--ink);
}
.cc.us {
    background: rgba(200, 49, 42, 0.06);
}
.ck {
    color: var(--red);
    font-weight: 700;
}
.cx {
    color: var(--border);
}

/* ── About strip ── */
.about-strip {
    background: var(--ink);
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-strip h2 {
    color: #fff;
    margin-bottom: 0.75rem;
}
.about-strip p {
    color: rgba(255, 255, 255, 0.6);
}
.about-nums {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.about-num {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.an-num {
    font-family: var(--serif);
    font-size: 2.5rem;
    color: var(--red);
    line-height: 1;
    min-width: 90px;
}
.an-lbl {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    font-weight: 300;
}

/* ── Footer ── */
.site-footer {
    background: var(--ink);
    color: #fff;
    padding: 4rem 2rem 2rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 0.75rem;
}
.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
    opacity: 1;
}
.fl-pix,
.fl-star {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem; /* same as header .logo-pix/.logo-star */
    color: #fff;
}
.fl-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red); /* same as header .logo-dot */
    margin: 0 1px 3px;
    flex-shrink: 0;
}
.fl-star-icon {
    color: var(--red);
    font-size: 1rem;
    font-style: normal;
    margin: 0 1px;
    line-height: 1;
}
.footer-tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.65;
    max-width: 240px;
    font-weight: 300;
}
.footer-col h4 {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.footer-col ul a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
    cursor: pointer;
}
.footer-col ul a:hover {
    color: #fff;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.75rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.footer-legal a {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Misc ── */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Padded sections reached by an anchor: let part of their top padding go under the nav */
.topic-section[id],
.section-wrap[id],
.video-section[id] {
    scroll-margin-top: -2.5rem;
}
/* An anchor inside a fade-up block still moves up 20px after the jump: keep the gap below the nav */
.fade-up[id],
.fade-up [id] {
    scroll-margin-top: 20px;
}
.tag-pill {
    background: var(--off);
    border: 0.5px solid var(--border);
    border-radius: 100px;
    padding: 3px 10px;
    font-size: 0.72rem;
    color: var(--ink2);
}
.tag-pill.accent {
    background: var(--red-l);
    border-color: var(--red-m);
    color: var(--red);
}
.info-box {
    background: var(--off);
    border-radius: var(--rl);
    padding: 1.75rem;
    border: 0.5px solid var(--border);
}
.page-hero {
    background: var(--off);
    padding: 4.5rem 2rem 3.5rem;
    border-bottom: 0.5px solid var(--border);
}

/* ── Sticky buy ── */
.sticky-buy {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 400;
    background: var(--ink);
    padding: 0.75rem 1.5rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.sticky-buy strong {
    color: #fff;
    font-size: 0.875rem;
    display: block;
}
.sticky-buy span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    /* ── Mobile nav: row 1 = logo+burger, row 2 = buttons ── */
    .nav-inner {
        height: auto;
        flex-wrap: wrap;
        padding: 0.4rem 1.25rem;
        gap: 0;
        align-items: center;
    }
    .logo {
        flex: 1;
        height: var(--nav-h);
        display: flex;
        align-items: center;
    }
    .burger {
        display: flex;
        height: var(--nav-h);
        align-items: center;
    }
    .main-links {
        display: none;
    }
    .nav-right {
        order: 10;
        width: 100%;
        border-top: 0.5px solid var(--border);
        padding: 0.45rem 0 0.5rem;
        justify-content: flex-end; /* buttons aligned right on mobile */
        flex-wrap: wrap;
        gap: 0.35rem;
        height: auto;
    }
    .nav-btn {
        font-size: 0.72rem;
        padding: 0.32rem 0.7rem;
    }
    .nav-btn-dark {
        font-size: 0.72rem;
        padding: 0.32rem 0.7rem;
    }
    /* Mobile drawer: starts below 2-row nav (logo+burger row + buttons row) */
    .mobile-drawer {
        top: calc(
            var(--bar-h) + env(safe-area-inset-top, 0px) + var(--nav-h) +
                2.75rem
        );
    }
    /* ── end mobile nav ── */
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-right {
        min-height: 50vw;
    }
    .split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .icon-strip-inner {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-strip {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .gs-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .sticky-buy {
        display: flex;
    }
    body {
        padding-bottom: 70px;
    }
}
@media (max-width: 640px) {
    .page-section {
        padding: 3.5rem 1.25rem;
    }
    .hero-left {
        padding: 3rem 1.25rem;
    }
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .step-arrow {
        display: none;
    }
    .icon-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cta-banner {
        flex-direction: column;
        text-align: center;
    }
    .cta-actions {
        justify-content: center;
    }
    .gs-inner {
        grid-template-columns: 1fr 1fr;
    }
    h1 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    .trust-bar {
        gap: 1.25rem;
    }
    .trust-item:nth-child(3) {
        display: none;
    }
}
@media (max-width: 420px) {
    /* Galaxy S10 and other narrow phones: compact trust bar */
    .trust-bar {
        gap: 0.6rem;
        justify-content: space-between;
        padding-right: max(env(safe-area-inset-right, 0px), 2.5rem);
    }
    .trust-item {
        font-size: 0.62rem;
        height: var(--bar-h);
    }
    .trust-item .ico svg {
        width: 11px !important;
        height: 11px !important;
    }
}

/* ── Modal ── */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 700;
}

.modal-content {
    background: #fff;
    border-radius: var(--rxl);
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--ink);
}

.modal-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--mid);
    background: none;
    border: none;
    padding: 0.25rem;
    line-height: 1;
}

.modal-close:hover {
    color: var(--ink);
}

.modal-body {
    padding: 1.5rem 2rem;
}

.modal-body .form-group {
    margin-bottom: 1.25rem;
}

.modal-body .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink2);
}

.modal-body .form-group input[type="text"],
.modal-body .form-group input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-size: 1rem;
    font-family: var(--font);
    color: var(--ink);
    box-sizing: border-box;
}

.modal-body .form-group input:focus {
    outline: none;
    border-color: var(--red);
}

.input-group {
    display: flex;
    align-items: center;
    gap: 0;
}

.input-group input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-suffix {
    padding: 0.75rem 1rem;
    background: var(--off);
    border: 1px solid var(--border);
    border-left: none;
    border-top-right-radius: var(--r);
    border-bottom-right-radius: var(--r);
    font-size: 0.9rem;
    color: var(--mid);
    white-space: nowrap;
}

.forgot-password {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--red);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.modal-footer {
    padding: 0 2rem 1.5rem;
    text-align: center;
}

#loginFormError {
    color: #721c24;
    background-color: var(--red-l);
    border: 1px solid var(--red-m);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--r);
    font-size: 0.9rem;
}

/* ── Video Modal ── */
.modal-video {
    background: rgba(0, 0, 0, 0.9);
    z-index: 800;
}

.modal-video-content {
    position: relative;
    width: 90%;
    max-width: 960px;
}

.modal-video-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    z-index: 10;
}

.modal-video-close:hover {
    color: var(--red);
}

.modal-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--rl);
    box-shadow: var(--shadow-lg);
}

.modal-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ── Footer Language Switcher ── */
.footer-lang-switcher {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-lang-switcher span {
    font-size: 0.85rem;
    color: var(--mid);
}

.footer-lang-switcher a {
    font-size: 0.85rem;
    color: var(--mid);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: var(--r);
    transition: var(--t);
}

.footer-lang-switcher a:hover {
    color: var(--ink);
    background: var(--off);
}

.footer-lang-switcher a.active {
    color: var(--red);
    font-weight: 600;
}

/* ── Auth Button Styles (DPF Panel) ── */
.dpf-panel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border: 0.5px solid var(--border);
    border-radius: var(--r);
    font-size: 0.8rem;
    color: var(--mid);
    cursor: pointer;
    text-decoration: none;
    transition: var(--t);
}

.dpf-panel:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.dpf-panel-email {
    font-weight: 500;
    color: var(--ink);
}

.dpf-panel-status {
    text-transform: uppercase;
    font-weight: normal;
    font-size: 0.75rem;
    color: var(--mid);
}

.dpf-panel-status .status-online {
    color: var(--success);
}

.dpf-panel-status .status-offline {
    color: var(--red);
}

.dpf-panel-arrow {
    margin-left: 0.25rem;
}

/* ── Moment cards (Designed for every moment) ── */
.grid-5-moment {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}
.moment-card {
    text-align: center;
}
.moment-thumb {
    position: relative;
    border-radius: var(--rxl);
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 1rem;
}
.moment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.moment-card:hover .moment-thumb img {
    transform: scale(1.05);
}
.moment-icon {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.moment-card h3 {
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.moment-card p {
    font-size: 0.8rem;
    color: var(--mid);
    line-height: 1.4;
}

/* ── Responsive: moment cards ── */
@media (max-width: 1024px) {
    .grid-5-moment {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 640px) {
    .grid-5-moment {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ── Mobile: readable text (12 px minimum) and touch targets of 44 px ── */
@media (max-width: 1024px) {
    .burger {
        width: 44px;
        height: 44px;
        align-self: center;
    }
    .nav-btn,
    .nav-btn-dark {
        font-size: 0.8rem;
        min-height: 44px;
        padding: 0 0.85rem;
    }
    /* LUX pages: title, price and buttons before the specs table */
    body .product-gallery-col {
        display: contents;
    }
    body .product-gallery {
        order: 1;
    }
    body .product-right {
        order: 2;
    }
    body .product-inline-specs {
        order: 3;
        margin-top: 0;
    }
}
@media (max-width: 640px) {
    /* Home: the hero already presents the LUX 15 pre-order; its button comes right after the price */
    .launch-bar-home {
        display: none;
    }
    .hero-left .hero-ctas {
        order: 1;
    }
    .hero-left .launch-dates,
    .hero-left .hero-rating {
        order: 2;
    }
    .btn,
    .ma-dark,
    .ma-line {
        min-height: 44px;
    }
    .reviews-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    .footer-col ul a,
    .footer-legal a {
        display: inline-block;
        padding: 0.75rem 0;
    }
    .footer-lang-switcher a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
    .sticky-buy span,
    .launch-badge,
    .hero-price .note,
    .eyebrow,
    .prod-badge,
    .review-author,
    .footer-col h4,
    .footer-bottom p,
    .footer-legal a,
    body .model-badge,
    body .model-tag,
    body .product-breadcrumb,
    body .product-title-sub,
    body .stat-b-lbl,
    body .ch-px,
    body .review-author-px,
    body small {
        font-size: 0.75rem;
    }
}
@media (max-width: 420px) {
    /* One message at a readable size (the warranty is also in the sticky bar and next to the prices) */
    .trust-bar {
        justify-content: center;
        padding-right: 0;
    }
    .trust-item {
        font-size: 0.75rem;
    }
    .trust-item:nth-child(n + 2) {
        display: none;
    }
}
