.public-site {
    --ink: #191835;
    --muted: #565872;
    --violet: #5131c4;
    --line: #dedff0;
    color: var(--ink);
    background: #f5f6fd;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.site-container {
    width: min(100% - 2rem, 76rem);
    margin-inline: auto;
    min-width: 0;
}

.public-header {
    background: rgba(24, 21, 49, .97);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px #15102c25;
}

.public-mark {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .7rem;
    background: #c4b3ff;
    color: #25175d;
    font-size: .875rem;
    font-weight: 800;
    letter-spacing: -.055em;
}

.public-nav a {
    flex-shrink: 0;
    padding: .55rem .7rem;
    border-radius: .6rem;
    color: #e6e4f4;
    font-size: .875rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
}

.public-nav a:hover, .public-nav a[aria-current="page"] { background: #42366e; color: #fff; }

.public-header-contact {
    padding: .52rem .75rem;
    border: 1px solid #655887;
    border-radius: .65rem;
    font-size: .875rem;
    font-weight: 700;
    transition: background-color .2s ease, border-color .2s ease;
}

.public-header-contact:hover, .public-header-contact[aria-current="page"] { background: #42366e; border-color: #9c8ac9; }
.public-site :focus-visible { outline: 2px solid #7857ee; outline-offset: 3px; }
.public-header :focus-visible, .public-footer :focus-visible, .public-feature :focus-visible { outline-color: #d5c8ff; }
.public-site main { scroll-margin-top: 8rem; }
.public-site button:enabled { cursor: pointer; }
.public-footer { background: #191631; color: #f5f3ff; }
.public-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }

.public-feature {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    min-height: clamp(22rem, 36vw, 30rem);
    border-radius: 1.4rem;
    background: #211945;
    color: white;
}

.public-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.public-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, #17112b 0%, #1b1234e8 14%, #1b123478 58%, #241c4820 100%), linear-gradient(90deg, #1b123463, transparent);
}

.public-feature-copy { width: 100%; padding: clamp(1.25rem, 3.2vw, 2.5rem); }
.public-feature h1 {
    margin-block: .7rem .75rem;
    font-size: clamp(2rem, 4.65vw, 4.5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.065em;
    overflow-wrap: anywhere;
}

.public-feature p { max-width: 36rem; color: #f2efff; }
.public-feature-label { display: inline-block; border-radius: .45rem; background: #dccfff; padding: .28rem .62rem; color: #331a77; font-size: .875rem; font-weight: 800; }
.public-feature-link { display: inline-flex; margin-top: 1.2rem; border-radius: .65rem; background: #faf8ff; padding: .55rem .95rem; color: #321d76; font-size: .875rem; font-weight: 800; transition: background-color .2s ease; }
.public-feature-link:hover { background: #e2d6ff; }
.public-section-title { color: var(--ink); font-size: clamp(1.5rem, 3.1vw, 2.1rem); font-weight: 800; line-height: 1.14; letter-spacing: -.055em; }
.public-page-title { color: var(--ink); font-size: clamp(2rem, 4.8vw, 4rem); font-weight: 800; line-height: 1.06; letter-spacing: -.055em; overflow-wrap: anywhere; }
.public-detail-title { color: var(--ink); font-size: clamp(1.5rem, 3.3vw, 2.45rem); font-weight: 800; line-height: 1.14; letter-spacing: -.045em; overflow-wrap: anywhere; }
.public-accent { color: var(--violet); }
.public-muted { color: var(--muted); }
.public-panel { border: 1px solid var(--line); border-radius: 1.15rem; background: white; }
.public-card { transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease; }
.public-card:hover { border-color: #bdb0ee; box-shadow: 0 9px 26px #30215e12; transform: translateY(-2px); }
.public-category { color: #4a2eae; background: #efebff; border-radius: .45rem; padding: .24rem .52rem; font-size: .8rem; font-weight: 800; }
.public-cover-placeholder { background: linear-gradient(135deg, #ebe6ff, #dee3fb); color: #4d369a; }
.public-home-feature { min-height: clamp(17rem, 30vw, 22rem); }
.public-home-feature .public-feature-copy { padding: clamp(1.1rem, 2.7vw, 2rem); }
.public-home-feature h1 { font-size: clamp(1.85rem, 3.8vw, 3.4rem); }
.public-home-feature .public-feature-link { margin-top: .8rem; }
.public-home-group-title { color: var(--ink); font-size: clamp(1.04rem, 2vw, 1.35rem); font-weight: 800; letter-spacing: -.04em; }
.public-home-row { transition: background-color .2s ease; }
.public-home-row:hover { background: #f8f6ff; }

@media (min-width: 640px) { .site-container { width: min(100% - 4rem, 76rem); } }
@media (prefers-reduced-motion: reduce) {
    .public-site *, .public-site *::before, .public-site *::after { transition-duration: 0s !important; }
    .public-card:hover { transform: none; }
}
