/* source-sha256: dc6207b492d8 */
:root, [data-theme="light"] { color-scheme: light; --color-brand-primary: #081D3A; --color-brand-primary-hover: #0D2A50; --color-brand-primary-soft: #EAF0F7; --color-brand-secondary: #1488A6; --color-brand-secondary-hover: #0F718B; --color-brand-secondary-soft: #E7F7FA; --color-accent-learner: #F59E0B; --color-accent-learner-hover: #D98705; --color-accent-learner-soft: #FFF4D8; --color-success: #22C55E; --color-success-soft: #EAF8EF; --color-info: #2563EB; --color-info-soft: #EAF1FF; --color-warning: #F59E0B; --color-warning-soft: #FFF4D8; --color-danger: #EF4444; --color-danger-soft: #FDECEC; --color-advanced: #7C3AED; --color-advanced-soft: #F1EAFE; --color-white: #FFFFFF; --color-neutral-25: #FCFDFE; --color-neutral-50: #F8FAFC; --color-neutral-100: #F1F5F9; --color-neutral-200: #E2E8F0; --color-neutral-300: #CBD5E1; --color-neutral-400: #94A3B8; --color-neutral-500: #64748B; --color-neutral-600: #475569; --color-neutral-700: #334155; --color-neutral-800: #1E293B; --color-neutral-900: #0F172A; --color-dark-bg: #071426; --color-dark-surface: #0C1D33; --color-dark-surface-raised: #112641; --color-dark-border: #203653; --color-dark-text: #F8FAFC; --color-dark-text-muted: #B6C5D8; --color-brand-primary-rgb: 8 29 58; --color-brand-secondary-rgb: 20 136 166; --color-accent-learner-rgb: 245 158 11; --color-info-rgb: 37 99 235; --color-success-rgb: 34 197 94; --color-danger-rgb: 239 68 68; --color-advanced-rgb: 124 58 237; --color-neutral-900-rgb: 15 23 42; --color-white-rgb: 255 255 255; --surface-page: var(--color-neutral-50); --surface-section: var(--color-neutral-25); --surface-card: var(--color-white); --surface-card-raised: var(--color-white); --surface-muted: var(--color-neutral-100); --surface-interactive: var(--color-brand-primary-soft); --surface-hero: var(--color-brand-primary); --text-primary: var(--color-neutral-900); --text-secondary: var(--color-neutral-600); --text-muted-strong: var(--color-neutral-500); --text-on-dark: var(--color-white); --text-on-dark-muted: var(--color-neutral-300); --border-default: var(--color-neutral-200); --border-strong: var(--color-neutral-300); --action-primary: var(--color-brand-primary); --action-primary-hover: var(--color-brand-primary-hover); --action-secondary: var(--color-brand-secondary); --action-secondary-hover: var(--color-brand-secondary-hover); --action-accent: var(--color-accent-learner); --action-accent-hover: var(--color-accent-learner-hover); --focus-ring: var(--color-info); --status-success: var(--color-success); --status-success-soft: var(--color-success-soft); --status-info: var(--color-info); --status-info-soft: var(--color-info-soft); --status-warning: var(--color-warning); --status-warning-soft: var(--color-warning-soft); --status-danger: var(--color-danger); --status-danger-soft: var(--color-danger-soft); --status-advanced: var(--color-advanced); --status-advanced-soft: var(--color-advanced-soft); --brand-blue: var(--action-primary); --brand-blue-dark: var(--action-primary-hover); --primary: var(--action-primary); --primary-dark: var(--action-primary-hover); --primary-light: var(--action-secondary); --secondary: var(--action-secondary); --secondary-dark: var(--action-secondary-hover); --accent: var(--action-secondary); --accent-soft: var(--color-brand-secondary-soft); --accent-muted: var(--color-brand-primary-soft); --danger: var(--status-danger); --success: var(--status-success); --warning: var(--status-warning); --bg: var(--surface-page); --bg-subtle: var(--surface-muted); --surface: var(--surface-card); --surface-raised: var(--surface-card-raised); --surface-hover: var(--surface-interactive); --heading: var(--text-primary); --text: var(--text-secondary); --text-muted: var(--text-secondary); --text-subtle: var(--text-muted-strong); --btn-secondary-text: var(--action-primary); --border: var(--border-default); --border-strong: var(--color-neutral-300); --ring: rgb(var(--color-info-rgb) / 0.35); --nav-bg: rgb(var(--color-white-rgb) / 0.96); --filters-bg: rgb(248 250 252 / 0.98); --overlay-bg: rgb(var(--color-neutral-900-rgb) / 0.56); --footer-bg: var(--color-brand-primary); --footer-text: var(--color-white); --footer-muted: var(--color-neutral-300); --shadow-sm: 0 1px 2px rgb(var(--color-neutral-900-rgb) / 0.05), 0 8px 18px rgb(var(--color-neutral-900-rgb) / 0.05); --shadow-md: 0 10px 28px rgb(var(--color-neutral-900-rgb) / 0.08), 0 2px 8px rgb(var(--color-neutral-900-rgb) / 0.05); --shadow-lg: 0 18px 46px rgb(var(--color-neutral-900-rgb) / 0.12), 0 6px 18px rgb(var(--color-neutral-900-rgb) / 0.08); --shadow-glow: 0 8px 20px rgb(var(--color-brand-secondary-rgb) / 0.14); --premium-card-radius: 16px; --premium-card-border: rgb(203 213 225 / 0.8); --premium-card-shadow: var(--shadow-sm); --premium-card-hover-shadow: var(--shadow-md); --radius: 16px; --radius-lg: 16px; --radius-sm: 12px; --font: Inter, system-ui, -apple-system, sans-serif; --font-display: Poppins, Inter, system-ui, sans-serif; --font-code: "JetBrains Mono", ui-monospace, monospace; --wrap: 1200px; --header-h: 84px; --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1); --badge-beginner-bg: var(--status-success-soft); --badge-beginner-fg: #166534; --badge-intermediate-bg: var(--status-info-soft); --badge-intermediate-fg: #1D4ED8; --badge-advanced-bg: var(--status-advanced-soft); --badge-advanced-fg: var(--status-advanced); --badge-cat-bg: var(--color-brand-secondary-soft); --badge-cat-fg: var(--color-brand-secondary-hover); --badge-time-bg: var(--surface-muted); --badge-time-fg: var(--text-secondary); --input-bg: var(--surface-card); --hero-bg: linear-gradient(145deg, var(--color-brand-primary) 0%, var(--color-brand-primary-hover) 100%); --card-media-bg: linear-gradient(135deg, var(--color-brand-primary-soft), var(--color-brand-secondary-soft)); --quiz-correct-bg: var(--status-success-soft); --quiz-correct-fg: #166534; --quiz-wrong-bg: var(--status-danger-soft); --quiz-wrong-fg: #B91C1C; } [data-theme="dark"] { color-scheme: dark; --surface-page: var(--color-dark-bg); --surface-section: var(--color-dark-bg); --surface-card: var(--color-dark-surface); --surface-card-raised: var(--color-dark-surface-raised); --surface-muted: var(--color-dark-surface-raised); --surface-interactive: rgb(var(--color-brand-secondary-rgb) / 0.16); --surface-hero: var(--color-dark-bg); --text-primary: var(--color-dark-text); --text-secondary: var(--color-dark-text-muted); --text-muted-strong: #8FA4BE; --text-on-dark: var(--color-dark-text); --text-on-dark-muted: var(--color-dark-text-muted); --border-default: var(--color-dark-border); --border-strong: #2D496B; --action-primary: var(--color-brand-secondary); --action-primary-hover: var(--color-brand-secondary-hover); --action-secondary: var(--color-brand-secondary); --action-secondary-hover: var(--color-brand-secondary-hover); --action-accent: var(--color-accent-learner); --action-accent-hover: var(--color-accent-learner-hover); --focus-ring: var(--color-brand-secondary); --brand-blue: var(--action-primary); --brand-blue-dark: var(--action-primary-hover); --primary: var(--action-primary); --primary-dark: var(--action-primary-hover); --primary-light: #5CC6D8; --secondary: var(--action-secondary); --secondary-dark: var(--action-secondary-hover); --accent: var(--action-secondary); --accent-soft: rgb(var(--color-brand-secondary-rgb) / 0.16); --accent-muted: rgb(var(--color-brand-secondary-rgb) / 0.1); --danger: #F87171; --success: #4ADE80; --warning: #FBBF24; --bg: var(--surface-page); --bg-subtle: var(--surface-muted); --surface: var(--surface-card); --surface-raised: var(--surface-card-raised); --surface-hover: var(--surface-interactive); --heading: var(--text-primary); --text: var(--text-secondary); --text-muted: var(--text-secondary); --text-subtle: var(--text-muted-strong); --btn-secondary-text: var(--color-dark-text); --border: var(--border-default); --border-strong: #2D496B; --ring: rgb(var(--color-brand-secondary-rgb) / 0.45); --nav-bg: rgb(7 20 38 / 0.96); --filters-bg: rgb(12 29 51 / 0.98); --overlay-bg: rgb(7 20 38 / 0.78); --footer-bg: var(--color-dark-bg); --footer-text: var(--color-dark-text); --footer-muted: var(--color-dark-text-muted); --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.28), 0 8px 18px rgb(0 0 0 / 0.22); --shadow-md: 0 12px 30px rgb(0 0 0 / 0.34), 0 2px 10px rgb(0 0 0 / 0.24); --shadow-lg: 0 20px 52px rgb(0 0 0 / 0.42), 0 8px 24px rgb(0 0 0 / 0.28); --shadow-glow: 0 8px 22px rgb(var(--color-brand-secondary-rgb) / 0.12); --premium-card-border: rgb(32 54 83 / 0.92); --premium-card-shadow: var(--shadow-sm); --premium-card-hover-shadow: var(--shadow-md); --badge-beginner-bg: rgb(var(--color-success-rgb) / 0.16); --badge-beginner-fg: #86EFAC; --badge-intermediate-bg: rgb(var(--color-info-rgb) / 0.16); --badge-intermediate-fg: #93C5FD; --badge-advanced-bg: rgb(var(--color-advanced-rgb) / 0.18); --badge-advanced-fg: #C4B5FD; --badge-cat-bg: rgb(var(--color-brand-secondary-rgb) / 0.16); --badge-cat-fg: #8BD6E4; --badge-time-bg: rgb(182 197 216 / 0.14); --badge-time-fg: var(--color-dark-text-muted); --input-bg: var(--surface-card-raised); --hero-bg: linear-gradient(145deg, var(--color-dark-bg) 0%, var(--color-dark-surface) 100%); --card-media-bg: linear-gradient(135deg, rgb(var(--color-brand-secondary-rgb) / 0.14), rgb(var(--color-info-rgb) / 0.08)); --quiz-correct-bg: rgb(var(--color-success-rgb) / 0.14); --quiz-correct-fg: #86EFAC; --quiz-wrong-bg: rgb(var(--color-danger-rgb) / 0.14); --quiz-wrong-fg: #FCA5A5; } *, *::before, *::after { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; font-family: var(--font); font-size: 1.125rem; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; } code, pre, .code-block { font-family: var(--font-code); } code { overflow-wrap: anywhere; } pre code { overflow-wrap: normal; } img, svg { max-width: 100%; height: auto; display: block; } a { color: var(--primary); text-decoration: none; transition: color var(--transition); } a:hover { color: var(--secondary); } h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--heading); margin: 0 0 0.75rem; } h1 { font-size: clamp(2rem, 4vw, 2.75rem); } h2 { font-size: clamp(1.5rem, 3vw, 2rem); } h3 { font-size: 1.125rem; } p { margin: 0 0 1rem; } .wrap { width: min(calc(100% - 2rem), var(--wrap)); margin-inline: auto; } .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; } .hidden { display: none !important; } .meta { color: var(--text-muted); font-size: 0.9375rem; } .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; } .reveal.is-visible { opacity: 1; transform: none; } .site-nav-sticky { position: sticky; top: 0; z-index: 100; background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72)), var(--nav-bg); -webkit-backdrop-filter: blur(22px) saturate(1.26); backdrop-filter: blur(22px) saturate(1.26); border-bottom: 1px solid rgba(148, 163, 184, 0.2); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset; transition: box-shadow var(--transition), background var(--transition), border-color var(--transition), backdrop-filter var(--transition); } .site-nav-sticky.is-scrolled { background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)), var(--nav-bg); border-bottom-color: rgba(37, 99, 235, 0.16); box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1), 0 1px 0 rgba(255, 255, 255, 0.75) inset; } .site-header { height: var(--header-h); } .header-inner { display: flex; align-items: center; gap: clamp(0.9rem, 1.8vw, 1.4rem); height: 100%; } .site-logo { display: flex; align-items: center; flex-shrink: 0; color: var(--heading); font-weight: 700; padding: 0.45rem 0.2rem 0.45rem 0; min-height: 64px; } .site-logo:hover { color: var(--heading); opacity: 0.96; } .site-logo-img { display: block; height: 50px; width: auto; max-width: min(190px, 52vw); object-fit: contain; } .top-nav { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; } .top-nav a { position: relative; padding: 0.6rem 0.78rem; border-radius: 10px; color: var(--text-muted); font-weight: 600; font-size: 0.9375rem; line-height: 1; transition: color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition); } .top-nav a::after { content: ""; position: absolute; left: 0.78rem; right: 0.78rem; bottom: 0.3rem; height: 2px; border-radius: 999px; background: linear-gradient(90deg, #0099FF, #00C896); opacity: 0; transform: scaleX(0.5); transform-origin: center; transition: opacity var(--transition), transform var(--transition); } .top-nav a:hover, .top-nav a.active { color: var(--primary); background: linear-gradient(180deg, rgba(239, 246, 255, 0.9), rgba(219, 234, 254, 0.42)); box-shadow: 0 8px 22px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8); transform: translateY(-1px); } .top-nav a:hover::after, .top-nav a.active::after { opacity: 1; transform: scaleX(1); } .top-nav a:focus-visible { outline: 3px solid rgba(96, 165, 250, 0.45); outline-offset: 3px; } .header-actions { display: flex; align-items: center; gap: 0.5rem; } .icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid rgba(148, 163, 184, 0.32); border-radius: 12px; background: rgba(255, 255, 255, 0.82); color: var(--text-muted); cursor: pointer; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 18px rgba(15, 23, 42, 0.06); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition); } .icon-btn:hover { color: var(--primary); border-color: rgba(37, 99, 235, 0.35); background: rgba(239, 246, 255, 0.96); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12), 0 0 22px rgba(37, 99, 235, 0.12); } .icon-btn:focus-visible, .v2-btn-hero:focus-visible { outline: 3px solid rgba(96, 165, 250, 0.55); outline-offset: 3px; } .theme-toggle { position: relative; overflow: hidden; } .theme-toggle .theme-icon { align-items: center; justify-content: center; transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease; } .theme-icon-sun { position: absolute; opacity: 0; transform: translateY(8px) rotate(-28deg) scale(0.72); pointer-events: none; } .theme-icon-moon { opacity: 1; transform: translateY(0) rotate(0) scale(1); } [data-theme="dark"] .theme-icon-sun { opacity: 1; transform: translateY(0) rotate(0) scale(1); } [data-theme="dark"] .theme-icon-moon { opacity: 0; transform: translateY(-8px) rotate(28deg) scale(0.72); pointer-events: none; } .nav-toggle { display: none; flex-direction: column; gap: 5px; min-width: 44px; min-height: 44px; padding: 8px; border: none; background: none; cursor: pointer; margin-left: auto; } .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; } .search-overlay[hidden] { display: none; } .search-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding-top: 10vh; } .search-overlay-backdrop { position: absolute; inset: 0; background: rgba(17,24,39,0.45); backdrop-filter: blur(4px); } .search-overlay-panel { position: relative; width: min(92%, 640px); background: var(--surface); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow-lg); } .search-overlay-form { display: flex; gap: 0.75rem; align-items: center; } .search-overlay-form input { flex: 1; padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: 10px; font-size: 1rem; } .search-close { position: absolute; top: 0.75rem; right: 0.75rem; border: none; background: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; padding: 0.65rem 1.25rem; border-radius: 10px; font-weight: 600; font-size: 0.9375rem; border: 1px solid transparent; cursor: pointer; transition: all var(--transition); font-family: inherit; } .btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; box-shadow: 0 4px 14px rgba(109,40,217,0.35); } .btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(109,40,217,0.45); } .btn-secondary { background: var(--surface); color: var(--primary); border-color: var(--border); } .btn-secondary:hover { background: var(--accent-soft); border-color: var(--accent); } .btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; } .btn-sm { padding: 0.45rem 0.9rem; font-size: 0.875rem; } .btn-card { padding: 0.5rem 0; background: none; border: none; color: var(--primary); font-weight: 600; font-size: 0.9375rem; } .hero-home { background: linear-gradient(135deg, #6D28D9 0%, #7C3AED 50%, #A855F7 100%); color: #fff; padding: clamp(3rem, 8vw, 5rem) 0; overflow: hidden; } .hero-home-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; } .hero-home .hero-eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; margin-bottom: 0.75rem; } .hero-home h1 { color: #fff; margin-bottom: 1rem; } .hero-home .hero-sub { color: rgba(255,255,255,0.88); font-size: 1.125rem; max-width: 34rem; } .hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; } .hero-home .btn-secondary { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.25); } .hero-home .btn-secondary:hover { background: rgba(255,255,255,0.2); color: #fff; } .hero-stat-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; } .hero-stat-pill { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 0.65rem 1rem; backdrop-filter: blur(8px); } .hero-stat-pill strong { display: block; font-size: 1.25rem; color: #fff; } .hero-stat-pill span { font-size: 0.8125rem; opacity: 0.85; } .hero-visual-frame { position: relative; } .hero-board-svg { width: 100%; max-width: 280px; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2)); } .hero-float-stack { position: absolute; inset: 0; pointer-events: none; } .hero-float-card { position: absolute; background: rgba(255,255,255,0.95); color: var(--text); border-radius: 10px; padding: 0.65rem 0.85rem; box-shadow: var(--shadow-lg); font-size: 0.8125rem; animation: float 4s ease-in-out infinite; } .hero-float-card-a { top: 8%; right: 0; animation-delay: 0s; } .hero-float-card-b { bottom: 30%; left: -5%; animation-delay: 1s; } .hero-float-card-c { bottom: 5%; right: 10%; animation-delay: 2s; } .hero-float-label { display: block; color: var(--text-muted); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; } .hero-float-card strong { font-size: 1rem; color: var(--primary); } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } } .category-banner { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 45%, var(--accent) 100%); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; } .category-banner-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; } .category-banner h1 { color: #fff; } .category-banner .hero-sub { color: rgba(255,255,255,0.9); font-size: 1.0625rem; } .category-banner .hero-eyebrow { opacity: 0.85; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; } .breadcrumb-light a { color: rgba(255,255,255,0.92); } .breadcrumb-light a:hover { color: #fff; } .breadcrumb-light li:not(:last-child)::after { color: rgba(255,255,255,0.65); } .breadcrumb-light [aria-current="page"] { color: #fff; font-weight: 600; } .category-banner-visual { width: 180px; height: 180px; margin-left: auto; border-radius: 24px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px); } .category-banner-visual svg { width: 80px; height: 80px; color: #fff; } .hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; } .badge-light { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.25); } .layout-with-sidebar { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; padding: 2rem 0 3rem; align-items: start; } .sidebar-categories { position: sticky; top: calc(var(--header-h) + 1rem); } .sidebar-categories-inner { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow-sm); } .sidebar-title { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.75rem; } .sidebar-cat-nav { display: flex; flex-direction: column; gap: 0.25rem; } .sidebar-cat-nav a { display: flex; align-items: center; gap: 0.65rem; padding: 0.65rem 0.75rem; border-radius: 10px; color: var(--text); font-weight: 500; font-size: 0.9375rem; transition: all var(--transition); } .sidebar-cat-nav a:hover { background: var(--accent-soft); color: var(--primary); } .sidebar-cat-nav a.is-active { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; box-shadow: 0 4px 12px rgba(109,40,217,0.3); } .sidebar-cat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; } .sidebar-cat-nav a.is-active .sidebar-cat-dot { background: #fff; } .filters-sticky { position: sticky; top: var(--header-h); z-index: 50; background: rgba(248,250,252,0.95); backdrop-filter: blur(8px); padding: 1rem 0; margin-bottom: 1rem; border-bottom: 1px solid var(--border); } .filters-bar .search-panel { display: grid; grid-template-columns: 1fr auto auto auto; gap: 0.65rem; } .filters-bar input, .filters-bar select { padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: 10px; font-size: 0.9375rem; background: var(--surface); color: var(--text); font-family: inherit; } .filter-meta { margin-top: 0.65rem; } .section-premium, .portal-section { padding: clamp(2.5rem, 5vw, 4rem) 0; } .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; } .section-eyebrow { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); margin-bottom: 0.35rem; } .section-sub { color: var(--text-muted); max-width: 36rem; margin-top: 0.35rem; } .grid-projects, .post-grid-4, .grid-compact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } .project-card-item, .modern-card, .post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--premium-card-border); border-radius: var(--premium-card-radius); overflow: hidden; color: var(--text); box-shadow: var(--premium-card-shadow); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition); } .project-card-item:hover, .modern-card:hover, .post-card:hover { transform: translateY(-4px); box-shadow: var(--premium-card-hover-shadow); border-color: var(--accent); color: var(--text); } .card-media-wrap { overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; } .card-media, .post-thumb, .card-thumb { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent-soft), #F5F3FF); position: relative; width: 100%; } .card-media--placeholder { flex-direction: column; gap: 0.5rem; background: linear-gradient(145deg, rgba(0, 153, 255, 0.08), rgba(0, 200, 150, 0.06)); } .card-media--placeholder .card-media-icon svg { width: 52px; height: 52px; color: var(--primary); opacity: 0.85; } .card-media-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); } .card-media--has-image { padding: 0; background: var(--surface-alt, #F8FAFC); } .card-media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; } .card-media-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent-soft), #F5F3FF); } .card-media-fallback svg { width: 52px; height: 52px; color: var(--primary); } .card-media.is-fallback .card-media-img { display: none; } .card-media.is-fallback .card-media-fallback { display: flex; } .card-thumb svg, .post-thumb svg { width: 56px; height: 56px; color: var(--primary); } .card-body { padding: 1.25rem 1.35rem 1.35rem; flex: 1; display: flex; flex-direction: column; } .card-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; } .card-body h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.55rem; line-height: 1.4; letter-spacing: -0.01em; } .card-desc { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 0.75rem; flex: 1; } .card-footer { margin-top: auto; } .badge { display: inline-flex; padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; } .badge-cat { background: var(--accent-soft); color: var(--primary); } .badge-beginner { background: #DCFCE7; color: #166534; } .badge-intermediate { background: #FEF3C7; color: #92400E; } .badge-advanced { background: #FEE2E2; color: #991B1B; } .badge-time { background: #F3F4F6; color: var(--text-muted); } .badge-featured { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; } .t-iot { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); } .t-home { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); } .t-cam { background: linear-gradient(135deg, #E0E7FF, #C7D2FE); } .t-robot { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); } .t-sensor { background: linear-gradient(135deg, #FEF3C7, #FDE68A); } .t-ai { background: linear-gradient(135deg, #F3E8FF, #E9D5FF); } .t-security { background: linear-gradient(135deg, #FEE2E2, #FECACA); } .t-led { background: linear-gradient(135deg, #FFEDD5, #FED7AA); } .t-agriculture { background: linear-gradient(135deg, #DCFCE7, #BBF7D0); } .t-default { background: linear-gradient(135deg, var(--accent-soft), #F5F3FF); } .guide-tracks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; } .guide-track-card, .guide-home-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; color: var(--text); transition: all var(--transition); display: flex; flex-direction: column; } .guide-track-card:hover, .guide-home-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--text); } .guide-track-badge { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); margin-bottom: 0.5rem; } .guide-home-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; } .carousel-shell { overflow: hidden; } .carousel-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; scrollbar-width: thin; } .carousel-card { flex: 0 0 min(300px, 85vw); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem; display: flex; gap: 1rem; color: var(--text); transition: all var(--transition); } .carousel-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--text); } .carousel-card-thumb { width: 64px; height: 64px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .carousel-controls { display: flex; align-items: center; gap: 0.5rem; } .carousel-btn { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); cursor: pointer; font-size: 1.25rem; color: var(--primary); } .portal-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; } .tutorial-list { display: flex; flex-direction: column; gap: 0.5rem; } .tutorial-row { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); transition: all var(--transition); } .tutorial-row:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); color: var(--text); } .tutorial-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .tutorial-meta strong { display: block; font-size: 0.9375rem; } .tutorial-cat { font-size: 0.8125rem; color: var(--text-muted); } .tutorial-arrow { margin-left: auto; color: var(--primary); } .pop-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; } .tech-cat-card, .pop-cat { display: flex; align-items: center; gap: 0.65rem; padding: 0.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; font-weight: 500; font-size: 0.9375rem; color: var(--text); transition: all var(--transition); } .tech-cat-card:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--primary); } .pop-cat-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; } .roadmap-track-premium { display: flex; flex-direction: column; gap: 0; } .roadmap-node-premium { display: flex; gap: 1rem; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); } .roadmap-num { font-family: var(--font-display); font-weight: 800; color: var(--primary); font-size: 1.25rem; } .roadmap-connector-premium { width: 2px; height: 16px; background: var(--accent); margin-left: 1.75rem; } .portal-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } .portal-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; text-align: center; } .portal-stat strong { display: block; font-size: 1.5rem; color: var(--primary); font-family: var(--font-display); } .why-grid-premium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; } .why-card-premium { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; transition: all var(--transition); } .why-card-premium:hover { box-shadow: var(--shadow-md); border-color: var(--accent); } .why-icon { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; } .community-panel { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; border-radius: var(--radius-lg); padding: 2rem; } .community-panel h2 { color: #fff; } .community-lead { color: rgba(255,255,255,0.88); } .community-panel-actions { margin-left: auto; display: flex; gap: 0.75rem; flex-wrap: wrap; } .portal-cta, .portal-cta-inner { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; box-shadow: var(--shadow-md); } .portal-cta-inner { border: none; padding: 0; box-shadow: none; background: transparent; } .site-footer { background: var(--text); color: rgba(255,255,255,0.85); padding: 3rem 0 1.5rem; margin-top: 2rem; } .footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; margin-bottom: 2rem; } .footer-brand strong { color: #fff; font-size: 1.125rem; font-family: var(--font-display); } .footer-tagline { color: #5CC6D8; font-weight: 600; font-size: 0.875rem; margin: 0.35rem 0 0.75rem; } .footer-brand p { font-size: 0.9375rem; line-height: 1.6; } .footer-social { display: flex; gap: 0.65rem; margin-top: 1rem; } .footer-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,0.08); color: #fff; transition: background var(--transition); } .footer-social a:hover { background: var(--primary); color: #fff; } .footer-col h4, .footer-col-title { color: #fff; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 0.75rem; } .footer-col a { display: block; color: rgba(255,255,255,0.7); font-size: 0.9375rem; padding: 0.25rem 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; } .footer-col a:hover { color: #fff; } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; font-size: 0.875rem; color: rgba(255,255,255,0.5); } .breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.875rem; } .breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--text-muted); } .breadcrumb a { color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding-inline: 0.12rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; } .breadcrumb [aria-current="page"] { color: var(--text); } .article-shell { display: grid; grid-template-columns: 220px 1fr 240px; gap: 2rem; padding: 2rem 0 3rem; align-items: start; } .sidebar-left, .sidebar-right { position: sticky; top: calc(var(--header-h) + 1rem); } .sidebar-sticky { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.15rem; box-shadow: var(--shadow-sm); } .sidebar-sticky h3, .sidebar-label { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin: 0 0 0.65rem; } .side-list { list-style: none; padding: 0; margin: 0; } .side-list a { display: block; padding: 0.45rem 0.65rem; border-radius: 8px; color: var(--text-muted); font-size: 0.9375rem; transition: all var(--transition); } .side-list a:hover, .side-list a.is-active { background: var(--accent-soft); color: var(--primary); } .sidebar-divider { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); } .article-main { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm); } .project-hero-banner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); } .project-hero-image { width: min(360px, 34vw); aspect-ratio: 16 / 10; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: var(--premium-card-shadow); } .project-hero-image svg { width: 72px; height: 72px; color: var(--primary); } .project-hero-art-img, .project-hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; } .project-hero-art { align-self: stretch; min-height: 280px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28); } .article-lead { font-size: 1.125rem; color: var(--text-muted); line-height: 1.6; } .article-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.75rem 0; } .difficulty-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; } .difficulty-tab { padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); cursor: pointer; font-weight: 600; font-size: 0.875rem; transition: all var(--transition); } .difficulty-switcher #level-radio-beginner:checked ~ .difficulty-tabs label[for="level-radio-beginner"], .difficulty-switcher #level-radio-intermediate:checked ~ .difficulty-tabs label[for="level-radio-intermediate"], .difficulty-switcher #level-radio-advanced:checked ~ .difficulty-tabs label[for="level-radio-advanced"] { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; border-color: transparent; } .accordion-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.65rem; overflow: hidden; } .accordion-header { padding: 0.85rem 1rem; font-weight: 600; background: var(--bg); cursor: pointer; } .accordion-content { padding: 1rem; } .wiring-table-wrap, .pin-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } .wiring-table, .pin-table { width: 100%; min-width: max-content; border-collapse: collapse; font-size: 0.9375rem; } .wiring-table th, .wiring-table td { padding: 0.65rem; border: 1px solid var(--border); text-align: left; } .wiring-table th { background: var(--accent-soft); color: var(--primary); } .code-block { background: #1E1B4B; border-radius: var(--radius); overflow: hidden; margin: 0.75rem 0; } .code-bar { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0.85rem; background: #312E81; color: rgba(255,255,255,0.8); font-size: 0.8125rem; } .copy-btn { border: 1px solid rgba(255,255,255,0.2); background: transparent; color: #fff; padding: 0.25rem 0.65rem; border-radius: 6px; cursor: pointer; font-size: 0.8125rem; } .level-code, pre { padding: 1rem; margin: 0; overflow-x: auto; color: #E9D5FF; font-size: 0.8125rem; line-height: 1.55; } .faq-item { border-bottom: 1px solid var(--border); } .faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 0; border: none; background: none; text-align: left; font-weight: 600; cursor: pointer; font-family: inherit; font-size: 0.9375rem; } .faq-a { display: none; padding-bottom: 0.85rem; color: var(--text-muted); } .faq-item.is-open .faq-a { display: block; } .faq-item.is-open .plus { transform: rotate(45deg); } .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } .related-card { display: flex; gap: 0.75rem; padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); transition: all var(--transition); } .related-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); color: var(--text); } .related-thumb { width: 48px; height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .guide-page, .static-page, .guide-index-page { padding: 2rem 0 3rem; } .guide-index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; } .guide-index-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; color: var(--text); transition: all var(--transition); } .guide-index-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--text); } .promo-box { background: linear-gradient(135deg, var(--accent-soft), #F5F3FF); border-radius: var(--radius); padding: 1rem; } .promo-box strong { color: var(--primary); } .pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.5rem 0; } .pagination-current { font-weight: 700; color: var(--primary); } .filter-hidden, .page-hidden { display: none !important; } .section-actions { text-align: center; padding: 1rem 0; } .cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(0,0,0,0.08); padding: 1rem; } .cookie-consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: var(--wrap); margin: 0 auto; } .cookie-actions { display: flex; gap: 0.5rem; } .cookie-consent a { color: #0F718B; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; } .back-to-top { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; width: 44px; height: 44px; border: none; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; font-size: 1.25rem; cursor: pointer; opacity: 0; pointer-events: none; transition: all var(--transition); box-shadow: var(--shadow-md); } .back-to-top.visible { opacity: 1; pointer-events: auto; } .mobile-section-nav { display: none; margin-bottom: 1rem; } .mobile-nav-select { width: 100%; padding: 0.65rem; border-radius: 8px; border: 1px solid var(--border); } @media (max-width: 1024px) { .grid-projects, .post-grid-4, .guide-tracks-grid { grid-template-columns: repeat(2, 1fr); } .hero-home-inner, .category-banner-inner { grid-template-columns: 1fr; } .category-banner-visual { margin: 0 auto; } .layout-with-sidebar { grid-template-columns: 1fr; } .sidebar-categories { position: static; } .article-shell { grid-template-columns: 1fr; } .sidebar-left, .sidebar-right { position: static; } .why-grid-premium { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr 1fr; } .filters-bar .search-panel { grid-template-columns: 1fr 1fr; } } @media (max-width: 768px) { .project-hero { grid-template-columns: 1fr; } .logo-tagline { display: none; } .nav-toggle { display: flex; } .top-nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: all var(--transition); } .top-nav.is-open { transform: none; opacity: 1; pointer-events: auto; } .header-actions { margin-left: 0; } .header-inner { flex-wrap: wrap; } .grid-projects, .guide-home-grid, .guide-index-grid, .portal-duo, .why-grid-premium { grid-template-columns: 1fr; } .guide-tracks-grid { grid-template-columns: 1fr; } .project-hero-banner { grid-template-columns: 1fr; } .project-hero-image { width: 100%; height: auto; } .footer-grid { grid-template-columns: 1fr; } .mobile-section-nav { display: block; } .sidebar-left { display: none; } .filters-bar .search-panel { grid-template-columns: 1fr; } } @media (min-width: 900px) { .logo-tagline { display: block; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } } .top-nav a { font-size: 1rem; padding: 0.55rem 0.75rem; border-radius: 12px; } .hero-home { background: linear-gradient(160deg, #E8F7FF 0%, #F7FAFC 45%, #E6FFF8 100%); padding: 3.5rem 0 4rem; overflow: hidden; } .hero-home .hero-sub { font-size: 1.25rem; max-width: 34rem; color: var(--text-muted); } .hero-home .hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; } .btn-primary { background: linear-gradient(135deg, var(--primary), #33AAFF); border: none; color: #fff; box-shadow: 0 6px 20px rgba(0, 153, 255, 0.35); } .btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 153, 255, 0.4); } .btn-secondary { background: var(--surface); border: 2px solid var(--border); color: var(--text); } .btn-secondary:hover { border-color: var(--primary); color: var(--primary); background: var(--accent-soft); } .btn-accent { background: linear-gradient(135deg, var(--accent), #FFE082); color: #1A202C; border: none; font-weight: 600; } .learning-path-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; } .path-card { background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem; border: 2px solid transparent; box-shadow: var(--shadow-sm); color: var(--text); transition: all var(--transition); display: flex; flex-direction: column; gap: 0.75rem; } .path-card-media { width: 100%; aspect-ratio: 16 / 9; margin: 0 0 0.25rem; border-radius: 12px; overflow: hidden; background: var(--surface-muted); } .path-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; } .path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); color: var(--text); } .path-icon { min-width: 56px; width: auto; height: 56px; padding: 0 0.75rem; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 800; line-height: 1.1; text-align: center; background: var(--accent-soft); } .path-card h3 { font-size: 1.25rem; margin: 0; } .path-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; } .component-card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); color: var(--text); transition: all var(--transition); display: flex; flex-direction: column; } .component-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--secondary); color: var(--text); } .component-card-img { aspect-ratio: 4/3; background: linear-gradient(135deg, #E8F7FF, #E6FFF8); display: flex; align-items: center; justify-content: center; padding: 1.5rem; } .component-card-img img { max-height: 120px; object-fit: contain; } .component-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; } .component-card-body h3 { font-size: 1.125rem; margin: 0; } .section-eyebrow { color: var(--secondary); font-weight: 600; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.5rem; } .section-sub { color: var(--text-muted); font-size: 1.125rem; max-width: 36rem; } .newsletter-panel { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: var(--radius-lg); padding: 2.5rem; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; } .newsletter-panel h2 { color: #fff; margin: 0 0 0.5rem; } .newsletter-panel p { margin: 0; opacity: 0.92; font-size: 1.125rem; } .newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; } .newsletter-form input { padding: 0.85rem 1.15rem; border: none; border-radius: 14px; font-size: 1rem; min-width: 220px; } .newsletter-form .btn { background: var(--accent); color: #1A202C; border: none; font-weight: 700; } .badge-beginner { background: #E6FFF8; color: #007A5E; } .badge-intermediate { background: #FFF8E1; color: #B8860B; } .badge-advanced { background: #FFE8E8; color: #C53030; } .badge-cat { background: var(--accent-soft); color: var(--primary-dark); } .component-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; padding: 2.5rem 0; } .component-hero-img { background: linear-gradient(135deg, #E8F7FF, #E6FFF8); border-radius: var(--radius-lg); padding: 2rem; display: flex; align-items: center; justify-content: center; min-height: 280px; } .component-hero-img img { max-height: 220px; object-fit: contain; } .eli12-box { background: linear-gradient(135deg, #FFF8E1, #E6FFF8); border-radius: var(--radius-lg); padding: 1.75rem; border-left: 5px solid var(--accent); margin: 1.5rem 0; } .eli12-box h3 { color: var(--primary-dark); margin-top: 0; } .mission-step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.5rem; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); margin-bottom: 1rem; } .mission-num { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; } .category-pills { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1.5rem; } .category-pill { padding: 0.55rem 1.1rem; border-radius: 999px; background: var(--surface); border: 2px solid var(--border); color: var(--text); font-weight: 500; font-size: 1rem; transition: all var(--transition); } .category-pill:hover, .category-pill.is-active { border-color: var(--primary); background: var(--accent-soft); color: var(--primary); } .parent-panel, .teacher-panel { background: var(--surface); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; } .parent-panel h3, .teacher-panel h3 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.35rem; } .resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; } .resource-card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); color: var(--text); transition: all var(--transition); } .resource-card:hover { box-shadow: var(--shadow-md); border-color: var(--secondary); color: var(--text); transform: translateY(-2px); } .search-results { max-height: 360px; overflow-y: auto; margin-top: 1rem; } .search-result-item { display: block; padding: 0.9rem 1.05rem; border-radius: 12px; color: var(--text); border: 1px solid transparent; margin-bottom: 0.35rem; transition: background var(--transition), border-color var(--transition), transform var(--transition); } .search-result-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; } .search-result-cat { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); } .search-result-title { display: block; font-size: 0.9875rem; line-height: 1.35; margin-bottom: 0.2rem; } .search-result-desc { display: block; font-size: 0.875rem; color: var(--text-muted); line-height: 1.45; } .search-result-item:hover { background: var(--accent-soft); border-color: var(--primary); color: var(--text); } .search-result-type { font-size: 0.8125rem; font-weight: 600; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.04em; } .project-meta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0; } .project-meta-chip { display: flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.85rem; background: var(--accent-soft); border-radius: 999px; font-size: 0.9375rem; font-weight: 500; } @media (max-width: 768px) { .newsletter-panel { grid-template-columns: 1fr; } .component-hero { grid-template-columns: 1fr; } .learning-path-grid { grid-template-columns: 1fr; } } .mission-hero-band { background: linear-gradient(145deg, #007ACC 0%, #0099FF 42%, #00C896 100%); color: #fff; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; } .mission-hero-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 20%, rgba(255,255,255,0.18) 0%, transparent 42%), radial-gradient(circle at 88% 75%, rgba(255,255,255,0.12) 0%, transparent 38%); pointer-events: none; } .mission-hero { position: relative; z-index: 1; max-width: 820px; } .mission-hero-inner { max-width: 42rem; } .mission-hero-eyebrow { color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.75rem; } .mission-hero-title { color: #fff; font-size: clamp(2rem, 5vw, 2.85rem); letter-spacing: -0.02em; margin-bottom: 1rem; } .mission-hero-lead { color: #fff; font-size: clamp(1.0625rem, 2.5vw, 1.25rem); line-height: 1.65; max-width: 38rem; margin-bottom: 1.25rem; } .mission-hero .mission-meta-row { margin: 0; } .mission-hero .mission-meta-row .badge { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.28); backdrop-filter: blur(8px); } .mission-hero .mission-meta-row .badge-beginner { background: rgba(255,255,255,0.22); color: #fff; } .mission-guide-shell { padding: clamp(2rem, 4vw, 3rem) 0 5rem; max-width: 720px; } .mission-guide-page .mission-meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem; } .mission-journey { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 3.5rem); } .mission-section { scroll-margin-top: calc(var(--header-h) + 1rem); } .mission-section h2 { display: flex; align-items: center; gap: 0.65rem; font-size: clamp(1.35rem, 3vw, 1.625rem); letter-spacing: -0.015em; margin-bottom: 0.85rem; } .mission-section-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; width: auto; height: 2.25rem; padding: 0 0.55rem; border-radius: 12px; background: var(--accent-soft); font-size: 0.82rem; font-weight: 800; line-height: 1; flex-shrink: 0; } .mission-section-title { flex: 1; min-width: 0; } .mission-section-lead { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.6; margin: -0.25rem 0 1.25rem; max-width: 42rem; } .mission-prose p, .mission-output-body p, .mission-story p, .eli12-content p { max-width: 42rem; } .mission-prose p:last-child, .mission-output-body p:last-child, .mission-complete-body p:last-child, .eli12-content p:last-child { margin-bottom: 0; } .mission-card { position: relative; background: linear-gradient(145deg, #0088EE 0%, #00B894 100%); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.25rem); color: #fff; text-align: center; box-shadow: 0 20px 50px rgba(0, 122, 204, 0.28); overflow: hidden; border: 1px solid rgba(255,255,255,0.2); } .mission-card-glow { position: absolute; top: -40%; right: -20%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, transparent 70%); pointer-events: none; } .mission-card-icon { font-size: clamp(2.75rem, 6vw, 3.5rem); display: block; margin-bottom: 0.85rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15)); } .mission-card-badge { display: inline-block; background: rgba(255, 255, 255, 0.22); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.85rem; border: 1px solid rgba(255,255,255,0.3); } .mission-card-title { color: #fff; font-size: clamp(1.4rem, 3.5vw, 1.85rem); letter-spacing: -0.02em; margin: 0 0 1rem; } .mission-story { font-size: 1.125rem; line-height: 1.85; color: var(--text); } .mission-story p:first-child::first-letter { font-size: 3rem; font-family: var(--font-display); font-weight: 800; float: left; line-height: 0.85; margin: 0.12rem 0.65rem 0 0; color: var(--primary); } .mission-eli12 { margin: 0; border-left: none; background: linear-gradient(135deg, #FFF9E6 0%, #E8FAF4 100%); border: 1px solid rgba(255, 213, 79, 0.45); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm); } .mission-eli12 h2 { margin-bottom: 0.75rem; } .mission-eli12 .mission-section-icon { background: rgba(255, 213, 79, 0.35); } .eli12-content { font-size: 1.125rem; line-height: 1.75; } .mission-things-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.75rem; } .mission-thing-item { display: flex; align-items: flex-start; gap: 0.85rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.15rem; transition: border-color var(--transition), box-shadow var(--transition); } .mission-thing-item:hover { border-color: rgba(0, 153, 255, 0.35); box-shadow: var(--shadow-sm); } .mission-thing-item:focus-within { border-color: var(--primary); box-shadow: var(--shadow-sm); } .mission-thing-icon { font-size: 1.35rem; line-height: 1; flex-shrink: 0; margin-top: 0.1rem; } .mission-thing-body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; } .mission-thing-name { font-weight: 600; font-size: 1.0625rem; color: var(--text); } a.mission-thing-name:hover { color: var(--primary); } .mission-thing-note { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.5; } .mission-safety-section { margin: 0; } .mission-safety { background: linear-gradient(135deg, #FFFBEB 0%, #FFF5F5 100%); border-radius: var(--radius-lg); border: 1px solid rgba(255, 213, 79, 0.5); padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow-sm); } .mission-safety-head { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.85rem; } .mission-safety-head h2 { margin: 0; font-size: 1.25rem; } .mission-safety-icon { font-size: 1.35rem; line-height: 1; } .mission-safety ul { margin: 0; padding-left: 1.35rem; } .mission-safety li { margin-bottom: 0.55rem; font-size: 1.0625rem; line-height: 1.65; } .mission-safety li:last-child { margin-bottom: 0; } .mission-component-grid { display: grid; gap: 1rem; } .mission-component-card { display: grid; grid-template-columns: auto 1fr; gap: 1.15rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.35rem 1.5rem; color: var(--text); transition: all var(--transition); box-shadow: var(--shadow-sm); } .mission-component-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; } a.mission-thing-name:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; } .mission-component-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--text); } .mission-component-icon { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 18px; background: linear-gradient(135deg, #E8F7FF, #E6FFF8); font-size: 2rem; } .mission-component-body h3 { margin: 0 0 0.35rem; font-size: 1.125rem; } .mission-component-body p { margin: 0 0 0.65rem; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.55; } .mission-component-cta { font-size: 0.875rem; font-weight: 600; color: var(--primary); } .mission-illustration { margin: 1rem 0 1.5rem; } .mission-illustration-frame { background: linear-gradient(160deg, #F0F9FF 0%, #F8FAFC 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem) 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.65rem; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); } .mission-illustration-icon { font-size: 2.75rem; opacity: 0.85; } .mission-illustration-label { font-family: var(--font-display); font-weight: 700; color: var(--primary-dark); font-size: 1rem; letter-spacing: 0.02em; } .mission-illustration-alt { color: var(--text-muted); font-size: 0.9375rem; max-width: 32rem; line-height: 1.55; } .mission-steps-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.85rem; } .mission-step-wrap { margin: 0; } .mission-step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.15rem 1.25rem; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin: 0; } .mission-step-text { margin: 0; font-size: 1.0625rem; line-height: 1.65; padding-top: 0.35rem; } .mission-num { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3); } .code-panel { background: #0F172A; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35); border: 1px solid #1E293B; } .code-panel-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: #1E293B; border-bottom: 1px solid #334155; } .code-panel-chrome { display: flex; gap: 0.4rem; flex-shrink: 0; } .code-dot { width: 10px; height: 10px; border-radius: 50%; } .code-dot-red { background: #FF5F57; } .code-dot-yellow { background: #FFBD2E; } .code-dot-green { background: #28CA41; } .code-panel-filename { font-family: var(--font-code); font-size: 0.8125rem; color: #94A3B8; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .btn-copy { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; background: rgba(0, 153, 255, 0.15); color: #E2E8F0; border: 1px solid rgba(0, 153, 255, 0.35); border-radius: 10px; padding: 0.55rem 0.9rem; min-height: 44px; min-width: 44px; font-size: 0.8125rem; font-weight: 600; font-family: var(--font); cursor: pointer; transition: background var(--transition), border-color var(--transition), color var(--transition); flex-shrink: 0; } .btn-copy:hover { background: var(--primary); border-color: var(--primary); color: #fff; } .btn-copy:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; } .btn-copy.is-copied { background: var(--secondary); border-color: var(--secondary); color: #fff; } .code-panel .code-block { margin: 0; padding: 1.35rem 1.25rem; overflow-x: auto; font-size: 0.9375rem; line-height: 1.65; color: #E2E8F0; background: transparent; -webkit-overflow-scrolling: touch; } .code-panel .tok-kw { color: #C792EA; } .code-panel .tok-fn { color: #82AAFF; } .code-panel .tok-const { color: #FFCB6B; } .code-panel .tok-num { color: #F78C6C; } .code-panel .tok-pre { color: #C3E88D; } .code-panel .tok-com { color: #546E7A; font-style: italic; } .mission-code-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.85fr); gap: 1rem; align-items: start; } .mission-code-main { min-width: 0; } .mission-code-preview { background: linear-gradient(145deg, #E8F7FF 0%, #F0FDF9 100%); border: 1px solid rgba(0, 153, 255, 0.2); border-radius: var(--radius-lg); padding: 1.15rem 1.25rem; box-shadow: var(--shadow-sm); } .mission-code-preview-title { display: flex; align-items: center; gap: 0.45rem; font-size: 0.9375rem; font-weight: 700; color: var(--primary-dark); margin: 0 0 0.65rem; } .mission-code-preview-icon { font-size: 1.125rem; } .mission-code-preview-body { font-size: 0.9375rem; line-height: 1.6; color: var(--text); } .mission-code-preview-body p:last-child, .mission-code-preview-body .mission-bullets:last-child { margin-bottom: 0; } .mission-code-notes { margin-top: 1.15rem; padding: 1rem 1.15rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9375rem; line-height: 1.6; } .mission-code-notes .mission-bullets { margin: 0; } .mission-build-panel { background: linear-gradient(135deg, #F0F9FF 0%, #ECFDF5 100%); border: 1px solid rgba(0, 153, 255, 0.18); border-radius: var(--radius-lg); padding: clamp(1.15rem, 3vw, 1.5rem); } .mission-bullets { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: 0.55rem; } .mission-bullets:last-child { margin-bottom: 0; } .mission-bullets li { position: relative; padding-left: 1.35rem; font-size: 1.0625rem; line-height: 1.65; max-width: 42rem; } .mission-bullets li::before { content: "•"; position: absolute; left: 0; color: var(--primary); font-weight: 700; } .mission-prose .mission-bullets, .mission-output-body .mission-bullets, .eli12-content .mission-bullets, .mission-build-panel .mission-bullets, .mission-complete-body .mission-bullets { margin-top: 0; } .mission-challenge-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.65rem; } .mission-challenge-item { display: flex; align-items: flex-start; gap: 0.75rem; background: var(--surface); border: 1px solid rgba(255, 213, 79, 0.45); border-radius: var(--radius); padding: 0.95rem 1.1rem; font-size: 1.0625rem; line-height: 1.6; } .mission-challenge-icon { font-size: 1.25rem; flex-shrink: 0; line-height: 1.2; } .mission-challenge-text { flex: 1; min-width: 0; } .mission-complete-subtitle { font-size: 1.125rem; font-weight: 600; color: var(--secondary); margin: -0.35rem 0 0.85rem; } .mission-illustration--image img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); } .component-visual-art { margin: 0 0 1.25rem; } .component-visual-art img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); } .component-wiring-art .component-visual-art { margin-bottom: 0; } .mission-output { background: linear-gradient(135deg, #E8F7FF 0%, #F0FDF9 100%); border-radius: var(--radius-lg); padding: clamp(1.35rem, 3vw, 1.75rem); border: 1px solid rgba(0, 153, 255, 0.18); } .mission-output h2 { margin-top: 0; } .mission-output .mission-section-icon { background: rgba(0, 153, 255, 0.12); } .mission-quiz-list { display: flex; flex-direction: column; gap: 1.25rem; } .quiz-question { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.15rem, 3vw, 1.5rem); box-shadow: var(--shadow-sm); } .quiz-q-text { font-size: 1.0625rem; font-weight: 600; margin: 0 0 1rem; line-height: 1.5; } .quiz-q-num { color: var(--primary); font-family: var(--font-display); } .quiz-options { display: flex; flex-direction: column; gap: 0.55rem; } .quiz-option { text-align: left; background: var(--bg); border: 2px solid var(--border); border-radius: 14px; padding: 0.9rem 1.05rem; min-height: 44px; font-size: 1rem; font-family: var(--font); color: var(--text); cursor: pointer; transition: border-color var(--transition), background var(--transition); line-height: 1.45; } .quiz-option:hover:not(.is-correct):not(.is-wrong):not(:disabled) { border-color: var(--primary); background: var(--accent-soft); } .quiz-option:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; } .quiz-option:disabled { cursor: default; } .quiz-question.answered .quiz-option:not(.is-correct):not(.is-wrong) { opacity: 0.55; } .quiz-option.is-correct { border-color: var(--secondary); background: #E6FFF8; } .quiz-option.is-wrong { border-color: var(--danger); background: #FFF5F5; } .quiz-feedback { margin: 1rem 0 0; padding: 0.9rem 1rem; border-radius: 12px; font-size: 0.9375rem; line-height: 1.55; } .quiz-feedback.is-success { background: #E6FFF8; color: #007A5E; border: 1px solid rgba(0, 200, 150, 0.25); } .quiz-feedback.is-error { background: #FFF5F5; color: #C53030; border: 1px solid rgba(255, 107, 107, 0.25); } .mission-challenge-box { background: linear-gradient(135deg, #FFFBEB 0%, #E8F7FF 100%); border-radius: var(--radius-lg); padding: clamp(1.35rem, 3vw, 1.75rem); border: 1px solid rgba(255, 213, 79, 0.45); font-size: 1.0625rem; line-height: 1.7; } .mission-challenge-box p:last-child { margin-bottom: 0; } .mission-complete-panel { background: linear-gradient(145deg, #E6FFF8 0%, #E8F7FF 100%); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 2.75rem); text-align: center; border: 1px solid rgba(0, 200, 150, 0.35); box-shadow: 0 12px 32px rgba(0, 200, 150, 0.12); } .mission-complete-badge { font-size: clamp(2.5rem, 6vw, 3.25rem); display: block; margin-bottom: 0.65rem; } .mission-complete-panel h2 { justify-content: center; color: var(--primary-dark); font-size: clamp(1.5rem, 3.5vw, 1.85rem); margin-bottom: 0.85rem; } .mission-skills { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.55rem; text-align: left; max-width: 28rem; margin-inline: auto; } .mission-skills li { background: var(--surface); border-radius: 12px; padding: 0.75rem 1rem; font-size: 1rem; border: 1px solid var(--border); } .mission-skills li::before { content: "✓ "; color: var(--secondary); font-weight: 700; } .next-mission-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; } .next-mission-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; color: var(--text); transition: all var(--transition); display: flex; flex-direction: column; gap: 0.45rem; box-shadow: var(--shadow-sm); } .next-mission-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--text); } .next-mission-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; } .next-mission-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #007A5E; } .next-mission-card h3 { font-size: 1.125rem; margin: 0; } .next-mission-card p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.55; margin: 0; flex: 1; } .mission-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.25rem; } .mission-index-card { background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; color: var(--text); transition: all var(--transition); display: flex; flex-direction: column; gap: 0.5rem; } .mission-index-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--text); } .mission-index-icon { font-size: 2rem; } .mission-index-badge { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); } .guide-missions-block { margin-bottom: 2.5rem; } .guide-missions-block h2 { font-size: 1.75rem; } @media (max-width: 768px) { .mission-hero-band { padding-bottom: 2.5rem; } .mission-guide-shell { padding: 1.5rem 0 3.5rem; } .mission-card { padding: 1.5rem; } .mission-things-list { grid-template-columns: 1fr; } .mission-component-card { grid-template-columns: 1fr; text-align: center; } .mission-component-icon { margin-inline: auto; } .code-panel .code-block { font-size: 0.8125rem; padding: 1rem; } .code-panel-head { flex-wrap: wrap; } .code-panel-chrome { order: 1; } .code-panel-filename { order: 3; width: 100%; flex: none; } .btn-copy { order: 2; margin-left: auto; } .next-mission-grid, .mission-index-grid { grid-template-columns: 1fr; } .mission-step { gap: 0.85rem; padding: 1rem; } .mission-num { width: 38px; height: 38px; font-size: 0.9375rem; } .mission-code-layout { grid-template-columns: 1fr; } .mission-code-preview { order: -1; } } @media (prefers-reduced-motion: reduce) { .mission-card, .next-mission-card, .mission-component-card, .mission-thing-item { transition: none; } .next-mission-card:hover, .mission-component-card:hover { transform: none; } } .mission-guide-page .mission-card, .mission-guide-page .mission-hero-band, .mission-guide-page .mission-journey { animation: none; } .badge-mission { background: rgba(0, 153, 255, 0.12); color: var(--primary); font-weight: 700; } .badge-parent-safe { background: #e8f5e9; color: #2e7d32; font-weight: 600; } .badge-teacher-friendly { background: #e3f2fd; color: #1565c0; font-weight: 600; } .badge-reference { background: #f3e5f5; color: #6a1b9a; font-weight: 600; } .mission-meta-row-compact { justify-content: center; margin: 1rem 0 0; } .mission-meta-row-compact .badge { background: rgba(255, 255, 255, 0.22); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); } .mission-meta-row-compact .badge-parent-safe, .mission-meta-row-compact .badge-teacher-friendly { background: rgba(255, 255, 255, 0.18); color: #fff; } .audience-section { padding: 0.5rem 0; } .audience-panel { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); } .audience-parents .audience-panel { border-color: #81c784; background: linear-gradient(135deg, #f1f8e9 0%, #fff 100%); } .audience-teachers .audience-panel { border-color: #64b5f6; background: linear-gradient(135deg, #e3f2fd 0%, #fff 100%); } .audience-icon { font-size: 3rem; line-height: 1; } .audience-content h2 { margin: 0.35rem 0 0.75rem; font-size: clamp(1.35rem, 3vw, 1.75rem); } .audience-content p { color: var(--text-muted); margin-bottom: 1.25rem; max-width: 52ch; } .guide-home-mission-card { min-height: 100%; } .reference-guide-card { border-style: dashed; background: #fafafa; } .reference-guide-card:hover { border-color: #9c27b0; } .reference-guide-grid .reference-guide-card { border-left: 4px solid #9c27b0; } .reference-intro-card { background: linear-gradient(135deg, #f3e5f5 0%, #ede7f6 100%); border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; border: 2px solid #ce93d8; } .reference-intro-label { display: inline-block; background: #fff; color: #6a1b9a; padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.75rem; } .reference-intro-title { margin: 0; font-size: clamp(1.25rem, 3vw, 1.5rem); color: #4a148c; } .guide-friendly-intro { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 2.75rem); margin: 0; } .guide-technical-content { margin-top: 2.5rem; padding-top: 2rem; border-top: 2px dashed var(--border); } .guide-count-summary { margin: 0.75rem 0 2rem; font-weight: 600; } .mission-index-card { border-left: 4px solid var(--primary); background: linear-gradient(180deg, rgba(0, 153, 255, 0.04) 0%, var(--surface) 100%); } @media (max-width: 768px) { .audience-panel { grid-template-columns: 1fr; text-align: center; } .audience-content p { max-width: none; } } .component-hero-band { background: linear-gradient(145deg, #005A8C 0%, #0099FF 45%, #00B894 100%); color: #fff; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; } .component-hero-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 25%, rgba(255,255,255,0.16) 0%, transparent 45%), radial-gradient(circle at 85% 70%, rgba(255,255,255,0.1) 0%, transparent 40%); pointer-events: none; } .component-hero { position: relative; z-index: 1; } .component-hero-grid { display: grid; grid-template-columns: 1fr minmax(220px, 340px); gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center; } .component-hero-eyebrow { color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.75rem; } .component-hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; } .component-hero-badges .badge { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.28); } .component-hero-badges .badge-cat, .component-hero-badges .badge-beginner { background: rgba(255,255,255,0.22); color: #fff; } .component-hero-title { color: #fff; font-size: clamp(1.85rem, 4.5vw, 2.65rem); letter-spacing: -0.02em; margin-bottom: 0.85rem; } .component-hero-summary { color: #fff; font-size: clamp(1.0625rem, 2.5vw, 1.2rem); line-height: 1.65; max-width: 38rem; margin: 0; } .component-hero-media { background: rgba(255,255,255,0.95); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); display: flex; align-items: center; justify-content: center; min-height: 220px; box-shadow: 0 16px 40px rgba(0,0,0,0.12); } .component-hero-media img { max-height: 200px; width: auto; object-fit: contain; } .component-hero-fallback { font-size: 4rem; line-height: 1; } .component-guide-shell { padding: clamp(2rem, 4vw, 3rem) 0 5rem; max-width: 720px; } .component-journey { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 3.5rem); } .component-section { scroll-margin-top: calc(var(--header-h) + 1rem); } .component-section h2 { display: flex; align-items: center; gap: 0.65rem; font-size: clamp(1.35rem, 3vw, 1.625rem); letter-spacing: -0.015em; margin-bottom: 0.85rem; } .component-section-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; width: auto; height: 2.25rem; padding: 0 0.55rem; border-radius: 12px; background: var(--accent-soft); font-size: 0.82rem; font-weight: 800; line-height: 1; flex-shrink: 0; } .component-section-title { flex: 1; min-width: 0; } .component-section-lead { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.6; margin: -0.25rem 0 1.25rem; max-width: 42rem; } .component-eli12 { margin: 0; border-left: none; background: linear-gradient(135deg, #FFF9E6 0%, #E8FAF4 100%); border: 1px solid rgba(255, 213, 79, 0.45); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm); } .component-eli12 h2 { margin-bottom: 0.75rem; } .component-facts-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; } .component-fact-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.15rem; display: flex; flex-direction: column; gap: 0.35rem; box-shadow: var(--shadow-sm); } .component-fact-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary-dark); } .component-fact-value { font-size: 1.0625rem; font-weight: 600; line-height: 1.45; color: var(--text); } .component-spec-list { margin: 0; padding-left: 1.35rem; display: flex; flex-direction: column; gap: 0.55rem; } .component-spec-list li { font-size: 1.0625rem; line-height: 1.6; } .component-pinout-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; } .component-pin-row { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.15rem; box-shadow: var(--shadow-sm); } .component-pin-name { grid-column: 1; grid-row: 1 / span 2; font-family: var(--font-code); font-weight: 600; font-size: 0.9375rem; color: var(--primary-dark); align-self: center; min-width: 5.5rem; } .component-pin-role { font-weight: 700; font-size: 1rem; } .component-pin-connects { color: var(--text); font-size: 1rem; } .component-pin-note { grid-column: 2; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.5; } .component-steps-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: 0.75rem; } .component-step-wrap { margin: 0; } .component-step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.15rem 1.25rem; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); } .component-step-num { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; flex-shrink: 0; } .component-step-text { margin: 0; font-size: 1.0625rem; line-height: 1.65; padding-top: 0.35rem; } .component-output { background: linear-gradient(135deg, #E8F7FF 0%, #F0FDF9 100%); border-radius: var(--radius-lg); padding: clamp(1.35rem, 3vw, 1.75rem); border: 1px solid rgba(0, 153, 255, 0.18); } .component-output-body p, .component-output-body { max-width: 42rem; font-size: 1.0625rem; line-height: 1.7; } .component-mistakes { background: linear-gradient(135deg, #FFFBEB 0%, #FFF5F5 100%); border-radius: var(--radius-lg); padding: clamp(1.35rem, 3vw, 1.75rem); border: 1px solid rgba(255, 213, 79, 0.45); } .component-callout-list { margin: 0; padding-left: 1.35rem; display: flex; flex-direction: column; gap: 0.65rem; } .component-callout-list li { font-size: 1.0625rem; line-height: 1.65; } .component-troubleshooting { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.35rem, 3vw, 1.75rem); box-shadow: var(--shadow-sm); } .component-trouble-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.85rem; } .component-trouble-item { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 1.15rem; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); } .component-trouble-problem { color: var(--primary-dark); font-size: 1.0625rem; } .component-trouble-fix { color: var(--text-muted); font-size: 1rem; line-height: 1.6; } .component-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; } .component-related-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.35rem; color: var(--text); display: flex; flex-direction: column; gap: 0.45rem; box-shadow: var(--shadow-sm); transition: border-color var(--transition), box-shadow var(--transition); } .component-related-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); color: var(--text); } .component-related-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; } .component-related-card h3 { margin: 0; font-size: 1.0625rem; } .component-related-card p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.55; flex: 1; } .component-related-cta { font-size: 0.875rem; font-weight: 600; color: var(--primary); } .component-faq-section .faq-q { min-height: 44px; } .component-faq-section .faq-q:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; } .component-downloads { margin-bottom: 0; } .component-download-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.35rem, 3vw, 1.75rem); box-shadow: var(--shadow-sm); } .component-download-btn { min-height: 44px; display: inline-flex; align-items: center; } .component-download-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; } .component-download-placeholder { color: var(--text-muted); font-size: 1rem; margin: 0; } .component-guide-page .component-hero-band, .component-guide-page .component-journey { animation: none; } @media (max-width: 768px) { .component-hero-grid { grid-template-columns: 1fr; } .component-hero-media { order: -1; min-height: 180px; } .component-facts-grid { grid-template-columns: 1fr; } .component-pin-row { grid-template-columns: 1fr; } .component-pin-name { grid-row: auto; min-width: 0; } .component-related-grid { grid-template-columns: 1fr; } } @media (prefers-reduced-motion: reduce) { .component-related-card { transition: none; } } .project-hero-band { background: linear-gradient(145deg, #4C1D95 0%, #7C3AED 42%, #0099FF 100%); color: #fff; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; } .project-hero-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 22%, rgba(255,255,255,0.14) 0%, transparent 42%), radial-gradient(circle at 82% 78%, rgba(255,255,255,0.1) 0%, transparent 38%); pointer-events: none; } .project-hero { position: relative; z-index: 1; } .project-hero:has(.project-hero-art) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; } .project-hero-inner { max-width: 44rem; position: relative; } .project-hero-eyebrow { color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.75rem; } .project-hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.85rem; } .project-hero-badges .badge { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.28); } .project-hero-title { color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.75rem); letter-spacing: -0.02em; margin-bottom: 0.85rem; } .project-hero-summary { color: #fff; font-size: clamp(1.0625rem, 2.5vw, 1.22rem); line-height: 1.65; max-width: 40rem; margin: 0 0 1.15rem; } .project-meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem; } .project-hero .project-meta-row .badge { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.28); } .badge-age { background: rgba(255,255,255,0.2); color: #fff; font-weight: 600; } .badge-budget { background: rgba(255,255,255,0.2); color: #fff; font-weight: 600; } .project-hero-icon { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: clamp(4rem, 10vw, 6rem); opacity: 0.35; line-height: 1; pointer-events: none; } .project-guide-shell { padding: clamp(2rem, 4vw, 3rem) 0 5rem; max-width: 720px; } .project-journey { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 3.5rem); } .project-section { scroll-margin-top: calc(var(--header-h) + 1rem); } .project-section h2 { display: flex; align-items: center; gap: 0.65rem; font-size: clamp(1.35rem, 3vw, 1.625rem); letter-spacing: -0.015em; margin-bottom: 0.85rem; } .project-section-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; width: auto; height: 2.25rem; padding: 0 0.55rem; border-radius: 12px; background: rgba(124, 58, 237, 0.1); font-size: 0.82rem; font-weight: 800; line-height: 1; flex-shrink: 0; } .project-section-title { flex: 1; min-width: 0; } .project-section-lead { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.6; margin: -0.25rem 0 1.25rem; max-width: 42rem; } .project-mission-card { position: relative; background: linear-gradient(145deg, #6D28D9 0%, #0099FF 100%); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.25rem); color: #fff; text-align: center; box-shadow: 0 20px 50px rgba(109, 40, 217, 0.28); overflow: hidden; border: 1px solid rgba(255,255,255,0.2); } .project-mission-glow { position: absolute; top: -40%; right: -20%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%); pointer-events: none; } .project-mission-icon { font-size: clamp(2.75rem, 6vw, 3.5rem); display: block; margin-bottom: 0.75rem; } .project-mission-label { display: inline-block; background: rgba(255,255,255,0.22); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.75rem; } .project-mission-title { color: #fff; font-size: clamp(1.35rem, 3.5vw, 1.75rem); margin: 0; } .project-story { font-size: 1.125rem; line-height: 1.85; } .project-story p:first-child::first-letter { font-size: 3rem; font-family: var(--font-display); font-weight: 800; float: left; line-height: 0.85; margin: 0.12rem 0.65rem 0 0; color: #7C3AED; } .project-eli12 { margin: 0; border-left: none; } .project-prose p, .project-output-body p, .project-complete-body p, .project-safety-body p { max-width: 42rem; line-height: 1.7; } .project-safety { background: linear-gradient(135deg, #F3E8FF 0%, #E8F7FF 100%); border-radius: var(--radius-lg); border: 1px solid rgba(124, 58, 237, 0.25); padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow-sm); } .project-safety-head { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.75rem; } .project-safety-head h2 { margin: 0; font-size: 1.25rem; } .project-safety-icon { font-size: 1.35rem; } .project-parts-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.75rem; } .project-part-item { display: flex; align-items: flex-start; gap: 0.85rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.15rem; } .project-part-icon { font-size: 1.35rem; flex-shrink: 0; } .project-part-body { display: flex; flex-direction: column; gap: 0.2rem; } .project-part-name { font-weight: 600; color: var(--text); } a.project-part-name:hover { color: var(--primary); } .project-part-note { color: var(--text-muted); font-size: 0.9375rem; } .project-component-grid { display: grid; gap: 1rem; } .project-component-card { display: grid; grid-template-columns: auto 1fr; gap: 1.15rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.35rem 1.5rem; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color var(--transition), box-shadow var(--transition); } .project-component-card:hover { border-color: #7C3AED; box-shadow: var(--shadow-md); color: var(--text); } .project-component-card:focus-visible { outline: 2px solid #7C3AED; outline-offset: 3px; } .project-component-icon { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 18px; background: linear-gradient(135deg, #F3E8FF, #E8F7FF); font-size: 2rem; } .project-component-body h3 { margin: 0 0 0.35rem; font-size: 1.125rem; } .project-component-body p { margin: 0 0 0.65rem; color: var(--text-muted); font-size: 0.9375rem; } .project-component-cta { font-size: 0.875rem; font-weight: 600; color: #7C3AED; } .project-steps-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: 0.75rem; } .project-step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.15rem 1.25rem; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); } .project-step-num { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #7C3AED, #0099FF); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; } .project-step-text { margin: 0; font-size: 1.0625rem; line-height: 1.65; padding-top: 0.35rem; } .project-output { background: linear-gradient(135deg, #F3E8FF 0%, #E8F7FF 100%); border-radius: var(--radius-lg); padding: clamp(1.35rem, 3vw, 1.75rem); border: 1px solid rgba(124, 58, 237, 0.18); } .project-mistakes { background: linear-gradient(135deg, #FFFBEB 0%, #FFF5F5 100%); border-radius: var(--radius-lg); padding: clamp(1.35rem, 3vw, 1.75rem); border: 1px solid rgba(255, 213, 79, 0.45); } .project-callout-list { margin: 0; padding-left: 1.35rem; display: flex; flex-direction: column; gap: 0.65rem; } .project-callout-list li { font-size: 1.0625rem; line-height: 1.65; } .project-troubleshooting { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.35rem, 3vw, 1.75rem); box-shadow: var(--shadow-sm); } .project-trouble-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.85rem; } .project-trouble-item { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 1.15rem; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); } .project-trouble-problem { color: #5B21B6; font-size: 1.0625rem; } .project-trouble-fix { color: var(--text-muted); font-size: 1rem; line-height: 1.6; } .project-upgrades { background: linear-gradient(135deg, #FFFBEB 0%, #F3E8FF 100%); border-radius: var(--radius-lg); padding: clamp(1.35rem, 3vw, 1.75rem); border: 1px solid rgba(124, 58, 237, 0.2); } .project-upgrade-list { margin: 0; padding-left: 1.35rem; display: flex; flex-direction: column; gap: 0.65rem; } .project-upgrade-list li { font-size: 1.0625rem; line-height: 1.65; } .project-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; } .project-related-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.35rem; color: var(--text); display: flex; flex-direction: column; gap: 0.45rem; box-shadow: var(--shadow-sm); transition: border-color var(--transition), box-shadow var(--transition); } .project-related-card:hover { border-color: #7C3AED; box-shadow: var(--shadow-md); color: var(--text); } .project-related-card:focus-visible { outline: 2px solid #7C3AED; outline-offset: 3px; } .project-related-card h3 { margin: 0; font-size: 1.0625rem; } .project-related-card p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.55; flex: 1; } .project-related-cta { font-size: 0.875rem; font-weight: 600; color: #7C3AED; } .project-complete-panel { border: 1px solid rgba(124, 58, 237, 0.25); background: linear-gradient(145deg, #F3E8FF 0%, #E8F7FF 100%); } .project-guide-page .project-hero-band, .project-guide-page .project-journey { animation: none; } @media (max-width: 768px) { .project-hero-icon { position: static; transform: none; display: block; margin-top: 1.25rem; opacity: 0.55; font-size: 3.5rem; } .project-parts-list { grid-template-columns: 1fr; } .project-component-card { grid-template-columns: 1fr; text-align: center; } .project-component-icon { margin-inline: auto; } .project-related-grid { grid-template-columns: 1fr; } } @media (prefers-reduced-motion: reduce) { .project-component-card, .project-related-card { transition: none; } }   .v2-declaration { background: radial-gradient(circle at 18% 28%, rgba(37, 99, 235, 0.24) 0%, rgba(37, 99, 235, 0.08) 24%, transparent 45%), radial-gradient(circle at 78% 36%, rgba(0, 200, 150, 0.16) 0%, rgba(0, 200, 150, 0.05) 28%, transparent 52%), linear-gradient(145deg, #08111F 0%, #0A0E1A 45%, #07131F 100%); color: #F0F6FC; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; overflow: hidden; position: relative; padding: clamp(4rem, 10vw, 6rem) 0; } .v2-declaration::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 60%, rgba(0, 153, 255, 0.12) 0%, transparent 55%), radial-gradient(ellipse at 85% 25%, rgba(0, 200, 150, 0.1) 0%, transparent 50%); pointer-events: none; } .project-hero .project-hero-art { min-height: auto; aspect-ratio: 16 / 9; border-radius: 24px; } .v2-declaration::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(96, 165, 250, 0.06) 1px, transparent 1px), linear-gradient(0deg, rgba(45, 212, 191, 0.045) 1px, transparent 1px), radial-gradient(circle at 72% 30%, rgba(96, 165, 250, 0.12) 0 1px, transparent 2px), radial-gradient(circle at 28% 66%, rgba(45, 212, 191, 0.11) 0 1px, transparent 2px); background-size: 92px 92px, 92px 92px, 138px 138px, 156px 156px; animation: v2heroGridDrift 22s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%); opacity: 0.48; pointer-events: none; } .v2-declaration-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; position: relative; z-index: 1; } .v2-eyebrow { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary); margin-bottom: 1.35rem; } .v2-declaration-headline { font-family: var(--font-display); font-size: clamp(2.5rem, 5.5vw, 5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; color: #F0F6FC; margin-bottom: 1.5rem; } .v2-declaration-sub { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(240, 246, 252, 0.65); line-height: 1.7; max-width: 40ch; margin-bottom: 2.5rem; } .v2-btn-hero { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 1.75rem; background: #F0F6FC; color: #0A0E1A; border-radius: 14px; font-weight: 700; font-size: 1rem; border: none; letter-spacing: -0.01em; cursor: pointer; text-decoration: none; position: relative; overflow: hidden; transition: transform 0.23s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.23s cubic-bezier(0.22, 1, 0.36, 1), background 0.23s ease, color 0.23s ease; box-shadow: 0 6px 28px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.08); } .v2-btn-hero::before { content: ""; position: absolute; inset: -40% -18%; background: linear-gradient(110deg, transparent 30%, rgba(96, 165, 250, 0.28) 46%, rgba(45, 212, 191, 0.18) 54%, transparent 70%); transform: translateX(-85%); transition: transform 0.45s ease; pointer-events: none; } .v2-btn-hero:hover { background: #fff; color: #0A0E1A; transform: translateY(-2px); box-shadow: 0 18px 50px rgba(0, 153, 255, 0.42), 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 200, 150, 0.18); text-decoration: none; } .v2-btn-hero:hover::before { transform: translateX(85%); } .v2-btn-hero svg { width: 16px; height: 16px; transition: transform 0.2s ease; } .v2-btn-hero:hover svg { transform: translateX(4px); } .v2-declaration-visual { position: relative; display: flex; align-items: center; justify-content: center; }   .v2-hero-visual-frame { position: relative; width: 100%; max-width: 380px; margin: 0 auto; isolation: isolate; filter: drop-shadow(0 34px 78px rgba(0, 153, 255, 0.28)); } .v2-hero-visual-frame::before, .v2-hero-visual-frame::after { content: ""; position: absolute; pointer-events: none; z-index: -1; } .v2-hero-visual-frame::before { inset: -18% -20%; background: radial-gradient(circle at 58% 44%, rgba(0, 153, 255, 0.34), transparent 38%), radial-gradient(circle at 35% 62%, rgba(0, 200, 150, 0.22), transparent 42%), linear-gradient(90deg, transparent 0 18%, rgba(96, 165, 250, 0.16) 18% 19%, transparent 19% 48%, rgba(45, 212, 191, 0.12) 48% 49%, transparent 49%), linear-gradient(0deg, transparent 0 28%, rgba(96, 165, 250, 0.12) 28% 29%, transparent 29% 67%, rgba(45, 212, 191, 0.1) 67% 68%, transparent 68%); background-size: auto, auto, 88px 88px, 88px 88px; border-radius: 44%; opacity: 0.78; filter: blur(0.2px); animation: v2ambientShift 12s ease-in-out infinite; } .v2-hero-visual-frame::after { left: 13%; right: 10%; bottom: 4%; height: 20%; background: radial-gradient(ellipse at center, rgba(0, 153, 255, 0.26), rgba(0, 200, 150, 0.12) 38%, transparent 70%); filter: blur(18px); opacity: 0.82; transform: perspective(420px) rotateX(62deg) translateY(18px); } .v2-hero-board-svg { width: 100%; filter: drop-shadow(0 32px 54px rgba(0, 153, 255, 0.38)) drop-shadow(0 0 34px rgba(0, 200, 150, 0.22)) drop-shadow(0 2px 0 rgba(255, 255, 255, 0.05)); animation: v2boardFloat 7s ease-in-out infinite; transform: translateZ(0); } .v2-hero-float-stack { position: absolute; inset: 0; pointer-events: auto; } .v2-hero-float-card { position: absolute; background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)), linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.58)); color: #F1F5F9; border: 1px solid rgba(147, 197, 253, 0.28); border-radius: 14px; padding: 0.9rem 1.1rem; box-shadow: 0 20px 52px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255,255,255,0.06) inset, 0 0 30px rgba(0, 153, 255, 0.12); font-size: 0.8125rem; -webkit-backdrop-filter: blur(14px) saturate(1.22); backdrop-filter: blur(14px) saturate(1.22); animation: v2float 7s ease-in-out infinite; transform: translateZ(0); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition); } .v2-hero-float-card:hover { border-color: rgba(96, 165, 250, 0.48); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5), 0 0 34px rgba(37, 99, 235, 0.18); } .v2-hero-float-card-a { top: 5%; right: -4%; animation-delay: 0s; } .v2-hero-float-card-b { bottom: 28%; left: -8%; animation-delay: 1.3s; } .v2-hero-float-card-c { bottom: 3%; right: 8%; animation-delay: 2.6s; } .v2-float-label { display: block; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(226, 232, 240, 0.72); margin-bottom: 0.25rem; } .v2-hero-float-card strong { display: block; font-size: 1.0625rem; color: #60A5FA; font-family: var(--font-code); margin-bottom: 0.1rem; position: relative; width: max-content; padding-right: 1rem; } .v2-hero-float-card strong::after { content: ""; position: absolute; right: 0; top: 50%; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45), 0 0 14px rgba(34, 197, 94, 0.65); transform: translateY(-50%); animation: v2statusPulse 2.2s ease-out infinite; } .v2-hero-float-card-a strong::after { background: #60A5FA; box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.42), 0 0 14px rgba(96, 165, 250, 0.55); } .v2-float-sub { display: block; font-size: 0.6875rem; color: rgba(226, 232, 240, 0.62); } @keyframes v2float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } } @keyframes v2boardFloat { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } } @keyframes v2heroGridDrift { 0% { background-position: 0 0, 0 0, 0 0, 0 0; } 100% { background-position: 92px 46px, 46px 92px, 138px 69px, -156px 78px; } } @keyframes v2ambientShift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.72; } 50% { transform: translate3d(0, -8px, 0) scale(1.03); opacity: 0.88; } } @keyframes v2statusPulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.46), 0 0 14px rgba(34, 197, 94, 0.65); } 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0), 0 0 14px rgba(34, 197, 94, 0.65); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0), 0 0 14px rgba(34, 197, 94, 0.65); } }   .v2-proof { background: #0A0E1A; position: relative; } .v2-trust-strip { position: relative; z-index: 2; background: linear-gradient(180deg, rgba(8, 17, 31, 0.96), rgba(10, 14, 26, 0.98)); border-top: 1px solid rgba(148, 163, 184, 0.14); border-bottom: 1px solid rgba(148, 163, 184, 0.14); overflow: hidden; } .v2-trust-strip-inner { display: flex; align-items: center; justify-content: center; gap: clamp(0.55rem, 2vw, 1rem); padding: 0.95rem 0; overflow-x: auto; scrollbar-width: none; } .v2-trust-strip-inner::-webkit-scrollbar { display: none; } .v2-trust-item { display: inline-flex; align-items: center; gap: 0.4rem; flex: 0 0 auto; min-height: 36px; padding: 0.45rem 0.72rem; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 999px; background: rgba(15, 23, 42, 0.52); color: rgba(226, 232, 240, 0.78); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04); font-size: 0.8125rem; font-weight: 600; line-height: 1; white-space: nowrap; transition: transform var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); } .v2-trust-item svg { width: 16px; height: 16px; color: #60A5FA; flex: 0 0 16px; } .v2-trust-item strong { color: #F8FAFC; font-family: var(--font-code); font-size: 0.82rem; } .v2-trust-item:hover { transform: translateY(-2px); color: #F8FAFC; border-color: rgba(96, 165, 250, 0.42); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), 0 0 20px rgba(37, 99, 235, 0.14); } .v2-proof-header { padding: clamp(2.75rem, 5vw, 4rem) 0 2rem; } .v2-proof-header .wrap { display: flex; align-items: baseline; gap: 1.5rem; } .v2-proof-heading { font-family: var(--font-display); font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; color: rgba(240, 246, 252, 0.72); margin: 0; letter-spacing: -0.02em; } .v2-showcase-track { display: flex; overflow-x: auto; max-width: 100%; contain: layout paint; scroll-snap-type: x mandatory; scrollbar-width: none;   -ms-overflow-style: none;   cursor: grab; } .v2-showcase-track::-webkit-scrollbar { display: none; } .v2-showcase-track.is-dragging { cursor: grabbing; scroll-behavior: auto; } .v2-showcase-panel { flex: 0 0 100%; min-width: 100%; min-height: 72vh; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 3rem 2rem; transition: opacity 0.4s ease; } .v2-panel-weather { background: linear-gradient(145deg, #0D1B2E 0%, #091628 60%, #07111F 100%); } .v2-panel-irrigation { background: linear-gradient(145deg, #091A0D 0%, #071510 60%, #060F09 100%); } .v2-panel-security { background: linear-gradient(145deg, #1E0A0A 0%, #180808 60%, #120505 100%); } .v2-panel-climate { background: linear-gradient(145deg, #130B22 0%, #0F081C 60%, #0A0614 100%); } .v2-showcase-glow { position: absolute; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; border-radius: 50%; filter: blur(90px); opacity: 0.18; pointer-events: none; top: 50%; left: 50%; transform: translate(-50%, -50%); } .v2-panel-weather .v2-showcase-glow { background: #0099FF; } .v2-panel-irrigation .v2-showcase-glow { background: #00C896; } .v2-panel-security .v2-showcase-glow { background: #FF6B6B; } .v2-panel-climate .v2-showcase-glow { background: #A855F7; } .v2-showcase-illustration { position: relative; z-index: 1; width: clamp(220px, 28vw, 340px); height: clamp(220px, 28vw, 340px); display: flex; align-items: center; justify-content: center; margin-bottom: 2.5rem; } .v2-showcase-illustration svg { width: 100%; height: 100%; } .v2-showcase-info { position: relative; z-index: 1; text-align: center; } .v2-showcase-tag { display: inline-block; font-size: 0.8125rem; font-weight: 500; color: rgba(240, 246, 252, 0.82); letter-spacing: 0.04em; } .v2-showcase-dots { display: flex; justify-content: center; align-items: center; gap: 0.5rem; padding: 2rem 0 3.5rem; background: #0A0E1A; } .v2-showcase-dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(240, 246, 252, 0.18); transition: all 0.35s ease; cursor: pointer; border: none; padding: 0; } .v2-showcase-dot.is-active { background: rgba(240, 246, 252, 0.75); width: 22px; }   .v2-engine { background: #ffffff; padding: clamp(5rem, 10vw, 8rem) 0; } .v2-engine-eyebrow { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 1rem; } .v2-engine-heading { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.75rem); font-weight: 800; color: #0A0E1A; letter-spacing: -0.03em; margin-bottom: 0.75rem; line-height: 1.08; } .v2-engine-sub { color: #64748B; font-size: clamp(1rem, 2vw, 1.2rem); max-width: 46ch; line-height: 1.7; margin-bottom: 4.5rem; } .v2-engine-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 4rem); margin-bottom: 5rem; position: relative; } .v2-engine-pillars::after { content: ""; position: absolute; top: 0; left: 33.33%; width: 1px; height: 100%; background: linear-gradient(180deg, transparent 0%, #E2E8F0 20%, #E2E8F0 80%, transparent 100%); } .v2-engine-pillars::before { content: ""; position: absolute; top: 0; left: 66.66%; width: 1px; height: 100%; background: linear-gradient(180deg, transparent 0%, #E2E8F0 20%, #E2E8F0 80%, transparent 100%); } .v2-pillar { display: flex; flex-direction: column; gap: 0.85rem; padding-right: clamp(1rem, 2vw, 2rem); } .v2-pillar-label { font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--secondary); } .v2-pillar-title { font-family: var(--font-display); font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 700; color: #0A0E1A; letter-spacing: -0.02em; margin: 0; line-height: 1.2; } .v2-pillar-desc { color: #64748B; font-size: 0.9375rem; line-height: 1.7; margin: 0; }   .v2-mission-arc { border-top: 1px solid #F1F5F9; padding-top: 3rem; } .v2-arc-label-row { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #94A3B8; margin-bottom: 1.5rem; } .v2-arc-track { display: flex; align-items: center; position: relative; padding: 0.5rem 0 2.5rem; } .v2-arc-spine { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); height: 1px; background: linear-gradient(90deg, transparent 0%, #E2E8F0 5%, #E2E8F0 95%, transparent 100%); } .v2-arc-node { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; cursor: pointer; text-decoration: none; color: inherit; flex: 1; } .v2-arc-dot { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; border: 2px solid #fff; box-shadow: 0 0 0 2px #E2E8F0; transition: all 0.25s ease; margin-bottom: 1rem; } .v2-arc-node.is-milestone .v2-arc-dot { width: 14px; height: 14px; background: var(--primary); box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.2); } .v2-arc-node-label { font-size: 0.75rem; font-weight: 600; color: #CBD5E1; text-align: center; white-space: nowrap; transition: color 0.25s ease; } .v2-arc-node.is-milestone .v2-arc-node-label { color: var(--primary); } .v2-arc-node:hover .v2-arc-dot { background: var(--primary); transform: scale(1.4); box-shadow: 0 0 0 4px rgba(0, 153, 255, 0.2); } .v2-arc-node:hover .v2-arc-node-label { color: var(--primary-dark); }   .v2-invitation { background: #0A0E1A; color: #F0F6FC; padding: clamp(6rem, 14vw, 10rem) 0; position: relative; overflow: hidden; text-align: center; } .v2-invitation::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 90%, rgba(0, 153, 255, 0.09) 0%, transparent 55%), radial-gradient(ellipse at 50% 0%, rgba(0, 200, 150, 0.04) 0%, transparent 40%); pointer-events: none; } .v2-invitation-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; } .v2-invitation-heading { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.75rem); font-weight: 800; color: rgba(240, 246, 252, 0.90); letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 1.25rem; } .v2-invitation-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(240, 246, 252, 0.48); line-height: 1.7; margin-bottom: 2.5rem; } .v2-btn-invitation { display: inline-flex; align-items: center; gap: 0.65rem; padding: 1.1rem 2.25rem; background: var(--primary); color: #fff; border-radius: 12px; font-weight: 700; font-size: 1.0625rem; border: none; letter-spacing: -0.01em; cursor: pointer; text-decoration: none; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 24px rgba(0, 153, 255, 0.4); margin-bottom: 1.25rem; } .v2-btn-invitation:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 36px rgba(0, 153, 255, 0.58); background: #1AADFF; text-decoration: none; } .v2-btn-invitation svg { width: 16px; height: 16px; transition: transform 0.2s ease; } .v2-btn-invitation:hover svg { transform: translateX(3px); } .v2-no-account { font-size: 0.875rem; color: rgba(240, 246, 252, 0.25); margin: 0; letter-spacing: 0.01em; }   @media (max-width: 960px) { .v2-declaration-inner { grid-template-columns: 1fr; text-align: center; } .v2-declaration-sub { max-width: none; margin-left: auto; margin-right: auto; } .v2-declaration-visual { display: none; } .v2-engine-pillars::before, .v2-engine-pillars::after { display: none; } .v2-engine-pillars { grid-template-columns: 1fr; gap: 2.5rem; } .v2-pillar { padding-right: 0; border-bottom: 1px solid #F1F5F9; padding-bottom: 2rem; } .v2-pillar:last-child { border-bottom: none; padding-bottom: 0; } } @media (max-width: 768px) { .v2-declaration { min-height: 0; padding: 3.5rem 0 3rem; } .v2-showcase-track { flex-direction: column; overflow-x: visible; scroll-snap-type: none; cursor: default; } .v2-showcase-panel { flex: none; width: 100%; min-height: 55vh; } .v2-showcase-dots { display: none; } .v2-arc-node-label { font-size: 0.625rem; } }   [data-theme="dark"] { body { color: var(--text); background: var(--bg); } .site-nav-sticky { background: rgba(13, 17, 23, 0.96); border-color: var(--border); } h1, h2, h3, h4 { color: var(--text); } .v2-engine { background: #0D1117; } .v2-engine-heading, .v2-pillar-title { color: var(--text); } .v2-engine-sub, .v2-pillar-desc { color: var(--text-muted); } .v2-engine-pillars::before, .v2-engine-pillars::after { background: linear-gradient(180deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%); } .v2-pillar { border-right-color: var(--border); } .v2-mission-arc { border-top-color: var(--border); } .v2-arc-spine { background: linear-gradient(90deg, transparent 0%, var(--border) 5%, var(--border) 95%, transparent 100%); } .v2-arc-dot { background: var(--border); border-color: var(--bg); box-shadow: 0 0 0 2px var(--border); } .v2-arc-node-label { color: #4B5563; } .path-card, .component-card, .mission-index-card, .carousel-card, .why-card-premium, .guide-track-card { background: var(--surface); border-color: var(--border); } .audience-parents .audience-panel { background: linear-gradient(135deg, rgba(22, 40, 22, 0.8) 0%, var(--surface) 100%); border-color: #2D5A30; } .audience-teachers .audience-panel { background: linear-gradient(135deg, rgba(15, 28, 50, 0.8) 0%, var(--surface) 100%); border-color: #1E3A5F; } .newsletter-panel { background: linear-gradient(135deg, #0A2440 0%, #0A2A30 100%); } .search-overlay-panel { background: var(--surface); border: 1px solid var(--border); } .search-overlay-form input { background: var(--bg); border-color: var(--border); color: var(--text); } .top-nav { background: var(--surface); border-color: var(--border); } .top-nav a { color: var(--text-muted); } .top-nav a:hover, .top-nav a.active { color: var(--primary); background: var(--accent-soft); } .icon-btn { background: var(--surface); border-color: var(--border); color: var(--text-muted); } .icon-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--accent-soft); } .btn-secondary { background: var(--surface); border-color: var(--border); color: var(--text); } .btn-secondary:hover { border-color: var(--primary); color: var(--primary); background: var(--accent-soft); } .section-eyebrow { color: var(--secondary); } .site-footer { background: #080C12; } .v2-arc-node.is-milestone .v2-arc-dot { border-color: #0D1117; } } @media (prefers-reduced-motion: reduce) { .v2-hero-float-card { animation: none; } .v2-btn-hero, .v2-btn-invitation { transition: none; } .v2-arc-dot { transition: none; } }   .v3-journey { background: #fff; padding: clamp(4rem, 8vw, 7rem) 0; } .v3-journey-header { margin-bottom: 3rem; } .v3-journey-eyebrow { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary); margin-bottom: 0.75rem; } .v3-journey-heading { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; color: #0A0E1A; letter-spacing: -0.03em; line-height: 1.1; margin: 0; } .v3-journey-list { list-style: none; padding: 0; margin: 0; } .v3-journey-row { display: flex; align-items: center; gap: 2rem; padding: 1.75rem 0; border-top: 1px solid #F1F5F9; text-decoration: none; color: #0A0E1A; position: relative; transition: padding-left 0.22s ease, color 0.22s ease; } .v3-journey-row:last-child { border-bottom: 1px solid #F1F5F9; } .v3-journey-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--primary); opacity: 0; transition: opacity 0.22s ease; border-radius: 0 2px 2px 0; } .v3-journey-row:hover { padding-left: 1.25rem; color: #0A0E1A; } .v3-journey-row:hover::before { opacity: 1; } .v3-journey-num { font-family: var(--font-display); font-size: 0.75rem; font-weight: 800; color: #D1D9E6; letter-spacing: 0.06em; min-width: 2rem; flex-shrink: 0; transition: color 0.22s ease; } .v3-journey-row:hover .v3-journey-num { color: var(--primary); } .v3-journey-badge { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.25rem 0.65rem; border-radius: 999px; flex-shrink: 0; min-width: 6.5rem; text-align: center; } .v3-journey-badge-beginner { background: #E6FFF8; color: #007A5E; } .v3-journey-badge-intermediate { background: #E8F7FF; color: var(--primary-dark); } .v3-journey-badge-advanced { background: #F3E8FF; color: #6D28D9; } .v3-journey-body { flex: 1; min-width: 0; } .v3-journey-title { font-family: var(--font-display); font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 700; color: #0A0E1A; letter-spacing: -0.02em; margin: 0 0 0.35rem; transition: color 0.22s ease; } .v3-journey-row:hover .v3-journey-title { color: var(--primary); } .v3-journey-desc { color: #64748B; font-size: 0.9375rem; margin: 0; line-height: 1.55; } .v3-journey-meta { font-size: 0.8125rem; font-weight: 600; color: #94A3B8; flex-shrink: 0; text-align: right; } .v3-journey-arrow { color: #C8D6E5; flex-shrink: 0; transition: all 0.22s ease; display: flex; align-items: center; } .v3-journey-row:hover .v3-journey-arrow { color: var(--primary); transform: translateX(5px); }   .v3-roadmap { background: #F7FAFC; padding: clamp(5rem, 10vw, 8rem) 0; } .v3-roadmap-eyebrow { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 1rem; } .v3-roadmap-heading { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; color: #0A0E1A; letter-spacing: -0.03em; margin-bottom: 0.65rem; line-height: 1.1; } .v3-roadmap-sub { color: #475569; font-size: clamp(0.9375rem, 1.8vw, 1.1rem); max-width: 44ch; line-height: 1.7; margin-bottom: 3.5rem; } .v3-roadmap-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-bottom: 4rem; } .v3-roadmap-pillar { display: flex; flex-direction: column; gap: 0.6rem; } .v3-roadmap-pillar-num { font-family: var(--font-code); font-size: 0.8125rem; font-weight: 700; color: var(--secondary-dark); letter-spacing: 0.06em; } .v3-roadmap-pillar-title { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; color: #0A0E1A; letter-spacing: -0.02em; margin: 0; line-height: 1.2; } .v3-roadmap-pillar-desc { color: #64748B; font-size: 0.9375rem; line-height: 1.65; margin: 0; } .v3-roadmap-separator { height: 1px; background: #E2E8F0; margin-bottom: 2.5rem; } .v3-roadmap-arc-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; } .v3-roadmap-arc-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #475569; } .v3-roadmap-arc-cta { font-size: 0.875rem; font-weight: 600; color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; transition: gap 0.2s ease; } .v3-roadmap-arc-cta:hover { color: var(--primary-dark); gap: 0.65rem; } .v3-arc-track { display: flex; align-items: center; position: relative; padding: 0.5rem 0 2.5rem; overflow: hidden; } .v3-arc-spine { position: absolute; left: 0; right: 0; top: calc(0.5rem + 7px); height: 1px; background: linear-gradient(90deg, transparent 0%, #E2E8F0 5%, #E2E8F0 95%, transparent 100%); } .v3-arc-node { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; cursor: pointer; text-decoration: none; color: inherit; flex: 1; min-width: 0; transition: all 0.22s ease; } .v3-arc-dot { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; border: 2px solid #F7FAFC; box-shadow: 0 0 0 2px #E2E8F0; transition: all 0.22s ease; margin-bottom: 0.9rem; flex-shrink: 0; } .v3-arc-node.is-live .v3-arc-dot { width: 14px; height: 14px; background: var(--primary); box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.18); border-color: #F7FAFC; } .v3-arc-node-label { font-size: 0.6875rem; font-weight: 600; color: #475569; text-align: center; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; transition: color 0.22s ease; } .v3-arc-node.is-live .v3-arc-node-label { color: var(--primary); } .v3-arc-node:hover .v3-arc-dot { background: var(--primary); transform: scale(1.35); box-shadow: 0 0 0 4px rgba(0, 153, 255, 0.2); } .v3-arc-node:hover .v3-arc-node-label { color: var(--primary-dark); }   .v3-mission-feature { background: linear-gradient(145deg, #061E38 0%, #083456 45%, #055040 100%); color: #fff; padding: clamp(4.5rem, 9vw, 7rem) 0; position: relative; overflow: hidden; } .v3-mission-feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 30%, rgba(0, 200, 150, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 10% 80%, rgba(0, 153, 255, 0.1) 0%, transparent 45%); pointer-events: none; } .v3-mission-feature-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; position: relative; z-index: 1; } .v3-mission-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; } .v3-mission-pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.8rem; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.03em; } .v3-mission-pill-accent { background: rgba(0, 200, 150, 0.2); border-color: rgba(0, 200, 150, 0.35); color: #7FFFD4; } .v3-mission-feature-heading { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1rem; } .v3-mission-feature-desc { color: rgba(255, 255, 255, 0.65); font-size: clamp(0.9375rem, 1.8vw, 1.1rem); line-height: 1.7; margin-bottom: 1.75rem; max-width: 42ch; } .v3-mission-build-list { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 0.5rem; } .v3-mission-build-item { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.75); line-height: 1.5; } .v3-mission-build-item::before { content: ""; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--secondary); margin-top: 0.55rem; flex-shrink: 0; } .v3-btn-mission { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.6rem; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; border-radius: 10px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: all 0.22s ease; } .v3-btn-mission:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.4); color: #fff; transform: translateY(-1px); text-decoration: none; } .v3-mission-visual { display: flex; align-items: center; justify-content: center; } .v3-mission-visual-frame { width: clamp(180px, 28vw, 320px); height: clamp(180px, 28vw, 320px); position: relative; } .v3-mission-visual-frame svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 50px rgba(0, 200, 150, 0.2)); }   .v3-component-feature { background: #fff; padding: clamp(4.5rem, 9vw, 7rem) 0; border-top: 1px solid #F1F5F9; } .v3-component-feature-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; } .v3-component-image-panel { aspect-ratio: 1; max-width: 340px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #E8F7FF 0%, #E6FFF8 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 2rem; border: 1px solid #E2E8F0; } .v3-component-image-panel img { max-height: 200px; object-fit: contain; width: 100%; } .v3-component-content {} .v3-component-eyebrow { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary-dark); margin-bottom: 0.65rem; } .v3-component-name { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: #0A0E1A; letter-spacing: -0.03em; margin-bottom: 0.75rem; line-height: 1.15; } .v3-component-summary { color: #64748B; font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; max-width: 38ch; } .v3-spec-list { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 0; } .v3-spec-item { display: flex; align-items: baseline; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid #F1F5F9; font-size: 0.9375rem; } .v3-spec-item:first-child { border-top: 1px solid #F1F5F9; } .v3-spec-label { font-weight: 700; color: #0A0E1A; min-width: 9rem; flex-shrink: 0; } .v3-spec-value { color: #64748B; } .v3-btn-component { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.8rem 1.5rem; background: var(--accent-soft); color: var(--primary-dark); border-radius: 10px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; transition: all 0.22s ease; border: 1px solid rgba(0, 153, 255, 0.15); } .v3-btn-component:hover { background: linear-gradient(135deg, var(--primary), #33AAFF); color: #fff; border-color: transparent; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 153, 255, 0.3); text-decoration: none; }   .v3-project-feature { background: #0D1117; color: #E6EDF3; padding: clamp(4.5rem, 9vw, 7rem) 0; } .v3-project-feature-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; } .v3-project-visual { display: flex; align-items: center; justify-content: center; } .v3-project-visual-frame { width: clamp(200px, 28vw, 340px); height: clamp(200px, 28vw, 340px); display: flex; align-items: center; justify-content: center; position: relative; } .v3-project-visual-frame svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 50px rgba(0, 153, 255, 0.2)); } .v3-project-content {} .v3-project-eyebrow { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.65rem; } .v3-project-name { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: #E6EDF3; letter-spacing: -0.03em; margin-bottom: 0.75rem; line-height: 1.15; } .v3-project-desc { color: rgba(230, 237, 243, 0.6); font-size: 1rem; line-height: 1.7; margin-bottom: 1.75rem; max-width: 40ch; } .v3-project-levels { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; } .v3-project-level-chip { padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.08); } .v3-project-level-chip.is-beginner { background: rgba(0,200,150,0.12); color: #7FFFD4; border-color: rgba(0,200,150,0.2); } .v3-project-level-chip.is-intermediate { background: rgba(0,153,255,0.12); color: #60CDFF; border-color: rgba(0,153,255,0.2); } .v3-project-level-chip.is-advanced { background: rgba(168,85,247,0.12); color: #C4B5FD; border-color: rgba(168,85,247,0.2); } .v3-project-parts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; } .v3-project-part { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.75rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; font-size: 0.8125rem; color: rgba(230, 237, 243, 0.6); } .v3-btn-project { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.6rem; background: var(--primary); color: #fff; border-radius: 10px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; transition: all 0.22s ease; box-shadow: 0 4px 20px rgba(0, 153, 255, 0.35); } .v3-btn-project:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0, 153, 255, 0.5); background: #1AADFF; text-decoration: none; }   .v3-why { background: #fff; padding: clamp(4.5rem, 9vw, 7rem) 0; border-top: 1px solid #F1F5F9; } .v3-why-header { margin-bottom: 3rem; } .v3-why-eyebrow { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary); margin-bottom: 0.75rem; } .v3-why-heading { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; color: #0A0E1A; letter-spacing: -0.03em; line-height: 1.1; margin: 0; } .v3-why-list { list-style: none; padding: 0; margin: 0; } .v3-why-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; padding: 1.5rem 0; border-top: 1px solid #F1F5F9; align-items: baseline; } .v3-why-row:last-child { border-bottom: 1px solid #F1F5F9; } .v3-why-statement { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; color: #0A0E1A; letter-spacing: -0.01em; margin: 0; line-height: 1.3; } .v3-why-detail { color: #64748B; font-size: 0.9375rem; line-height: 1.65; margin: 0; }   .v3-progress { background: #0A0E1A; color: #F0F6FC; padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; overflow: hidden; } .v3-progress::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(0, 153, 255, 0.05) 0%, transparent 65%); pointer-events: none; } .v3-progress-inner { position: relative; z-index: 1; text-align: center; } .v3-progress-eyebrow { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(240, 246, 252, 0.35); margin-bottom: 3.5rem; } .v3-progress-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 3rem; } .v3-progress-stat { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; } .v3-progress-num { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; color: #F0F6FC; letter-spacing: -0.05em; line-height: 1; } .v3-progress-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(240, 246, 252, 0.3); } .v3-progress-divider { width: 40px; height: 1px; background: rgba(240, 246, 252, 0.08); margin: 0 auto 1.5rem; } .v3-progress-note { font-size: 0.875rem; color: rgba(240, 246, 252, 0.25); margin: 0; }   @media (max-width: 960px) { .v3-journey-meta { display: none; } .v3-roadmap-pillars { grid-template-columns: 1fr; gap: 2rem; } .v3-mission-feature-inner { grid-template-columns: 1fr; } .v3-mission-visual { display: none; } .v3-component-feature-inner { grid-template-columns: 1fr; } .v3-component-image-panel { max-width: 240px; margin: 0 auto; } .v3-project-feature-inner { grid-template-columns: 1fr; } .v3-project-visual { display: none; } .v3-why-row { grid-template-columns: 1fr; gap: 0.5rem; } .v3-progress-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 768px) { .v3-journey-num { display: none; } .v3-journey-row { gap: 1rem; padding: 1.5rem 0; } .v3-journey-badge { min-width: 0; } }   [data-theme="dark"] { .v3-journey { background: var(--bg); } .v3-journey-heading { color: var(--text); } .v3-journey-title { color: var(--text); } .v3-journey-row { color: var(--text); border-color: var(--border); } .v3-journey-row:last-child { border-color: var(--border); } .v3-journey-desc { color: var(--text-muted); } .v3-journey-num { color: #30363D; } .v3-journey-badge-beginner { background: rgba(0,200,150,0.1); color: #7FFFD4; } .v3-journey-badge-intermediate { background: rgba(0,153,255,0.1); color: #60CDFF; } .v3-journey-badge-advanced { background: rgba(168,85,247,0.1); color: #C4B5FD; } .v3-roadmap { background: #0D1117; } .v3-roadmap-heading { color: var(--text); } .v3-roadmap-sub { color: var(--text-muted); } .v3-roadmap-pillar-title { color: var(--text); } .v3-roadmap-pillar-desc { color: var(--text-muted); } .v3-roadmap-separator { background: var(--border); } .v3-arc-spine { background: linear-gradient(90deg, transparent 0%, var(--border) 5%, var(--border) 95%, transparent 100%); } .v3-arc-dot { background: var(--border); border-color: #0D1117; box-shadow: 0 0 0 2px var(--border); } .v3-arc-node.is-live .v3-arc-dot { border-color: #0D1117; } .v3-component-feature { background: var(--surface); border-color: var(--border); } .v3-component-name { color: var(--text); } .v3-component-summary { color: var(--text-muted); } .v3-component-image-panel { background: linear-gradient(135deg, rgba(0,153,255,0.08), rgba(0,200,150,0.06)); border-color: var(--border); } .v3-spec-item { border-color: var(--border); } .v3-spec-item:first-child { border-color: var(--border); } .v3-spec-label { color: var(--text); } .v3-spec-value { color: var(--text-muted); } .v3-why { background: var(--bg); border-color: var(--border); } .v3-why-heading { color: var(--text); } .v3-why-row { border-color: var(--border); } .v3-why-row:last-child { border-color: var(--border); } .v3-why-statement { color: var(--text); } .v3-why-detail { color: var(--text-muted); } } @media (prefers-reduced-motion: reduce) { .v3-journey-row, .v3-arc-dot, .v3-btn-mission, .v3-btn-component, .v3-btn-project { transition: none; } .v3-journey-row::before { transition: none; } .v3-journey-arrow { transition: none; } }   [data-theme="dark"] .theme-icon-sun { display: inline-flex; } [data-theme="dark"] .theme-icon-moon { display: inline-flex; } [data-theme="dark"] .btn-secondary { background: var(--surface); color: var(--btn-secondary-text); border-color: var(--border); } [data-theme="dark"] .btn-secondary:hover { background: var(--surface-hover); border-color: var(--brand-blue); color: #FFFFFF; } [data-theme="dark"] .hero-home .btn-secondary { background: var(--surface); color: var(--btn-secondary-text); border-color: var(--border); } [data-theme="dark"] .project-card-item, [data-theme="dark"] .modern-card, [data-theme="dark"] .post-card { background: var(--surface); border-color: var(--border); } [data-theme="dark"] .btn-accent { color: #0F172A; } [data-theme="dark"] .mission-eli12, [data-theme="dark"] .component-eli12, [data-theme="dark"] .project-eli12 { background: linear-gradient(135deg, rgba(255, 201, 77, 0.1) 0%, rgba(46, 230, 184, 0.08) 100%); border-color: rgba(255, 201, 77, 0.35); } [data-theme="dark"] .mission-safety, [data-theme="dark"] .project-safety { background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(252, 129, 129, 0.08) 100%); border-color: rgba(251, 191, 36, 0.35); } [data-theme="dark"] .mission-output, [data-theme="dark"] .component-output, [data-theme="dark"] .project-output, [data-theme="dark"] .mission-code-preview, [data-theme="dark"] .mission-build-panel { background: linear-gradient(135deg, rgba(61, 178, 255, 0.1) 0%, rgba(46, 230, 184, 0.08) 100%); border-color: rgba(61, 178, 255, 0.28); } [data-theme="dark"] .mission-challenge-box, [data-theme="dark"] .mission-challenge-item, [data-theme="dark"] .component-mistakes, [data-theme="dark"] .project-mistakes, [data-theme="dark"] .project-upgrades { background: linear-gradient(135deg, rgba(255, 201, 77, 0.08) 0%, rgba(61, 178, 255, 0.08) 100%); border-color: rgba(255, 201, 77, 0.3); } [data-theme="dark"] .mission-complete-panel, [data-theme="dark"] .project-complete-panel { background: linear-gradient(145deg, rgba(46, 230, 184, 0.12) 0%, rgba(61, 178, 255, 0.1) 100%); border-color: rgba(46, 230, 184, 0.35); } [data-theme="dark"] .mission-illustration-frame, [data-theme="dark"] .component-hero-img, [data-theme="dark"] .mission-component-icon, [data-theme="dark"] .project-component-icon { background: linear-gradient(160deg, rgba(61, 178, 255, 0.1) 0%, rgba(46, 230, 184, 0.08) 100%); border-color: var(--border); } [data-theme="dark"] .eli12-box, [data-theme="dark"] .promo-box { background: linear-gradient(135deg, rgba(255, 201, 77, 0.1) 0%, rgba(46, 230, 184, 0.08) 100%); border-color: rgba(255, 201, 77, 0.3); } [data-theme="dark"] .reference-guide-card, [data-theme="dark"] .reference-intro-card { background: var(--surface-raised); border-color: var(--border-strong); } [data-theme="dark"] .audience-parents .audience-panel { background: linear-gradient(135deg, rgba(52, 211, 153, 0.1) 0%, var(--surface) 100%); border-color: rgba(52, 211, 153, 0.4); } [data-theme="dark"] .audience-teachers .audience-panel { background: linear-gradient(135deg, rgba(61, 178, 255, 0.1) 0%, var(--surface) 100%); border-color: rgba(61, 178, 255, 0.4); } [data-theme="dark"] .hero-float-card, [data-theme="dark"] .quiz-question, [data-theme="dark"] .mission-step, [data-theme="dark"] .component-step, [data-theme="dark"] .project-step, [data-theme="dark"] .mission-thing-item, [data-theme="dark"] .mission-component-card, [data-theme="dark"] .project-component-card, [data-theme="dark"] .project-part-item, [data-theme="dark"] .component-fact-item, [data-theme="dark"] .component-pin-row, [data-theme="dark"] .component-trouble-item, [data-theme="dark"] .project-trouble-item { background: var(--surface); border-color: var(--border); } [data-theme="dark"] .t-iot, [data-theme="dark"] .t-home, [data-theme="dark"] .t-cam, [data-theme="dark"] .t-robot, [data-theme="dark"] .t-sensor, [data-theme="dark"] .t-ai, [data-theme="dark"] .t-security, [data-theme="dark"] .t-led, [data-theme="dark"] .t-agriculture, [data-theme="dark"] .t-default { background: var(--card-media-bg); } [data-theme="dark"] .cookie-consent { background: var(--surface-raised); border-top-color: var(--border-strong); box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35); } [data-theme="dark"] .search-result-item:hover { background: var(--accent-soft); border-color: var(--primary); } [data-theme="dark"] .wiring-table th { background: var(--accent-soft); color: var(--primary); } [data-theme="dark"] .accordion-header { background: var(--bg-subtle); } [data-theme="dark"] .difficulty-tab { background: var(--surface); border-color: var(--border); color: var(--text); } [data-theme="dark"] .badge-parent-safe, [data-theme="dark"] .badge-teacher-friendly, [data-theme="dark"] .badge-reference { background: rgba(255, 255, 255, 0.1); color: var(--text); border: 1px solid var(--border); } [data-theme="dark"] .path-card, [data-theme="dark"] .component-card, [data-theme="dark"] .guide-track-card, [data-theme="dark"] .guide-home-card, [data-theme="dark"] .guide-index-card, [data-theme="dark"] .resource-card, [data-theme="dark"] .mission-index-card, [data-theme="dark"] .next-mission-card { background: var(--surface); border-color: var(--border); } [data-theme="light"] .article-main, [data-theme="light"] .sidebar-sticky, [data-theme="light"] .sidebar-categories-inner, [data-theme="light"] .parent-panel, [data-theme="light"] .teacher-panel, [data-theme="light"] .audience-panel { background: #FFFFFF; color: var(--text); border-color: #CBD5E1; } [data-theme="light"] .audience-content h2, [data-theme="light"] .audience-content p, [data-theme="light"] .section-sub { color: var(--text); } [data-theme="light"] .audience-content h2 { color: var(--heading); } [data-theme="dark"] .hero-home h1 { color: #F8FAFC; } [data-theme="dark"] .hero-highlight { color: #2563EB; } [data-theme="dark"] .logo-text { color: #F8FAFC; }   .nav-spotlight { background: linear-gradient(90deg, rgba(0, 153, 255, 0.06), rgba(0, 200, 150, 0.05)); border-bottom: 1px solid var(--border); overflow: hidden; } .nav-spotlight-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .nav-spotlight-scroll::-webkit-scrollbar { display: none; } .nav-spotlight-inner { display: flex; flex-wrap: nowrap; align-items: center; gap: 0.75rem 1rem; padding: 0.65rem 0; font-size: 0.8125rem; width: min(calc(100% - 2rem), var(--wrap)); margin-inline: auto; } .nav-spotlight-label { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-size: 0.6875rem; flex-shrink: 0; } .nav-spotlight-link { display: inline-flex; align-items: center; color: var(--text); font-weight: 500; padding: 0.35rem 0.75rem; min-height: 44px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; flex-shrink: 0; transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); } .nav-spotlight-link:hover { background: var(--accent-soft); border-color: rgba(0, 153, 255, 0.25); color: var(--primary); } .nav-spotlight-badge { background: var(--accent-soft); border-color: rgba(0, 153, 255, 0.22); color: var(--primary); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.02em; box-shadow: var(--shadow-sm); } .v3-top-picks { padding: 4.5rem 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); } .v3-top-picks-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--secondary-dark); margin-bottom: 0.65rem; } .v3-top-picks-heading { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.65rem; } .v3-top-picks-sub { color: var(--text-muted); max-width: 42rem; margin-bottom: 2.25rem; line-height: 1.6; } .v3-top-picks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } .v3-top-picks-col { background: var(--bg); border: 1px solid var(--premium-card-border); border-radius: var(--premium-card-radius); padding: 1.35rem 1.25rem 1.15rem; box-shadow: var(--premium-card-shadow); min-width: 0; max-width: 100%; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition); } .v3-top-picks-col:hover { transform: translateY(-4px); box-shadow: var(--premium-card-hover-shadow); border-color: rgba(0, 153, 255, 0.2); } .v3-top-picks-col-title { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 1rem; padding-bottom: 0.65rem; border-bottom: 1px solid var(--border); } .v3-pick-list { display: flex; flex-direction: column; gap: 0.15rem; } .v3-pick-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; min-width: 0; padding: 0.75rem 0.5rem; margin: 0 -0.5rem; border-radius: 10px; color: var(--text); transition: background var(--transition), transform var(--transition), color var(--transition); } .v3-pick-art { flex: 0 0 76px; width: 76px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid var(--premium-card-border); background: var(--card-media-bg); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12); } .v3-pick-art img { width: 100%; height: 100%; display: block; object-fit: cover; } .v3-pick-row:hover { background: var(--accent-soft); color: var(--text); transform: translateX(2px); } .v3-pick-row-main { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; } .v3-pick-row-main strong { font-size: 0.9875rem; line-height: 1.35; } .v3-pick-row-desc { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.45; } .v3-pick-row-meta { flex-shrink: 0; font-size: 0.75rem; font-weight: 600; color: var(--secondary-dark); display: inline-flex; align-items: center; gap: 0.25rem; white-space: nowrap; margin-top: 0.15rem; } .v3-pick-badge { display: inline-flex; align-self: flex-start; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.15rem 0.45rem; border-radius: 999px; background: var(--accent-soft); color: var(--primary); margin-bottom: 0.15rem; } .v3-top-picks-more { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); } .v3-top-picks-more:hover { color: var(--secondary); } @media (max-width: 960px) { .v3-top-picks-grid { grid-template-columns: 1fr; } .nav-spotlight-inner { padding: 0.65rem 0; } } [data-theme="dark"] { .nav-spotlight { background: linear-gradient(90deg, rgba(0, 153, 255, 0.08), rgba(0, 200, 150, 0.06)); } .nav-spotlight-link:hover { background: rgba(0, 153, 255, 0.12); border-color: rgba(0, 153, 255, 0.3); } .v3-top-picks { background: var(--bg); } .v3-top-picks-col { background: var(--surface); } .card-media--placeholder { background: linear-gradient(145deg, rgba(0, 153, 255, 0.12), rgba(0, 200, 150, 0.08)); } .card-media--has-image { background: #161B22; } .search-result-item:hover { background: rgba(0, 153, 255, 0.1); } }   .top-nav a { padding: 0.6rem 0.78rem; border-radius: 10px; font-size: 0.9375rem; } .guide-track-card, .guide-home-card, .guide-index-card, .carousel-card, .why-card-premium, .related-card, .v3-top-picks-col, .project-component-card, .project-related-card { border-color: var(--premium-card-border); border-radius: var(--premium-card-radius); box-shadow: var(--premium-card-shadow); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition); } .guide-track-card:hover, .guide-home-card:hover, .guide-index-card:hover, .carousel-card:hover, .why-card-premium:hover, .related-card:hover, .v3-top-picks-col:hover, .project-component-card:hover, .project-related-card:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.36); box-shadow: var(--premium-card-hover-shadow); } .v2-btn-hero, .v2-btn-invitation, .v3-btn-mission, .v3-top-picks-more, .v3-roadmap-arc-cta { transition-duration: 0.23s; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); } .v2-btn-invitation:hover, .v3-btn-mission:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(0, 153, 255, 0.28), 0 8px 24px rgba(0, 0, 0, 0.24); } [data-theme="dark"] body { background: radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.12), transparent 28rem), radial-gradient(circle at 88% 16%, rgba(0, 200, 150, 0.08), transparent 26rem), var(--bg); } [data-theme="dark"] .site-nav-sticky { background: linear-gradient(180deg, rgba(8, 13, 24, 0.9), rgba(8, 13, 24, 0.72)), rgba(8, 13, 24, 0.88); border-bottom-color: rgba(147, 197, 253, 0.14); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset; } [data-theme="dark"] .icon-btn { background: rgba(17, 24, 39, 0.74); color: #CBD5E1; border-color: rgba(148, 163, 184, 0.22); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.03); } [data-theme="dark"] .icon-btn:hover { background: rgba(37, 99, 235, 0.16); color: #93C5FD; border-color: rgba(96, 165, 250, 0.42); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36), 0 0 24px rgba(37, 99, 235, 0.18); } [data-theme="dark"] .v3-top-picks-col, [data-theme="dark"] .project-card-item, [data-theme="dark"] .modern-card, [data-theme="dark"] .post-card, [data-theme="dark"] .guide-track-card, [data-theme="dark"] .guide-home-card, [data-theme="dark"] .guide-index-card, [data-theme="dark"] .carousel-card, [data-theme="dark"] .why-card-premium, [data-theme="dark"] .related-card { background: linear-gradient(180deg, rgba(31, 41, 55, 0.96), rgba(17, 24, 39, 0.96)); } [data-theme="dark"] .v3-roadmap { background: radial-gradient(circle at 80% 8%, rgba(37, 99, 235, 0.1), transparent 24rem), #0B1220; } [data-theme="dark"] .v3-journey, [data-theme="dark"] .v3-why, [data-theme="dark"] .v3-top-picks { background: #0F172A; } [data-theme="dark"] .v2-declaration { background: radial-gradient(circle at 18% 28%, rgba(37, 99, 235, 0.28) 0%, rgba(37, 99, 235, 0.09) 24%, transparent 45%), radial-gradient(circle at 78% 36%, rgba(0, 200, 150, 0.18) 0%, rgba(0, 200, 150, 0.06) 28%, transparent 52%), linear-gradient(145deg, #050B14 0%, #0A0E1A 45%, #07131F 100%); } [data-theme="dark"] .top-nav a:hover, [data-theme="dark"] .top-nav a.active { background: linear-gradient(180deg, rgba(37, 99, 235, 0.2), rgba(0, 200, 150, 0.08)); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05); } @media (max-width: 1180px) { .top-nav { gap: 0.12rem; } .top-nav a { padding-inline: 0.55rem; font-size: 0.875rem; } } @media (max-width: 768px) { :root, [data-theme="light"], [data-theme="dark"] { --header-h: 78px; } .site-logo-img { height: 48px; max-width: min(170px, 46vw); } .header-inner { flex-wrap: nowrap; gap: 0.65rem; } .header-actions { gap: 0.35rem; margin-left: 0; } .icon-btn { width: 44px; height: 44px; flex-basis: 44px; } .header-actions a.icon-btn { display: none; } .nav-toggle { min-width: 44px; min-height: 44px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 12px; } .top-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; } .v2-declaration { min-height: auto; padding: clamp(3rem, 12vw, 5rem) 0; } .v2-declaration-inner { gap: 3rem; } .v2-hero-visual-frame { max-width: min(340px, 86vw); } .v2-hero-float-card { padding: 0.72rem 0.85rem; font-size: 0.75rem; } .v2-hero-float-card-a { right: 0; } .v2-hero-float-card-b { left: 0; } .v2-hero-float-card-c { right: 5%; } .v2-trust-strip-inner { justify-content: flex-start; padding-inline: 1rem; } .v2-trust-item { min-height: 40px; } } @media (prefers-reduced-motion: reduce) { .v2-hero-board-svg, .v2-hero-float-card { animation: none; } }   :root, [data-theme="light"] { --system-button-radius: 12px; --system-button-shadow: 0 10px 24px rgba(37, 99, 235, 0.14), 0 1px 2px rgba(15, 23, 42, 0.06); --system-button-hover-shadow: 0 16px 34px rgba(37, 99, 235, 0.2), 0 8px 18px rgba(15, 23, 42, 0.08); --system-focus: 0 0 0 3px rgba(37, 99, 235, 0.22); } [data-theme="dark"] { --system-button-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 99, 235, 0.08); --system-button-hover-shadow: 0 18px 40px rgba(0, 0, 0, 0.42), 0 0 26px rgba(37, 99, 235, 0.18); --system-focus: 0 0 0 3px rgba(96, 165, 250, 0.28); } a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 3px; box-shadow: var(--system-focus); } .btn, .btn-primary, .btn-secondary, .btn-accent, .btn-card, .btn-copy, .component-download-btn, .v2-btn-hero, .v2-btn-invitation, .v3-btn-mission { min-height: 42px; border-radius: var(--system-button-radius); font-weight: 700; letter-spacing: 0; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition); } .btn-primary, .btn-accent, .v2-btn-hero, .v2-btn-invitation { box-shadow: var(--system-button-shadow); } .btn-primary:hover, .btn-accent:hover, .v2-btn-hero:hover, .v2-btn-invitation:hover, .v3-btn-mission:hover, .component-download-btn:hover, .btn-copy:hover { transform: translateY(-2px); box-shadow: var(--system-button-hover-shadow); } .btn-secondary, .component-download-btn, .btn-copy { border: 1px solid var(--premium-card-border); background: var(--surface); color: var(--primary); } .btn-card { align-self: flex-start; min-height: 38px; padding: 0.45rem 0.7rem; border: 1px solid transparent; border-radius: 10px; color: var(--primary); } .btn-card:hover { background: var(--accent-soft); border-color: rgba(37, 99, 235, 0.22); color: var(--primary-dark); transform: translateY(-1px); } .path-card, .component-card, .mission-index-card, .component-related-card, .mission-card, .next-mission-card, .mission-component-card, .mission-thing-item, .project-part-item, .component-fact-item, .component-pin-row, .component-trouble-item, .project-trouble-item, .quiz-question, .reference-guide-card, .reference-intro-card, .project-component-card, .project-related-card, .related-card, .guide-index-card, .guide-track-card, .guide-home-card, .carousel-card, .project-card-item, .modern-card, .post-card { border-color: var(--premium-card-border); border-radius: var(--premium-card-radius); box-shadow: var(--premium-card-shadow); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition); } .path-card:hover, .component-card:hover, .mission-index-card:hover, .component-related-card:hover, .next-mission-card:hover, .mission-component-card:hover, .mission-thing-item:hover, .project-part-item:hover, .component-fact-item:hover, .component-pin-row:hover, .component-trouble-item:hover, .project-trouble-item:hover, .reference-guide-card:hover, .reference-intro-card:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.34); box-shadow: var(--premium-card-hover-shadow); } .component-card-img, .card-media, .post-thumb, .card-thumb { background: var(--card-media-bg); } .card-body, .component-card-body { padding: 1.35rem; } .card-body h3, .component-card-body h3, .component-related-card h3, .project-related-card h3 { color: var(--heading); font-weight: 700; line-height: 1.28; } .badge, .v3-pick-badge, .v3-journey-badge, .guide-track-badge, .mission-index-badge { border: 1px solid rgba(148, 163, 184, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); line-height: 1.1; } .badge-cat, .badge-mission, .v3-pick-badge { background: var(--accent-soft); color: var(--primary); } .badge-beginner { background: var(--badge-beginner-bg); color: var(--badge-beginner-fg); } .badge-intermediate { background: var(--badge-intermediate-bg); color: var(--badge-intermediate-fg); } .badge-advanced { background: var(--badge-advanced-bg); color: var(--badge-advanced-fg); } .badge-time { background: var(--badge-time-bg); color: var(--badge-time-fg); } input, select, textarea, .search-overlay-panel { border-color: var(--premium-card-border); border-radius: 12px; } input, select, textarea { background: var(--input-bg); color: var(--text); transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); } .filters-bar input, .filters-bar select { min-height: 46px; border-radius: 12px; } .search-overlay-panel { box-shadow: var(--premium-card-hover-shadow); } .wiring-table-wrap, .pin-table-wrap { border: 1px solid var(--premium-card-border); border-radius: var(--premium-card-radius); box-shadow: var(--premium-card-shadow); } .wiring-table, .pin-table { border-collapse: separate; border-spacing: 0; overflow: hidden; } .wiring-table th, .wiring-table td, .pin-table th, .pin-table td { border-width: 0 0 1px 0; border-color: var(--border); } .wiring-table th, .pin-table th { background: linear-gradient(180deg, var(--accent-soft), rgba(37, 99, 235, 0.06)); } .site-footer { background: radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.18), transparent 26rem), linear-gradient(180deg, #0F172A, #070B12); border-top: 1px solid rgba(148, 163, 184, 0.18); } .footer-social a { border: 1px solid rgba(148, 163, 184, 0.2); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition); } .footer-social a:hover { transform: translateY(-2px); border-color: rgba(96, 165, 250, 0.45); } [data-theme="dark"] .component-card, [data-theme="dark"] .path-card, [data-theme="dark"] .mission-index-card, [data-theme="dark"] .component-related-card, [data-theme="dark"] .reference-guide-card, [data-theme="dark"] .reference-intro-card, [data-theme="dark"] .mission-card, [data-theme="dark"] .next-mission-card, [data-theme="dark"] .mission-component-card, [data-theme="dark"] .mission-thing-item, [data-theme="dark"] .project-part-item, [data-theme="dark"] .component-fact-item, [data-theme="dark"] .component-pin-row, [data-theme="dark"] .component-trouble-item, [data-theme="dark"] .project-trouble-item, [data-theme="dark"] .quiz-question { background: linear-gradient(180deg, rgba(31, 41, 55, 0.96), rgba(17, 24, 39, 0.96)); } @media (max-width: 1100px) and (min-width: 769px) { .site-logo-img { height: 48px; max-width: 170px; } .header-inner { gap: 0.7rem; } .top-nav { gap: 0.04rem; } .top-nav a { padding: 0.52rem 0.42rem; font-size: 0.82rem; } .header-actions { gap: 0.28rem; } .icon-btn { width: 44px; height: 44px; flex-basis: 44px; } } @media (max-width: 768px) { .header-actions a.icon-btn { display: none; } }   .home-page .v2-declaration, .home-page .v2-proof, .home-page .v3-journey, .home-page .v3-roadmap, .home-page .v3-top-picks, .home-page .v3-mission-feature, .home-page .v3-component-feature, .home-page .v3-project-feature, .home-page .v3-why, .home-page .v3-progress, .home-page .v2-invitation { position: relative; overflow: hidden; } .home-page .v2-declaration { min-height: clamp(620px, calc(100vh - var(--header-h)), 820px); padding: clamp(3.5rem, 7vw, 5.25rem) 0; } .home-page .v2-declaration::after { background-image: linear-gradient(90deg, rgba(96, 165, 250, 0.055) 1px, transparent 1px), linear-gradient(0deg, rgba(45, 212, 191, 0.04) 1px, transparent 1px), radial-gradient(circle at 72% 30%, rgba(96, 165, 250, 0.16) 0 1px, transparent 2px), radial-gradient(circle at 28% 66%, rgba(45, 212, 191, 0.14) 0 1px, transparent 2px); background-size: 86px 86px, 86px 86px, 128px 128px, 148px 148px; } .home-page .v2-hero-visual-frame::before { content: ""; position: absolute; inset: 5% 0 8%; border-radius: 999px; background: radial-gradient(circle, rgba(96, 165, 250, 0.22), transparent 62%), radial-gradient(circle at 70% 35%, rgba(45, 212, 191, 0.16), transparent 52%); filter: blur(12px); opacity: 0.82; transform: translateZ(0); } .home-page .v2-hero-board-svg, .home-page .v2-hero-float-stack { position: relative; z-index: 1; } .home-hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-top:1.35rem} .home-btn-secondary{display:inline-flex;align-items:center;justify-content:center;padding:.9rem 1.2rem;border:1px solid rgba(240,246,252,.28);border-radius:14px;color:#f0f6fc;text-decoration:none;font-weight:700;background:rgba(255,255,255,.06)} .home-learning-finder,.home-start-here,.home-paths,.home-experiment,.home-adults,.home-discovery{padding:56px 0} .home-learning-finder,.home-paths,.home-adults{background:#f8fafc} .home-section-eyebrow{margin:0 0 .45rem;color:#2563eb;text-transform:uppercase;letter-spacing:.08em;font-weight:800;font-size:.78rem} .home-learning-finder h2,.home-start-here h2,.home-paths h2,.home-experiment h2,.home-adults h2,.home-discovery h2{margin:0 0 1.2rem;font-size:clamp(1.7rem,3vw,2.45rem);letter-spacing:0} .home-choice-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:1rem;margin:1rem 0 1.25rem} .home-choice-grid>div,.home-learning-card,.home-path-card,.home-split-grid article,.home-experiment-panel{border:1px solid var(--line);border-radius:14px;background:#fff;padding:1rem;box-shadow:0 10px 28px rgba(15,23,42,.06)} .home-choice-grid h3,.home-path-card h3,.home-split-grid h3,.home-experiment h3{margin:.1rem 0 .65rem;font-size:1.05rem} .home-choice-row{display:flex;flex-wrap:wrap;gap:.5rem} .home-choice-btn{border:1px solid var(--line);background:#fff;border-radius:999px;padding:.58rem .82rem;font-weight:700;color:#334155;cursor:pointer} .home-choice-btn.is-active,.home-choice-btn:focus-visible{background:#0f172a;color:#fff;border-color:#0f172a;outline:2px solid rgba(37,99,235,.28);outline-offset:2px} .home-recommendation-grid,.home-path-grid,.home-split-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem} .home-learning-card{display:flex;min-height:230px;flex-direction:column;color:#0f172a;text-decoration:none} .home-card-role{margin:0 0 .45rem;color:#2563eb;text-transform:uppercase;letter-spacing:.06em;font-size:.75rem;font-weight:800} .home-learning-card h3{margin:0 0 .45rem;font-size:1.12rem} .home-learning-card p{color:#475569;margin:.25rem 0 .8rem} .home-card-meta,.home-skill-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:auto} .home-mini-meta,.home-skill-tags span{display:inline-flex;border-radius:999px;background:#eef6ff;color:#164e96;padding:.28rem .52rem;font-size:.75rem;font-weight:700} .home-skill-tags span{background:#ecfdf5;color:#047857} .home-card-link,.home-path-card a,.home-split-grid a,.home-discovery-links a{display:inline-flex;margin-top:.8rem;color:#075985;font-weight:800;text-decoration:none} .home-path-grid{grid-template-columns:repeat(5,minmax(0,1fr))} .home-path-card{display:flex;flex-direction:column;gap:.35rem} .home-path-card p{margin:.1rem 0;color:#475569;font-size:.92rem} .home-experiment-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:1.2rem;align-items:start} .home-experiment ul,.home-experiment ol,.home-split-grid ul{padding-left:1.2rem;color:#334155} .home-split-grid{grid-template-columns:repeat(2,minmax(0,1fr))} .home-discovery-links{display:flex;flex-wrap:wrap;gap:.7rem} .home-discovery-links a{border:1px solid var(--line);border-radius:999px;padding:.68rem .95rem;background:#fff} .home-card-reason{font-weight:700;color:#0f172a} .home-noscript{margin-top:1rem} .home-fallback-combo{border:1px solid var(--line);border-radius:10px;background:#fff;margin:.7rem 0;padding:.8rem} .home-fallback-combo summary{cursor:pointer;font-weight:800;color:#0f172a} .home-path-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))} .project-education-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;list-style:none;padding:0;margin:0} .project-education-card{border:1px solid var(--line);border-radius:12px;padding:1rem;background:#fff} .project-education-card strong{display:block;margin-bottom:.35rem;color:#0f172a} .project-education-card span,.project-education-card li{color:#475569} @media(max-width:980px){.home-choice-grid,.home-experiment-inner,.home-recommendation-grid,.home-path-grid,.home-split-grid,.project-education-grid{grid-template-columns:1fr 1fr}.home-path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}} @media(max-width:640px){.home-choice-grid,.home-recommendation-grid,.home-path-grid,.home-split-grid,.home-experiment-inner,.project-education-grid{grid-template-columns:1fr}.home-learning-finder,.home-start-here,.home-paths,.home-experiment,.home-adults,.home-discovery{padding:38px 0}.home-hero-actions{align-items:stretch}.home-hero-actions a{width:100%}} @media (min-width: 901px) { .home-page .v2-hero-float-card-a { top: 36%; right: -20%; } .home-page .v2-hero-float-card-b { bottom: 20%; left: -11%; } .home-page .v2-hero-float-card-c { right: -8%; bottom: -12%; } } .home-page .v2-btn-hero, .home-page .v2-btn-invitation { border: 1px solid rgba(255, 255, 255, 0.16); } .home-page .v3-journey { background: radial-gradient(circle at 8% 12%, rgba(37, 99, 235, 0.055), transparent 23rem), #FFFFFF; padding: clamp(3rem, 5.8vw, 5rem) 0; } .home-page .v3-journey-header, .home-page .v3-why-header { margin-bottom: clamp(1.8rem, 3.5vw, 2.5rem); } .home-page .v3-journey-row { margin-inline: -0.85rem; padding: 1.25rem 0.85rem; border-color: rgba(148, 163, 184, 0.22); border-radius: 14px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition), padding-left var(--transition); } .home-page .v3-journey-row:last-child { border-bottom-color: rgba(148, 163, 184, 0.22); } .home-page .v3-journey-row:hover { padding-left: 1.15rem; background: rgba(239, 246, 255, 0.68); border-color: rgba(37, 99, 235, 0.2); box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06); transform: translateY(-2px); } .home-page .v3-roadmap { background: radial-gradient(circle at 78% 4%, rgba(37, 99, 235, 0.08), transparent 25rem), radial-gradient(circle at 12% 88%, rgba(0, 200, 150, 0.055), transparent 24rem), #F6F8FB; padding: clamp(3.5rem, 7vw, 5.75rem) 0; } .home-page .v3-roadmap-sub { margin-bottom: clamp(2rem, 4vw, 2.8rem); } .home-page .v3-roadmap-pillars { gap: clamp(1rem, 2.8vw, 2rem); margin-bottom: clamp(2.5rem, 5vw, 3.25rem); } .home-page .v3-roadmap-pillar { padding: 1.15rem 1.2rem; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: var(--premium-card-radius); background: rgba(255, 255, 255, 0.72); box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); } .home-page .v3-roadmap-pillar:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.26); box-shadow: var(--premium-card-hover-shadow); } .home-page .v3-arc-dot { transition: transform var(--transition), box-shadow var(--transition), background var(--transition); } .home-page .v3-arc-node.is-live .v3-arc-dot { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), 0 0 24px rgba(37, 99, 235, 0.18); } .home-page .v3-top-picks { padding: clamp(3rem, 6vw, 4.75rem) 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.96)), radial-gradient(circle at 88% 18%, rgba(37, 99, 235, 0.07), transparent 22rem); border-color: rgba(148, 163, 184, 0.22); } .home-page .v3-top-picks-sub { margin-bottom: clamp(1.55rem, 3vw, 2rem); } .home-page .v3-top-picks-grid { gap: clamp(1rem, 2.4vw, 1.5rem); } .home-page .v3-top-picks-col { position: relative; isolation: isolate; padding: 1.15rem; background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)); } .home-page .v3-top-picks-col::before { content: ""; display: block; height: 74px; margin: -1.15rem -1.15rem 1rem; border-radius: var(--premium-card-radius) var(--premium-card-radius) 0 0; border-bottom: 1px solid rgba(148, 163, 184, 0.2); background: radial-gradient(circle at 18% 40%, rgba(37, 99, 235, 0.18), transparent 30%), radial-gradient(circle at 72% 34%, rgba(0, 200, 150, 0.12), transparent 34%), linear-gradient(135deg, rgba(239, 246, 255, 0.9), rgba(248, 250, 252, 0.9)); } .home-page .v3-top-picks-col::after { content: ""; position: absolute; top: 21px; right: 22px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(37, 99, 235, 0.2); background: linear-gradient(90deg, transparent 48%, rgba(37, 99, 235, 0.22) 49% 51%, transparent 52%), linear-gradient(0deg, transparent 48%, rgba(0, 200, 150, 0.18) 49% 51%, transparent 52%), rgba(255, 255, 255, 0.62); background-size: 14px 14px; opacity: 0.78; } .home-page .v3-top-picks-col-title { margin-top: -3.9rem; min-height: 2rem; color: var(--heading); border-bottom-color: rgba(148, 163, 184, 0.24); } .home-page .v3-pick-row { border: 1px solid transparent; border-radius: 12px; } .home-page .v3-pick-row:hover { border-color: rgba(37, 99, 235, 0.18); background: rgba(239, 246, 255, 0.78); transform: translateX(3px); } .home-page .v3-pick-row-main strong { color: var(--heading); font-weight: 750; } .home-page .v3-pick-row-meta { padding: 0.2rem 0.45rem; border-radius: 999px; background: rgba(37, 99, 235, 0.08); } .home-page .v3-why { background: radial-gradient(circle at 10% 0%, rgba(0, 200, 150, 0.055), transparent 20rem), #FFFFFF; padding: clamp(3.3rem, 6.6vw, 5.25rem) 0; } .home-page .v3-why-row { margin-inline: -0.75rem; padding: 1.15rem 0.75rem; border-color: rgba(148, 163, 184, 0.22); border-radius: 14px; transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition); } .home-page .v3-why-row:hover { transform: translateY(-2px); background: rgba(248, 250, 252, 0.86); border-color: rgba(37, 99, 235, 0.16); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055); } .home-page .v3-progress { padding: clamp(3.4rem, 6.8vw, 5rem) 0; background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.15), transparent 35rem), radial-gradient(circle at 18% 70%, rgba(0, 200, 150, 0.08), transparent 24rem), #080D18; } .home-page .v3-progress-eyebrow { margin-bottom: clamp(2rem, 4vw, 2.7rem); color: rgba(240, 246, 252, 0.52); } .home-page .v3-progress-grid { gap: 0; margin-bottom: clamp(2rem, 4vw, 2.6rem); border: 1px solid rgba(148, 163, 184, 0.16); border-radius: var(--premium-card-radius); background: rgba(15, 23, 42, 0.48); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); } .home-page .v3-progress-stat { padding: clamp(1.35rem, 3vw, 2rem) 1rem; position: relative; } .home-page .v3-progress-stat:not(:last-child)::after { content: ""; position: absolute; top: 24%; right: 0; bottom: 24%; width: 1px; background: linear-gradient(transparent, rgba(148, 163, 184, 0.22), transparent); } .home-page .v3-progress-num { font-size: clamp(2.65rem, 5.2vw, 4.65rem); text-shadow: 0 0 34px rgba(37, 99, 235, 0.18); } .home-page .v3-progress-label, .home-page .v3-progress-note { color: rgba(226, 232, 240, 0.58); } .home-page .v2-invitation { padding: clamp(4rem, 8vw, 6.75rem) 0; background: radial-gradient(circle at 50% 8%, rgba(37, 99, 235, 0.16), transparent 31rem), linear-gradient(180deg, #0A0E1A, #070B13); } .home-page .v2-invitation-inner { max-width: 680px; } .home-page .v2-invitation-sub { color: rgba(226, 232, 240, 0.68); } .home-page .v2-no-account { color: rgba(226, 232, 240, 0.48); } [data-theme="dark"] .home-page .v3-journey, [data-theme="dark"] .home-page .v3-why, [data-theme="dark"] .home-page .v3-top-picks { background: radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.09), transparent 26rem), #0F172A; } [data-theme="dark"] .home-page .v3-roadmap { background: radial-gradient(circle at 80% 8%, rgba(37, 99, 235, 0.11), transparent 24rem), radial-gradient(circle at 8% 88%, rgba(0, 200, 150, 0.07), transparent 24rem), #0B1220; } [data-theme="dark"] .home-page .v3-roadmap-pillar, [data-theme="dark"] .home-page .v3-top-picks-col { background: linear-gradient(180deg, rgba(31, 41, 55, 0.94), rgba(17, 24, 39, 0.94)); } [data-theme="dark"] .home-page .v3-journey-row:hover, [data-theme="dark"] .home-page .v3-why-row:hover, [data-theme="dark"] .home-page .v3-pick-row:hover { background: rgba(37, 99, 235, 0.1); } @media (max-width: 960px) { .home-page .v3-journey, .home-page .v3-roadmap, .home-page .v3-top-picks, .home-page .v3-why, .home-page .v3-progress, .home-page .v2-invitation { padding-top: clamp(2.75rem, 9vw, 4rem); padding-bottom: clamp(2.75rem, 9vw, 4rem); } .home-page .v3-roadmap-pillars { gap: 1rem; } .home-page .v3-progress-stat:nth-child(2)::after { display: none; } } @media (max-width: 768px) { .home-page .v2-declaration { padding: 3rem 0 2.7rem; } .home-page .v3-journey-row, .home-page .v3-why-row { margin-inline: 0; padding-inline: 0; border-radius: 0; } .home-page .v3-top-picks-col::before { height: 62px; } .home-page .v3-top-picks-col-title { margin-top: -3.35rem; } .home-page .v3-arc-node-label { display: none; } .home-page .v3-progress-grid { grid-template-columns: repeat(2, 1fr); } .home-page .v3-progress-stat::after { display: none; } } @media (prefers-reduced-motion: reduce) { .home-page .v3-roadmap-pillar, .home-page .v3-top-picks-col, .home-page .v3-pick-row, .home-page .v3-journey-row, .home-page .v3-why-row, .home-page .v3-arc-dot { transition: none; } }   .components-index-page, .component-guide-page, .parents-page, .teachers-page, .about-page, .tools-page { background: radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.08), transparent 26rem), radial-gradient(circle at 90% 12%, rgba(0, 184, 148, 0.07), transparent 24rem), var(--bg); } .premium-page-hero, .components-hero-shell { position: relative; overflow: hidden; margin: -0.25rem 0 2rem; padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 3vw, 2rem); border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 28px; background: radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.16), transparent 30rem), radial-gradient(circle at 85% 28%, rgba(0, 184, 148, 0.12), transparent 25rem), linear-gradient(145deg, rgba(255,255,255,0.94), rgba(248,250,252,0.86)); box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09); } .premium-page-hero::before, .components-hero-shell::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 72% 34%, #000, transparent 68%); opacity: 0.34; pointer-events: none; } .premium-page-hero, .components-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.7fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; } .components-hero-grid { max-width: var(--wrap); margin: 0 auto; } .premium-page-copy, .components-hero-copy { position: relative; z-index: 1; } .premium-page-copy h1, .components-hero-copy h1 { max-width: 760px; font-size: clamp(2.35rem, 5.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 1rem; } .premium-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; } .premium-page-visual, .components-hero-art { position: relative; z-index: 1; min-height: 300px; border-radius: 26px; background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.82)), radial-gradient(circle at 50% 40%, rgba(96, 165, 250, 0.26), transparent 60%); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 80px rgba(15, 23, 42, 0.26), inset 0 1px 0 rgba(255,255,255,0.08); overflow: hidden; } .premium-page-visual span, .components-hero-art .chip { position: absolute; display: block; border-radius: 18px; background: linear-gradient(135deg, #2563EB, #00B894); box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28); } .premium-page-visual span:nth-child(1) { width: 150px; height: 94px; left: 18%; top: 22%; } .premium-page-visual span:nth-child(2) { width: 90px; height: 62px; right: 16%; top: 18%; opacity: 0.78; } .premium-page-visual span:nth-child(3) { width: 120px; height: 76px; right: 24%; bottom: 18%; opacity: 0.68; } .components-hero-stats, .premium-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.5rem; } .premium-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1rem 0 2rem; } .components-hero-stats span, .premium-stats div { padding: 1rem; border-radius: 16px; background: rgba(255,255,255,0.78); border: 1px solid rgba(148, 163, 184, 0.24); box-shadow: var(--premium-card-shadow); } .components-hero-stats strong, .premium-stats strong { display: block; color: var(--heading); font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1; } .components-hero-stats small, .premium-stats span { display: block; margin-top: 0.35rem; color: var(--text-muted); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; } .components-hero-art { color: #93C5FD; display: grid; place-items: center; } .components-hero-art svg { width: min(88%, 360px); height: auto; filter: drop-shadow(0 28px 40px rgba(0,0,0,0.22)); } .chip-a { width: 92px; height: 60px; left: 10%; top: 18%; } .chip-b { width: 70px; height: 48px; right: 12%; top: 26%; opacity: 0.72; } .chip-c { width: 104px; height: 68px; right: 22%; bottom: 12%; opacity: 0.62; } .components-explorer { padding-top: 1rem; } .components-featured, .premium-band, .premium-faq { margin: 2rem 0; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 24px; border: 1px solid var(--premium-card-border); background: rgba(255,255,255,0.78); box-shadow: var(--premium-card-shadow); } .components-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; } .components-filter-shell { position: sticky; top: calc(var(--header-h) + 0.75rem); z-index: 20; margin: 1.5rem 0; padding: 1rem; border: 1px solid rgba(148, 163, 184, 0.24); border-radius: 20px; background: rgba(255,255,255,0.84); backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08); } .components-search { display: grid; gap: 0.45rem; margin-bottom: 0.9rem; color: var(--text-muted); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; } .components-search input, .tool-card input { width: 100%; min-height: 46px; padding: 0.75rem 0.9rem; border-radius: 14px; border: 1px solid var(--border); background: var(--input-bg); color: var(--text); font: inherit; } .component-card, .premium-card, .tool-card { position: relative; overflow: hidden; } .component-card::after, .premium-card::after, .tool-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(37,99,235,0.08), transparent 42%, rgba(0,184,148,0.08)); opacity: 0; transition: opacity var(--transition); } .component-card:hover::after, .premium-card:hover::after, .tool-card:hover::after { opacity: 1; } .component-card-img { min-height: 188px; } .component-card-img .component-art-svg { width: 100%; max-height: 170px; } .component-card-body p { margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; } .component-card-badges, .component-card-specs { display: flex; flex-wrap: wrap; gap: 0.45rem; } .component-card-specs span { padding: 0.4rem 0.55rem; border-radius: 10px; background: var(--badge-cat-bg); color: var(--badge-cat-fg); font-size: 0.78rem; font-weight: 800; } .component-hero-band { background: radial-gradient(circle at 18% 18%, rgba(96, 165, 250, 0.34), transparent 26rem), radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.22), transparent 24rem), linear-gradient(145deg, #07111F 0%, #0F2D4A 48%, #073B35 100%); } .component-hero-band::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(147,197,253,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(147,197,253,0.1) 1px, transparent 1px); background-size: 42px 42px; opacity: 0.28; pointer-events: none; } .component-meta-strip, .component-share { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; } .component-meta-strip span { min-width: 116px; padding: 0.78rem 0.9rem; border-radius: 14px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); color: #fff; } .component-meta-strip strong, .component-meta-strip small { display: block; } .component-meta-strip small { margin-top: 0.2rem; opacity: 0.72; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; } .component-share-btn { min-height: 42px; padding: 0.55rem 0.85rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.24); background: rgba(255,255,255,0.1); color: #fff; font-weight: 800; cursor: pointer; transition: transform var(--transition), background var(--transition), box-shadow var(--transition); } .component-share-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.18); color: #fff; } .component-hero-media { display: grid; grid-template-columns: 0.78fr 1fr; gap: 0.85rem; align-items: center; background: rgba(255,255,255,0.1); backdrop-filter: blur(16px); } .component-hero-photo, .component-hero-illustration { display: grid; place-items: center; min-height: 190px; border-radius: 18px; background: rgba(255,255,255,0.94); overflow: hidden; } .component-hero-illustration .component-art-svg { width: 100%; height: 100%; } .component-guide-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); width: min(calc(100% - 2rem), var(--wrap)); max-width: var(--wrap); min-width: 0; } .component-toc { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem; border-radius: 18px; border: 1px solid var(--premium-card-border); background: rgba(255,255,255,0.82); box-shadow: var(--premium-card-shadow); } .component-toc strong { margin-bottom: 0.45rem; color: var(--heading); font-size: 0.9rem; } .component-toc a { padding: 0.45rem 0.55rem; border-radius: 10px; color: var(--text-muted); font-size: 0.9rem; font-weight: 700; } .component-toc a:hover { background: var(--accent-soft); color: var(--primary); } .component-toc, .component-journey, .component-section { min-width: 0; } .component-code-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; } .component-code-tab { min-height: 40px; padding: 0.5rem 0.85rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 800; cursor: pointer; } .component-code-tab.is-active { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; border-color: transparent; } .component-prevnext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; } .component-prevnext-card { padding: 1rem; border-radius: 16px; border: 1px solid var(--premium-card-border); background: var(--surface); box-shadow: var(--premium-card-shadow); color: var(--text); } .component-prevnext-card.is-next { text-align: right; } .component-prevnext-card span { display: block; color: var(--text-muted); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; } .component-prevnext-card strong { display: block; margin-top: 0.2rem; color: var(--heading); } .premium-grid, .tool-workbench { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; } .premium-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .premium-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .premium-card, .tool-card { padding: clamp(1.2rem, 3vw, 1.65rem); border-radius: var(--premium-card-radius); border: 1px solid var(--premium-card-border); background: var(--surface); box-shadow: var(--premium-card-shadow); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); } .premium-card:hover, .tool-card:hover { transform: translateY(-5px); border-color: rgba(37, 99, 235, 0.34); box-shadow: var(--premium-card-hover-shadow); } .premium-card-media, .premium-band-visual { width: 100%; aspect-ratio: 16 / 9; margin: 0 0 1rem; border-radius: 12px; overflow: hidden; background: var(--surface-muted); } .premium-band-visual { margin: 1.25rem 0 0; border: 1px solid rgba(148, 163, 184, 0.22); box-shadow: var(--premium-card-shadow); } .premium-band-visual-dark { border-color: rgba(255,255,255,0.14); } .premium-card-media img, .premium-band-visual img { display: block; width: 100%; height: 100%; object-fit: cover; } .premium-icon { display: inline-grid; place-items: center; min-width: 44px; height: 32px; padding: 0 0.55rem; margin-bottom: 0.9rem; border-radius: 11px; background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(0,184,148,0.1)); color: var(--primary-dark); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.04em; } .premium-card h3, .tool-card h3 { margin: 0 0 0.55rem; color: var(--heading); } .premium-card p, .tool-card p, .premium-card li { color: var(--text-muted); } .premium-band h2, .premium-faq h2 { margin-top: 0; } .premium-band-soft { background: linear-gradient(135deg, rgba(239,246,255,0.88), rgba(240,253,249,0.78)); } .premium-band-dark { background: linear-gradient(145deg, #0F172A, #11243D); color: #fff; } .premium-band-dark h2, .premium-band-dark strong { color: #fff; } .premium-band-dark p, .premium-band-dark .section-eyebrow { color: rgba(255,255,255,0.72); } .premium-timeline, .premium-quote-grid, .premium-check-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; } .premium-timeline div, .premium-quote-grid blockquote, .premium-check-grid span { margin: 0; padding: 1rem; border-radius: 16px; background: rgba(255,255,255,0.72); border: 1px solid rgba(148, 163, 184, 0.22); } .premium-band-dark .premium-timeline div { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); } .premium-check-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .premium-check-grid span { font-weight: 800; color: var(--heading); } .premium-faq details { border-top: 1px solid var(--border); padding: 1rem 0; } .premium-faq summary { cursor: pointer; color: var(--heading); font-weight: 800; } .tool-workbench { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tool-card label { display: grid; gap: 0.35rem; margin: 0.75rem 0; color: var(--text-muted); font-size: 0.84rem; font-weight: 800; } .tool-card output { display: block; margin-top: 0.9rem; padding: 0.85rem; border-radius: 14px; background: var(--accent-soft); color: var(--primary-dark); font-weight: 800; } [data-theme="dark"] .premium-page-hero, [data-theme="dark"] .components-hero-shell, [data-theme="dark"] .components-featured, [data-theme="dark"] .components-filter-shell, [data-theme="dark"] .premium-band, [data-theme="dark"] .premium-faq, [data-theme="dark"] .component-toc { background: radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.16), transparent 24rem), linear-gradient(145deg, rgba(17,24,39,0.96), rgba(15,23,42,0.92)); } [data-theme="dark"] .components-hero-stats span, [data-theme="dark"] .premium-stats div, [data-theme="dark"] .premium-card, [data-theme="dark"] .tool-card, [data-theme="dark"] .premium-timeline div, [data-theme="dark"] .premium-quote-grid blockquote, [data-theme="dark"] .premium-check-grid span, [data-theme="dark"] .component-prevnext-card { background: linear-gradient(180deg, rgba(31, 41, 55, 0.96), rgba(17, 24, 39, 0.96)); border-color: var(--premium-card-border); } [data-theme="dark"] .component-toc a, [data-theme="dark"] .premium-card p, [data-theme="dark"] .tool-card p, [data-theme="dark"] .premium-card li { color: var(--text-muted); } [data-theme="dark"] .premium-band-soft { background: linear-gradient(145deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.94)); } @media (max-width: 1024px) { .premium-page-hero, .components-hero-grid, .component-hero-grid, .component-guide-shell { grid-template-columns: minmax(0, 1fr); } .component-toc { position: static; flex-direction: row; overflow-x: auto; width: 100%; min-width: 0; max-width: 100%; } .tool-workbench, .premium-grid, .premium-grid-2, .premium-grid-3, .premium-timeline, .premium-quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 768px) { .premium-page-hero, .components-hero-shell { border-radius: 20px; padding: 2rem 1rem; } .premium-page-visual, .components-hero-art { min-height: 220px; } .components-featured-grid, .components-hero-stats, .premium-stats, .tool-workbench, .premium-grid, .premium-grid-2, .premium-grid-3, .premium-timeline, .premium-quote-grid, .premium-check-grid, .component-prevnext, .component-hero-media { grid-template-columns: 1fr; } .components-filter-shell { position: static; } }   body { background: var(--surface-page); color: var(--text-secondary); } a { color: var(--action-secondary); } a:hover { color: var(--action-secondary-hover); } .site-nav-sticky { background: var(--nav-bg); border-bottom-color: var(--border-default); box-shadow: 0 1px 0 rgb(var(--color-white-rgb) / 0.65) inset; } .site-nav-sticky.is-scrolled { background: var(--nav-bg); border-bottom-color: var(--border-default); box-shadow: var(--shadow-sm); } .top-nav a { color: var(--text-secondary); } .top-nav a::after { background: var(--action-secondary); } .top-nav a:hover, .top-nav a.active { background: var(--surface-interactive); color: var(--action-primary); box-shadow: none; } .icon-btn, .nav-toggle { background: var(--surface-card); border-color: var(--border-default); color: var(--action-primary); box-shadow: none; } .icon-btn:hover, .nav-toggle:hover { background: var(--surface-interactive); border-color: var(--action-secondary); color: var(--action-secondary-hover); box-shadow: var(--shadow-sm); } .nav-spotlight { background: var(--surface-muted); border-color: var(--border-default); } .nav-spotlight-label, .section-eyebrow, .home-section-eyebrow, .v2-eyebrow, .v3-eyebrow, .premium-eyebrow, .component-eyebrow { color: var(--action-secondary-hover); } .nav-spotlight-link { background: var(--surface-card); border-color: var(--border-default); color: var(--text-secondary); } .nav-spotlight-link:hover, .nav-spotlight-link.nav-spotlight-badge { background: var(--color-brand-secondary-soft); border-color: rgb(var(--color-brand-secondary-rgb) / 0.28); color: var(--action-secondary-hover); } .hero-home, .category-banner, .mission-hero, .project-hero, .premium-page-hero, .components-hero-shell, .v2-declaration, .v3-mission-feature, .premium-band-dark { background: var(--hero-bg); color: var(--text-on-dark); } .hero-home h1, .category-banner h1, .mission-hero h1, .project-hero h1, .premium-page-hero h1, .components-hero-shell h1, .v2-declaration h1, .premium-band-dark h2, .premium-band-dark h3, .premium-band-dark strong { color: var(--text-on-dark); } .hero-home .hero-sub, .category-banner .hero-sub, .mission-hero p, .project-hero p, .premium-page-hero p, .components-hero-shell p, .v2-declaration p, .premium-band-dark p, .premium-band-dark .section-eyebrow { color: var(--text-on-dark-muted); } .hero-highlight, .v2-hero-highlight, .learner-accent { color: var(--action-accent); } .btn-primary, .btn-accent, .v2-btn-hero, .v2-btn-invitation, .v3-btn-mission, .hero-home .btn-primary, .category-banner .btn-primary { background: var(--action-primary); border-color: var(--action-primary); color: var(--color-white); box-shadow: var(--system-button-shadow); } .btn-primary:hover, .btn-accent:hover, .v2-btn-hero:hover, .v2-btn-invitation:hover, .v3-btn-mission:hover, .hero-home .btn-primary:hover, .category-banner .btn-primary:hover { background: var(--action-primary-hover); border-color: var(--action-primary-hover); color: var(--color-white); } .btn-secondary, .component-download-btn, .btn-copy { background: transparent; border-color: var(--action-secondary); color: var(--action-secondary-hover); } .hero-home .btn-secondary, .category-banner .btn-secondary, .home-btn-secondary { background: transparent; color: var(--color-white); border-color: rgb(var(--color-white-rgb) / 0.55); } .btn-secondary:hover, .component-download-btn:hover, .btn-copy:hover { background: var(--color-brand-secondary-soft); border-color: var(--action-secondary-hover); color: var(--action-secondary-hover); } .home-btn-secondary:hover, .hero-home .btn-secondary:hover, .category-banner .btn-secondary:hover { background: rgb(var(--color-white-rgb) / 0.12); border-color: var(--color-white); color: var(--color-white); } .premium-card, .tool-card, .path-card, .component-card, .mission-index-card, .component-related-card, .mission-card, .next-mission-card, .mission-component-card, .mission-thing-item, .project-part-item, .component-fact-item, .component-pin-row, .component-trouble-item, .project-trouble-item, .quiz-question, .reference-guide-card, .reference-intro-card, .project-component-card, .project-related-card, .related-card, .guide-index-card, .guide-track-card, .guide-home-card, .carousel-card, .project-card-item, .modern-card, .post-card, .home-choice-grid > div, .home-learning-card, .home-path-card, .home-split-grid article, .home-experiment-panel, .project-education-card, .search-result-item { background: var(--surface-card); border-color: var(--premium-card-border); color: var(--text-secondary); box-shadow: var(--premium-card-shadow); } .premium-card:hover, .tool-card:hover, .path-card:hover, .component-card:hover, .mission-index-card:hover, .component-related-card:hover, .mission-card:hover, .next-mission-card:hover, .project-component-card:hover, .project-related-card:hover, .related-card:hover, .guide-index-card:hover, .guide-track-card:hover, .guide-home-card:hover, .carousel-card:hover, .project-card-item:hover, .modern-card:hover, .post-card:hover, .home-learning-card:hover, .home-path-card:hover, .search-result-item:hover { border-color: rgb(var(--color-brand-secondary-rgb) / 0.36); box-shadow: var(--premium-card-hover-shadow); } .card-media, .component-card-img, .post-thumb, .card-thumb, .article-thumb { background: var(--card-media-bg); } .badge, .badge-light, .badge-cat, .badge-time, .badge-featured, .home-mini-meta, .home-skill-tags span, .v3-pick-badge, .v3-project-level-chip, .guide-track-badge, .mission-index-badge { border-color: var(--border-default); box-shadow: none; } .badge-featured, .badge-new, .v3-pick-badge { background: var(--color-accent-learner-soft); color: #8A5200; } .badge-light, .badge-cat, .home-mini-meta { background: var(--color-brand-secondary-soft); color: var(--color-brand-secondary-hover); } .home-skill-tags span, .badge-beginner, .v3-journey-badge-beginner, .v3-project-level-chip.is-beginner { background: var(--badge-beginner-bg); color: var(--badge-beginner-fg); } .badge-intermediate, .v3-journey-badge-intermediate, .v3-project-level-chip.is-intermediate { background: var(--badge-intermediate-bg); color: var(--badge-intermediate-fg); } .badge-advanced, .v3-journey-badge-advanced, .v3-project-level-chip.is-advanced { background: var(--badge-advanced-bg); color: var(--badge-advanced-fg); } .home-card-role, .home-card-link, .home-path-card a, .home-split-grid a, .home-discovery-links a, .btn-card, .v3-top-picks-more { color: var(--action-secondary-hover); } .home-page .v3-why-eyebrow { color: var(--action-secondary-hover); } [data-theme="dark"] .cookie-consent a, [data-theme="dark"] .home-card-role, [data-theme="dark"] .home-card-link, [data-theme="dark"] .home-path-card a, [data-theme="dark"] .home-split-grid a, [data-theme="dark"] .home-discovery-links a, [data-theme="dark"] .btn-card, [data-theme="dark"] .v3-top-picks-more, [data-theme="dark"] .v3-component-eyebrow, [data-theme="dark"] .v3-top-picks-eyebrow, [data-theme="dark"] .v3-pick-row-meta, [data-theme="dark"] .v3-roadmap-pillar-num, [data-theme="dark"] .home-page .v3-why-eyebrow { color: #8BD6E4; } .home-learning-finder, .home-paths, .home-adults, .home-page .v3-journey, .home-page .v3-top-picks, .premium-band-soft { background: var(--surface-section); } .home-start-here, .home-experiment, .home-discovery, .components-featured, .premium-band, .premium-faq { background: var(--surface-page); } .home-choice-btn, .home-discovery-links a, .home-fallback-combo { background: var(--surface-card); border-color: var(--border-default); color: var(--text-primary); } .home-choice-btn.is-active, .home-choice-btn:focus-visible { background: var(--action-primary); border-color: var(--action-primary); color: var(--color-white); } input, select, textarea, .search-overlay-panel, .filters-bar { background: var(--surface-card); border-color: var(--border-default); color: var(--text-primary); } input::placeholder, textarea::placeholder { color: var(--text-muted-strong); } input:focus, select:focus, textarea:focus { border-color: var(--focus-ring); box-shadow: 0 0 0 3px rgb(var(--color-info-rgb) / 0.18); } .tool-card output, .calculator-result, .result-box { background: var(--color-brand-secondary-soft); color: var(--color-brand-secondary-hover); border: 1px solid rgb(var(--color-brand-secondary-rgb) / 0.24); } .wiring-table-wrap, .pin-table-wrap, .table-wrap { background: var(--surface-card); border-color: var(--border-default); box-shadow: var(--shadow-sm); } .wiring-table th, .pin-table th, table th { background: var(--surface-muted); color: var(--text-primary); } .wiring-table td, .pin-table td, table td { border-color: var(--border-default); } pre, .code-block, .code-panel { background: var(--color-dark-bg); color: var(--color-dark-text); border-color: var(--color-dark-border); } code:not(pre code) { background: var(--surface-muted); color: var(--text-primary); border: 1px solid var(--border-default); border-radius: 6px; padding: 0.08rem 0.26rem; } .site-footer { background: var(--color-brand-primary); border-top-color: rgb(var(--color-brand-secondary-rgb) / 0.28); color: var(--footer-muted); } .footer-brand strong, .footer-col-title { color: var(--footer-text); } .footer-col a, .footer-social a { color: var(--footer-muted); } .footer-col a:hover, .footer-social a:hover { background: rgb(var(--color-brand-secondary-rgb) / 0.18); color: var(--color-white); } .v2-hero-float-card, .project-mission-glow, .v3-showcase-glow, .v2-showcase-glow, .home-page .v2-hero-visual-frame::before, .home-page .v2-declaration::after { opacity: 0.55; } [data-theme="dark"] body { background: var(--surface-page); } [data-theme="dark"] .site-nav-sticky, [data-theme="dark"] .site-nav-sticky.is-scrolled { background: var(--nav-bg); border-bottom-color: var(--border-default); box-shadow: 0 1px 0 rgb(var(--color-white-rgb) / 0.04) inset; } [data-theme="dark"] .icon-btn, [data-theme="dark"] .nav-toggle, [data-theme="dark"] .top-nav a:hover, [data-theme="dark"] .top-nav a.active { background: var(--surface-card-raised); color: var(--color-dark-text); border-color: var(--border-default); } [data-theme="dark"] .nav-spotlight, [data-theme="dark"] .home-learning-finder, [data-theme="dark"] .home-paths, [data-theme="dark"] .home-adults, [data-theme="dark"] .home-page .v3-journey, [data-theme="dark"] .home-page .v3-top-picks, [data-theme="dark"] .premium-band-soft { background: var(--surface-page); } [data-theme="dark"] .premium-card, [data-theme="dark"] .tool-card, [data-theme="dark"] .path-card, [data-theme="dark"] .component-card, [data-theme="dark"] .mission-index-card, [data-theme="dark"] .component-related-card, [data-theme="dark"] .mission-card, [data-theme="dark"] .next-mission-card, [data-theme="dark"] .mission-component-card, [data-theme="dark"] .mission-thing-item, [data-theme="dark"] .project-part-item, [data-theme="dark"] .component-fact-item, [data-theme="dark"] .component-pin-row, [data-theme="dark"] .component-trouble-item, [data-theme="dark"] .project-trouble-item, [data-theme="dark"] .quiz-question, [data-theme="dark"] .reference-guide-card, [data-theme="dark"] .reference-intro-card, [data-theme="dark"] .project-component-card, [data-theme="dark"] .project-related-card, [data-theme="dark"] .related-card, [data-theme="dark"] .guide-index-card, [data-theme="dark"] .guide-track-card, [data-theme="dark"] .guide-home-card, [data-theme="dark"] .carousel-card, [data-theme="dark"] .project-card-item, [data-theme="dark"] .modern-card, [data-theme="dark"] .post-card, [data-theme="dark"] .home-choice-grid > div, [data-theme="dark"] .home-learning-card, [data-theme="dark"] .home-path-card, [data-theme="dark"] .home-split-grid article, [data-theme="dark"] .home-experiment-panel, [data-theme="dark"] .project-education-card, [data-theme="dark"] .search-result-item, [data-theme="dark"] .components-hero-stats span, [data-theme="dark"] .premium-stats div, [data-theme="dark"] .component-prevnext-card, [data-theme="dark"] .premium-timeline div, [data-theme="dark"] .premium-quote-grid blockquote, [data-theme="dark"] .premium-check-grid span { background: var(--surface-card); border-color: var(--premium-card-border); color: var(--text-secondary); } [data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea, [data-theme="dark"] .search-overlay-panel, [data-theme="dark"] .filters-bar { background: var(--surface-card-raised); border-color: var(--border-default); color: var(--text-primary); } [data-theme="dark"] .tool-card output, [data-theme="dark"] .calculator-result, [data-theme="dark"] .result-box { background: rgb(var(--color-brand-secondary-rgb) / 0.16); color: #8BD6E4; border-color: rgb(var(--color-brand-secondary-rgb) / 0.3); } [data-theme="dark"] code:not(pre code) { background: var(--surface-card-raised); color: var(--color-dark-text); border-color: var(--border-default); } [data-theme="dark"] .site-footer { background: var(--color-dark-bg); } [data-theme="dark"] .btn-primary, [data-theme="dark"] .btn-accent, [data-theme="dark"] .v2-btn-hero, [data-theme="dark"] .v2-btn-invitation, [data-theme="dark"] .v3-btn-mission { background: var(--color-brand-primary-hover); border-color: var(--action-secondary); color: var(--color-dark-text); } [data-theme="dark"] .btn-primary:hover, [data-theme="dark"] .btn-accent:hover, [data-theme="dark"] .v2-btn-hero:hover, [data-theme="dark"] .v2-btn-invitation:hover, [data-theme="dark"] .v3-btn-mission:hover { background: var(--color-brand-primary); border-color: #8BD6E4; color: var(--color-dark-text); }   :root, [data-theme="light"], [data-theme="dark"] { --spotlight-h: 46px; --sticky-stack-h: calc(var(--header-h) + var(--spotlight-h)); --sticky-safe-top: calc(var(--sticky-stack-h) + 1rem); } html { scroll-padding-top: var(--sticky-safe-top); } [id] { scroll-margin-top: var(--sticky-safe-top); } .mission-section h2, .project-section h2, .component-section h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem 0.7rem; } .mission-section-icon, .project-section-icon, .component-section-icon { flex: 0 0 auto; margin-right: 0; } .mission-section-title, .project-section-title, .component-section-title { min-width: 0; } .filters-sticky, .sidebar-left, .sidebar-right, .sidebar-categories, .component-toc { top: var(--sticky-safe-top); } .premium-page-hero, .components-hero-shell, .page-head, .section-block:first-of-type { scroll-margin-top: var(--sticky-safe-top); } .project-card-item { display: flex; flex-direction: column; min-width: 0; } .project-card-item .card-media-wrap { aspect-ratio: 16 / 9; min-height: 0; } .project-card-item .card-media, .project-card-item .card-media-img, .project-card-item .card-media-fallback { min-height: 0; height: 100%; } .project-card-item .card-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 0.72rem; padding: 1.1rem; } .project-card-item .card-badges { gap: 0.35rem; margin: 0; } .project-card-item h3 { margin: 0; overflow-wrap: anywhere; line-height: 1.28; } .project-card-item p { margin: 0; } .project-card-item .card-footer { margin-top: auto; padding-top: 0.2rem; } .premium-card, .tool-card, .resource-card, .path-card, .project-education-card { border-top-width: 3px; border-top-color: rgb(var(--color-brand-secondary-rgb) / 0.38); } .premium-card:nth-child(3n + 1), .tool-card:nth-child(3n + 1), .resource-card:nth-child(3n + 1), .path-card:nth-child(3n + 1) { border-top-color: rgb(var(--color-success-rgb) / 0.42); } .premium-card:nth-child(3n + 2), .tool-card:nth-child(3n + 2), .resource-card:nth-child(3n + 2), .path-card:nth-child(3n + 2) { border-top-color: rgb(var(--color-accent-learner-rgb) / 0.46); } .premium-icon, .path-icon { background: var(--color-brand-secondary-soft); color: var(--color-brand-secondary-hover); } [data-theme="dark"] body, [data-theme="dark"] main { background: var(--surface-page); color: var(--text-secondary); } [data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6, [data-theme="dark"] .card-body h3, [data-theme="dark"] .component-card-body h3, [data-theme="dark"] .premium-card h3, [data-theme="dark"] .tool-card h3, [data-theme="dark"] .resource-card h3, [data-theme="dark"] .path-card h3, [data-theme="dark"] .premium-stats strong, [data-theme="dark"] .project-card-item h3, [data-theme="dark"] .home-card-reason, [data-theme="dark"] .home-fallback-combo summary, [data-theme="dark"] .project-education-card strong { color: var(--text-primary); } [data-theme="dark"] p, [data-theme="dark"] li, [data-theme="dark"] .meta, [data-theme="dark"] .section-sub, [data-theme="dark"] .premium-card p, [data-theme="dark"] .tool-card p, [data-theme="dark"] .resource-card p, [data-theme="dark"] .path-card p, [data-theme="dark"] .project-card-item p, [data-theme="dark"] .home-learning-card p, [data-theme="dark"] .home-path-card p, [data-theme="dark"] .project-education-card span, [data-theme="dark"] .project-education-card li { color: var(--text-secondary); } [data-theme="dark"] .section-block, [data-theme="dark"] .static-page, [data-theme="dark"] .guide-page, [data-theme="dark"] .guide-index-page, [data-theme="dark"] .article-main, [data-theme="dark"] .premium-band, [data-theme="dark"] .premium-faq, [data-theme="dark"] .components-featured, [data-theme="dark"] .components-filter-shell, [data-theme="dark"] .project-listing-section, [data-theme="dark"] .projects-layout, [data-theme="dark"] .learning-path-grid, [data-theme="dark"] .home-start-here, [data-theme="dark"] .home-experiment, [data-theme="dark"] .home-discovery, [data-theme="dark"] .component-guide-shell { background: var(--surface-page); color: var(--text-secondary); } [data-theme="dark"] .premium-stats div, [data-theme="dark"] .premium-card, [data-theme="dark"] .tool-card, [data-theme="dark"] .resource-card, [data-theme="dark"] .path-card, [data-theme="dark"] .project-card-item, [data-theme="dark"] .modern-card, [data-theme="dark"] .post-card, [data-theme="dark"] .guide-index-card, [data-theme="dark"] .component-card, [data-theme="dark"] .mission-card, [data-theme="dark"] .project-education-card, [data-theme="dark"] .home-choice-grid > div, [data-theme="dark"] .home-learning-card, [data-theme="dark"] .home-path-card, [data-theme="dark"] .home-split-grid article, [data-theme="dark"] .home-experiment-panel, [data-theme="dark"] .home-fallback-combo, [data-theme="dark"] .search-result-item, [data-theme="dark"] .sidebar-categories-inner, [data-theme="dark"] .component-toc, [data-theme="dark"] .premium-check-grid span, [data-theme="dark"] details { background: var(--surface-card) !important; background-color: var(--surface-card) !important; background-image: none !important; border-color: var(--premium-card-border); color: var(--text-secondary); } html[data-theme="dark"] body .path-card, html[data-theme="dark"] body .premium-card, html[data-theme="dark"] body .tool-card, html[data-theme="dark"] body .resource-card, html[data-theme="dark"] body .project-card-item, html[data-theme="dark"] body .component-card, html[data-theme="dark"] body .guide-index-card, html[data-theme="dark"] body .home-learning-card, html[data-theme="dark"] body .home-path-card, html[data-theme="dark"] body .project-education-card { background: var(--color-dark-surface) !important; background-color: var(--color-dark-surface) !important; background-image: none !important; border-color: var(--color-dark-border); } [data-theme="dark"] .premium-page-hero, [data-theme="dark"] .components-hero-shell, [data-theme="dark"] .hero-home, [data-theme="dark"] .category-banner, [data-theme="dark"] .mission-hero, [data-theme="dark"] .project-hero { background: var(--hero-bg); color: var(--text-on-dark); } [data-theme="dark"] .premium-page-hero h1, [data-theme="dark"] .components-hero-shell h1, [data-theme="dark"] .hero-home h1, [data-theme="dark"] .category-banner h1, [data-theme="dark"] .mission-hero h1, [data-theme="dark"] .project-hero h1 { color: var(--text-on-dark); } [data-theme="dark"] .premium-page-hero p, [data-theme="dark"] .components-hero-shell p, [data-theme="dark"] .hero-home p, [data-theme="dark"] .category-banner p, [data-theme="dark"] .mission-hero p, [data-theme="dark"] .project-hero p { color: var(--text-on-dark-muted); } [data-theme="dark"] .nav-spotlight-link, [data-theme="dark"] .home-choice-btn, [data-theme="dark"] .home-discovery-links a, [data-theme="dark"] .btn-secondary, [data-theme="dark"] .component-download-btn, [data-theme="dark"] .btn-copy { background: var(--surface-card-raised); border-color: var(--border-default); color: var(--text-primary); } [data-theme="dark"] .nav-spotlight-link:hover, [data-theme="dark"] .home-choice-btn.is-active, [data-theme="dark"] .home-discovery-links a:hover, [data-theme="dark"] .btn-secondary:hover, [data-theme="dark"] .component-download-btn:hover, [data-theme="dark"] .btn-copy:hover { background: var(--surface-interactive); border-color: var(--action-secondary); color: var(--text-primary); } [data-theme="dark"] .wiring-table-wrap, [data-theme="dark"] .pin-table-wrap, [data-theme="dark"] .table-wrap, [data-theme="dark"] table { background: var(--surface-card); border-color: var(--border-default); } [data-theme="dark"] .wiring-table th, [data-theme="dark"] .pin-table th, [data-theme="dark"] table th { background: var(--surface-card-raised); color: var(--text-primary); } [data-theme="dark"] .wiring-table td, [data-theme="dark"] .pin-table td, [data-theme="dark"] table td { color: var(--text-secondary); border-color: var(--border-default); }   .header-search { display: flex; align-items: center; flex: 0 1 380px; width: min(31vw, 380px); min-width: 320px; height: 44px; border: 1px solid var(--border-default); border-radius: 999px; background: var(--surface-card); overflow: hidden; } .header-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 0.25rem 0 1rem; color: var(--text-primary); font: inherit; font-size: 0.8125rem; } .header-search input:focus { outline: none; } .header-search:focus-within { border-color: var(--action-secondary); box-shadow: 0 0 0 3px rgb(var(--color-brand-secondary-rgb) / 0.18); } .header-search button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--action-primary); cursor: pointer; } .home-hero-search { display: flex; align-items: center; width: min(100%, 560px); min-height: 54px; margin-top: 1.25rem; border: 1px solid rgb(var(--color-white-rgb) / 0.22); border-radius: 14px; background: rgb(255 255 255 / 0.1); box-shadow: inset 0 1px 0 rgb(var(--color-white-rgb) / 0.08); overflow: hidden; } .home-hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text-on-dark); padding: 0 1rem; font: inherit; } .home-hero-search input::placeholder { color: rgb(226 232 240 / 0.74); } .home-hero-search input:focus { outline: none; } .home-hero-search button { align-self: stretch; min-width: 92px; border: 0; border-left: 1px solid rgb(var(--color-white-rgb) / 0.16); background: rgb(var(--color-white-rgb) / 0.14); color: var(--text-on-dark); font-weight: 800; cursor: pointer; } .home-page .v2-declaration { min-height: auto; padding: clamp(3rem, 7vw, 5.25rem) 0; } .home-hero-path-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; width: min(100%, 660px); margin-top: 1rem; } .home-hero-path-rail a { display: flex; min-height: 64px; flex-direction: column; justify-content: center; gap: 0.18rem; padding: 0.75rem 0.85rem; border: 1px solid rgb(var(--color-white-rgb) / 0.18); border-radius: 12px; background: linear-gradient(90deg, rgb(var(--color-white-rgb) / 0.08), transparent), rgb(255 255 255 / 0.055); color: var(--text-on-dark); text-decoration: none; } .home-hero-path-rail a:hover { border-color: rgb(96 165 250 / 0.48); background: rgb(255 255 255 / 0.11); color: var(--text-on-dark); transform: translateY(-2px); } .home-hero-path-rail span { color: #7dd3fc; font-family: var(--font-code); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; } .home-hero-path-rail strong { color: rgb(240 246 252 / 0.84); font-size: 0.82rem; line-height: 1.3; } .home-primary-paths, .home-project-discovery { padding: clamp(3rem, 7vw, 5.5rem) 0; background: linear-gradient(90deg, rgb(15 23 42 / 0.035) 1px, transparent 1px), linear-gradient(0deg, rgb(15 23 42 / 0.03) 1px, transparent 1px), var(--surface-page); background-size: 44px 44px; } .home-primary-paths h2, .home-project-discovery h2 { max-width: 760px; margin-bottom: 1.4rem; font-size: clamp(1.75rem, 3.2vw, 2.6rem); } .home-primary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } .home-primary-card { position: relative; display: flex; min-height: 100%; flex-direction: column; gap: 0.85rem; padding: 1.25rem; border: 1px solid var(--border-default); border-radius: 16px; background: linear-gradient(145deg, rgb(var(--color-white-rgb) / 0.94), rgb(var(--color-white-rgb) / 0.78)), var(--surface-card); color: var(--text-primary); overflow: hidden; box-shadow: 0 14px 34px rgb(15 23 42 / 0.07); text-decoration: none; } .home-primary-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0 22%, rgb(37 99 235 / 0.12) 22% 23%, transparent 23% 56%, rgb(20 184 166 / 0.12) 56% 57%, transparent 57%), radial-gradient(circle at 84% 18%, currentColor 0 3px, transparent 4px); background-size: 96px 96px, auto; opacity: 0.16; pointer-events: none; } .home-primary-card:hover { transform: translateY(-3px); border-color: rgb(var(--color-brand-secondary-rgb) / 0.42); box-shadow: 0 22px 48px rgb(15 23 42 / 0.12); color: var(--text-primary); } .home-primary-card h2 { margin: 0; font-size: 1.35rem; } .home-primary-card p { margin: 0; color: var(--text-secondary); } .home-primary-card ul { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; color: var(--text-secondary); font-size: 0.925rem; } .home-primary-card li::before { content: "GPIO"; display: inline-flex; margin-right: 0.45rem; color: var(--action-secondary-hover); font-family: var(--font-code); font-size: 0.68rem; font-weight: 700; } .home-primary-code { position: relative; width: max-content; max-width: 100%; padding: 0.32rem 0.55rem; border: 1px solid rgb(15 23 42 / 0.1); border-radius: 8px; color: var(--action-secondary-hover); background: rgb(6 182 212 / 0.08); font-family: var(--font-code); font-size: 0.76rem; z-index: 1; } .home-primary-signal { width: 48px; height: 16px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; border-radius: 0 10px 0 0; color: var(--action-secondary); opacity: 0.7; } .home-primary-card-projects .home-primary-signal, .home-primary-card-projects li::before { color: #00805f; } .home-primary-card-advanced .home-primary-signal, .home-primary-card-advanced li::before { color: #7c3aed; } .home-primary-cta { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: auto; color: var(--action-primary); font-weight: 800; } .home-project-discovery { background: var(--surface-muted); } .home-project-discovery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .home-discovery-block { padding: 1rem; border: 1px solid var(--border-default); border-radius: 16px; background: var(--surface-card); box-shadow: 0 12px 30px rgb(15 23 42 / 0.06); } .home-discovery-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; } .home-discovery-head h3 { margin: 0; font-size: 1.1rem; } .home-discovery-head p { max-width: 26rem; margin: 0; color: var(--text-secondary); font-size: 0.9rem; } .home-discovery-list { display: grid; gap: 0.7rem; } .home-discovery-project { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0.85rem; min-height: 104px; padding: 0.65rem; border: 1px solid transparent; border-radius: 12px; color: var(--text-primary); text-decoration: none; } .home-discovery-project:hover { border-color: var(--border-default); background: var(--surface-interactive); color: var(--text-primary); } .home-discovery-media { display: block; min-width: 0; } .home-discovery-media .card-media, .home-discovery-media .card-media-img, .home-discovery-media .card-media-fallback { height: 88px; min-height: 88px; border-radius: 10px; } .home-discovery-body { display: flex; min-width: 0; flex-direction: column; gap: 0.25rem; } .home-discovery-body strong { color: var(--text-primary); line-height: 1.2; } .home-discovery-body span { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.42; } .home-discovery-body em, .home-discovery-kicker { color: var(--action-secondary-hover); font-family: var(--font-code); font-size: 0.72rem; font-style: normal; font-weight: 700; text-transform: uppercase; } .home-discovery-note { margin: 1rem 0 0; color: var(--text-secondary); font-size: 0.95rem; } [data-theme="dark"] .header-search, [data-theme="dark"] .home-primary-card, [data-theme="dark"] .home-discovery-block { background: var(--surface-card); } [data-theme="dark"] .home-primary-paths { background: linear-gradient(90deg, rgb(148 163 184 / 0.055) 1px, transparent 1px), linear-gradient(0deg, rgb(148 163 184 / 0.045) 1px, transparent 1px), var(--surface-page); background-size: 44px 44px; } @media (max-width: 1180px) { .top-nav { gap: 0.18rem; } .top-nav a { padding-inline: 0.62rem; font-size: 0.9rem; } .header-search { width: min(34vw, 340px); min-width: 220px; } } @media (max-width: 1024px) { .header-search { order: 4; width: 100%; min-width: 0; margin-bottom: 0.75rem; } .site-header { height: auto; min-height: var(--header-h); } .header-inner { flex-wrap: wrap; padding-block: 0.35rem; } } @media (max-width: 960px) { .home-primary-grid, .home-project-discovery-grid { grid-template-columns: 1fr; } } @media (max-width: 640px) { .home-hero-path-rail { grid-template-columns: 1fr; } .home-hero-search { flex-direction: column; align-items: stretch; border-radius: 14px; } .home-hero-search input { min-height: 52px; } .home-hero-search button { min-height: 48px; border-left: 0; border-top: 1px solid rgb(var(--color-white-rgb) / 0.16); } .home-discovery-head { display: block; } .home-discovery-project { grid-template-columns: 88px minmax(0, 1fr); } .home-discovery-media .card-media, .home-discovery-media .card-media-img, .home-discovery-media .card-media-fallback { height: 74px; min-height: 74px; } }   .article-jump-links { display:flex; flex-wrap:wrap; gap:.65rem 1rem; padding:1rem; margin:0 0 1.5rem; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--surface); } .article-jump-links a { text-decoration:underline; text-underline-offset:.2em; } .article-setup { display:grid; grid-template-columns:minmax(7rem, 1fr) 4fr; gap:.65rem 1rem; } .article-setup dt { font-weight:700; } .article-setup dd { margin:0; } .article-jump-links a:focus-visible, .article-concise .wiring-table-wrap:focus-visible { outline:3px solid var(--primary); outline-offset:3px; } .article-concise h2[id] { scroll-margin-top:15rem; } @media (max-width:600px) { .article-setup { grid-template-columns:1fr; } .article-setup dd { margin-bottom:.6rem; } } .component-guide-shell--concise { grid-template-columns:minmax(0, 1fr); max-width:960px; } .article-contents { margin-bottom:1rem; } .article-contents > summary { cursor:pointer; font-weight:700; padding:.7rem 1rem; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--surface); } .article-contents > summary:focus-visible { outline:3px solid var(--primary); outline-offset:3px; } .article-contents .article-jump-links { margin-top:.75rem; }   .component-hero--concise { display:block; } .component-hero--concise .breadcrumb, .component-hero--concise .breadcrumb a, .component-hero--concise .breadcrumb li { color:#fff; } .article-concise #input-comparison table { table-layout:fixed; width:100%; min-width:560px; } .article-concise #input-comparison th, .article-concise #input-comparison td { white-space:normal; overflow-wrap:anywhere; } .article-concise #input-comparison th:nth-child(1) { width:24%; } .article-concise #input-comparison th:nth-child(2) { width:48%; } .article-concise #input-comparison th:nth-child(3), .article-concise #input-comparison th:nth-child(4) { width:14%; }   .article-concise #specs .wiring-table { width:100%; min-width:560px; table-layout:fixed; } .article-concise #specs .wiring-table th, .article-concise #specs .wiring-table td { white-space:normal; overflow-wrap:anywhere; } .article-concise #specs .wiring-table th:first-child { width:22%; } .article-concise #specs .wiring-table th:nth-child(2) { width:35%; } .article-concise #specs .wiring-table th:nth-child(3) { width:43%; }   .project-tutorial-flow { min-width:0; } .project-tutorial-flow h2[id] { scroll-margin-top:15rem; } .project-tutorial-flow .wiring-table-wrap { max-width:100%; overflow-x:auto; } .project-tutorial-flow .wiring-table { min-width:560px; } .project-tutorial-flow .wiring-table td { white-space:normal; overflow-wrap:anywhere; } .project-tutorial-flow pre { max-width:100%; overflow-x:auto; } .project-tutorial-flow .wiring-table-wrap:focus-visible, .project-tutorial-flow pre:focus-visible { outline:3px solid var(--primary); outline-offset:3px; }   .beginner-route { margin-block: 2.5rem; min-width: 0; scroll-margin-top: 15rem; } .beginner-route-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; list-style: none; padding: 0; margin-block: 1.5rem; } .beginner-step { background: var(--surface-card); color: var(--text-primary); border: 1px solid var(--border-default); border-radius: 16px; padding: 1.25rem; min-width: 0; } .beginner-step h3 { margin-block: .4rem .8rem; } .beginner-step p { line-height: 1.65; overflow-wrap: anywhere; } .beginner-navigation { border: 1px solid var(--border-default); border-radius: 12px; padding: 1rem; margin-block: 1rem 1.75rem; background: var(--surface-card); color: var(--text-primary); } .beginner-navigation div, .journey-jumps { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; } .beginner-navigation a, .journey-jumps a { display: inline-block; padding-block: .4rem; text-underline-offset: .2em; } .beginner-route a:focus-visible, .beginner-navigation a:focus-visible, .journey-jumps a:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; border-radius: 3px; } .journey-jumps { margin-block: 1.5rem; } @media (max-width: 900px) { .beginner-route-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } } @media (max-width: 600px) { .beginner-route-grid { grid-template-columns: minmax(0,1fr); } } .beginner-route a, .beginner-navigation a, .journey-jumps a { color: var(--text-primary); text-decoration: underline; } .learning-journey [id], .guide-index-page section[id] { scroll-margin-top: 15rem; } .beginner-continue { margin-block: 2rem; } .beginner-continue a { color: var(--text-primary); text-decoration: underline; } .beginner-continue a:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }   .project-guide-page .project-hero-inner > .project-hero-icon { display: none; }   .project-guide-page .project-hero > .breadcrumb { grid-column: 1 / -1; } .project-guide-page .project-hero .breadcrumb a, .project-guide-page .project-hero .breadcrumb [aria-current="page"], .project-guide-page .project-hero .breadcrumb li::after { color: #fff; }   @media (min-width: 1025px) and (max-width: 1360px) { .header-inner { gap: 1rem; } .header-search { min-width: 0; flex-shrink: 1; } .header-actions { flex-shrink: 0; } } @media (max-width: 768px) { .project-guide-page .project-hero:has(.project-hero-art) { grid-template-columns: minmax(0, 1fr); } } .project-guide-page .project-hero > .project-hero-art { min-width: 0; width: 100%; align-self: center; }   :root, [data-theme="light"] { --accent-text: #0B6279; } [data-theme="dark"] { --accent-text: #8BD6E4; } :is(.mission-section, .project-section, .component-section, .article-concise, .guide-related-list, .premium-band, .learning-journey, .meta) a:not([class]) { color: var(--accent-text); } :is(.mission-section, .project-section, .component-section, .article-concise, .guide-related-list, .premium-band, .learning-journey, .meta) a:not([class]):hover { color: var(--text-primary); } .component-pin-name, .component-fact-label, .component-related-cta, .project-component-cta, .project-related-cta, .project-trouble-problem, .components-featured .section-eyebrow, .premium-band:not(.premium-band-dark) .section-eyebrow, .quiz-q-num, .nav-spotlight-label { color: var(--accent-text); } [data-theme="dark"] .category-pill.is-active, [data-theme="dark"] .badge-mission { color: var(--accent-text); }   .mission-card-title { color: var(--text-primary); }   .code-panel .tok-com { color: var(--color-dark-text-muted); } .code-panel .btn-copy { color: var(--color-dark-text); border-color: var(--color-dark-text-muted); } .code-panel .btn-copy:hover { color: var(--color-dark-text); background: var(--color-brand-primary-hover); } .code-panel .btn-copy.is-copied { color: var(--color-dark-text); background: var(--color-brand-secondary-hover); } .code-panel .btn-copy:focus-visible { outline-color: var(--color-dark-text); }   .site-footer .btn-secondary { color: var(--footer-text); border-color: var(--footer-muted); background: transparent; } .site-footer .btn-secondary:hover { color: var(--footer-text); background: rgb(var(--color-white-rgb) / 0.12); } .site-footer .btn-secondary:focus-visible { outline-color: var(--footer-text); } .category-banner .breadcrumb [aria-current="page"] { color: var(--text-on-dark-muted); } .category-banner .badge-light { color: #0B6279; }   .premium-band.premium-band-dark { background: var(--surface-hero); color: var(--text-on-dark); } .premium-band.premium-band-dark .section-eyebrow, .premium-band.premium-band-dark p { color: var(--text-on-dark-muted); }   :is(.premium-band-dark, .code-panel, .project-hero, .mission-hero, .premium-page-hero) { --accent-text: #8BD6E4; } :is(.premium-band-dark, .code-panel, .project-hero, .mission-hero, .premium-page-hero) a:not([class]):hover { color: var(--text-on-dark); }   .mission-prose a, .mission-section p a, .mission-section li a, .mission-section figcaption a { text-decoration: underline; text-underline-offset: .15em; }   .recorded-media-intro { color: var(--text-muted); max-width: 65ch; } .recorded-media-notes { margin: 1rem 0 1.5rem; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); } .recorded-media-notes summary { cursor: pointer; font-weight: 600; font-size: .9rem; } .recorded-media-notes p { font-size: .875rem; line-height: 1.65; margin: .85rem 0 0; } .recorded-media-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; align-items: start; } .recorded-media-card { margin: 0; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 3px 12px rgba(8,29,58,.045); } .recorded-media-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/10; padding: .65rem; background: var(--bg); border-bottom: 1px solid var(--border); } .recorded-media-image img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; } .recorded-media-card--overview { grid-column: 1 / -1; } .recorded-media-card--overview .recorded-media-image { aspect-ratio: 16/9; } .recorded-media-card figcaption { padding: 1rem 1.1rem 1.15rem; } .recorded-media-label { display: block; color: var(--text-muted); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; } .recorded-media-card figcaption p { margin: .45rem 0 .8rem; font-size: .875rem; line-height: 1.65; } .recorded-media-open { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; text-underline-offset: .2em; } .recorded-media-image:focus-visible, .recorded-media-open:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; } .recorded-media-downloads { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); } .recorded-media-downloads h3 { margin: 0 0 .5rem; font-size: 1rem; } .recorded-media-downloads ul { margin-bottom: 0; } @media (max-width: 600px) { .recorded-media-grid { grid-template-columns: minmax(0,1fr); gap: 1rem; } .recorded-media-card--overview { grid-column: auto; } .recorded-media-card figcaption { padding: .9rem 1rem 1rem; } }   [data-theme="dark"] .site-logo-img { background: #fff; border-radius: 8px; padding: 4px 6px; box-sizing: border-box; } .recorded-media a.recorded-media-open { color: #075e73; } [data-theme="dark"] .recorded-media a.recorded-media-open { color: #79d6e8; }
