/* =========================================================
   择云软件工作室 · 站点版本二
   Signal Deck design system
   ========================================================= */

:root {
    --signal: #56C6DA;
    --navy: #152838;
    --ink: #10293A;
    --deep: #115A72;
    --mist: #D1F5FA;
    --paper: #F7FBFB;
    --white: #FFFFFF;
    --muted: #4A6272;
    --line: rgba(21, 40, 56, .14);
    --line-strong: rgba(21, 40, 56, .28);
    --sans: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
    --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    --wrap: 1200px;
    --header-wrap: 1280px;
    --gutter: clamp(20px, 4.2vw, 52px);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input {
    font-family: var(--sans);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button {
    cursor: pointer;
}

h1, h2, h3, h4, p, figure, blockquote {
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
}

::selection {
    background: var(--signal);
    color: var(--navy);
}

:focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: 3px;
}

.wrap {
    width: min(var(--wrap), 100% - var(--gutter) * 2);
    margin-inline: auto;
}

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

.skip-link {
    position: fixed;
    top: 10px;
    left: 50%;
    z-index: 200;
    transform: translate(-50%, -160%);
    padding: 10px 18px;
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
    border-radius: 2px;
    transition: transform .2s var(--ease);
}

.skip-link:focus {
    transform: translate(-50%, 0);
}

/* ---------- shared type & controls ---------- */

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--deep);
    font-size: 13.5px;
    line-height: 1.4;
    border-bottom: 1px solid rgba(17, 90, 114, .35);
    padding-bottom: 2px;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}

.text-link:hover {
    color: var(--navy);
    border-color: var(--navy);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .01em;
    transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background: #0C1D28;
    transform: translateY(-1px);
}

.btn-outline {
    border-color: rgba(21, 40, 56, .5);
    color: var(--navy);
    background: rgba(255, 255, 255, .12);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .38);
    border-color: var(--navy);
}

.article-cat {
    display: inline-block;
    color: var(--deep);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.4;
    border-bottom: 1px solid rgba(17, 90, 114, .4);
    padding-bottom: 3px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    color: var(--muted);
    font-size: 13px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-meta span + span::before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--line-strong);
}

.article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.article-share-label {
    color: var(--muted);
    font-size: 12px;
    margin-right: 4px;
}

.share-btn {
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--deep);
    font-size: 12px;
    line-height: 1.3;
    transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}

.share-btn:hover {
    border-color: var(--deep);
    background: rgba(86, 198, 218, .12);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(247, 251, 251, .95);
    border-top: 3px solid var(--signal);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: box-shadow .25s var(--ease);
}

.site-header.header-scrolled {
    box-shadow: 0 14px 34px -24px rgba(16, 41, 58, .5);
}

.header-inner {
    width: min(var(--header-wrap), 100% - var(--gutter) * 2);
    margin-inline: auto;
    height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    flex: 0 0 auto;
    display: block;
}

.brand-logo {
    width: 142px;
    height: auto;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.menu-item {
    position: relative;
    display: inline-block;
    padding: 10px 13px;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    transition: color .2s var(--ease);
}

.menu-item::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 2px;
    height: 2px;
    background: var(--signal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}

.menu-item:hover {
    color: var(--deep);
}

.menu-item:hover::after,
.menu-item.menu-active::after {
    transform: scaleX(1);
}

.menu-item.menu-active {
    color: var(--deep);
    font-weight: 600;
}

.header-tools {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 220px;
    height: 38px;
    border-bottom: 1px solid var(--line-strong);
    transition: border-color .2s var(--ease);
}

.header-search:focus-within {
    border-color: var(--deep);
}

.header-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 58px 0 2px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 12.5px;
}

.header-search input::placeholder {
    color: #6B7F8C;
}

.header-search input:focus {
    outline: 0;
}

.header-search button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0 4px 6px;
    border: 0;
    background: transparent;
    color: var(--deep);
    font-size: 12px;
}

.header-search svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--white);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    transition: background-color .2s var(--ease);
}

.contact-pill:hover {
    background: var(--deep);
}

