/* ============================================================
   WakeASP 形象網站 — design tokens + RWD (mobile-first)
   ============================================================ */

:root {
    --brand: #2f47f5;
    --brand-dark: #1a2fd6;
    --teal: #16c6c0;
    --teal-soft: #5fe0d5;

    --ink: #0d1424;
    --navy-1: #0b1430;
    --navy-2: #10204f;

    --text: #566072;
    --text-soft: #7a8499;
    --text-faint: #9aa3b5;

    --line: #e9ecf3;
    --line-2: #eceff4;
    --line-3: #ebeef4;

    --bg: #ffffff;
    --bg-soft: #fafbfe;
    --bg-tint: #f6f8fc;
    --bg-brand-tint: #eef1ff;

    --ok: #16a37a;
    --ok-bg: #e6f7f0;
    --warn: #b06b00;
    --warn-bg: #fdf2e2;

    --font-display: 'Sora', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --maxw: 1180px;
    --radius: 20px;
    --radius-sm: 16px;
    --pad-x: 20px;
    --header-h: 66px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

/* ---------- shared section chrome ---------- */

.section { padding: 64px 0 0; }

.section__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px, 5.4vw, 46px);
    line-height: 1.14;
    letter-spacing: -0.025em;
    margin: 12px 0 0;
}
.section__title--light { color: #fff; }

.section__head { margin-top: 12px; }
.section__intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin: 14px 0 0;
    max-width: 420px;
}
.section__head--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.eyebrow {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--brand);
    text-transform: uppercase;
}
.eyebrow--teal { color: var(--teal-soft); }
.eyebrow--pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    background: var(--bg-brand-tint);
    border: 1px solid #dfe5ff;
    padding: 7px 14px;
    border-radius: 999px;
}
.eyebrow__dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: linear-gradient(120deg, var(--brand), var(--teal));
}

.text-gradient {
    background: linear-gradient(115deg, var(--brand) 10%, var(--teal) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.link-more { font-weight: 600; font-size: 15px; color: var(--brand); white-space: nowrap; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: 1fr; }

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 999px;
    transition: transform .2s, background .2s, border-color .2s, color .2s;
    cursor: pointer;
    border: none;
}
.btn--lg { font-size: 16px; padding: 14px 26px; }
.btn--primary {
    background: var(--brand); color: #fff;
    box-shadow: 0 14px 34px -12px rgba(47, 71, 245, .6);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--outline {
    color: var(--ink);
    border: 1.5px solid #d7dbe6;
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--dark {
    background: var(--ink); color: #fff;
    font-size: 14.5px; padding: 11px 20px;
}
.btn--dark:hover { background: var(--brand); transform: translateY(-1px); }
.btn--white { background: #fff; color: var(--brand-dark); font-weight: 700; }
.btn--white:hover { transform: translateY(-2px); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- header / nav ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line-3);
}
.site-header__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-h);
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 32px; display: block; }

.nav-toggle {
    margin-left: auto;
    width: 42px; height: 42px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}
.nav-toggle span {
    width: 18px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line-3);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--pad-x) 18px;
    box-shadow: 0 24px 40px -28px rgba(13, 20, 36, .45);
    display: none;
}
.primary-nav.is-open { display: flex; }
.primary-nav > a:not(.btn) {
    font-size: 16px;
    font-weight: 500;
    color: #3c4659;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line-2);
}
.primary-nav > a:not(.btn):last-child { border-bottom: none; }
.primary-nav__cta { justify-content: center; margin-top: 10px; }

/* ---------- hero ---------- */

.hero {
    background: radial-gradient(120% 100% at 85% 0%, #eef2ff 0%, #ffffff 52%);
}
.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 48px;
    padding-bottom: 56px;
    align-items: center;
}
.hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(38px, 10vw, 70px);
    line-height: 1.07;
    letter-spacing: -0.025em;
    margin: 20px 0 0;
}
.hero__lead {
    font-size: 17px;
    line-height: 1.72;
    color: var(--text);
    max-width: 520px;
    margin: 22px 0 0;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}
