:root {
    --primary: #3370ff;
    --primary-dark: #1f57d6;
    --primary-soft: rgba(51, 112, 255, 0.1);
    --blue: #14b8ff;
    --blue-soft: rgba(20, 184, 255, 0.1);
    --green: #16a34a;
    --green-soft: rgba(22, 163, 74, 0.1);
    --ink: #111827;
    --muted: #4b5563;
    --soft: #f6f8fc;
    --band-blue: #eef5ff;
    --band-neutral: #f8fafc;
    --band-muted: #edf4ff;
    --line: #e5e7eb;
    --white: #ffffff;
    --deep-blue: #0f3fbe;
    --deep-blue-2: #1f57d6;
    --radius: 8px;
    --shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
    --font: Inter, "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--soft);
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
}

button {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    padding: 8px 0;
    color: #ffffff;
    font-size: 14px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 1px solid #333333;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a90ff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.top-bar-brand:hover {
    color: #6ba3ff;
}

.top-bar-brand img {
    height: 20px;
    width: auto;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-dropdown {
    position: relative;
}

.top-bar-dropdown-btn {
    border: 0;
    padding: 0;
    background: transparent;
    color: #cccccc;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.top-bar-dropdown-btn:hover {
    color: #ffffff;
}

.dropdown-arrow {
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 12px;
}

.top-bar-dropdown-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.top-bar-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    min-width: 340px;
    margin-top: 10px;
    padding: 6px 0;
    z-index: 1001;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.top-bar-dropdown-content::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 60px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-left: 1px solid #e8e8e8;
    border-top: 1px solid #e8e8e8;
    transform: rotate(45deg);
}

.top-bar-dropdown-content.show {
    display: block;
}

.top-bar-dropdown-item {
    padding: 12px 18px;
    color: #333333;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f2f2f2;
}

.top-bar-dropdown-item:last-child {
    border-bottom: 0;
}

.top-bar-dropdown-item:hover {
    background: #f5f9ff;
}

