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

a {
    color: var(--webon-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

:focus-visible {
    outline: 3px solid rgba(196, 135, 47, .72);
    outline-offset: 3px;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn,
.btn_submit,
.btn_b01,
.btn_b02,
.btn_admin {
    display: inline-flex;
    min-height: var(--webon-control);
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
select,
textarea {
    min-height: var(--webon-control);
    border-color: var(--webon-line);
    border-radius: var(--webon-radius-sm);
}

.webon-button {
    display: inline-flex;
    min-height: var(--webon-control);
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--webon-radius-sm);
    font-weight: 700;
    transition: color var(--webon-transition), background var(--webon-transition), border-color var(--webon-transition);
}

.webon-button--primary {
    color: #fff;
    background: var(--webon-primary);
}

.webon-button--primary:hover {
    color: #fff;
    background: var(--webon-primary-dark);
}

.webon-button--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
    background: transparent;
}

.webon-button--outline {
    color: var(--webon-primary);
    border-color: var(--webon-line);
    background: #fff;
}

.webon-button--solid {
    color: #fff;
    background: var(--webon-primary);
}

.webon-hero .webon-button--primary,
.webon-sample-hero .webon-button--primary {
    color: var(--webon-primary-dark);
    background: #fff;
}

.webon-card {
    min-width: 0;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--webon-line);
    background: var(--webon-surface);
    border-radius: var(--webon-radius-lg);
    box-shadow: var(--webon-shadow-sm);
}

.webon-card__number {
    color: var(--webon-accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.webon-card h3 {
    margin: 12px 0 8px;
    color: var(--webon-primary-dark);
    font-size: var(--webon-type-subheading);
    line-height: 1.35;
}

.webon-card p {
    margin: 0;
    color: var(--webon-muted);
}

.webon-empty {
    padding: 48px 24px;
    border: 1px dashed var(--webon-line);
    color: var(--webon-muted);
    background: var(--webon-bg);
    border-radius: var(--webon-radius);
    text-align: center;
}

.webon-breadcrumb {
    margin-bottom: 28px;
    color: var(--webon-muted);
    font-size: 14px;
}

.webon-breadcrumb ol {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.webon-breadcrumb li + li::before {
    margin-right: 10px;
    color: var(--webon-line);
    content: "/";
}

/* Shared horizontal tabs and category filters */
.webon-tabs,
#bo_cate.webon-tabs {
    width: 100%;
    margin: 0 0 28px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.webon-tabs > ul,
.webon-tabs ul,
#bo_cate.webon-tabs > ul,
#bo_cate.webon-tabs ul {
    display: flex;
    width: max-content;
    min-width: 100%;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.webon-tabs li,
#bo_cate.webon-tabs li {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.webon-tabs a,
.webon-tabs button,
#bo_cate.webon-tabs a,
#bo_cate.webon-tabs button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid var(--webon-line);
    border-radius: 999px;
    color: var(--webon-primary);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.webon-tabs a:hover,
.webon-tabs a:focus-visible,
.webon-tabs button:hover,
.webon-tabs button:focus-visible,
#bo_cate.webon-tabs a:hover,
#bo_cate.webon-tabs a:focus-visible,
#bo_cate.webon-tabs button:hover,
#bo_cate.webon-tabs button:focus-visible {
    border-color: var(--webon-primary);
    color: var(--webon-primary-dark);
    background: var(--webon-primary-soft);
}

.webon-tabs #bo_cate_on,
.webon-tabs [aria-current="page"],
.webon-tabs [aria-selected="true"],
.webon-tabs .is-active,
#bo_cate.webon-tabs #bo_cate_on,
#bo_cate.webon-tabs [aria-current="page"],
#bo_cate.webon-tabs [aria-selected="true"],
#bo_cate.webon-tabs .is-active {
    border-color: var(--webon-primary);
    color: #fff;
    background: var(--webon-primary);
}

.webon-tabs #bo_cate_on::after,
#bo_cate.webon-tabs #bo_cate_on::after {
    display: none;
    content: none;
}

.webon-tabs.is-scrollable:not(.is-scroll-start):not(.is-scroll-end) {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 22px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 22px), transparent);
}

.webon-tabs.is-scrollable.is-scroll-start:not(.is-scroll-end) {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent);
}

.webon-tabs.is-scrollable.is-scroll-end:not(.is-scroll-start) {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 100%);
    mask-image: linear-gradient(to right, transparent, #000 28px, #000 100%);
}