.menu-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.menu-toggle-label {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle-label span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.mobile-panel {
    display: none;
    max-height: 0;
    overflow: hidden;
    background: var(--paper);
    border-top: 1px solid var(--line);
    transition: max-height .35s var(--ease);
}

.mobile-nav {
    width: min(var(--header-wrap), 100% - var(--gutter) * 2);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    padding: 16px 0 8px;
}

.mobile-nav .menu-item {
    padding: 11px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
}

.mobile-nav .menu-item::after {
    display: none;
}

.mobile-search {
    width: min(var(--header-wrap), 100% - var(--gutter) * 2);
    margin: 10px auto 0;
    display: flex;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    overflow: hidden;
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 0;
    background: var(--white);
    color: var(--ink);
    font-size: 14px;
}

.mobile-search input:focus {
    outline: 2px solid var(--signal);
    outline-offset: -2px;
}

.mobile-search button {
    flex: 0 0 auto;
    padding: 0 18px;
    border: 0;
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
}

.mobile-contact {
    width: min(var(--header-wrap), 100% - var(--gutter) * 2);
    margin: 14px auto 20px;
    color: var(--muted);
    font-size: 12.5px;
}

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

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 12%, rgba(255, 255, 255, .34), transparent 42%),
        radial-gradient(circle at 8% 100%, rgba(17, 90, 114, .18), transparent 52%),
        var(--signal);
    padding-top: clamp(48px, 6.4vw, 88px);
}

.hero::before {
    content: "";
    position: absolute;
    right: -260px;
    top: -380px;
    width: 860px;
    height: 860px;
    border-radius: 50%;
    border: 1px solid rgba(21, 40, 56, .13);
    box-shadow:
        0 0 0 84px rgba(21, 40, 56, .035),
        0 0 0 168px rgba(21, 40, 56, .025);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .82fr);
    align-items: center;
    gap: clamp(36px, 6vw, 88px);
}

.hero-copy {
    padding-bottom: clamp(36px, 5vw, 64px);
}

.hero-stamp {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(21, 40, 56, .42);
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: var(--ink);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.2;
}

.hero-title {
    margin-top: 24px;
    color: var(--ink);
    font-size: clamp(54px, 7.5vw, 104px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.055em;
}

.hero-title span {
    display: block;
}

.hero-title-alt {
    display: inline-block !important;
    margin: .12em 0 0 .42em;
    padding: .02em .12em .06em;
    background: var(--navy);
    color: var(--white);
    line-height: 1;
    letter-spacing: -.04em;
}

.hero-desc {
    max-width: 34em;
    margin-top: clamp(22px, 3vw, 32px);
    color: rgba(16, 41, 58, .82);
    font-size: clamp(15.5px, 1.3vw, 17.5px);
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-side {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: clamp(36px, 5vw, 64px);
}

.hero-visual {
    position: relative;
    isolation: isolate;
    width: min(100%, 470px);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -10% -6% 10%;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 40%, rgba(209, 245, 250, .36), rgba(86, 198, 218, 0) 68%);
    filter: blur(14px);
    pointer-events: none;
}

.hero-visual :focus-visible {
    outline-color: var(--white);
}

.hero-dock-cta:focus-visible {
    outline-color: var(--navy);
}

.hero-photo {
    position: relative;
    background: transparent;
}

.hero-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-photo-stamp {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    background: rgba(21, 40, 56, .72);
    color: rgba(255, 255, 255, .85);
    font-family: var(--serif);
    font-size: 10.5px;
    letter-spacing: .02em;
    backdrop-filter: blur(6px);
}

.hero-photo-stamp i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 0 3px rgba(86, 198, 218, .16);
}

.hero-dock {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr);
    margin-top: -48px;
    border-top: 1px solid rgba(209, 245, 250, .18);
    background: rgba(21, 40, 56, .92);
    box-shadow: 0 26px 44px -34px rgba(8, 22, 31, .72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-dock-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 58px;
    padding: 10px 13px;
    border-right: 1px solid rgba(209, 245, 250, .12);
    color: var(--white);
    transition: background-color .2s var(--ease);
}

.hero-dock-item:last-child {
    border-right: 0;
}

.hero-dock-item:hover {
    background: rgba(86, 198, 218, .08);
}

.hero-dock-name {
    color: rgba(255, 255, 255, .64);
    font-size: 11.5px;
    letter-spacing: .02em;
    line-height: 1.2;
}

.hero-dock-value {
    color: var(--white);
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1;
}

.hero-dock-value small {
    margin-left: 3px;
    color: rgba(255, 255, 255, .5);
    font-family: var(--sans);
    font-size: 10px;
}

.hero-dock-cta {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--signal);
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.hero-dock-cta:hover {
    background: var(--white);
}

.hero-dock-cta span[aria-hidden] {
    display: inline-block;
    transition: transform .25s var(--ease);
}

.hero-dock-cta:hover span[aria-hidden] {
    transform: translateX(3px);
}

.hero-metrics {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(21, 40, 56, .26);
}

.hero-metrics-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metric {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 22px 0 26px;
}

.hero-metric + .hero-metric {
    border-left: 1px solid rgba(21, 40, 56, .22);
    padding-left: clamp(18px, 3vw, 40px);
}

.metric-value {
    color: var(--ink);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
}

