/* Entira — the product's landing page (entira.edurealm.net). The honeycomb's five colours are the
   palette (the app's --color-brand-*); Raleway for text, Oxanium for headings, as in the app. */

@font-face {
    font-family: "Raleway";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/raleway-latin.v1.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: "Raleway";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/raleway-latin-ext.v1.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Oxanium";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("fonts/oxanium-latin.v1.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: "Oxanium";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("fonts/oxanium-latin-ext.v1.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

:root {
    --deep: #3b2a9e;
    --brand: #4f34e0;
    --light: #7c5cff;
    --soft: #a996ff;
    --pale: #c9bdff;

    --ink: #1e1b2e;
    --muted: #57536b;
    --line: #e7e3f3;
    --canvas: #faf9f5;
    --surface: #ffffff;
    --tint: #f3f0fd;

    --radius: 18px;
    --shadow: 0 18px 40px -22px rgb(30 27 46 / 0.35), 0 2px 6px -2px rgb(30 27 46 / 0.08);
    --sans: "Raleway", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
    --display: "Oxanium", "Raleway", ui-sans-serif, system-ui, sans-serif;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--light); outline-offset: 3px; border-radius: 10px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }

.skip {
    position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 50;
    background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px;
}
.skip:focus { top: 1rem; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; padding: 0 1.4rem; border-radius: 999px;
    font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-small { min-height: 40px; padding: 0 1.1rem; font-size: .95rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgb(79 52 224 / .8); }
.btn-primary:hover { background: var(--deep); transform: translateY(-1px); }
.btn-ghost { color: var(--deep); background: transparent; box-shadow: inset 0 0 0 1.5px var(--pale); }
.btn-ghost:hover { background: var(--tint); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgb(0 0 0 / .45); }

/* ── Header ────────────────────────────────────────────────────────────── */
.top {
    position: sticky; top: 0; z-index: 20;
    background: rgb(250 249 245 / .82);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid rgb(231 227 243 / .8);
}
.top-row { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.logo span { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: .01em; }
.logo-small span { font-size: 1.1rem; }
.nav { display: flex; gap: 1.6rem; margin-inline-start: auto; }
.nav a { color: var(--muted); font-weight: 600; text-decoration: none; font-size: .98rem; }
.nav a:hover { color: var(--brand); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
    position: relative; overflow: hidden;
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6.5rem);
    background:
        radial-gradient(48rem 30rem at 85% 20%, rgb(169 150 255 / .28), transparent 70%),
        radial-gradient(36rem 26rem at 10% 90%, rgb(201 189 255 / .35), transparent 70%),
        var(--canvas);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .35rem .85rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); color: var(--deep);
    font-weight: 700; font-size: .85rem; letter-spacing: .02em;
}
.eyebrow .dot { width: .55rem; height: .55rem; border-radius: 999px; background: var(--light); box-shadow: 0 0 0 4px rgb(124 92 255 / .2); }
.hero h1 { margin-top: 1.2rem; font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 800; }
.ink-gradient {
    background: linear-gradient(100deg, var(--deep), var(--brand) 45%, var(--light));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 1.25rem; font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.for { margin-top: 1.6rem; color: var(--muted); font-size: .95rem; font-weight: 600; }

.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center; }
.comb { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 28px 40px rgb(59 42 158 / .28)); }
.cell { transform-box: fill-box; transform-origin: center; }
.chip {
    position: absolute; display: inline-flex; align-items: center; gap: .55rem;
    padding: .6rem .95rem; border-radius: 14px;
    background: rgb(255 255 255 / .94); border: 1px solid var(--line);
    box-shadow: var(--shadow); font-size: .9rem; color: var(--ink); white-space: nowrap;
}
.chip b { color: var(--deep); }
.chip-a { top: 6%; left: -6%; }
.chip-b { top: 46%; right: -8%; }
.chip-c { bottom: 4%; left: 4%; }
.pip { width: .6rem; height: .6rem; border-radius: 999px; flex: none; }
.pip-green { background: #16a34a; }
.pip-brand { background: var(--brand); }
.pip-amber { background: #d97706; }

@media (prefers-reduced-motion: no-preference) {
    .cell { animation: pop .7s cubic-bezier(.2, .9, .3, 1.2) both; }
    .c0 { animation-delay: .05s; } .c1 { animation-delay: .15s; } .c2 { animation-delay: .25s; }
    .c3 { animation-delay: .35s; } .c4 { animation-delay: .45s; } .c5 { animation-delay: .55s; } .c6 { animation-delay: .65s; }
    .glyphs { animation: fade .6s ease .8s both; }
    .comb { animation: float 7s ease-in-out 1.4s infinite; }
    .chip { animation: rise .6s ease both; }
    .chip-a { animation-delay: .9s; } .chip-b { animation-delay: 1.1s; } .chip-c { animation-delay: 1.3s; }
}
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; scroll-margin-top: 68px; }
.section-tint { background: linear-gradient(180deg, var(--tint), #fff); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.kicker { color: var(--brand); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .7rem; }
.sub { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--pale); }
.card p { color: var(--muted); font-size: 1rem; }
.hex {
    width: 52px; height: 58px; display: grid; place-items: center; margin-bottom: .4rem;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hex svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hex-deep { background: var(--deep); }
.hex-brand { background: var(--brand); }
.hex-light { background: linear-gradient(160deg, var(--light), var(--brand)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-inline-start: 2rem; font-weight: 600; }
.ticks li::before {
    content: ""; position: absolute; inset-inline-start: 0; top: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 999px;
    background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f34e0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / .8rem no-repeat;
    box-shadow: inset 0 0 0 1px var(--pale);
}

.mock { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.mock-logo { font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--deep); border: 1.5px dashed var(--soft); border-radius: 8px; padding: .35rem .6rem; }
.mock-nav { display: flex; gap: .5rem; margin-inline-start: auto; }
.mock-nav i { width: 42px; height: 8px; border-radius: 99px; background: var(--line); }
.mock-btn { font-size: .78rem; font-weight: 700; color: #fff; background: var(--brand); border-radius: 99px; padding: .35rem .75rem; }
.mock-body { padding: 1.4rem 1.2rem; display: grid; gap: .8rem; }
.mock-line { height: 12px; border-radius: 99px; background: var(--tint); }
.w70 { width: 70%; } .w45 { width: 45%; }
.swatches { display: flex; gap: .55rem; margin: .4rem 0; }
.swatches span { width: 38px; height: 38px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mock-cards i { height: 64px; border-radius: 12px; background: linear-gradient(160deg, #fff, var(--tint)); border: 1px solid var(--line); }
.mock-foot { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; padding: .7rem 1.1rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.mock-foot img { width: 14px; height: 14px; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.fact { padding: 1.4rem 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--light); }
.fact p { margin-top: .5rem; color: var(--muted); font-size: 1rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; counter-reset: none; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.steps p { margin-top: .5rem; color: var(--muted); font-size: 1rem; }
.num {
    display: grid; place-items: center; width: 40px; height: 44px; margin-bottom: .9rem;
    font-family: var(--display); font-weight: 800; color: #fff; background: var(--deep);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ── Call to action ───────────────────────────────────────────────────── */
.cta { background: linear-gradient(120deg, var(--deep), var(--brand) 60%, var(--light)); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-row { display: flex; align-items: center; gap: 2rem; }
.cta-mark { width: 64px; height: auto; flex: none; }
.cta-copy { flex: 1; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta p { margin-top: .5rem; color: rgb(255 255 255 / .88); font-size: 1.1rem; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.foot { padding: 2rem 0 2.4rem; background: #fff; border-top: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.foot p { color: var(--muted); font-size: .9rem; flex: 1; min-width: 16rem; }
.foot-nav { display: flex; gap: 1.2rem; }
.foot-nav a { color: var(--muted); font-weight: 600; font-size: .9rem; text-decoration: none; }
.foot-nav a:hover { color: var(--brand); }

/* ── Smaller screens ──────────────────────────────────────────────────── */
@media (max-width: 1040px) {
    .cards, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chip-a { left: 0; } .chip-b { right: 0; }
}
@media (max-width: 900px) {
    .chip { display: none; }
    .nav { display: none; }
    .top-row .btn { margin-inline-start: auto; }
    .hero-grid, .split { grid-template-columns: 1fr; }
    .hero-art { max-width: 420px; }
    .steps { grid-template-columns: 1fr; }
    .cta-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
    body { font-size: 1rem; }
    .cards, .facts { grid-template-columns: 1fr; }
    .chip { display: none; }
    .hero-art { max-width: 300px; }
    .actions .btn { flex: 1 1 100%; }
}