.webon-sample {
    padding-bottom: 40px;
}

.webon-sample-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 84px);
    color: #fff;
    background: linear-gradient(135deg, var(--webon-primary-dark), var(--webon-primary));
    border-radius: var(--webon-radius-lg);
}

.webon-sample-hero::after {
    position: absolute;
    top: -120px;
    right: -90px;
    width: 360px;
    height: 360px;
    border: 72px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
}

.webon-sample-hero h2 {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 12px 0 22px;
    color: #fff;
    font-size: var(--webon-type-feature);
    line-height: 1.14;
    letter-spacing: -.055em;
}

.webon-sample-hero > p:not(.webon-card__number) {
    position: relative;
    z-index: 1;
    max-width: 720px;
    color: #DCE6F3;
    font-size: 16px;
    line-height: 1.7;
}

.webon-button--sample {
    color: var(--webon-primary-dark);
}

.webon-sample-section {
    padding-top: clamp(64px, 8vw, 112px);
}

.webon-sample-section--line {
    margin-top: clamp(64px, 8vw, 112px);
    padding-top: clamp(64px, 8vw, 112px);
    border-top: 1px solid var(--webon-line);
}

.webon-sample-section__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
    gap: 48px;
    align-items: end;
    margin-bottom: 36px;
}

.webon-sample-section__head h2 {
    margin: 8px 0 0;
    color: var(--webon-primary-dark);
    font-size: var(--webon-type-section);
    line-height: 1.2;
    letter-spacing: -.04em;
}

.webon-sample-section__head > p {
    margin: 0;
    color: var(--webon-muted);
}

.webon-sample-lead {
    max-width: var(--webon-reading);
    margin-inline: auto;
    padding-block: 40px;
}

.webon-sample-lead strong {
    display: block;
    color: var(--webon-primary-dark);
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.45;
}

.webon-sample-lead p {
    margin: 20px 0 0;
    color: var(--webon-muted);
    font-size: 16px;
}

.webon-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 28px;
    border-block: 1px solid var(--webon-line);
}

.webon-metric-grid article {
    padding: 32px;
    text-align: center;
}

.webon-metric-grid article + article {
    border-left: 1px solid var(--webon-line);
}

.webon-metric-grid strong,
.webon-metric-grid span {
    display: block;
}

.webon-metric-grid strong {
    color: var(--webon-primary);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1;
}

.webon-metric-grid span {
    margin-top: 12px;
    color: var(--webon-muted);
}

.webon-card--interactive {
    position: relative;
    padding-bottom: 72px;
    transition: transform var(--webon-transition), box-shadow var(--webon-transition);
}

.webon-card--interactive:hover {
    box-shadow: var(--webon-shadow);
    transform: translateY(-4px);
}

.webon-card--interactive h3 a::after {
    position: absolute;
    inset: 0;
    content: "";
}

.webon-card__arrow {
    position: absolute;
    right: 30px;
    bottom: 28px;
    color: var(--webon-accent);
    font-size: 26px;
}

.webon-sample-list {
    border-top: 2px solid var(--webon-primary-dark);
}

.webon-sample-list > a {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 110px;
    gap: 18px;
    align-items: center;
    min-height: 76px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--webon-line);
    color: var(--webon-text);
}

.webon-sample-list time {
    color: var(--webon-muted);
    text-align: right;
}

.webon-badge {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding-inline: 10px;
    color: #fff;
    background: var(--webon-primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.webon-badge--muted {
    color: var(--webon-primary);
    background: var(--webon-primary-soft);
}

.webon-sample-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: clamp(24px, 4vw, 48px);
    background: var(--webon-bg);
    border-radius: var(--webon-radius-lg);
}

.webon-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--webon-primary-dark);
    font-weight: 700;
}

.webon-field input,
.webon-field select,
.webon-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--webon-line);
    background: #fff;
}

.webon-field--wide {
    grid-column: 1 / -1;
}

.webon-sample-form__actions {
    display: flex;
    gap: 10px;
}

.webon-button--solid {
    color: #fff;
    background: var(--webon-primary);
}

.webon-showcase-kicker {
    max-width: 560px;
    margin: 0;
    color: var(--webon-muted);
    font-size: var(--webon-type-body);
}

.webon-showcase-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 56px;
    border-block: 1px solid var(--webon-line);
}

