/* Adelia landing. Airy blush palette from brand red; one dark ink for CTAs; pills everywhere. */
:root {
    color-scheme: light;
    --bg: #f6f5f7;
    --surface: #fff;
    --ink: #1a1a1f;
    --ink-2: #5d5d68; /* 6.3:1 on --bg */
    --ink-3: #8a8a95;
    --line: #e6e4ea;
    --red: #e3222e;
    --blush: #f7dcdc;
    --blush-2: #fbeceb;
    --hl: linear-gradient(90deg, #e3222e, #ff8a65);
    --r: 24px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --font: "Urbanist", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}
html::-webkit-scrollbar {
    display: none;
}
body {
    font-family: var(--font);
    font-size: 1.0625rem;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
[hidden] {
    display: none !important;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}
:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
    border-radius: 8px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--ink);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    z-index: 30;
}
.skip:focus {
    top: 1rem;
}
.wrap {
    width: min(1160px, 100% - 3rem);
    margin-inline: auto;
}
.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* type */
h1,
h2 {
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.04;
    text-wrap: balance;
}
h1 {
    font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem);
    max-width: 15ch;
}
h2 {
    font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
    max-width: 16ch;
}
h3 {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.dim {
    color: color-mix(in srgb, var(--ink) 50%, transparent);
}
.hl {
    background: var(--hl);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.sub {
    margin-top: 1rem;
    color: var(--ink-2);
    font-size: 1.125rem;
    max-width: 46ch;
}
.tag {
    display: inline-block;
    width: fit-content;
    height: fit-content;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-2);
    margin-bottom: 1.25rem;
}
.statement {
    font-size: clamp(1.5rem, 1rem + 1.7vw, 2.4rem);
    line-height: 1.25;
    letter-spacing: -0.025em;
    font-weight: 500;
    text-wrap: pretty;
}

/* pills */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    font: 600 1rem/1 var(--font);
    padding: 1rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform 0.25s var(--ease),
        background-color 0.2s,
        border-color 0.2s;
}
.pill:active {
    transform: scale(0.97);
}
.pill .ph {
    transition: transform 0.25s var(--ease);
}
.pill:hover .ph-arrow-up-right {
    transform: translate(2px, -2px);
}
.pill--dark {
    background: var(--ink);
    color: #fff;
}
.pill--dark:hover {
    background: #33333b;
}
.pill--white {
    background: var(--surface);
    color: var(--ink);
}
.pill--white:hover {
    background: #fff5f4;
}
.pill--line {
    border-color: color-mix(in srgb, var(--ink) 22%, transparent);
}
.pill--line:hover {
    border-color: var(--ink);
}
.pill--sm {
    padding: 0.7rem 1.1rem;
    font-size: 0.9375rem;
}

