@font-face {
    font-family: Manrope;
    src: url('manrope-latin.woff2') format('woff2');
    font-weight: 400 800;
    font-display: swap;
}

:root {
    --brand-teal: #4e8088;
    --brand-orange: #e99b5a;
    --brand-sand: #e7dccb;
    --ink: #18262a;
    --muted: #4b5c60;
    --deep-teal: #315f68;
    --line: #e2e9e8;
    --surface: #fff;
    --ease: cubic-bezier(.2, .75, .3, 1);
}

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

.entry-page {
    margin: 0;
    color: var(--ink);
    min-width: 0;
    font: 500 1rem/1.55 Manrope, system-ui, sans-serif;
    background:
        radial-gradient(ellipse at 8% 12%, #4e808812, transparent 43%),
        radial-gradient(ellipse at 94% 88%, #e7dccb70, transparent 39%),
        #fcfdfd;
}

.entry-home {
    width: min(100%, 1112px);
    min-height: 100vh;
    min-height: 100svh;
    margin-inline: auto;
    padding: clamp(2rem, 5.5vh, 4rem) clamp(1.15rem, 4.5vw, 2.5rem);
    display: grid;
    align-content: center;
    gap: clamp(2rem, 6vh, 4rem);
}

.entry-intro { text-align: center; }
.entry-logo {
    display: block;
    width: clamp(9rem, 15vw, 12rem);
    height: auto;
    margin: 0 auto clamp(1.15rem, 3vh, 2rem);
    mix-blend-mode: multiply;
}

.entry-intro h1 {
    margin: 0;
    font-size: clamp(2.25rem, 5.2vw, 4rem);
    line-height: 1.08;
    letter-spacing: -.065em;
    font-weight: 800;
    text-wrap: balance;
}

.entry-intro p {
    margin: .9rem auto 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.16rem);
    letter-spacing: -.015em;
    text-wrap: balance;
}

.entry-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.35rem); }

.entry-card {
    --accent: var(--brand-teal);
    --tile: #edf5f5;
    --icon-ink: var(--deep-teal);
    --card-shadow: 0 2px 5px #203c3c08, 0 12px 36px -23px #142b3d50;
    color: inherit;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.55rem;
    box-shadow: var(--card-shadow);
    min-height: clamp(13.35rem, 29vh, 16rem);
    display: grid;
    grid-template-rows: auto 1fr auto;
    justify-items: start;
    align-items: start;
    gap: 1rem;
    padding: clamp(1rem, 2.3vw, 1.65rem);
    position: relative;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.entry-card--conges { --accent: #a78a63; --tile: #f4eee5; --icon-ink: #755832; }
.entry-card--crm { --accent: var(--brand-orange); --tile: #fff0e3; --icon-ink: #994e19; }

.entry-card-icon, .entry-card-arrow, .entry-close {
    display: grid;
    place-items: center;
    border: 0;
    color: var(--icon-ink, var(--deep-teal));
}
.entry-card-icon {
    width: 3.45rem;
    aspect-ratio: 1;
    border-radius: 1rem;
    background: var(--tile);
}
.entry-card-arrow {
    justify-self: end;
    width: 2.3rem;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.entry-card svg, .entry-close svg {
    width: 1.55rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.entry-card-arrow svg { width: 1.05rem; transition: transform .25s var(--ease); }

.entry-card h2 { margin: 0 0 .35rem; font-size: clamp(1.08rem, 2.1vw, 1.42rem); letter-spacing: -.047em; line-height: 1.25; font-weight: 800; }
.entry-card p { margin: 0; max-width: 27ch; color: var(--muted); font-size: .94rem; line-height: 1.55; }

.entry-card:focus-visible, .entry-close:focus-visible, .entry-auth :focus-visible { outline: 3px solid var(--deep-teal); outline-offset: 4px; }
@media (hover: hover) {
    .entry-card:hover {
        transform: translateY(-5px);
        border-color: var(--accent);
        box-shadow: 0 17px 36px -19px #263e4c45;
    }
    .entry-card:hover .entry-card-arrow { border-color: transparent; background: var(--tile); }
    .entry-card:hover .entry-card-arrow svg { transform: translateX(2px); }
}

.entry-dialog {
    width: min(29.5rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    margin: auto;
    padding: 0;
    color: inherit;
    background: white;
    border: 1px solid var(--line);
    border-radius: 1.65rem;
    box-shadow: 0 28px 95px #142f3a38;
    overflow: hidden;
}
.entry-dialog[open] { animation: entry-appear .25s var(--ease) both; }
.entry-dialog::backdrop { background: #172f3854; backdrop-filter: blur(7px); }
.entry-close {
    position: absolute;
    z-index: 1;
    top: .8rem;
    right: .8rem;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 50%;
    background: #edf5f5;
    cursor: pointer;
}
.entry-close:hover { background: #e0eeee; }
.entry-close svg { width: 1.15rem; }
.entry-frame { display: block; width: 100%; height: min(27rem, calc(100dvh - 2rem)); border: 0; }

.entry-page--auth { display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 1rem; }
.entry-page--embedded { background: white; padding: .5rem; }
.entry-auth { width: min(100%, 29.5rem); padding: clamp(1.45rem, 6vw, 2.5rem); border: 1px solid var(--line); border-radius: 1.65rem; background: white; box-shadow: 0 12px 44px -27px #142b3d55; }
.entry-page--embedded .entry-auth { border: 0; box-shadow: none; padding-block: 1.2rem; }
.entry-auth .entry-logo { width: 8.25rem; margin-bottom: 1.1rem; }
.entry-auth h1 { margin: 0 0 1.35rem; text-align: center; font-size: clamp(1.42rem, 6vw, 1.75rem); line-height: 1.16; font-weight: 800; letter-spacing: -.045em; }
.entry-auth form { display: grid; gap: .8rem; }
.entry-auth label { display: grid; gap: .35rem; font-size: .92rem; font-weight: 750; }
.entry-auth input[type=password] { width: 100%; padding: .67rem .82rem; min-height: 2.9rem; font: inherit; color: inherit; border: 1px solid #adbdbf; border-radius: .65rem; background: #fff; }
.entry-submit { width: 100%; min-height: 2.95rem; border: 0; border-radius: .65rem; background: var(--deep-teal); color: white; font: inherit; font-weight: 800; cursor: pointer; transition: background-color .2s; }
.entry-submit:hover { background: #254c54; }
.entry-error { margin: 0; color: #92201c; font-size: .85rem; }
.entry-back { display: table; margin: 1.15rem auto 0; color: var(--deep-teal); text-underline-offset: .18em; font-weight: 750; }

.entry-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@keyframes entry-appear {
    from { transform: translateY(8px) scale(.985); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 680px) {
    .entry-home { gap: 1.75rem; padding-block: 2rem; }
    .entry-cards { width: min(100%, 29rem); margin-inline: auto; grid-template-columns: 1fr; grid-auto-rows: 1fr; }
    .entry-card { min-height: 7.45rem; grid-template: 1fr / auto 1fr auto; align-items: center; gap: clamp(.65rem, 2.5vw, .9rem); border-radius: 1.25rem; }
    .entry-card-icon { width: 2.8rem; border-radius: .8rem; }
    .entry-card-icon svg { width: 1.35rem; }
    .entry-card p { font-size: .88rem; }
    .entry-card-arrow { width: 1.95rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .entry-card:hover { transform: none; }
}
