:root {
    --glass-bg: rgba(255,255,255,.05);
    --glass-border: rgba(255,255,255,.1);
    --glass-motion: cubic-bezier(.16,1,.3,1);
    --glass-radius: 2.5rem;
    --max: 100rem;
}

body { background: var(--paper); }
.grain-surface { position: relative; isolation: isolate; overflow: hidden; }
.grain-surface::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/grain.svg") repeat fixed;
    opacity: .15;
    pointer-events: none;
    z-index: -1;
}

.site-header {
    inset-block-start: .75rem;
    width: min(100rem, calc(100% - 2rem));
    margin: .75rem auto 0;
    padding: 1.5px;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    color: white;
    background: linear-gradient(180deg, #142c49ed, #010e21ed);
    backdrop-filter: blur(20px);
}
.site-header .header-inner { width: auto; min-height: 3.75rem; margin-inline: 1.1rem; }
.site-header :is(.site-nav a,.language-link) { color: #ffffffcc; }
.site-header :is(.site-nav a,.language-link) { display: inline-block; padding: .35rem .7rem; border-radius: 100px; }
.site-header :is(.site-nav a,.language-link):hover { background: #ffffff1a; text-decoration: none; }
.site-header .site-nav ul { gap: .25rem; }
.site-header .button { border-radius: 100px; background: var(--steel); color: var(--white); white-space: nowrap; }

.hero {
    display: grid;
    align-items: center;
    width: min(100rem, calc(100% - 2rem));
    min-height: 92vh;
    margin: .8rem auto 0;
    padding-block: clamp(3rem,8vw,8rem);
    color: white;
    border-radius: var(--glass-radius);
    background: linear-gradient(180deg,var(--navy) 6%,#102b4d 55%,var(--navy) 100%);
}
.hero::before,.feature-display::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(180deg, rgba(1,14,33,.40), rgba(1,14,33,.90)), url("assets/eloxis-blue-hero.webp") center 50% / cover;
    opacity: .6;
}
.hero .frame { width: calc(100% - clamp(3rem,11vw,12rem)); }
.hero h1,.hero[dir="rtl"] h1,html[dir="rtl"] .hero h1 {
    max-width: 15ch;
    font-size: clamp(2.85rem,6.7vw,7rem);
    line-height: 1.05;
    letter-spacing: -.05em;
    font-weight: 600;
}
html[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.35; }
.hero-copy>p:not(.eyebrow) { color: #cfdeee; }
.hero-copy .hero-text-link { color: #eef5fc; }
.hero-copy .action-pill {
    color: var(--white);
    background: var(--steel);
    border-radius: 100px;
    padding: .4rem .45rem .4rem 1.35rem;
    padding-inline: 1.35rem .45rem;
    gap: .8rem;
    transition: transform .3s var(--glass-motion), background .3s var(--glass-motion);
}
.hero-copy .action-pill span { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ink); color: white; transition: background .3s var(--glass-motion); }
.hero-copy .action-pill:hover { background: #123c65; }
.hero-copy .action-pill:hover span { background: var(--steel); }
:is(.hero,.productivity,.site-header) :is(a,button):focus-visible { outline-color: var(--cyan); }

.hero-stats { display: grid; gap: .75rem; justify-self: end; width: min(100%, 13rem); }
.glass-stat,.analysis-panel,.productivity-steps li,.productivity .workspace-note {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
}
.glass-stat { display: grid; padding: 1.25rem; line-height: 1.28; }
.glass-stat strong { color: var(--cyan); font-size: 1.875rem; font-weight: 600; }
.glass-stat { text-decoration: none; }
.glass-stat:hover { background-color: #19508755; }
.glass-stat span { color: #ffffffb3; font-size: .875rem; }
.logo-strip { border: 0; }

.feature-split,.productivity-grid { display: grid; gap: clamp(2rem,5vw,6rem); align-items: start; }
.feature-intro h2,.productivity-copy h2 {
    font-size: clamp(2.25rem,4.5vw,4rem);
    line-height: 1.05;
    letter-spacing: -.05em;
}
[dir="rtl"] :is(.feature-intro h2,.productivity-copy h2) { letter-spacing: normal; line-height: 1.2; }
.feature-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem 1rem; list-style: none; margin: 1.75rem 0 0; padding: 0; }
.feature-links a { display: flex; gap: .65rem; align-items: center; padding: .4rem 0; text-decoration: none; }
.feature-links a:hover { text-decoration: underline; }
.feature-links a span { font-size: 1.25rem; color: var(--steel); }
.feature-display {
    display: grid;
    align-items: end;
    justify-items: start;
    min-height: clamp(21rem,38vw,38rem);
    padding: clamp(1rem,4vw,3rem);
    border-radius: var(--glass-radius);
    background: linear-gradient(160deg,#214b74,var(--navy) 80%);
    color: white;
}
.feature-display::before { opacity: .55; }
.analysis-panel { color: white; width: min(100%,22rem); padding: 1.25rem; }
.landing-section .analysis-panel p { color: #dce5ef; }
.design-label { margin: 0 0 .5rem; font-size: .8125rem; font-weight: 600; }
.analysis-states { margin: .75rem 0 0; padding: 0; list-style: none; }
.analysis-states li { padding-block: .5rem; border-block-start: 1px solid var(--glass-border); }
.landing-section .analysis-states a { color: var(--white); font-size: .875rem; }
.landing-section .analysis-states li:last-child a { color: var(--cyan); }

.productivity {
    width: min(100rem, calc(100% - 2rem));
    margin-inline: auto;
    padding-block: clamp(3rem,8vw,8rem);
    color: #fcfcfd;
    border-radius: var(--glass-radius);
    background: linear-gradient(165deg,#17395b,var(--ink) 45%,var(--navy));
}
.productivity::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .4;
    background-image: linear-gradient(#ffffff14 1px,transparent 1px),linear-gradient(90deg,#ffffff14 1px,transparent 1px);
    background-size: 52px 52px;
}
.productivity-steps { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .75rem; }
.productivity-steps li { display: flex; gap: 1rem; padding: 1.25rem; }
.productivity-steps li>span { color: var(--cyan); }
.productivity-steps li p { color: #cfdeee; margin: 0; }
.productivity .workflow { position: relative; margin: 0; }
.productivity .workspace,.productivity .workspace-metrics>div { color: #eef5fc; border-color: var(--glass-border); background: var(--panel); }
.productivity .workspace { border-radius: 1.5rem; }
.productivity .workspace-rail { background: var(--navy); }
.productivity .workspace :is(p,small,.workspace-top,.workspace-steps button),.productivity .hero-caption { color: #cfdeee; }
.productivity .workspace-note,.productivity .preview-label,.productivity .workspace-steps button[aria-pressed="true"] { color: #dce5ef; background-color: var(--glass-bg); border-color: var(--glass-border); }
.productivity .workspace-note strong { color: var(--cyan); }
.workspace-step-link { display: inline-block; margin-block-start: .65rem; color: var(--cyan); font-size: .85rem; }
.workflow-code { display: block; overflow-x: auto; margin-block-start: .75rem; padding: .6rem; color: #c0ecff; background: #ffffff0d; border: 1px solid var(--glass-border); border-radius: .5rem; font-size: .69rem; }
.workflow-status { position: absolute; inset-inline-end: .75rem; inset-block-end: 2rem; padding: .25rem .75rem; color: var(--white); background: var(--deep-2); border: 1px solid var(--glass-border); border-radius: .5rem; font-size: .8125rem; }

.eloxis-launch-pricing .eloxis-launch-grid .eloxis-launch-card {
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 2rem;
    border-color: #dce5ef;
    background: white;
}
.eloxis-launch-pricing .eloxis-launch-grid .eloxis-launch-card-highlight { border-color: var(--steel); }
.eloxis-launch-pricing .eloxis-launch-card .eloxis-launch-button { width: 100%; border-radius: 999px; }

@media (min-width: 56rem) {
    .hero-grid { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); }
    .feature-split,.productivity-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); }
    .feature-intro { position: sticky; top: 7rem; }
    .productivity-grid { align-items: center; }
}

@media (max-width: 47.99rem) {
    .site-header { border-radius: 1.5rem; }
    .site-header .header-inner { margin-inline: .7rem; row-gap: .45rem; padding-block: .55rem; }
    .site-header .site-nav ul { justify-content: space-between; gap: 0; }
    .site-header .site-nav a { padding: .25rem .35rem; font-size: .78rem; }
    .site-header .header-actions { gap: .25rem; }
    .hero,.productivity { width: calc(100% - 1rem); }
    .hero-grid { grid-template-columns: minmax(0,1fr); }
    .hero-stats { width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .glass-stat { padding: .7rem .5rem; }
    .glass-stat span { font-size: .72rem; }
    .workflow-status { position: static; display: inline-block; margin-block-start: .5rem; }
}

