/* Original Show v2: homepage components */
.hero {
  position: relative;
  overflow: hidden;
  width: min(calc(100% - 40px), var(--os-container));
  margin: 12px auto 0;
  border-radius: 24px 24px 0 0;
  color: #f1fff7;
  box-shadow: var(--os-shadow);
  background:
    radial-gradient(circle at 78% 46%, rgba(32, 226, 119, .23), transparent 25%),
    radial-gradient(circle at 12% 10%, rgba(41, 167, 103, .12), transparent 28%),
    linear-gradient(115deg, #03100a 0%, #071b11 55%, #04100b 100%);
}
.hero::after { content: ""; position: absolute; inset: auto -10% -65% 38%; height: 120%; border-radius: 50%; border: 1px solid rgba(83,229,143,.16); transform: rotate(-18deg); }
.hero-grid-lines { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(79,226,144,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(79,226,144,.1) 1px, transparent 1px); background-size: 50px 50px; mask-image: linear-gradient(90deg, #000, transparent 75%); }
.hero-inner { position: relative; min-height: 304px; display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; z-index: 2; }
.eyebrow { margin: 0 0 12px; color: var(--os-accent-2); font-size: 11px; letter-spacing: .18em; font-weight: 700; }
.hero h1 { margin: 0; font-size: clamp(28px, 3.8vw, 42px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.hero h2 { margin: 8px 0 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.24; font-weight: 700; color: #d8ffe8; }
.hero-description { max-width: 500px; margin: 10px 0 0; color: #b7c9bf; font-size: 13px; line-height: 1.7; }
.hero-actions { display: flex; gap: 8px; margin-top: 14px; }
.hero-actions .button { min-height: 38px; }
.hero-stats { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 500px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 10px; }
.hero-stats div { padding-right: 10px; border-right: 1px solid rgba(255,255,255,.08); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { display: block; font-size: 15px; color: #fff; font-weight: 800; }
.hero-stats span { display: block; font-size: 10px; color: #7f9689; margin-top: 2px; }
.hero-visual { position: relative; min-height: 250px; display: grid; place-items: center; }
.tech-orb { position: relative; width: min(220px, 62vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(83,229,143,.42); background: radial-gradient(circle at 36% 32%, rgba(95,255,165,.34), transparent 17%), radial-gradient(circle at 50% 55%, rgba(18,183,106,.18), rgba(1,10,6,.1) 60%), repeating-radial-gradient(circle, rgba(98,244,160,.18) 0 1px, transparent 1px 20px); box-shadow: inset 0 0 70px rgba(18,183,106,.12), 0 0 60px rgba(18,183,106,.12); }
.tech-orb::before, .tech-orb::after { content: ""; position: absolute; inset: 15%; border-radius: 50%; border: 1px solid rgba(110,255,171,.23); transform: rotate(63deg) scaleX(.35); }
.tech-orb::after { transform: rotate(-45deg) scaleX(.36); }
.orb-core { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; font-weight: 800; letter-spacing: -.04em; color: rgba(176,255,208,.88); text-shadow: 0 0 18px rgba(83,229,143,.35); }
.orbit { position: absolute; left: -8%; right: -8%; top: 50%; height: 34%; border: 1px solid rgba(83,229,143,.28); border-radius: 50%; transform: translateY(-50%) rotate(12deg); }
.orbit-two { transform: translateY(-50%) rotate(-28deg); }
.orbit-three { transform: translateY(-50%) rotate(62deg) scaleX(.72); }
.node { position: absolute; width: 8px; height: 8px; background: var(--os-accent-2); border-radius: 50%; box-shadow: 0 0 18px var(--os-accent-2); }
.node-a { top: 22%; left: 16%; }.node-b { top: 61%; right: 2%; }.node-c { bottom: 8%; left: 44%; }
.hero-note { position: absolute; right: 2%; top: 16%; color: rgba(169,255,205,.72); font-weight: 700; font-size: 10px; line-height: 1.5; letter-spacing: .12em; }

.feature-strip { position: relative; z-index: 4; width: min(calc(100% - 36px), var(--os-container)); margin: 10px auto 0; }
.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; width: 100%; }
.feature-item { --feature-tone:#11b968; --feature-tone-2:#0a9453; display:flex; align-items:center; gap:10px; min-width:0; min-height:72px; padding:10px 11px; border:1px solid var(--os-border); border-radius:16px; background:var(--os-surface); box-shadow:0 5px 18px rgba(14,35,24,.05); transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease; }
.feature-item:hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--feature-tone) 44%,var(--os-border)); box-shadow:0 10px 24px rgba(14,35,24,.10); }
.feature-icon-shell { width:44px; height:44px; flex:0 0 44px; display:grid; place-items:center; border-radius:50%; color:#fff; background:linear-gradient(145deg,var(--feature-tone),var(--feature-tone-2)); box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),0 5px 14px color-mix(in srgb,var(--feature-tone) 28%,transparent); }
.feature-icon-svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; overflow:visible; }
.feature-copy { min-width:0; display:block; }
.feature-item strong,.feature-item small { display:block; }
.feature-item strong { color:var(--os-text); font-size:12px; line-height:1.35; font-weight:800; white-space:nowrap; }
.feature-item small { margin-top:4px; color:var(--os-muted); font-size:9px; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.feature-tone-green { --feature-tone:#10bf66; --feature-tone-2:#079a4f; }
.feature-tone-purple { --feature-tone:#7c4dff; --feature-tone-2:#5b2fda; }
.feature-tone-blue { --feature-tone:#1188ff; --feature-tone-2:#0062d5; }
.feature-tone-orange { --feature-tone:#ff7a2f; --feature-tone-2:#eb4d17; }
.feature-tone-emerald { --feature-tone:#18bd76; --feature-tone-2:#058c54; }
.feature-tone-pink { --feature-tone:#ff4f87; --feature-tone-2:#dc2864; }
[data-theme="dark"] .feature-item { background:color-mix(in srgb,var(--os-surface) 94%,#fff 6%); box-shadow:none; }
[data-theme="dark"] .feature-item:hover { background:color-mix(in srgb,var(--os-surface) 88%,var(--feature-tone) 12%); }

.home-cta-wrap { padding-bottom: 38px; }
.home-cta { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-radius: var(--os-radius); color: #ecfff4; background: radial-gradient(circle at 78% 30%, rgba(46,225,126,.23), transparent 22%), linear-gradient(115deg, #06110c, #0a2818); overflow: hidden; }
.home-cta h2 { margin: 4px 0 2px; font-size: 23px; font-weight: 800; }.home-cta p { margin: 0; color: #8da899; }
[data-theme="light"] .hero { color: #102117; background: radial-gradient(circle at 78% 46%, rgba(18,183,106,.14), transparent 25%), radial-gradient(circle at 12% 10%, rgba(18,183,106,.08), transparent 28%), linear-gradient(115deg, #f4fbf7 0%, #edf7f1 55%, #f9fcfa 100%); }
[data-theme="light"] .hero::after { border-color: rgba(18,183,106,.18); }
[data-theme="light"] .hero-grid-lines { opacity: .28; background-image: linear-gradient(rgba(18,183,106,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(18,183,106,.08) 1px, transparent 1px); }
[data-theme="light"] .hero h2 { color: #173c2a; }
[data-theme="light"] .hero-description { color: #4f6659; }
[data-theme="light"] .button-ghost { color: #163224; background: rgba(18,183,106,.05); border-color: rgba(18,183,106,.26); }
[data-theme="light"] .hero-stats { border-top-color: rgba(18,33,23,.08); }
[data-theme="light"] .hero-stats div { border-right-color: rgba(18,33,23,.08); }
[data-theme="light"] .hero-stats strong { color: #102117; }
[data-theme="light"] .hero-stats span { color: #5f776a; }
[data-theme="light"] .tech-orb { border-color: rgba(18,183,106,.28); box-shadow: inset 0 0 50px rgba(18,183,106,.08), 0 0 40px rgba(18,183,106,.08); background: radial-gradient(circle at 36% 32%, rgba(95,255,165,.18), transparent 17%), radial-gradient(circle at 50% 55%, rgba(18,183,106,.09), rgba(255,255,255,.2) 60%), repeating-radial-gradient(circle, rgba(18,183,106,.10) 0 1px, transparent 1px 20px); }
[data-theme="light"] .orb-core { color: rgba(18,102,58,.82); text-shadow: 0 0 10px rgba(18,183,106,.16); }
[data-theme="light"] .hero-note { color: rgba(38,100,67,.72); }
[data-theme="light"] .home-cta { color: #0f1f15; background: radial-gradient(circle at 78% 30%, rgba(46,225,126,.18), transparent 22%), linear-gradient(115deg, #edf7f1, #f7fbf8); }
[data-theme="light"] .home-cta p { color: #556d60; }
[data-theme="dark"] .feature-strip { background: var(--os-surface); }
.home-topics-section { padding: 26px 0 4px; }
.home-topics-section .section-heading { margin-bottom: 12px; }
.topic-quick-links { display: flex; gap: 12px; }
.topic-quick-links a { color: var(--os-accent); font-size: 11px; font-weight: 800; }
.home-topic-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; }
.home-topic-card { min-height: 74px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: none; }
.home-topic-card strong { font-size: 11px; line-height: 1.35; }
.home-topic-card span { color: var(--os-accent); font-size: 10px; font-weight: 800; }
.home-topic-card:hover { border-color: color-mix(in srgb,var(--os-accent) 45%,var(--os-border)); transform: translateY(-1px); }

/* v2 mature homepage modules */
.home-featured { padding-top:22px; padding-bottom:18px; }
.featured-layout { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr); gap:14px; }
.featured-lead { overflow:hidden; }
.featured-lead-media { position:relative; display:block; min-height:280px; aspect-ratio:16/9; overflow:hidden; background:#091a12; }
.featured-lead-media img { width:100%; height:100%; object-fit:cover; display:block; }
.featured-lead-body { padding:18px 20px; }
.featured-lead-body h3 { margin:0; font-size:24px; line-height:1.35; }
.featured-lead-body p { margin:8px 0 0; color:var(--os-muted); font-size:13px; line-height:1.7; }
.featured-secondary { display:grid; gap:10px; }
.featured-secondary-item { padding:14px 16px; }
.featured-secondary-item h3 { margin:3px 0 5px; font-size:15px; line-height:1.45; }
.featured-secondary-item p { margin:0; color:var(--os-muted); font-size:11px; line-height:1.55; }
.home-resource-module,.home-code-module { padding-top:20px; padding-bottom:20px; }
.home-resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.home-resource-card { position:relative; min-height:170px; padding:16px; display:flex; flex-direction:column; }
.home-resource-card > span,.home-code-item > span { color:var(--os-accent); font-size:9px; font-weight:800; }
.home-resource-card strong { margin-top:7px; font-size:15px; }
.home-resource-card p { margin:7px 0 0; color:var(--os-muted); font-size:11px; line-height:1.55; }
.home-resource-card i { margin-top:auto; align-self:flex-end; color:var(--os-accent); font-style:normal; }
.home-code-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.home-code-item { padding:15px; min-height:110px; display:flex; flex-direction:column; gap:5px; }
.home-code-item strong { font-size:13px; line-height:1.45; }
.home-code-item code { margin-top:auto; color:var(--os-muted); font-size:9px; word-break:break-all; }
.site-home-v2 .home-module + .home-module { scroll-margin-top:80px; }

/* v2 phase 5: explicit dark homepage module refinements */
[data-theme="dark"] .featured-lead,
[data-theme="dark"] .featured-secondary-item,
[data-theme="dark"] .home-resource-card,
[data-theme="dark"] .home-code-card { background:var(--os-surface); border-color:var(--os-border); }
[data-theme="dark"] .featured-lead-body p,
[data-theme="dark"] .featured-secondary-item p,
[data-theme="dark"] .home-resource-card p,
[data-theme="dark"] .home-code-card p { color:var(--os-muted); }

/* v2.1.1 mobile homepage visual primitives */
.hero-mobile-device { display:none; position:relative; width:136px; height:104px; }
.hero-mobile-screen { position:absolute; left:15px; top:5px; width:106px; height:70px; display:grid; place-items:center; border:5px solid #1f5ed2; border-bottom-width:8px; border-radius:8px 8px 5px 5px; background:linear-gradient(145deg,#2359d8,#18369d); box-shadow:0 16px 28px rgba(44,91,190,.24); transform:rotate(4deg); }
.hero-mobile-screen span { color:#fff; font-size:28px; font-weight:900; letter-spacing:-.12em; text-shadow:0 3px 10px rgba(255,255,255,.2); }
.hero-mobile-base { position:absolute; left:5px; bottom:14px; width:128px; height:13px; border-radius:4px 4px 10px 10px; background:linear-gradient(#dfeaff,#a8bde7); transform:skewX(-12deg); box-shadow:0 7px 15px rgba(35,74,150,.16); }
.hero-chip { position:absolute; display:grid; place-items:center; width:27px; height:27px; border-radius:8px; color:#fff; font-size:9px; font-style:normal; font-weight:900; box-shadow:0 8px 18px rgba(30,91,191,.18); }
.hero-chip-one { left:-2px; top:49px; background:linear-gradient(145deg,#35d795,#14ad6f); transform:rotate(-12deg); }
.hero-chip-two { right:-1px; top:54px; background:linear-gradient(145deg,#5fa6ff,#4967e8); transform:rotate(9deg); }
.home-mobile-library-pair { display:contents; }
.mobile-site-info { display:none; }

/* v2.1.2 desktop portal homepage — approved PC concept */
@media (min-width: 901px) {
  .site-home-v2 .hero {
    width:min(calc(100% - 48px),var(--os-container));
    margin-top:14px;
    border-radius:22px 22px 0 0;
    background:
      radial-gradient(circle at 77% 38%,rgba(53,224,181,.25),transparent 24%),
      radial-gradient(circle at 10% 12%,rgba(67,168,255,.18),transparent 25%),
      linear-gradient(110deg,#edfaff 0%,#dff7f4 48%,#d5f1ec 100%);
    color:#102d3d;
    box-shadow:0 18px 50px rgba(36,86,96,.13);
  }
  .site-home-v2 .hero-grid-lines {
    opacity:.16;
    background-size:38px 38px;
    background-image:linear-gradient(rgba(17,142,128,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(17,142,128,.08) 1px,transparent 1px);
  }
  .site-home-v2 .hero-inner {
    min-height:338px;
    grid-template-columns:minmax(0,.95fr) minmax(480px,1.05fr);
    gap:28px;
    padding:30px 34px 26px;
  }
  .site-home-v2 .hero-copy { max-width:560px; }
  .site-home-v2 .eyebrow { margin-bottom:10px; color:#168f82; font-size:11px; letter-spacing:.08em; }
  .site-home-v2 .hero h1 { color:#0c2332; font-size:clamp(42px,4vw,58px); line-height:1.02; letter-spacing:-.055em; }
  .site-home-v2 .hero h2 { margin-top:12px; color:#173f50; font-size:20px; }
  .site-home-v2 .hero-description { max-width:520px; margin-top:10px; color:#4e6874; font-size:13px; line-height:1.72; }
  .site-home-v2 .hero-actions { margin-top:18px; gap:10px; }
  .site-home-v2 .hero-actions .button { min-height:38px; padding-inline:18px; border-radius:10px; }
  .site-home-v2 .button-primary { color:#fff; background:linear-gradient(135deg,#0bc692,#0ea56e); box-shadow:0 12px 24px rgba(7,160,111,.18); }
  .site-home-v2 .button-ghost { color:#245064; border-color:rgba(32,97,113,.16); background:rgba(255,255,255,.68); }
  .site-home-v2 .hero-stats { max-width:560px; margin-top:18px; padding-top:14px; border-top:1px solid rgba(25,92,101,.12); }
  .site-home-v2 .hero-stats div { padding:0 16px; border-right:1px solid rgba(25,92,101,.12); }
  .site-home-v2 .hero-stats div:first-child { padding-left:0; }
  .site-home-v2 .hero-stats strong { color:#113447; font-size:18px; }
  .site-home-v2 .hero-stats span { color:#5b7883; font-size:9px; }

  .site-home-v2 .hero-visual { min-height:286px; display:flex; align-items:center; justify-content:center; }
  .site-home-v2 .tech-orb { display:none; }
  .site-home-v2 .hero-desktop-device { position:relative; width:430px; height:258px; transform:perspective(900px) rotateY(-6deg) rotateX(1deg); filter:drop-shadow(0 24px 30px rgba(31,75,88,.22)); }
  .site-home-v2 .hero-device-lid { position:absolute; left:55px; top:10px; width:320px; height:205px; padding:10px; border-radius:14px 14px 9px 9px; background:linear-gradient(145deg,#1f3542,#0c1820); box-shadow:inset 0 0 0 1px rgba(255,255,255,.16); }
  .site-home-v2 .hero-device-screen { position:relative; height:100%; overflow:hidden; padding:28px 28px 22px; border-radius:8px; color:#dffef4; background:radial-gradient(circle at 78% 20%,rgba(15,220,169,.18),transparent 22%),linear-gradient(145deg,#06211f,#071923 60%,#0b2430); }
  .site-home-v2 .hero-device-screen::after { content:""; position:absolute; inset:0; opacity:.22; background-image:linear-gradient(rgba(71,224,188,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(71,224,188,.10) 1px,transparent 1px); background-size:24px 24px; }
  .site-home-v2 .hero-device-screen > * { position:relative; z-index:1; }
  .site-home-v2 .hero-device-dots { display:block; margin-bottom:24px; color:#64b3ab; font-size:7px; letter-spacing:.28em; }
  .site-home-v2 .hero-device-screen em { display:block; color:#32e4bc; font-size:9px; font-style:normal; letter-spacing:.06em; }
  .site-home-v2 .hero-device-screen strong,.site-home-v2 .hero-device-screen b { display:block; margin-top:8px; font-size:25px; line-height:1.08; letter-spacing:.02em; }
  .site-home-v2 .hero-device-screen b { margin-top:7px; font-size:19px; color:#a9f5df; }
  .site-home-v2 .hero-device-screen i { position:absolute; right:24px; bottom:19px; color:#36d8b3; font-size:28px; font-style:normal; font-weight:900; }
  .site-home-v2 .hero-device-base { position:absolute; left:13px; bottom:19px; width:404px; height:26px; border-radius:5px 5px 18px 18px; background:linear-gradient(#d6e4e8,#9badb2); clip-path:polygon(8% 0,92% 0,100% 62%,93% 100%,7% 100%,0 62%); box-shadow:0 10px 20px rgba(33,71,80,.22); }
  .site-home-v2 .hero-benefits { position:absolute; z-index:3; left:0; top:50%; width:142px; transform:translate(-30%,-50%); display:grid; gap:7px; }
  .site-home-v2 .hero-benefits span { display:grid; grid-template-columns:30px 1fr; grid-template-rows:auto auto; gap:0 8px; align-items:center; padding:8px 9px; border:1px solid rgba(59,151,145,.16); border-radius:11px; background:rgba(255,255,255,.82); box-shadow:0 8px 20px rgba(46,99,103,.08); backdrop-filter:blur(8px); }
  .site-home-v2 .hero-benefits i { grid-row:1/3; width:30px; height:30px; display:grid; place-items:center; border-radius:9px; color:#fff; background:linear-gradient(145deg,#1dd4a0,#0a9b72); font-size:11px; font-style:normal; font-weight:900; }
  .site-home-v2 .hero-benefits b { color:#183e4e; font-size:9px; line-height:1.2; }
  .site-home-v2 .hero-benefits small { margin-top:2px; color:#6f8790; font-size:7px; }
  .site-home-v2 .hero-note { right:0; top:10%; color:#1b8b81; font-size:10px; letter-spacing:.13em; }

  .site-home-v2 .feature-strip { width:min(calc(100% - 48px),var(--os-container)); margin-top:10px; }
  .site-home-v2 .feature-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
  .site-home-v2 .feature-item { min-height:68px; padding:10px 12px; border-radius:13px; box-shadow:0 6px 20px rgba(19,50,45,.055); }
  .site-home-v2 .feature-icon-shell { width:42px; height:42px; flex-basis:42px; }
  .site-home-v2 .feature-item strong { font-size:12px; }
  .site-home-v2 .feature-item small { font-size:8px; }

  .site-home-v2 .home-latest-section { padding-top:18px; padding-bottom:12px; }
  .site-home-v2 .home-latest-section .content-layout { grid-template-columns:minmax(0,1fr) 300px; gap:14px; }
  .site-home-v2 .home-latest-section .section-heading { margin-bottom:12px; }
  .site-home-v2 .home-latest-section .section-heading h2 { font-size:21px; }
  .site-home-v2 .latest-loop-card.post-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
  .site-home-v2 .latest-loop-card .post-card { border-radius:12px; }
  .site-home-v2 .latest-loop-card .post-card-media { border-radius:12px 12px 0 0; }
  .site-home-v2 .latest-loop-card .post-card-body { padding:12px; }
  .site-home-v2 .latest-loop-card .post-card-title { font-size:14px; line-height:1.42; }
  .site-home-v2 .latest-loop-card .post-card-excerpt { font-size:10px; line-height:1.55; -webkit-line-clamp:2; }
  .site-home-v2 .latest-loop-card .post-meta { margin-top:9px; font-size:9px; gap:9px; }
  .site-home-v2 .home-latest-section .sidebar { top:76px; gap:10px; }
  .site-home-v2 .home-latest-section .sidebar .card { padding:14px; border-radius:12px; }
  .site-home-v2 .profile-card { text-align:left; }
  .site-home-v2 .profile-mark { width:48px; height:48px; margin:0 0 8px; border-radius:15px; font-size:22px; }
  .site-home-v2 .profile-card h2 { font-size:16px; }
  .site-home-v2 .profile-card p { margin:7px 0 0; font-size:10px; line-height:1.55; }
  .site-home-v2 .profile-stats { margin-top:10px; padding-top:10px; }
  .site-home-v2 .profile-stats strong { font-size:13px; }
  .site-home-v2 .profile-stats span { font-size:8px; }
  .site-home-v2 .widget-title { margin-bottom:9px; font-size:13px; }
  .site-home-v2 .tag-cloud-custom { gap:5px; }
  .site-home-v2 .tag-cloud-custom a { padding:5px 7px; font-size:9px; }

  .site-home-v2 .home-library-pair.home-desktop-library-pair { display:grid; grid-template-columns:1.18fr .82fr; gap:14px; width:min(calc(100% - 48px),var(--os-container)); margin:6px auto 22px; }
  .site-home-v2 .home-library-pair > .home-module { min-width:0; padding:0; }
  .site-home-v2 .home-library-pair > .home-module > .container { width:100%; }
  .site-home-v2 .home-library-pair .section-heading { margin-bottom:10px; }
  .site-home-v2 .home-library-pair .section-heading h2 { font-size:17px; }
  .site-home-v2 .home-library-pair .section-more { font-size:9px; }
  .site-home-v2 .home-library-pair .home-resource-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .site-home-v2 .home-library-pair .home-code-grid { grid-template-columns:1fr; gap:8px; }
  .site-home-v2 .home-library-pair .home-resource-card { min-height:94px; padding:12px; }
  .site-home-v2 .home-library-pair .home-resource-card p { display:none; }
  .site-home-v2 .home-library-pair .home-resource-card strong { font-size:12px; }
  .site-home-v2 .home-library-pair .home-code-item { min-height:78px; padding:12px; }
  .site-home-v2 .home-library-pair .home-code-item strong { font-size:11px; }
}

[data-theme="dark"] .site-home-v2 .hero-benefits span { background:rgba(14,30,37,.82); border-color:rgba(84,195,179,.16); }
[data-theme="dark"] .site-home-v2 .hero-benefits b { color:#d9f6ef; }
[data-theme="dark"] .site-home-v2 .hero-benefits small { color:#8ea8ad; }

/* v2.1.2 desktop portal dark mode */
@media (min-width: 901px) {
  [data-theme="dark"] .site-home-v2 .hero {
    color:#dff8f2;
    background:radial-gradient(circle at 77% 38%,rgba(35,214,168,.16),transparent 24%),radial-gradient(circle at 10% 12%,rgba(59,135,216,.15),transparent 25%),linear-gradient(110deg,#08151a 0%,#0c2022 48%,#102829 100%);
    box-shadow:0 18px 52px rgba(0,0,0,.28);
  }
  [data-theme="dark"] .site-home-v2 .hero h1 { color:#f3fffb; }
  [data-theme="dark"] .site-home-v2 .hero h2 { color:#c7e7df; }
  [data-theme="dark"] .site-home-v2 .hero-description { color:#91aaa5; }
  [data-theme="dark"] .site-home-v2 .eyebrow { color:#50d6b3; }
  [data-theme="dark"] .site-home-v2 .hero-stats { border-top-color:rgba(129,205,189,.12); }
  [data-theme="dark"] .site-home-v2 .hero-stats div { border-right-color:rgba(129,205,189,.12); }
  [data-theme="dark"] .site-home-v2 .hero-stats strong { color:#effffb; }
  [data-theme="dark"] .site-home-v2 .hero-stats span { color:#88a29c; }
  [data-theme="dark"] .site-home-v2 .button-ghost { color:#d6eee8; border-color:rgba(143,206,191,.18); background:rgba(9,29,31,.62); }
  [data-theme="dark"] .site-home-v2 .hero-device-screen { background:radial-gradient(circle at 78% 20%,rgba(15,220,169,.15),transparent 22%),linear-gradient(145deg,#041614,#07161e 60%,#091d27); }
  [data-theme="dark"] .site-home-v2 .hero-device-base { background:linear-gradient(#8fa5aa,#64767b); }
  [data-theme="dark"] .site-home-v2 .hero-note { color:#65c9b6; }
}

.mobile-more-label { display:none; }
