@font-face {
    font-family: Inter;
    src: url("../fonts/InterVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Compuwerk CJK JP";
    src: url("../fonts/cjk-ja.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Compuwerk CJK KR";
    src: url("../fonts/cjk-ko.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Compuwerk CJK SC";
    src: url("../fonts/cjk-zh-cn.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --background: #f3f3f5;
    --border: #d6d6d6;
    --text: #1d1d1f;
    --secondary: #6e6e73;
    --blue: #63afff;
    --nav-height: 44px;
    --content-width: 970px;
    --page-font: Inter, system-ui, sans-serif;
}

[lang="ja"] {
    --page-font: Inter, "Compuwerk CJK JP", system-ui, sans-serif;
}

[lang="ko"] {
    --page-font: Inter, "Compuwerk CJK KR", system-ui, sans-serif;
    word-break: keep-all;
}

[lang="zh-CN"] {
    --page-font: Inter, "Compuwerk CJK SC", system-ui, sans-serif;
}

.language-picker [lang] {
    font-family: var(--page-font);
}

* {
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

html.menu-open {
    overflow: hidden;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font: 1rem/1.55 var(--page-font);
}

a {
    color: inherit;
    text-underline-offset: 0.22em;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #12579e;
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.site-header {
    position: sticky;
    z-index: 2;
    top: 0;
    height: var(--nav-height);
    background: rgb(255 255 255 / 80%);
    backdrop-filter: blur(14px);
}

.menu-open .site-header {
    background: #fff;
}

.nav-bar {
    width: 100%;
    max-width: 980px;
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.brand {
    grid-column: 2;
    padding: 0 8px;
    line-height: var(--nav-height);
    font-size: 1.25rem;
    font-weight: 760;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.menu-trigger {
    height: var(--nav-height);
    justify-self: end;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    font-size: 1.0625rem;
    font-weight: 500;
    cursor: pointer;
}

.menu-trigger:focus-visible {
    outline-offset: -3px;
}

.menu-symbol {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
}

.menu-icon {
    width: 22px;
}

.close-icon {
    display: none;
    width: 18px;
}

.menu-open .close-icon {
    display: block;
}

.menu-open .menu-icon,
.menu-open .menu-label {
    display: none;
}

.site-menu {
    position: fixed;
    inset: var(--nav-height) 0 0;
    z-index: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 500;
}

.site-menu ul,
.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-links a {
    display: block;
    padding: 20px 12px;
    border: 1px solid transparent;
    border-inline: 0;
    text-decoration: none;
}

.menu-links a:hover {
    border-image: linear-gradient(to right, #fff 10%, #ededee 25%, #c6c6c8 40% 60%, #ededee 75%, #fff 90%) 1;
}

.menu-links a:focus-visible {
    outline-offset: -3px;
}

.language-picker {
    container-type: inline-size;
    width: min(100% - 32px, 600px);
    margin: 18px auto 0;
    font-size: 1rem;
}

.site-menu .language-picker {
    padding-bottom: 24px;
}

.language-picker summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    min-height: 44px;
    padding: 6px 12px;
    cursor: pointer;
    list-style: none;
}

.language-picker summary::-webkit-details-marker {
    display: none;
}

.site-menu .language-picker summary {
    min-width: min(100%, 10rem);
    border-top: 1px solid var(--border);
    padding-inline: 20px;
}

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

.language-picker-prompt,
.language-picker[open] .language-picker-current {
    display: none;
}

.language-picker[open] .language-picker-prompt {
    display: inline;
}

.language-picker summary::after {
    content: "";
    flex: 0 0 6px;
    height: 6px;
    margin-inline-start: 4px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.language-picker[open] summary::after {
    transform: translateY(2px) rotate(225deg);
}

.language-picker summary:focus-visible {
    outline: 2px solid #12579e;
    outline-offset: 2px;
}

.language-picker .language-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-top: 8px;
}

.language-options a {
    display: grid;
    grid-template-columns: 1em minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 6px 8px;
    border-radius: 6px;
    text-align: start;
    text-decoration: none;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.language-options a:hover,
.language-options a[aria-current="page"] {
    background: var(--background);
}

.language-options a[aria-current="page"] {
    font-weight: 650;
}

.language-check {
    visibility: hidden;
}

.language-options a[aria-current="page"] .language-check {
    visibility: visible;
}

.page-content {
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - var(--nav-height));
}

.page {
    flex: 1;
    padding: 34px 12px 80px;
}

.page-shell {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.page-heading {
    margin-bottom: 24px;
    padding: 0 4px;
}

.page-heading h1 {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 760;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.page-heading p {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--secondary);
}

.card {
    margin: 0 0 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / 8%), 0 12px 24px rgb(0 0 0 / 12%);
}

.card-body {
    padding: 24px;
    overflow-wrap: anywhere;
}

.card-body > :first-child {
    margin-top: 0;
}

.card-body > :last-child {
    margin-bottom: 0;
}

.card h2 {
    margin: 26px 0 10px;
    font-size: 1.25rem;
    font-weight: 720;
    line-height: 1.35;
}

.product-card h2 {
    font-size: 1.5rem;
}

.card p,
.card ul,
.card ol {
    margin: 0 0 12px;
}

.card ul,
.card ol {
    padding-inline-start: 1.35em;
}

.card li + li {
    margin-top: 6px;
}

address {
    font-style: normal;
}

.secondary,
.status {
    color: var(--secondary);
}

.button {
    display: inline-block;
    padding: 9px 15px;
    border: 1px solid #4f9dec;
    border-radius: 8px;
    background: var(--blue);
    color: #132235;
    font-weight: 650;
    text-decoration: none;
}

.button:hover {
    background: #82beff;
}

.app-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.draft-note {
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--background);
}

.site-footer {
    padding: 50px 20px;
    background: #fff;
    text-align: center;
    font-size: 1.0625rem;
    font-weight: 500;
}

.site-footer a {
    text-decoration-color: transparent;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    text-decoration-color: currentColor;
}

.site-footer p {
    margin: 34px 0 0;
    font-weight: 300;
}

@media (max-width: 970px) {
    .page {
        padding-inline: 0;
    }

    .page-heading {
        padding-inline: 16px;
    }

    .card {
        border-inline: 0;
        border-radius: 0;
    }
}

@media (max-width: 560px) {
    .language-picker .language-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-label {
        display: none;
    }

    .page {
        padding-top: 26px;
        padding-bottom: 56px;
    }

    .page-heading h1 {
        font-size: 1.625rem;
    }

    .card-body {
        padding-inline: 18px;
    }
}

@container (max-width: 17.5rem) {
    .language-picker .language-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-menu .language-picker summary {
        padding-inline: 8px;
    }
}