.webon-showcase-stats article {
    padding: 28px 20px;
    text-align: center;
}

.webon-showcase-stats article + article {
    border-left: 1px solid var(--webon-line);
}

.webon-showcase-stats strong,
.webon-showcase-stats span {
    display: block;
}

.webon-showcase-stats strong {
    color: var(--webon-primary-dark);
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.1;
}

.webon-showcase-stats span {
    margin-top: 8px;
    color: var(--webon-muted);
    font-size: 14px;
}

.webon-skin-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}

.webon-skin-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 360px;
    flex-direction: column;
    grid-column: span 2;
    padding: 30px;
    border: 1px solid var(--webon-line);
    background: #fff;
    border-radius: var(--webon-radius-lg);
    box-shadow: var(--webon-shadow-sm);
}

.webon-skin-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.webon-skin-card__icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 26px;
    place-items: center;
    color: #fff;
    background: var(--webon-primary);
    border-radius: 16px 6px 16px 6px;
    font-weight: 800;
}

.webon-skin-card code {
    color: var(--webon-accent);
    font-weight: 800;
}

.webon-skin-card h3 {
    margin: 8px 0 12px;
    color: var(--webon-primary-dark);
    font-size: var(--webon-type-subheading);
    line-height: 1.35;
}

.webon-skin-card p {
    margin: 0;
    color: var(--webon-muted);
}

.webon-skin-card__use {
    display: block;
    margin-top: auto;
    padding-top: 24px;
    color: var(--webon-primary);
    font-size: 14px;
    font-weight: 700;
}

.webon-skin-card > a {
    margin-top: 12px;
    font-weight: 700;
}

.webon-support-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.webon-support-grid article {
    padding: 28px;
    border-top: 3px solid var(--webon-primary);
    background: var(--webon-bg);
    border-radius: 0 0 var(--webon-radius) var(--webon-radius);
}

.webon-support-grid i {
    color: var(--webon-accent);
    font-size: 28px;
}

.webon-support-grid h3 {
    margin: 18px 0 8px;
    color: var(--webon-primary-dark);
    font-size: 20px;
}

.webon-support-grid p {
    margin: 0;
    color: var(--webon-muted);
}

.webon-shop-callout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
    margin-top: 50px;
    padding: clamp(30px, 5vw, 60px);
    color: #fff;
    background: linear-gradient(120deg, var(--webon-primary-dark), var(--webon-primary));
    border-radius: var(--webon-radius-lg);
}

.webon-shop-callout h3 {
    margin: 10px 0;
    color: #fff;
    font-size: var(--webon-type-section);
    line-height: var(--webon-leading-heading);
    letter-spacing: -.04em;
}

.webon-shop-callout p {
    margin: 0;
    color: #DCE6F3;
}

.webon-shop-callout__status {
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    white-space: nowrap;
}

.webon-section--dark {
    color: #fff;
    background: #0A1E38;
}

.webon-section--dark .webon-section__head h2 {
    color: #fff;
}

.webon-install-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.webon-install-steps li {
    display: flex;
    gap: 18px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .04);
    border-radius: var(--webon-radius);
}

.webon-install-steps li > span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--webon-primary-dark);
    background: var(--webon-accent);
    border-radius: 50%;
    font-weight: 800;
}

.webon-install-steps strong {
    display: block;
    color: #fff;
    font-size: 20px;
}

.webon-install-steps p {
    margin: 8px 0 0;
    color: #AFC0D4;
}

.webon-install-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

@media (max-width: 1024px) {
    .webon-skin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .webon-skin-card,
    .webon-skin-card:nth-child(4) {
        grid-column: auto;
    }

    .webon-support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .webon-install-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .webon-sample-section__head,
    .webon-sample-form {
        grid-template-columns: 1fr;
    }

    .webon-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .webon-metric-grid article:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--webon-line);
    }

    .webon-metric-grid article:nth-child(4) {
        border-top: 1px solid var(--webon-line);
    }

    .webon-sample-list > a {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .webon-sample-list time {
        grid-column: 2;
        text-align: left;
    }

    .webon-showcase-stats,
    .webon-skin-grid,
    .webon-support-grid,
    .webon-shop-callout {
        grid-template-columns: 1fr;
    }

    .webon-showcase-stats article + article {
        border-top: 1px solid var(--webon-line);
        border-left: 0;
    }

    .webon-skin-card {
        min-height: 0;
    }
}

.sound_only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}