.top-bar-dropdown-item__name {
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.top-bar-dropdown-item__desc {
    color: #999999;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
}

.site-header {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(14px);
    transition: top 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-top {
    top: 0;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.nav {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__brand {
    display: inline-flex;
    align-items: center;
}

.nav__brand img {
    width: 136px;
    height: auto;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.nav__links a {
    padding: 8px 12px;
    border-radius: var(--radius);
}

.nav__links a:hover,
.nav__links a.is-active {
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.nav__mobile-action {
    display: none;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 10px 22px rgba(51, 112, 255, 0.24);
}

.button--primary:hover {
    background: var(--primary-dark);
}

.button--ghost {
    color: var(--ink);
    background: #ffffff;
    border-color: var(--line);
}

.button--ghost:hover {
    border-color: rgba(51, 112, 255, 0.35);
    color: var(--primary-dark);
}

.button--large {
    min-height: 48px;
    padding: 0 20px;
}

.nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav__toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 580px;
    padding: 154px 0 70px;
    color: var(--ink);
    background: linear-gradient(180deg, #f8fbff 0%, var(--band-blue) 100%);
    border-bottom: 1px solid rgba(51, 112, 255, 0.12);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: block;
}

.hero__content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.hero__kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 800;
}

.hero__kicker a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 172px;
    padding: 0 18px;
    border: 1px solid rgba(51, 112, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 8px 20px rgba(51, 112, 255, 0.08);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero__kicker a span {
    display: inline-block;
    animation: kicker-text-bounce 1.6s ease-in-out infinite;
}

.hero__kicker a:hover {
    color: var(--primary);
    border-color: rgba(51, 112, 255, 0.36);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(51, 112, 255, 0.14);
}

@keyframes kicker-text-bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__kicker a span {
        animation: none;
    }
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero__title {
    margin: 0 0 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 12px 16px;
    font-size: clamp(56px, 8vw, 92px);
    line-height: 0.95;
    letter-spacing: 0;
}

.hero__pronunciation {
    color: #64748b;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.2;
}

.hero__lead {
    margin: 0 auto;
    max-width: 800px;
    color: #334155;
    font-size: 21px;
    line-height: 1.8;
}

.hero__actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.hero__facts {
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 780px;
    border: 1px solid rgba(51, 112, 255, 0.16);
    background: rgba(255, 255, 255, 0.76);
    border-radius: var(--radius);
    overflow: hidden;
}

.hero__facts div {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.72);
}

.hero__facts dt {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
}

.hero__facts dd {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.section {
    padding: 78px 0;
    background: var(--band-muted);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

section[id] {
    scroll-margin-top: 88px;
}

.section--neutral {
    background: var(--band-neutral);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.section__header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section__header h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    letter-spacing: 0;
}

.section__header p:last-child {
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 17px;
}

.role-grid,
.feature-grid {
    display: grid;
    gap: 24px;
}

.role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role-card,
.feature-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.role-card:hover,
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(51, 112, 255, 0.34);
    box-shadow: var(--shadow);
}

.role-card {
    padding: 32px;
}

.role-card__icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.role-card__icon--blue {
    color: var(--blue);
    background: var(--blue-soft);
}

.role-card__icon--green {
    color: var(--green);
    background: var(--green-soft);
}

.role-card__icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.role-card h3,
.feature-card h3 {
    margin: 22px 0 10px;
    font-size: 21px;
    line-height: 1.3;
}

.role-card p,
.feature-card p {
    margin: 0;
    color: var(--muted);
}

.feature-card {
    position: relative;
    display: grid;
    align-content: start;
    min-height: 188px;
    padding: 28px;
    overflow: hidden;
    border-color: rgba(148, 163, 184, 0.2);
    background: #ffffff;
}

.feature-card h3 {
    margin: 0 0 10px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.75;
}

.quickstart-band {
    padding: 72px 0;
    color: var(--ink);
    background: #ffffff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.quickstart {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1.25fr);
    gap: 42px;
    align-items: center;
}

.quickstart__copy h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
}

.quickstart__copy p {
    max-width: 520px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.quickstart-band .eyebrow {
    color: var(--primary);
}

.quickstart__copy .quickstart__store {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    color: #64748b;
    font-size: 15px;
}

.quickstart__store a {
    color: var(--primary-dark);
    font-weight: 800;
    border-bottom: 1px solid rgba(51, 112, 255, 0.28);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.quickstart__store a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.code-panel {
    overflow: hidden;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(51, 112, 255, 0.12);
    border: 1px solid rgba(51, 112, 255, 0.16);
}

.code-panel__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    color: var(--primary-dark);
    background: #edf4ff;
    border-bottom: 1px solid rgba(51, 112, 255, 0.12);
    font-weight: 700;
}

.code-panel__bar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    border: 1px solid rgba(51, 112, 255, 0.22);
    background: #ffffff;
    color: var(--primary-dark);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.code-panel__bar button.is-copied {
    border-color: rgba(22, 163, 74, 0.36);
    color: var(--green);
    background: var(--green-soft);
}

.code-panel__bar button.is-copy-error {
    border-color: rgba(239, 68, 68, 0.3);
    color: #dc2626;
    background: rgba(239, 68, 68, 0.08);
}

.code-panel__bar svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.code-panel pre {
    margin: 0;
    padding: 28px;
    overflow-x: auto;
}

.code-panel code {
    color: #0f172a;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    line-height: 1.7;
    white-space: nowrap;
}

.quickstart__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 28px 28px;
}

.quickstart__meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.footer {
    background:
        linear-gradient(135deg, rgba(51, 112, 255, 0.1), transparent 38%),
        #071733;
    color: rgba(255, 255, 255, 0.72);
    padding: 64px 0 32px;
}

.footer__inner {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 420px;
    align-items: start;
    gap: 56px;
}

.footer__summary {
    max-width: 460px;
}

.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.footer__brand img {
    width: 36px;
    height: 36px;
    margin: 0;
    object-fit: contain;
}

.footer p {
    margin: 0;
    line-height: 1.8;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    width: 420px;
    margin-left: auto;
}

.footer__group {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer__group h2 {
    position: relative;
    margin: 0 0 6px;
    padding-bottom: 10px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.2;
}

.footer__group a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    min-height: 24px;
    padding: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer__group h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--primary);
}

.footer__group a::after {
    content: ">";
    margin-left: 8px;
    color: #bcd2ff;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer__group a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer__group a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.footer__copyright {
    margin-top: 42px;
    padding-top: 26px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 420px;
    align-items: center;
    gap: 56px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer__copyright p {
    margin: 0;
}

.footer__legal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    width: calc((420px - 48px) / 2);
    margin-left: auto;
    white-space: nowrap;
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease;
}

.footer__legal a:hover {
    color: #ffffff;
}

@media (max-width: 1080px) {
    .feature-grid,
    .role-grid {
        grid-template-columns: 1fr;
    }

    .quickstart {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer__nav {
        width: 100%;
        max-width: none;
        margin-left: 0;
    }

    .footer__copyright {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer__legal {
        width: auto;
        margin-left: 0;
    }
}

@media (max-width: 780px) {
    .top-bar {
        display: none;
    }

    .site-header,
    .site-header.is-top {
        top: 0;
    }

    .nav {
        height: 64px;
    }

    .nav__links {
        position: absolute;
        top: 64px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .nav__links.is-open {
        display: flex;
    }

    .nav__links a {
        padding: 12px;
    }

    .nav__mobile-action {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 8px;
        min-height: 42px;
        color: var(--primary-dark);
        background: var(--primary-soft);
        border: 1px solid rgba(51, 112, 255, 0.16);
        font-weight: 800;
    }

    .nav__mobile-action--primary {
        color: #ffffff;
        background: var(--primary);
        border-color: var(--primary);
    }

    .nav__actions {
        display: none;
    }

    .nav__toggle {
        display: inline-flex;
    }

    .hero {
        min-height: auto;
        padding: 96px 0 42px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero__lead {
        font-size: 17px;
    }

    .hero__facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 24px;
    }

    .hero__facts div {
        padding: 14px 10px;
    }

    .hero__facts dt {
        font-size: 15px;
    }

    .hero__facts dd {
        font-size: 12px;
    }

    .section {
        padding: 58px 0;
    }

    section[id] {
        scroll-margin-top: 76px;
    }

    .quickstart {
        gap: 26px;
    }

    .quickstart-band {
        padding: 58px 0;
    }

    .code-panel pre {
        padding: 20px;
    }

    .code-panel code {
        font-size: 14px;
    }

    .footer__nav {
        justify-content: flex-start;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__legal {
        gap: 22px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .button {
        width: 100%;
    }

    .hero__actions {
        flex-direction: row;
        align-items: stretch;
    }

    .hero__actions .button {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
        padding: 0 12px;
    }

    .section__header {
        text-align: left;
    }

    .role-card,
    .feature-card {
        padding: 24px;
    }
}
