/* Home landing styles converted from the standalone HTML mockup. */
--homeMax: 1200px;
--homeRadius: { sm: 10px; md: 16px; lg: 20px; pill: 999px; };
--homeShadow: { card: 0 16px 48px rgba(0, 105, 198, 0.10); panel: 0 20px 60px rgba(0, 105, 198, 0.10); };
--homeGrad: linear-gradient(135deg, var(--site-accent), var(--site-accent2));
--homeMutedBand: color-mix(in srgb, var(--site-surface) 68%, var(--site-accent-soft) 32%);

.home-page { width: 100%; overflow: hidden; };
.home-container { max-width: var(--homeMax); margin: 0 auto; padding: 0 28px; };
.home-hero { position: relative; display: grid; align-items: center; justify-items: center; padding: 72px 24px 80px; overflow: hidden; };
.home-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 15% 20%, color-mix(in srgb, var(--site-accent) 12%, transparent) 0%, transparent 70%), radial-gradient(ellipse 60% 50% at 85% 15%, color-mix(in srgb, var(--site-accent2) 10%, transparent) 0%, transparent 70%), radial-gradient(ellipse 50% 40% at 50% 90%, color-mix(in srgb, var(--site-accent) 7%, transparent) 0%, transparent 70%); };
.home-hero-grid { position: absolute; inset: 0; background-image: radial-gradient(circle, color-mix(in srgb, var(--site-accent) 16%, transparent) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 100%); };
.home-hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; };
.home-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px; border-radius: var(--homeRadius.pill); border: 1px solid color-mix(in srgb, var(--site-accent) 24%, transparent); background: color-mix(in srgb, var(--site-accent-soft) 50%, transparent); font-size: 12px; font-weight: 700; color: var(--site-accent); letter-spacing: 0; text-transform: uppercase; margin: 0 0 28px; };
.home-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--site-accent2); };
.home-hero-logo { height: 48px; margin: 0 auto 22px; display: block; };
.home-hero-title { margin: 0 0 10px; font-size: clamp(42px, 6.5vw, 56px); font-weight: 800; line-height: 1.06; letter-spacing: 0; color: var(--site-text); };
.home-hero-title span, .home-section-head h2 span, .home-section-title span, .home-cta h2 span { background: var(--homeGrad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; };
.home-hero-sub {  margin: 0 auto 36px; color: var(--site-muted); font-size: 18px; line-height: 1.7; };
.home-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; };
.home-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 28px; border-radius: var(--homeRadius.sm); border: 1.5px solid transparent; font-size: 15px; font-weight: 700; transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; };
.home-btn:hover { transform: translateY(-2px); };
.home-btn-primary { background: var(--homeGrad); color: #fff; box-shadow: 0 4px 20px color-mix(in srgb, var(--site-accent) 32%, transparent); };
.home-btn-outline { background: var(--site-surface); color: var(--site-text); border-color: color-mix(in srgb, var(--site-accent) 22%, var(--site-border)); };
.home-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-top: 56px; };
.home-stats div { text-align: center; };
.home-stats strong { display: block; font-size: 30px; font-weight: 800; background: var(--homeGrad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; };
.home-stats span { display: block; font-size: 11px; color: var(--site-muted); text-transform: uppercase; letter-spacing: 0; };
.home-code-showcase { position: relative; z-index: 1; width: min(1080px, 100%); margin: 40px auto 0; };
.home-code-split { display: grid; grid-template-columns: 1fr; gap: 2px; border-radius: var(--homeRadius.md); overflow: hidden; border: 1.5px solid color-mix(in srgb, var(--site-accent) 22%, var(--site-border)); box-shadow: var(--homeShadow.panel); };
.home-code-panel { min-width: 0; background: var(--site-surface); };
.home-code-panel:first-child { background: color-mix(in srgb, var(--site-surface) 82%, var(--site-accent-soft) 18%); };
.home-code-header { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--site-border); color: var(--site-muted); font-family: ui-monospace, monospace; font-size: 11px; };
.home-code-header span:last-child { margin-left: auto; padding: 2px 8px; border-radius: 4px; background: color-mix(in srgb, var(--site-text) 5%, transparent); };
.home-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; };
.home-dot-r { background: #ff5f56; };
.home-dot-y { background: #ffbd2e; };
.home-dot-g { background: #27c93f; };
.home-code-panel pre, .home-tab-panels pre, .home-install-panels pre, .home-cdn-block pre { margin: 0; padding: 22px 24px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 12.5px; line-height: 1.75; color: var(--site-text); };
.home-section { padding: 100px 0; };
.home-section-muted, .home-strip { background: var(--homeMutedBand); border-top: 1px solid var(--site-border); border-bottom: 1px solid var(--site-border); };
.home-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; };
.home-section-head p:first-child, .home-section-kicker { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; color: var(--site-accent2); };
.home-section-head h2, .home-section-title { margin: 0 0 18px; font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: 0; color: var(--site-text); };
.home-section-head p:last-child, .home-section-copy { margin: 0; color: var(--site-muted); font-size: 17px; line-height: 1.7; };
.home-strip { padding: 72px 0; };
.home-strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); };
.home-strip-grid article { padding: 30px 24px; background: var(--site-surface); border: 1px solid var(--site-border); border-right: 0; transition: background 0.25s; };
.home-strip-grid article:first-child { border-radius: var(--homeRadius.md) 0 0 var(--homeRadius.md); };
.home-strip-grid article:last-child { border-right: 1px solid var(--site-border); border-radius: 0 var(--homeRadius.md) var(--homeRadius.md) 0; };
.home-strip-grid article:hover { background: color-mix(in srgb, var(--site-accent-soft) 20%, var(--site-surface) 80%); };
.home-strip-grid h2, .home-feature-card h3, .home-package-grid h3, .home-why-list h3, .home-steps h3 { margin: 0 0 8px; color: var(--site-text); font-size: 16px; };
.home-strip-grid p, .home-feature-card p, .home-package-grid p, .home-why-list p, .home-steps p { margin: 0; color: var(--site-muted); line-height: 1.65; };
.home-feature-grid, .home-package-grid { display: grid; grid-template-columns: 1fr; gap: 22px; };
.home-feature-card, .home-package-grid article, .home-why-list article,  .home-install-tabs, .home-cdn-block { background: var(--site-surface); border: 1.5px solid var(--site-border); border-radius: var(--homeRadius.lg); box-shadow: 0 4px 24px rgba(0,0,0,0.04); };
.home-feature-card, .home-package-grid article { padding: 30px; transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s; };
.home-feature-card:hover, .home-package-grid article:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--site-accent) 24%, var(--site-border)); box-shadow: var(--homeShadow.card); };
.home-feature-wide { grid-column: span 2; };
.home-feature-card div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; };
.home-feature-card span, .home-package-grid span { display: inline-flex; padding: 3px 10px; border-radius: var(--homeRadius.pill); background: color-mix(in srgb, var(--site-accent-soft) 75%, transparent); color: var(--site-accent); border: 1px solid color-mix(in srgb, var(--site-accent) 18%, transparent); font-size: 11px; font-weight: 700; };
.home-why-grid, .home-syntax-grid, .home-install-grid { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center; };
.home-syntax-grid{align-items: flex-start;}
.home-why-list { display: grid; gap: 20px; margin-top: 32px; };
.home-why-list article { display: flex; gap: 16px; padding: 22px 24px; };
.home-why-list strong { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--homeGrad); color: #fff; flex: 0 0 auto; };
.home-syntax-list{margin:0;padding:0;}
.home-syntax-list li { list-style:none; padding: 14px 0; border-bottom: 1px solid var(--site-border); color: var(--site-muted); };
.home-syntax-list li:last-child { border-bottom: 0; };
.home-syntax-list { margin-top: 32px; };
.home-tabset{display:flex;flex-direction:column;justify-content:flex-start}
.home-tabset > input, .home-install-tabs > input { position: absolute; opacity: 0; pointer-events: none; };
.home-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 20px; };
.home-tabs label { padding: 6px 14px; border-radius: 7px; border: 1.5px solid var(--site-border); color: var(--site-muted); cursor: pointer; font-family: ui-monospace, monospace; font-size: 12px; };
#syn-obj:checked ~ .home-tabs label[for='syn-obj'], #syn-loop:checked ~ .home-tabs label[for='syn-loop'], #syn-fun:checked ~ .home-tabs label[for='syn-fun'], #syn-obs:checked ~ .home-tabs label[for='syn-obs'], #install-npm:checked ~ .home-tabs label[for='install-npm'], #install-pnpm:checked ~ .home-tabs label[for='install-pnpm'], #install-yarn:checked ~ .home-tabs label[for='install-yarn'] { background: color-mix(in srgb, var(--site-accent-soft) 85%, transparent); color: var(--site-accent); border-color: color-mix(in srgb, var(--site-accent) 28%, var(--site-border)); };
.home-tab-panels, .home-install-panels { background: var(--site-surface); border-radius: var(--homeRadius.md); border: 1.5px solid color-mix(in srgb, var(--site-accent) 20%, var(--site-border)); box-shadow: 0 4px 24px rgba(0,105,198,0.07); overflow: hidden; };
.home-tab-panels pre, .home-install-panels pre { display: none; };
#syn-obj:checked ~ .home-tab-panels #syn-obj-panel, #syn-loop:checked ~ .home-tab-panels #syn-loop-panel, #syn-fun:checked ~ .home-tab-panels #syn-fun-panel, #syn-obs:checked ~ .home-tab-panels #syn-obs-panel, #install-npm:checked ~ .home-install-panels #install-npm-panel, #install-pnpm:checked ~ .home-install-panels #install-pnpm-panel, #install-yarn:checked ~ .home-install-panels #install-yarn-panel { display: block; };
.home-steps { display: grid; grid-template-columns: 1fr; gap: 20px; };
.home-steps article { text-align: center; };
.home-steps strong { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--homeGrad); color: #fff; font-size: 19px; font-weight: 800; box-shadow: 0 0 0 6px var(--site-bg), 0 0 0 7px color-mix(in srgb, var(--site-accent) 16%, transparent); };
.home-install-tabs { overflow: hidden; margin-bottom: 20px; };
.home-install-tabs .home-tabs { margin: 0; border-bottom: 1px solid var(--site-border); };
.home-install-tabs .home-tabs label { flex: 1; text-align: center; border: 0; border-right: 1px solid var(--site-border); border-radius: 0; };
.home-cdn-block { overflow: hidden; };
.home-cdn-block p { margin: 0; padding: 12px 18px; border-bottom: 1px solid var(--site-border); color: var(--site-accent2); font-weight: 800; };
.home-cta { margin: 0 auto 48px; max-width: var(--homeMax); padding: 64px 28px; border-radius: var(--homeRadius.sm); background: var(--homeGrad); color: #fff; text-align: center; };
.home-cta > p:first-child { margin: 0 0 12px; text-transform: uppercase; font-weight: 800; font-size: 12px; };
.home-cta h2 { margin: 0 0 20px; font-size: clamp(34px, 4.8vw, 60px); line-height: 1.1; color: #fff; };
.home-cta > p:nth-of-type(2) { margin: 0 auto 36px; max-width: 680px; font-size: 18px; opacity: 0.9; };
.home-cta small { display: block; margin-top: 18px; opacity: 0.78; };
.home-cta .home-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); };

@media (min-width: 720px) {
  .home-hero { padding: 72px 16px 56px; };
  .home-hero-title { font-size: 42px; };
  .home-stats { gap: 24px; };
  .home-section { padding: 72px 0; };
  .home-strip-grid, .home-feature-grid, .home-package-grid, .home-steps { grid-template-columns: repeat(2, 1fr);};
  .home-strip-grid article, .home-strip-grid article:first-child, .home-strip-grid article:last-child { border-radius: 0; border-right: 1px solid var(--site-border); };
}

@media (min-width: 1024px) {
  .home-strip-grid, .home-feature-grid, .home-package-grid {grid-template-columns: repeat(3, 1fr); };
  .home-why-grid, .home-syntax-grid, .home-install-grid, .home-code-split { grid-template-columns: repeat(2, 1fr); };
  .home-steps { grid-template-columns: repeat(4, 1fr); };
  .home-feature-wide { grid-column: span 1; };
}