.metric-label {
    color: rgba(16, 41, 58, .74);
    font-size: 12.5px;
    line-height: 1.4;
}

/* ---------- home sections ---------- */

.section {
    padding: clamp(64px, 8vw, 112px) 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(30px, 4vw, 46px);
}

.section-heading h2 {
    color: var(--ink);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.section-heading h2 a {
    transition: color .2s var(--ease);
}

.section-heading h2 a:hover {
    color: var(--deep);
}

.section-tip {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}

.section-more {
    flex: 0 0 auto;
    color: var(--deep);
    font-size: 13px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(17, 90, 114, .35);
    padding-bottom: 3px;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}

.section-more:hover {
    color: var(--navy);
    border-color: var(--navy);
}

/* software mosaic */

.soft-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 22px;
}

.soft-tile {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.soft-tile:nth-child(-n+2) {
    grid-column: span 2;
}

.soft-tile-media {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    padding: clamp(10px, 1.1vw, 14px);
    background: linear-gradient(155deg, #EAF6F8 0%, #F8FCFC 52%, #DDF1F5 100%);
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: border-color .25s var(--ease);
}

.soft-tile:nth-child(-n+2) .soft-tile-media {
    padding: clamp(14px, 1.6vw, 22px);
}

.soft-tile-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .55);
    pointer-events: none;
}

.soft-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(21, 40, 56, .08));
    transition: transform .55s var(--ease);
}

.soft-tile:hover .soft-tile-media {
    border-color: var(--signal);
}

.soft-tile:hover .soft-tile-media img {
    transform: scale(1.025);
}

.soft-tile-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 2px 0;
}

.soft-tile-title {
    color: var(--ink);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.45;
    transition: color .2s var(--ease);
}

.soft-tile:nth-child(-n+2) .soft-tile-title {
    font-size: 18px;
}

.soft-tile:hover .soft-tile-title {
    color: var(--deep);
}

.soft-tile-meta {
    color: var(--muted);
    font-size: 11.5px;
    letter-spacing: .01em;
}

.soft-tile-meta time {
    font-family: var(--serif);
    font-size: 12px;
}

/* insights */

.section-insights {
    position: relative;
    overflow: hidden;
    background: var(--mist);
}

.section-insights::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/static/img/v2/insight-atlas.jpg") center / cover no-repeat;
    opacity: .32;
    pointer-events: none;
}

.section-insights::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(209, 245, 250, .7), rgba(209, 245, 250, .34));
    pointer-events: none;
}

.section-insights .wrap {
    position: relative;
    z-index: 1;
}

.section-insights .section-more,
.section-insights .section-tip {
    color: #0D3F50;
}

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

.insight-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 22px 0 26px;
    border-top: 1px solid rgba(21, 40, 56, .3);
}

.insight-card:first-child {
    grid-column: span 2;
    padding-right: clamp(10px, 3vw, 44px);
}

.insight-date {
    color: #0D3F50;
    font-family: var(--serif);
    font-size: 12.5px;
    letter-spacing: .02em;
}

.insight-title {
    margin-top: 12px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -.01em;
}

.insight-card:first-child .insight-title {
    font-size: clamp(24px, 2.5vw, 31px);
    line-height: 1.38;
    letter-spacing: -.03em;
}

.insight-title a {
    transition: color .2s var(--ease);
}

.insight-title a:hover {
    color: var(--deep);
}

.insight-desc {
    margin-top: 10px;
    color: #335263;
    font-size: 13.5px;
    line-height: 1.8;
}

.insight-more {
    margin-top: auto;
    padding-top: 16px;
    color: #0D3F50;
    border-bottom-color: rgba(13, 63, 80, .32);
    font-size: 12.5px;
}

.insight-cta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
    margin-top: 22px;
    padding: 24px;
    border-radius: 4px;
    background: var(--navy);
    color: var(--white);
    transition: background-color .25s var(--ease), transform .25s var(--ease);
}

.insight-cta:hover {
    background: var(--deep);
    transform: translateY(-2px);
}

.insight-cta-label {
    color: var(--signal);
    font-size: 11.5px;
    letter-spacing: .06em;
}

.insight-cta-title {
    margin-top: 12px;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
}

.insight-cta-arrow {
    align-self: flex-end;
    margin-top: 20px;
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1;
}

/* tutorials */

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 40px;
}

.tutorial-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 18px;
    align-items: baseline;
    gap: 14px;
    padding: 19px 0 21px;
    border-top: 1px solid var(--line);
    transition: border-color .2s var(--ease);
}

.tutorial-row:hover {
    border-color: var(--signal);
}

.tutorial-row time {
    color: var(--muted);
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: .01em;
}

.tutorial-title {
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.55;
    transition: color .2s var(--ease);
}