.hero__stats {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 38px;
    flex-wrap: wrap;
}
.stat__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 30px;
    letter-spacing: -0.02em;
}
.stat__num span { color: var(--brand); }
.stat__label { font-size: 13px; color: var(--text-soft); margin-top: 2px; }
.stat__divider { width: 1px; height: 36px; background: #e3e7f0; }
.stat__certs { display: flex; flex-wrap: wrap; gap: 6px; }

.hero__visual { position: relative; }
.browser-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #e6e9f2;
    box-shadow: 0 40px 90px -40px rgba(13, 20, 36, .4);
    background: #fff;
}
.browser-card__bar {
    height: 38px;
    background: #f4f6fb;
    border-bottom: 1px solid var(--line-3);
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
}
.dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dot--red { background: #ff5f57; }
.dot--amber { background: #febc2e; }
.dot--green { background: #28c840; }
.browser-card__url { margin-left: 12px; font-size: 12px; color: #9aa3b5; font-family: var(--font-display); }
.browser-card__shot { width: 100%; display: block; }

.floating-card {
    position: absolute;
    left: 12px;
    bottom: -22px;
    background: #fff;
    border: 1px solid #eaedf4;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    box-shadow: 0 24px 50px -24px rgba(13, 20, 36, .45);
    animation: floaty 6s ease-in-out infinite;
}
.floating-card__label { font-size: 12px; color: #8a93a3; font-weight: 500; }
.floating-card__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.02em;
    margin-top: 3px;
}
.floating-card__meta {
    display: flex; align-items: center; gap: 6px; margin-top: 5px;
    font-size: 12.5px; color: var(--ok); font-weight: 600;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #1fd0a3; }

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- trust strip ---------- */

.trust {
    border-top: 1px solid #eef0f5;
    border-bottom: 1px solid #eef0f5;
    background: var(--bg-soft);
    margin-top: 24px;
}
.trust__inner {
    display: flex;
    align-items: center;
    gap: 20px 34px;
    padding: 22px var(--pad-x);
    flex-wrap: wrap;
    justify-content: space-between;
}
.trust__label {
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--text-faint);
    text-transform: uppercase;
}
.trust__list {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-weight: 600;
    color: #4a5468;
    font-size: 15px;
}
.trust__sep { color: #dbe0ea; }

/* ---------- solutions ---------- */

.solutions { margin-top: 36px; }
.solution-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px 26px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -34px rgba(13, 20, 36, .35);
    border-color: #dfe4ff;
}
.solution-card__icon { width: 58px; height: 58px; object-fit: contain; }
.solution-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.01em;
    margin: 18px 0 0;
}
.solution-card__desc { font-size: 15.5px; line-height: 1.72; color: var(--text); margin: 12px 0 0; }
.solution-card__cta {
    display: inline-flex;
    margin-top: 18px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--brand);
}
.solution-card--featured {
    background: linear-gradient(160deg, var(--navy-2) 0%, var(--ink) 100%);
    border-color: var(--ink);
    color: #fff;
}
.solution-card--featured:hover { box-shadow: 0 34px 64px -30px rgba(13, 20, 36, .6); }
.solution-card--featured .solution-card__desc { color: #b9c2da; }
.solution-card--featured .solution-card__cta { color: var(--teal-soft); }

/* ---------- platform ---------- */

.platform {
    margin-top: 64px;
    background: linear-gradient(180deg, var(--navy-1) 0%, var(--ink) 100%);
    color: #fff;
    padding: 64px 0;
}
.platform__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.platform__lead {
    font-size: 16px;
    line-height: 1.75;
    color: #b9c2da;
    margin: 18px 0 0;
    max-width: 480px;
}
.platform__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px 30px;
    margin-top: 30px;
    max-width: 480px;
}
.feature { display: flex; gap: 12px; }
.feature__mark { color: var(--teal-soft); font-size: 19px; line-height: 1.4; }
.feature__title { font-weight: 700; font-size: 16px; }
.feature__desc { font-size: 14px; color: #9aa6c4; margin-top: 3px; }

.platform__visual {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 40px 90px -36px rgba(0, 0, 0, .7);
}
.platform__visual img { width: 100%; display: block; }

.platform__modules {
    margin-top: 44px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 30px;
}
.platform__modules-label { font-size: 13.5px; color: #8794b5; font-weight: 600; margin-bottom: 16px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: #e7ebf6;
    transition: background .2s, border-color .2s;
}
.chip:hover { background: rgba(95, 224, 213, .12); border-color: var(--teal-soft); }

/* ---------- why us ---------- */

.why__title { max-width: 700px; }
.why__reasons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 36px;
}
.reason-card {
    background: var(--bg-tint);
    border: 1px solid #eaeef5;
    border-radius: var(--radius);
    padding: 26px;
}
.reason-card__no {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 34px;
    letter-spacing: -0.02em;
    color: var(--brand);
}
.reason-card__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 12px 0 0; }
.reason-card__desc { font-size: 15px; line-height: 1.7; color: var(--text); margin: 9px 0 0; }

.cert-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}
.cert-card {
    background: linear-gradient(165deg, #eef2ff 0%, #fff 70%);
    border: 1px solid #e2e7fb;
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.cert-card__std {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .06em;
    color: var(--brand);
}
.cert-card__title { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; margin: 8px 0 0; }
.cert-card__desc { flex: 1; font-size: 15px; line-height: 1.72; color: var(--text); margin: 12px 0 0; }
.cert-card__foot {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #e2e7fb;
    display: flex;
    align-items: center;
    gap: 14px;
}
.cert-card__doc { width: 54px; height: 72px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid #e2e7fb; }
.cert-card__note { font-size: 13px; color: var(--text-soft); line-height: 1.6; word-break: break-all; }

.cert-chip {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--brand);
    background: var(--bg-brand-tint);
    border: 1px solid #dde2ff;
    border-radius: 999px;
    padding: 5px 11px;
    white-space: nowrap;
}

/* ---------- cases ---------- */

.cases { margin-top: 32px; }
.case-card {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(13, 20, 36, .32); }
.case-card__media {
    height: 188px;
    background: repeating-linear-gradient(45deg, #eef1f7 0 13px, #f7f9fc 13px 26px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.case-card__media span { font-family: var(--font-display); font-size: 12px; color: #aab2c2; letter-spacing: .08em; }
.case-card__media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card__body { padding: 22px 22px 24px; }
.case-card__title { font-family: var(--font-display); font-weight: 700; font-size: 18.5px; line-height: 1.4; margin: 12px 0 0; }
.case-card__desc { font-size: 14.5px; color: var(--text); line-height: 1.65; margin: 10px 0 0; }

.tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand);
    background: var(--bg-brand-tint);
    padding: 4px 10px;
    border-radius: 999px;
}
.tag--green { color: var(--ok); background: var(--ok-bg); }
.tag--blue { color: var(--brand); background: var(--bg-brand-tint); }
.tag--amber { color: var(--warn); background: var(--warn-bg); }

/* ---------- news ---------- */

.news-list { margin-top: 32px; border-top: 1px solid var(--line-2); }
.news-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 20px 6px;
    border-bottom: 1px solid var(--line-2);
    transition: background .2s;
}
.news-row:hover { background: var(--bg-soft); }
.news-row__date { font-family: var(--font-display); font-size: 13px; color: #8a93a3; font-weight: 500; white-space: nowrap; }
.news-row__main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-row__title { font-weight: 600; font-size: 16px; }
.news-row__arrow { color: #c2c9d6; font-size: 20px; }

/* ---------- faq ---------- */

.faq__inner { max-width: 900px; margin: 0 auto; }
.faq__title { text-align: center; margin-bottom: 24px; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item__q {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon {
    flex: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #f1f3f9;
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform .25s;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text);
    margin: 0;
    padding: 0 4px 24px;
    max-width: 760px;
}

/* ---------- cta ---------- */

.cta__panel {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(125deg, var(--brand-dark) 0%, var(--brand) 42%, var(--teal) 120%);
    padding: 48px 28px;
}
.cta__blob { position: absolute; border-radius: 50%; }
.cta__blob--1 { top: -80px; right: -40px; width: 320px; height: 320px; background: rgba(255, 255, 255, .08); }
.cta__blob--2 { bottom: -120px; left: 30%; width: 360px; height: 360px; background: rgba(255, 255, 255, .06); }
.cta__content { position: relative; max-width: 680px; }
.cta__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(30px, 6vw, 52px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0;
}
.cta__lead { font-size: 17px; line-height: 1.7; color: #dbe2ff; margin: 16px 0 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- footer ---------- */

.footer {
    margin-top: 72px;
    border-top: 1px solid var(--line-3);
    padding: 48px 0 36px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.footer__brand img { height: 34px; display: block; }
.footer__desc { font-size: 14.5px; line-height: 1.7; color: var(--text-soft); margin: 16px 0 0; max-width: 300px; }
.footer__cert { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.footer__col-head {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--text-faint);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: #4a5468; }
.footer__links a:hover, .footer__legal a:hover, .footer__mail:hover { color: var(--brand); }
.footer__contact { font-style: normal; font-size: 14.5px; color: #4a5468; line-height: 1.7; }
.footer__mail { color: var(--brand); font-weight: 600; }
.footer__bottom {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #f0f2f7;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--text-faint);
}
.footer__legal { display: flex; gap: 22px; }

/* hover colour for desktop nav links */
.primary-nav > a:not(.btn):hover { color: var(--brand); }

/* ============================================================
   Breakpoints
   ============================================================ */

@media (min-width: 640px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .cta__panel { padding: 60px 44px; }
}

@media (min-width: 768px) {
    :root { --pad-x: 32px; }
    .section { padding: 88px 0 0; }
    .platform { margin-top: 88px; padding: 80px 0; }
    .footer { margin-top: 90px; padding: 60px 0 40px; }

    .hero__stats { gap: 26px; }
    .floating-card { left: -20px; bottom: 30px; padding: 16px 20px; }
    .floating-card__value { font-size: 26px; }

    .why__reasons { grid-template-columns: 1fr 1fr; gap: 20px; }
    .cert-cards { grid-template-columns: 1fr 1fr; }
    .platform__features { grid-template-columns: repeat(2, 1fr); }
    .news-row { grid-template-columns: 140px 1fr auto; gap: 28px; padding: 24px 8px; }
    .news-row__title { font-size: 17.5px; }
}

@media (min-width: 960px) {
    :root { --header-h: 74px; }

    .nav-toggle { display: none; }
    .primary-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 28px;
        margin-left: 8px;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        font-size: 15px;
        color: #3c4659;
        flex: 1;
    }
    .primary-nav > a:not(.btn) { padding: 0; border: none; font-weight: 500; }
    .primary-nav__about { margin-left: auto; font-weight: 600; color: var(--ink); }
    .primary-nav__cta { margin-top: 0; }

    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .why__reasons { grid-template-columns: repeat(4, 1fr); }
    .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; padding-top: 74px; padding-bottom: 84px; }
    .hero__lead { font-size: 18.5px; }
    .platform__grid { grid-template-columns: 1fr 1fr; gap: 60px; }
    .section__intro { font-size: 16.5px; max-width: 380px; }

    .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
    .solution-card, .case-card__body { padding: 34px 30px 30px; }
}

/* ---------- product page tabs ---------- */

.product .section__head { margin-bottom: 32px; }

.tabs__list {
    display: flex;
    gap: 6px;
    background: var(--bg-tint);
    padding: 6px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.tabs__tab {
    appearance: none;
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 10px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-soft);
    cursor: pointer;
    border-radius: calc(var(--radius-sm) - 4px);
    text-align: center;
    white-space: nowrap;
    transition: color .15s, background .15s, box-shadow .15s;
}

.tabs__tab:hover { color: var(--ink); }

.tabs__tab.is-active {
    color: var(--brand);
    background: var(--bg);
    box-shadow: 0 1px 3px rgba(13, 20, 36, .10), 0 1px 1px rgba(13, 20, 36, .06);
}

.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }

.tabs__media {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg-tint);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .floating-card { animation: none; }
    * { transition-duration: .01ms !important; }
}