/* hero: vertical blush gradient, copy left, phones right */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 1.5rem);
    margin: 0.75rem;
    border-radius: 32px;
    padding-bottom: 3rem;
    border: 1px solid #f1d6d6;
    background: linear-gradient(
        180deg,
        #f2c9c9 0%,
        var(--blush) 35%,
        var(--blush-2) 75%,
        #fdf5f4 100%
    );
}
.hero::before {
    /* soft glow behind the phones */
    content: "";
    position: absolute;
    left: 72%;
    top: 50%;
    width: 60vw;
    max-width: 820px;
    aspect-ratio: 1.2;
    translate: -50% -45%;
    background: radial-gradient(
        closest-side,
        rgb(255 255 255 / 0.9),
        transparent
    );
    pointer-events: none;
}
.nav {
    position: fixed; /* floats over every section */
    top: 1.25rem;
    left: 50%;
    translate: -50% 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1160px, 100% - 2rem);
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    border-radius: 999px;
    background: rgb(248 227 226 / 0.88);
    border: 1px solid rgb(255 255 255 / 0.7);
    box-shadow: 0 8px 30px rgb(120 20 30 / 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.logo {
    display: inline-flex;
}
.logo img {
    height: 30px;
    width: auto;
    padding-bottom: 2px;
}
.nav__pills {
    display: flex;
    gap: 0.25rem;
}
.nav__pills a {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-weight: 500;
    color: var(--ink);
    transition:
        background-color 0.2s,
        color 0.2s;
}
.nav__pills a:hover {
    background: var(--surface);
    color: var(--ink);
}

.hero__grid {
    flex: 1;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 2rem;
    width: min(1160px, 100% - 3rem);
    margin: 0 auto;
    padding-top: clamp(6.5rem, 9vw, 8rem);
}
.hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero h1 {
    max-width: 12ch;
}
.hero__sub {
    margin-top: 1.5rem;
    max-width: 44ch;
    font-size: 1.1875rem;
    color: var(--ink-2);
}
.hero__ctas {
    margin-top: 2.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.hero__img {
    width: 100%;
    filter: drop-shadow(0 30px 40px rgb(140 20 30 / 0.18));
    transition: opacity 0.6s;
}
.hero__stage {
    position: relative;
    margin-right: -3vw;
}
.hero__stage canvas {
    position: absolute;
    inset: -10% -10% -10% -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
}
.hero__stage.is-3d .hero__img {
    opacity: 0; /* kept in the DOM for its alt text and as the no-WebGL fallback */
}

/* about */
.about {
    padding: 8rem 0 6rem;
}
.split {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}
.split .tag {
    margin-top: 0.4rem;
}
.about__row {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.tile {
    border-radius: var(--r);
    padding: 2rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.tile--lang {
    background: var(--surface);
}
.tile__label {
    font-size: 0.9375rem;
    color: var(--ink-2);
    font-weight: 600;
}
.tile__note {
    color: var(--ink-2);
    max-width: 32ch;
}
.tile__big {
    font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    transition: opacity 0.2s;
}
.tile__big.is-swapping {
    opacity: 0;
}
.seg {
    margin-top: auto;
    border: 0;
    display: inline-flex;
    width: fit-content;
    padding: 4px;
    border-radius: 999px;
    background: var(--bg);
}
.seg input {
    position: absolute;
    opacity: 0;
}
.seg span {
    display: block;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    color: var(--ink-2);
    transition:
        background-color 0.2s,
        color 0.2s;
}
.seg input:checked + span {
    background: var(--ink);
    color: #fff;
}
.seg input:focus-visible + span {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}
.tile--red {
    background: radial-gradient(
        120% 100% at 15% 0%,
        #ff8a65,
        var(--red) 50%,
        #a8101a
    );
    color: #fff;
}
.tile--red .tile__label {
    color: rgb(255 255 255 / 0.85);
}
.verbs {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.verbs li {
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.16);
    border: 1px solid rgb(255 255 255 / 0.3);
    font-weight: 600;
    font-size: 0.9375rem;
}

/* features: tabs + one large panel */
.features {
    padding: 4rem 0 7rem;
}
.tabs {
    margin-top: 2.5rem;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 5px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.tabs button,
.road__steps button {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--ink-2);
    transition:
        background-color 0.2s,
        color 0.2s;
}
.tabs button:hover {
    color: var(--ink);
}
.tabs [aria-selected="true"] {
    background: var(--ink);
    color: #fff;
}
.tabs [aria-selected="true"]:hover {
    color: #fff;
}
.agent {
    position: relative;
    overflow: hidden;
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 1rem;
    min-height: 600px;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border-radius: 32px;
    background: var(--g);
    animation: fade 0.4s var(--ease);
}
.agent::before {
    content: "";
    position: absolute;
    width: 60%;
    aspect-ratio: 1;
    right: -8%;
    top: 50%;
    translate: 0 -50%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(255 255 255 / 0.75), transparent);
    pointer-events: none;
}
.agent--chat { --g: linear-gradient(135deg, #fff1ee, #f9c9c4); }
.agent--media { --g: linear-gradient(135deg, #fff0e6, #ffc4a3); }
.agent--web { --g: linear-gradient(135deg, #fdecec, #f3b8c2); }
.agent--info { --g: linear-gradient(135deg, #fff3e8, #f7cfa8); }
.agent--doc { --g: linear-gradient(135deg, #fbeceb, #f0b4b4); }
.agent__copy { position: relative; display: flex; flex-direction: column; gap: 0.9rem; }
.agent__copy h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.agent__copy p { color: #2d2d35; font-size: 1.25rem; max-width: 34ch; }
.agent__icon {
    width: 52px; height: 52px; display: grid; place-items: center;
    border-radius: 16px; background: rgb(255 255 255 / 0.8);
    color: var(--red); font-size: 1.6rem; margin-bottom: 0.5rem;
}
.agent__shot {
    position: relative; justify-self: center; width: auto; max-width: 100%;
    max-height: 560px; object-fit: contain;
    filter: drop-shadow(0 30px 40px rgb(120 20 30 / 0.22));
}

/* beta: full-bleed red block */
.beta__card {
    position: relative; overflow: hidden; text-align: center;
    display: flex; flex-direction: column; align-items: center;
    padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; border-radius: 32px;
    background: radial-gradient(90% 120% at 50% 0%, #ff7a5c, var(--red) 45%, #9e0f18);
    color: #fff;
}
.beta__card .dim { color: rgb(255 255 255 / 0.78); }
.beta__sub { margin-top: 1.25rem; max-width: 42ch; font-size: 1.125rem; color: rgb(255 255 255 / 0.92); }
.stores { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.store {
    display: inline-flex; align-items: center; gap: 0.8rem;
    padding: 0.8rem 1.5rem 0.8rem 1.2rem; border-radius: 18px;
    background: var(--ink); color: #fff; border: 1px solid rgb(255 255 255 / 0.25);
    transition: transform 0.25s var(--ease), background-color 0.2s;
}
.store:hover { background: #33333b; transform: translateY(-2px); }
.store .ph-fill { font-size: 2rem; }
.store span { display: flex; flex-direction: column; font-size: 1.2rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.store small { font-size: 0.75rem; font-weight: 500; opacity: 0.8; letter-spacing: 0; }

/* roadmap */
.roadmap {
    padding: 8rem 0;
}
.road {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}
.road__steps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}
.road__steps button {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    padding: 0.35rem 0;
    color: var(--ink-3);
}
.road__steps button:hover {
    color: var(--ink-2);
}
.road__steps [aria-selected="true"] {
    color: var(--ink);
    font-size: 2.25rem;
}
.road__steps [aria-selected="true"]::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 0.5rem;
    border-radius: 50%;
    background: var(--red);
    vertical-align: middle;
}
.road__panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
    animation: fade 0.4s var(--ease);
}
.road__text {
    padding: 1rem 2rem 0 0;
}
.road__card {
    margin-top: 0;
}
.road__text p {
    margin-top: 0.9rem;
    color: var(--ink-2);
    font-size: 1.0625rem;
}
.road__card {
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--r);
    background: var(--surface);
}
.road__card li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: var(--bg);
    font-weight: 500;
}
.road__card .ph {
    color: var(--red);
    font-size: 1.25rem;
    flex: none;
}

/* footer: gradient + giant cropped wordmark */
.foot {
    margin: 0.75rem;
    border-radius: 32px;
    overflow: hidden;
    padding-top: 4rem;
    background: linear-gradient(
        180deg,
        var(--surface),
        var(--blush) 75%,
        #f2c9c9
    );
}
.foot__top {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.foot__tag {
    margin-top: 0.75rem;
    color: var(--ink-2);
}
.foot__brands {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.foot__sep {
    width: 1px;
    height: 28px;
    background: var(--ink-2);
    opacity: 0.8;
}
.logo--tsel img {
    height: 34px;
    padding: 0;
}
/* Adelia sparkles raise its box; letters sit ~5px below box centre */
.foot__brands > a.logo img {
    transform: translateY(-5px);
    padding: 0;
}
.foot__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    color: var(--ink-2);
    font-weight: 500;
}
.foot__links a:hover {
    color: var(--ink);
}
.foot__copy {
    margin-top: 3rem;
    color: var(--ink-2);
    font-size: 0.9375rem;
}
.foot__mark {
    font-size: clamp(6rem, 24vw, 22rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.78;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: -0.12em;
    color: rgb(255 255 255 / 0.7);
    user-select: none;
}

/* motion only when allowed */
@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
}
@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0; /* motion inView fades these in */
    }
    .hero__copy > * {
        animation: rise 0.9s var(--ease) both;
    }
    .hero__copy > :nth-child(2) {
        animation-delay: 0.06s;
    }
    .hero__copy > :nth-child(3) {
        animation-delay: 0.12s;
    }
    .hero__copy > :nth-child(4) {
        animation-delay: 0.18s;
    }
    .hero__img {
        animation: rise 1.2s var(--ease) 0.2s both;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .agent,
    .road__panel {
        animation: none;
    }
}

/* responsive */
@media (max-width: 900px) {
    .nav__pills {
        display: none;
    }
    .hero {
        min-height: 0;
    }
    .hero__grid {
        grid-template-columns: 1fr;
    }
    .hero__img {
        max-width: 560px;
        margin: 0 auto;
    }
    .split,
    .road {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .about__row {
        grid-template-columns: 1fr;
    }
    .tile {
        min-height: 0;
    }
    .agent,
    .road__panel {
        grid-template-columns: 1fr;
    }
    .agent {
        min-height: 0;
    }
    .road__steps {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.25rem 1.25rem;
        margin-bottom: 1.5rem;
    }
    .road__steps [aria-selected="true"] {
        font-size: 1.5rem;
    }
    .road__text {
        padding: 0 0 1rem;
    }
}
@media (max-width: 560px) {
    .wrap {
        width: calc(100% - 2rem);
    }
    .hero,
    .foot {
        margin: 0.5rem;
        border-radius: 24px;
    }
    .nav {
        padding-left: 1rem;
    }
    .about,
    .roadmap {
        padding: 4rem 0;
    }
    .hero__grid {
        width: calc(100% - 2rem);
    }
    .logo img {
        height: 28px;
    }
    .tabs {
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        justify-content: flex-start;
    }
    .tabs::-webkit-scrollbar {
        display: none;
    }
    .tabs button {
        flex: none;
    }
    .features {
        padding: 2rem 0 4rem;
    }
    .road__steps {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .road__steps button {
        flex: none;
        font-size: 1.25rem;
    }
    .agent__shot {
        max-height: 420px;
    }
    .store {
        flex: 1 1 100%;
        justify-content: center;
    }
}