.tutorial-row:hover .tutorial-title {
    color: var(--deep);
}

.tutorial-arrow {
    justify-self: end;
    color: var(--deep);
    font-size: 13px;
    opacity: .35;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.tutorial-row:hover .tutorial-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* friendly links */

.section-links {
    padding: 0 0 clamp(52px, 6vw, 76px);
}

.links-inner {
    display: flex;
    align-items: flex-start;
    gap: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.links-title {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 2;
}

.links-body {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.links-body a {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 2;
    transition: color .2s var(--ease);
}

.links-body a:hover {
    color: var(--deep);
}

/* ---------- join ---------- */

.join-band {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: var(--white);
    padding: clamp(56px, 7vw, 92px) 0;
}

.join-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/static/img/v2/connect-signal-duo.jpg") right center / cover no-repeat;
    opacity: .42;
    pointer-events: none;
}

.join-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--navy) 12%, rgba(21, 40, 56, .72) 58%, rgba(21, 40, 56, .28));
    pointer-events: none;
}

.join-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
}

.join-label {
    display: block;
    color: var(--signal);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
}

.join-concat {
    display: block;
    margin-top: 14px;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.01em;
}

.join-tip {
    margin-top: 14px;
    max-width: 34em;
    color: rgba(255, 255, 255, .66);
    font-size: 14px;
    line-height: 1.8;
}

.join-cards {
    display: flex;
    gap: 18px;
}

.join-card {
    padding: 14px 14px 12px;
    border-radius: 4px;
    background: var(--white);
    color: var(--navy);
    text-align: center;
    box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .55);
}

.join-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-top: 8px;
}

.join-card-label {
    color: var(--deep);
    font-size: 12px;
    font-weight: 600;
}

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

.site-footer {
    background: #0E1E2B;
    color: rgba(255, 255, 255, .64);
    padding: clamp(44px, 6vw, 64px) 0 22px;
}

.footer-inner {
    width: min(var(--wrap), 100% - var(--gutter) * 2);
    margin-inline: auto;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) minmax(0, .65fr);
    gap: clamp(30px, 5vw, 70px);
}

.footer-wordmark {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.footer-note {
    margin-top: 14px;
    max-width: 46em;
    font-size: 12.5px;
    line-height: 1.9;
}

.footer-note a {
    color: rgba(255, 255, 255, .78);
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.footer-note a:hover {
    color: var(--signal);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 18px;
    align-content: start;
}

.footer-nav a {
    padding: 5px 0;
    font-size: 12.5px;
    line-height: 1.6;
    transition: color .2s var(--ease);
}

.footer-nav a:hover {
    color: var(--signal);
}

.footer-label {
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    letter-spacing: .1em;
}

.footer-contact-line {
    margin-top: 12px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    line-height: 1.9;
}

.footer-base {
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 11.5px;
    line-height: 1.8;
}

/* ---------- breadcrumb ---------- */

.breadcrumb-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 22px;
    padding-bottom: 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.breadcrumb-bar a {
    color: var(--muted);
    transition: color .2s var(--ease);
}

.breadcrumb-bar a:hover {
    color: var(--deep);
}

.breadcrumb-bar > span[aria-hidden] {
    color: rgba(21, 40, 56, .3);
}

.breadcrumb-current {
    max-width: 60ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #607684;
}

/* ---------- list masthead & grids ---------- */

.list-masthead {
    position: relative;
    overflow: hidden;
    background: var(--mist);
    border-top: 1px solid rgba(21, 40, 56, .08);
    border-bottom: 1px solid var(--line);
}

.list-masthead::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -220px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 1px solid rgba(21, 40, 56, .12);
    box-shadow: 0 0 0 60px rgba(21, 40, 56, .03), 0 0 0 120px rgba(21, 40, 56, .02);
}

.list-masthead-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(34px, 5vw, 58px) 0 clamp(36px, 5vw, 54px);
}

.list-kicker {
    color: #0D3F50;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .12em;
}

.list-title {
    margin-top: 10px;
    color: var(--ink);
    font-size: clamp(38px, 5.2vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.045em;
}

.list-intro {
    margin-top: 16px;
    max-width: 62ch;
    color: #2F4E5F;
    font-size: 14.5px;
    line-height: 1.85;
}

.list-count {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding-bottom: 6px;
}

.list-count-value {
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(38px, 4.4vw, 56px);
    line-height: 1;
}

.list-count-label {
    color: #0D3F50;
    font-size: 11.5px;
    letter-spacing: .04em;
    white-space: nowrap;
}

.list-body {
    padding-top: clamp(36px, 5vw, 56px);
    padding-bottom: clamp(64px, 8vw, 104px);
}

.entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(32px, 5vw, 64px);
}

.entry-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 24px 0 30px;
    border-top: 1px solid var(--line);
}

.entry-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    color: var(--muted);
    font-size: 11.5px;
}

.entry-top time {
    font-family: var(--serif);
    font-size: 12.5px;
    letter-spacing: .02em;
}

.entry-cat {
    color: var(--deep);
    letter-spacing: .04em;
}

.entry-title {
    margin-top: 14px;
    font-size: clamp(20px, 1.9vw, 24px);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -.02em;
}

.entry-title a {
    transition: color .2s var(--ease);
}

.entry-title a:hover {
    color: var(--deep);
}

.entry-desc {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.entry-more {
    margin-top: 16px;
    font-size: 12.5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 24px;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: linear-gradient(155deg, #EAF6F8 0%, #F8FCFC 52%, #DDF1F5 100%);
    transition: border-color .25s var(--ease);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(21, 40, 56, .08));
    transition: transform .55s var(--ease);
}

.product-card:hover .product-media {
    border-color: var(--signal);
}

.product-card:hover .product-media img {
    transform: scale(1.025);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 2px 0;
}

.product-title {
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    transition: color .2s var(--ease);
}

.product-card:hover .product-title {
    color: var(--deep);
}

.product-date {
    color: var(--muted);
    font-size: 11.5px;
}

.product-date time {
    font-family: var(--serif);
    font-size: 12px;
}

.product-grid-compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px 18px;
}

.product-grid-compact .product-title {
    font-size: 13.5px;
}

/* pagination */

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: clamp(44px, 6vw, 64px);
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--ink);
    font-size: 13px;
    line-height: 1;
    transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}

.pagination a:hover {
    border-color: var(--deep);
    color: var(--deep);
}

.pagination a.active {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

.pagination .page-arrow {
    padding: 0 16px;
    color: var(--deep);
}

/* ---------- article ---------- */

.article {
    padding-bottom: clamp(60px, 8vw, 100px);
}

.article-head {
    padding-top: clamp(18px, 3vw, 34px);
    padding-bottom: clamp(30px, 4vw, 46px);
    border-bottom: 1px solid var(--line);
}

.article-title {
    margin-top: 18px;
    max-width: 21em;
    color: var(--ink);
    font-size: clamp(30px, 4.3vw, 54px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.article-lead {
    margin-top: 18px;
    max-width: 48em;
    color: #355262;
    font-size: clamp(15.5px, 1.4vw, 18px);
    line-height: 1.85;
}

.article-head .article-meta {
    margin-top: 24px;
}

.article-layout {
    display: grid;
    grid-template-columns: 216px minmax(0, 780px);
    justify-content: space-between;
    gap: clamp(32px, 5vw, 72px);
    padding-top: clamp(40px, 5vw, 64px);
}

.article-layout-plain {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
}

.article-toc {
    min-width: 0;
}

.toc-sticky {
    position: sticky;
    top: 112px;
    border-left: 1px solid var(--line);
    padding-left: 20px;
}

.toc-title {
    color: var(--navy);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.5;
}

.toc-sticky nav {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
}

.toc-link {
    position: relative;
    display: block;
    padding: 6px 0;
    color: #597080;
    font-size: 12.5px;
    line-height: 1.55;
    transition: color .2s var(--ease), padding-left .2s var(--ease);
}

.toc-link:hover {
    color: var(--deep);
}

.toc-link.is-active {
    color: var(--navy);
    font-weight: 600;
    padding-left: 8px;
}

.toc-link.is-active::before {
    content: "";
    position: absolute;
    left: -21px;
    top: 9px;
    bottom: 9px;
    width: 2px;
    background: var(--signal);
}

.toc-level-3 {
    padding-left: 14px;
    font-size: 12px;
}

.toc-level-3.is-active {
    padding-left: 22px;
}

.article-content {
    min-width: 0;
    max-width: 780px;
    color: #233B4C;
    font-size: 17px;
    line-height: 1.95;
    word-wrap: break-word;
}

.article-content > *:first-child {
    margin-top: 0 !important;
}

.article-content p {
    margin: 0 0 1.05em;
}

.article-content > p:first-child {
    color: #19394B;
    font-size: 18px;
    line-height: 1.9;
}

.article-content strong,
.article-content b {
    color: var(--navy);
    font-weight: 700;
}

.article-content em {
    font-style: normal;
    background: linear-gradient(transparent 62%, rgba(86, 198, 218, .38) 62%);
}

.article-content a {
    color: var(--deep);
    border-bottom: 1px solid rgba(17, 90, 114, .4);
    transition: color .2s var(--ease), border-color .2s var(--ease);
}

.article-content a:hover {
    color: var(--navy);
    border-color: var(--navy);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -.02em;
    scroll-margin-top: 108px;
}

.article-content h2 {
    margin: 2.3em 0 .75em;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: clamp(23px, 2.3vw, 29px);
    line-height: 1.38;
}

.article-content h2::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 12px;
    background: var(--signal);
    vertical-align: .14em;
}

.article-content h3 {
    margin: 1.9em 0 .6em;
    font-size: clamp(19px, 1.7vw, 22px);
    line-height: 1.5;
}

.article-content h4 {
    margin: 1.6em 0 .5em;
    font-size: 18px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1.15em;
    padding-left: 1.5em;
}

.article-content li {
    margin: .35em 0;
}

.article-content li::marker {
    color: var(--deep);
}

.article-content blockquote {
    margin: 1.8em 0;
    padding: 18px 22px;
    background: var(--mist);
    border-left: 3px solid var(--signal);
    color: #284A5B;
    font-size: 15.5px;
    line-height: 1.9;
}

.article-content blockquote p {
    margin: 0 0 .5em;
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

.article-content hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--white);
}

.article-content figure {
    margin: 26px 0;
    text-align: center;
}

.article-content figure img {
    margin: 0 auto;
}

.article-content figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.article-content .table-wrap {
    margin: 26px 0;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--white);
    -webkit-overflow-scrolling: touch;
}

.article-content table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 13.5px;
    line-height: 1.65;
}

.article-content th,
.article-content td {
    padding: 10px 13px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.article-content th {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
}

.article-content table tr:first-child td {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
}

.article-content table tr:nth-child(even) td {
    background: rgba(209, 245, 250, .38);
}

.article-content table tr:first-child td {
    background: var(--navy);
}

.article-content code {
    padding: 2px 6px;
    border-radius: 2px;
    background: rgba(86, 198, 218, .16);
    color: var(--navy);
    font-family: Consolas, "Courier New", monospace;
    font-size: .9em;
}

.article-content pre {
    margin: 24px 0;
    padding: 18px 20px;
    overflow-x: auto;
    background: var(--navy);
    color: #DDEEF3;
    border-radius: 3px;
    font-size: 13.5px;
    line-height: 1.7;
}

.article-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.article-tail {
    padding-top: clamp(40px, 5vw, 60px);
}

.article-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(24px, 3.4vw, 38px);
    border-radius: 4px;
    background: var(--navy);
    color: var(--white);
}

.article-cta-text strong {
    display: block;
    font-size: clamp(19px, 2vw, 23px);
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.4;
}

.article-cta-text span {
    display: block;
    margin-top: 8px;
    max-width: 40em;
    color: rgba(255, 255, 255, .68);
    font-size: 13.5px;
    line-height: 1.8;
}

.article-cta-actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-cta .btn-navy {
    background: var(--white);
    color: var(--navy);
}

.article-cta .btn-navy:hover {
    background: var(--mist);
}

.article-cta .btn-outline {
    border-color: rgba(255, 255, 255, .45);
    color: var(--white);
    background: transparent;
}

.article-cta .btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .1);
}

.prevnext {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.prevnext-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.prevnext-next {
    text-align: right;
    align-items: flex-end;
}

.prevnext-label {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .08em;
}

.prevnext-item a {
    color: var(--ink);
    font-size: 14.5px;
    line-height: 1.6;
    transition: color .2s var(--ease);
}

.prevnext-item a:hover {
    color: var(--deep);
}

.related-section {
    margin-top: clamp(48px, 6vw, 72px);
    padding: clamp(44px, 5.5vw, 64px) 0;
    background: var(--mist);
}

.related-softs {
    margin-top: 0;
    background: transparent;
    padding-top: 0;
}

.related-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.related-head h2 {
    color: var(--ink);
    font-size: clamp(22px, 2.3vw, 28px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.related-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(21, 40, 56, .22);
}

.related-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 18px;
    align-items: baseline;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(21, 40, 56, .14);
}

.related-item time {
    color: #4C6473;
    font-family: var(--serif);
    font-size: 12px;
}

.related-item-title {
    color: var(--ink);
    font-size: 14.5px;
    line-height: 1.6;
    transition: color .2s var(--ease);
}

.related-item:hover .related-item-title {
    color: var(--deep);
}

.related-item-arrow {
    justify-self: end;
    color: var(--deep);
    font-size: 13px;
    opacity: .4;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.related-item:hover .related-item-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* ---------- product detail ---------- */

.product-hero {
    background: var(--mist);
    border-top: 1px solid rgba(21, 40, 56, .08);
    border-bottom: 1px solid var(--line);
    padding: clamp(34px, 4.6vw, 58px) 0;
}

.product-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(34px, 5vw, 64px);
}

.product-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 16px;
    background: var(--white);
    border: 1px solid rgba(21, 40, 56, .16);
    border-radius: 4px;
}

.product-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-title {
    margin-top: 14px;
    color: var(--ink);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -.035em;
}

.product-detail-lead {
    margin-top: 14px;
    max-width: 40em;
    color: #355262;
    font-size: 15px;
    line-height: 1.85;
}

.product-detail-info .article-meta {
    margin-top: 18px;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.product-badges span {
    padding: 5px 11px;
    border: 1px solid rgba(21, 40, 56, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    color: var(--deep);
    font-size: 11.5px;
    line-height: 1.3;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.product-layout {
    padding-bottom: clamp(20px, 4vw, 40px);
}

/* ---------- single pages ---------- */

.single-head {
    max-width: 900px;
    margin-inline: auto;
    padding-top: clamp(20px, 3vw, 36px);
    padding-bottom: clamp(26px, 3.6vw, 40px);
    border-bottom: 1px solid var(--line);
}

.single-title {
    margin-top: 16px;
    max-width: 18em;
    color: var(--ink);
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.045em;
}

.single-body {
    padding-top: clamp(36px, 5vw, 58px);
    padding-bottom: clamp(30px, 4vw, 46px);
}

.single-content {
    max-width: 900px;
    margin-inline: auto;
}

.single .article-tail {
    padding-top: 0;
    padding-bottom: clamp(54px, 7vw, 88px);
}

.page-buy .single-content figure,
.page-buy .article-content figure {
    display: inline-block;
    width: calc(50% - 18px);
    max-width: 300px;
    margin: 26px 24px 6px 0;
    vertical-align: top;
}

.page-buy .single-content figure:nth-of-type(2),
.page-buy .article-content figure:nth-of-type(2) {
    margin-right: 0;
}

.page-buy .single-content figure img,
.page-buy .article-content figure img {
    width: 100%;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
}

.page-buy .single-content figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13.5px;
}

/* ---------- search ---------- */

.search-masthead .list-title {
    font-size: clamp(30px, 4vw, 48px);
}

.search-empty {
    padding: 34px 0;
    color: var(--muted);
    font-size: 16px;
}

.search-results {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 100px;
    align-items: center;
    border-top: 1px solid var(--line);
}

.search-type,
.search-title,
.search-date {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
    line-height: 1.6;
}

.search-type {
    color: var(--deep);
    font-size: 12px;
}

.search-title {
    color: var(--ink);
    padding-right: 20px;
    transition: color .2s var(--ease);
}

.search-title:hover {
    color: var(--deep);
}

.search-date {
    color: var(--muted);
    font-family: var(--serif);
    font-size: 12px;
    text-align: right;
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
    .hero-copy {
        animation: hero-rise .8s var(--ease) both;
    }

    .hero-visual {
        animation: hero-fade 1s .12s var(--ease) both;
    }
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-fade {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* ---------- responsive ---------- */

@media (max-width: 1359px) {
    .contact-pill {
        display: none;
    }
}

@media (max-width: 1180px) {
    .header-search {
        width: 190px;
    }
}

@media (max-width: 1070px) {
    .primary-nav,
    .header-tools {
        display: none;
    }

    .menu-toggle-label {
        display: flex;
    }

    .menu-toggle-input:checked ~ .mobile-panel {
        display: block;
        max-height: 560px;
    }

    .menu-toggle-input:checked ~ .mobile-panel {
        overflow-y: auto;
    }

    .menu-toggle-input:checked ~ .header-inner .menu-toggle-label span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle-input:checked ~ .header-inner .menu-toggle-label span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle-input:checked ~ .header-inner .menu-toggle-label span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
        gap: 36px;
    }

    .hero-title {
        font-size: clamp(50px, 8.4vw, 84px);
    }

    .soft-tile:nth-child(-n+2) .soft-tile-media {
        aspect-ratio: 4 / 3;
    }

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

    .insight-card:first-child {
        grid-column: span 2;
        padding-right: 0;
        padding-bottom: 30px;
    }

    .insight-cta {
        min-height: 0;
    }

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

    .article-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 32px;
    }

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

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

    .product-hero-inner {
        grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    }
}

@media (max-width: 860px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .hero-copy {
        padding-bottom: 8px;
    }

    .hero-side {
        justify-content: flex-start;
        padding-bottom: 34px;
    }

    .hero-visual {
        width: 100%;
        max-width: 560px;
    }

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

    .soft-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
    }

    .soft-tile:nth-child(-n+2) {
        grid-column: span 1;
    }

    .soft-tile:nth-child(-n+2) .soft-tile-title {
        font-size: 15.5px;
    }

    .hero-metric {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 16px 0 20px;
    }

    .hero-metric + .hero-metric {
        padding-left: 16px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .join-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .join-cards {
        justify-content: flex-start;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
    }

    .article-layout,
    .article-layout-plain {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-toc {
        order: -1;
    }

    .toc-sticky {
        position: static;
        border-left: 0;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        padding: 16px 0;
    }

    .toc-sticky nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 22px;
    }

    .toc-link.is-active,
    .toc-level-3.is-active {
        padding-left: 0;
    }

    .toc-link.is-active::before {
        display: none;
    }

    .product-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .product-cover {
        max-width: 320px;
        aspect-ratio: 4 / 3;
    }

    .article-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-results {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .search-date {
        display: none;
    }
}

@media (max-width: 680px) {
    .header-inner {
        height: 66px;
    }

    .hero-visual {
        max-width: none;
    }

    .hero-dock-item {
        min-height: 54px;
        padding: 9px 10px;
    }

    .hero-dock-name {
        font-size: 11px;
    }

    .hero-dock-value {
        font-size: 17px;
    }

    .hero-dock-cta {
        font-size: 11.5px;
    }

    .brand-logo {
        width: 122px;
    }

    .hero {
        padding-top: 38px;
    }

    .hero-title {
        font-size: clamp(46px, 13vw, 68px);
    }

    .hero-title-alt {
        margin-left: .18em;
    }

    .hero-desc {
        font-size: 15px;
        line-height: 1.85;
    }

    .hero-actions .btn {
        min-height: 46px;
        padding: 0 22px;
    }

    .hero-metrics-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-metric {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
        padding: 13px 0;
    }

    .hero-metric + .hero-metric {
        border-left: 0;
        border-top: 1px solid rgba(21, 40, 56, .16);
        padding-left: 0;
    }

    .soft-mosaic {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .soft-tile:nth-child(-n+2) {
        grid-column: span 1;
    }

    .soft-tile:nth-child(-n+2) .soft-tile-title {
        font-size: 16px;
    }

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

    .insight-card:first-child {
        grid-column: span 1;
    }

    .insight-card:first-child .insight-title {
        font-size: 23px;
    }

    .tutorial-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .tutorial-row {
        grid-template-columns: 82px minmax(0, 1fr) 16px;
    }

    .links-inner {
        flex-direction: column;
        gap: 8px;
    }

    .join-cards {
        width: 100%;
    }

    .join-card {
        flex: 1;
        padding: 12px 10px 10px;
    }

    .join-card img {
        width: 100%;
        height: auto;
        max-width: 150px;
        margin-inline: auto;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-brand {
        grid-column: span 1;
    }

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

    .list-masthead-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .list-count {
        align-items: flex-start;
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }

    .list-count-value {
        font-size: 34px;
    }

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

    .product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

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

    .article-title {
        font-size: clamp(27px, 7vw, 38px);
    }

    .article-content {
        font-size: 16px;
        line-height: 1.95;
    }

    .article-content > p:first-child {
        font-size: 16.5px;
    }

    .article-content h2 {
        margin-top: 2em;
    }

    .article-content .table-wrap {
        margin-left: calc(var(--gutter) * -1);
        margin-right: calc(var(--gutter) * -1);
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .prevnext {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .prevnext-next {
        text-align: left;
        align-items: flex-start;
    }

    .related-item {
        grid-template-columns: 82px minmax(0, 1fr) 16px;
        gap: 12px;
    }

    .related-section {
        margin-top: 44px;
    }

    .single-title {
        font-size: clamp(30px, 8vw, 42px);
    }

    .page-buy .single-content figure,
    .page-buy .article-content figure {
        width: calc(50% - 12px);
        margin: 20px 14px 4px 0;
    }

    .page-buy .single-content figcaption,
    .page-buy .article-content figcaption {
        font-size: 12px;
    }

    .search-results {
        grid-template-columns: minmax(0, 1fr);
        border-top: 0;
    }

    .search-type {
        padding: 14px 0 0;
        border-bottom: 0;
    }

    .search-title {
        padding: 4px 0 14px;
        border-bottom: 1px solid var(--line);
        font-size: 15px;
    }

    .search-date {
        display: none;
    }

    .toc-sticky nav {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .hero-title {
        font-size: 44px;
    }

    .hero-stamp {
        font-size: 9.5px;
    }

    .join-cards {
        gap: 10px;
    }

    .join-card-label {
        font-size: 11px;
    }

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

@media (max-width: 360px) {
    .hero-dock-item {
        padding: 8px;
    }

    .hero-dock-name {
        font-size: 10.5px;
    }

    .hero-dock-cta {
        gap: 4px;
        font-size: 10.5px;
    }
}
