.rust-immersive{--forge-base:#14100c;--forge-surface:#1d1712;--forge-elevated:#292019;--forge-deep:#0c0906;--forge-text:#f2e9df;--forge-secondary:#c4b4a4;--forge-muted:#8d7c6c;--forge-heading:#ffd9b8;--forge-oxide:#f74c00;--forge-ember:#ff8c3a;--forge-line:rgba(247, 76, 0, 0.2);--forge-line-strong:rgba(247, 76, 0, 0.42);background:var(--forge-base);color:var(--forge-text);isolation:isolate;min-width:0;overflow:clip;position:relative}.rust-immersive *,.rust-immersive *::before,.rust-immersive *::after{box-sizing:border-box}.rust-immersive a:focus-visible{border-radius:6px;box-shadow:0 0 0 3px rgba(255,140,58,.45);outline:2px solid #0c0906;outline-offset:3px}.rust-world{background:#14100c;height:100svh;inset:0;margin:0;overflow:hidden;pointer-events:none;position:fixed;transition:opacity 420ms cubic-bezier(.16,1,.3,1);width:100%;z-index:0}.rust-world--hero{border-radius:14px;height:100%;position:absolute}.rust-world-fallback,.rust-world-canvas,.rust-world-shade{height:100%;inset:0;position:absolute;width:100%}.rust-world-fallback{filter:saturate(.94)brightness(.72)contrast(1.06);object-fit:cover;object-position:62% center;opacity:1;transform:scale(1.02);transition:opacity 600ms ease,filter 300ms ease}.rust-world-canvas{display:block;opacity:0;pointer-events:none;transition:opacity 600ms ease}.rust-world-shade{background:linear-gradient(90deg,rgba(12,9,6,.95) 0%,rgba(12,9,6,.76) 37%,rgba(12,9,6,.18) 69%,rgba(12,9,6,.52) 100%),linear-gradient(180deg,rgba(12,9,6,.5),transparent 32%,rgba(12,9,6,.68));z-index:2}.rust-webgl-ready .rust-world-canvas{opacity:1}.rust-webgl-ready .rust-world-fallback{opacity:0}.rust-no-webgl .rust-world-canvas{display:none}.rust-no-webgl .rust-world-fallback{opacity:1}.rust-scene-rest .rust-world:not(.rust-world--hero){opacity:0}.rust-scene-zone,.rust-chapter-final,.rust-progress-rail{position:relative;z-index:2}.rust-chapter{min-width:0;overflow:clip;position:relative}.rust-chapter-00{background:0 0;color:var(--forge-text);min-height:calc(100svh - 72px);overflow:hidden;padding:0;text-align:left}.rust-chapter-00::before{background:linear-gradient(90deg,rgba(12,9,6,.4),transparent 62%),linear-gradient(180deg,rgba(12,9,6,.3),transparent 42%,rgba(12,9,6,.78));content:"";inset:0;pointer-events:none;position:absolute}.rust-hero-grid{align-items:start;display:grid;gap:24px;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:minmax(0,1fr)auto;min-height:calc(100svh - 72px);padding-bottom:clamp(24px,4vh,44px);padding-top:clamp(58px,9vh,112px);position:relative;z-index:3}.rust-hero-copy{align-self:start;grid-column:1/span 7;max-width:700px}.rust-chapter-mark{align-items:center;color:var(--forge-secondary);display:flex;font-size:.68rem;font-weight:600;gap:10px;letter-spacing:.12em;margin:0 0 20px;text-transform:uppercase}.rust-chapter-mark span{color:var(--forge-ember);font-variant-numeric:tabular-nums}.rust-chapter-mark i{background:rgba(247,76,0,.5);display:block;height:1px;width:38px}.rust-chapter-mark b{font-weight:600}.rust-immersive .rust-hero-copy h1{color:var(--forge-heading);font-family:var(--font-display);font-size:clamp(2.6rem,5.8vw,5.3rem);font-weight:800;letter-spacing:-.045em;line-height:1;margin:0 0 24px;max-width:14ch;text-wrap:balance}.rust-immersive .rust-hero-lede{color:#dccfc0;font-size:clamp(1rem,1.5vw,1.18rem);line-height:1.65;margin:0;max-width:58ch;text-shadow:0 2px 22px rgba(12,9,6,.85)}.rust-hero-actions{align-items:center;display:flex;flex-wrap:wrap;gap:18px;margin:32px 0 0}.rust-hero-cta{align-items:center;background:linear-gradient(135deg,var(--forge-oxide),#ff6b2b);border:1px solid rgba(255,179,128,.5);border-radius:999px;box-shadow:0 5px 22px rgba(247,76,0,.3);color:#fff7f0;display:inline-flex;font-size:.96rem;font-weight:600;gap:8px;justify-content:center;min-height:52px;padding:12px 26px;text-decoration:none;transition:box-shadow 180ms ease,transform 180ms ease}.rust-hero-cta:hover{box-shadow:0 8px 28px rgba(247,76,0,.44);color:#fff7f0;transform:translateY(-1px)}.rust-hero-link{color:var(--forge-text);font-size:.92rem;font-weight:600;text-decoration:underline;text-decoration-color:rgba(255,140,58,.6);text-decoration-thickness:1px;text-underline-offset:.4em}.rust-hero-link:hover{color:var(--forge-heading)}.rust-hero-trust{color:#a5927f;display:flex;flex-wrap:wrap;font-size:.76rem;gap:8px 18px;margin:18px 0 0;padding:0}.rust-hero-trust span{align-items:center;display:inline-flex;gap:7px}.rust-hero-trust span::before{background:var(--forge-ember);border-radius:50%;box-shadow:0 0 10px rgba(255,140,58,.55);content:"";flex-shrink:0;height:5px;width:5px}.rust-specimen-caption{align-self:end;border-left:1px solid rgba(247,76,0,.38);display:flex;flex-direction:column;grid-column:9/-1;justify-self:end;margin-bottom:clamp(150px,23vh,240px);max-width:250px;padding-left:18px;text-shadow:0 2px 20px rgba(12,9,6,.92)}.rust-specimen-caption>span{color:var(--forge-ember);font-size:.66rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.rust-specimen-caption strong{color:var(--forge-heading);font-family:var(--font-display);font-size:clamp(1.2rem,2vw,1.7rem);line-height:1.15;margin-top:7px}.rust-specimen-caption small{color:#b3a394;font-size:.7rem;line-height:1.45;margin-top:7px}.rust-mascot img{display:block;filter:drop-shadow(0 12px 26px rgba(247,76,0,.35));height:auto;margin-bottom:14px;max-width:190px;width:100%}.rust-chapter-heading--logo{grid-template-columns:auto auto minmax(60px,1fr)minmax(280px,.82fr);scroll-margin-top:96px}.rust-logo-mark{color:var(--forge-ember);display:block;flex-shrink:0;line-height:0;opacity:.9}.rust-logo-mark svg{height:44px;width:44px}.rust-hero-foot{align-self:end;border-top:1px solid rgba(247,76,0,.22);display:grid;gap:18px;grid-column:1/-1;grid-template-columns:minmax(160px,.35fr)minmax(0,1fr);padding-top:18px}.rust-scroll-cue{align-items:center;color:#9d8a77;display:flex;font-size:.64rem;font-weight:600;gap:12px;letter-spacing:.12em;margin:0;text-transform:uppercase}.rust-scroll-cue i{background:rgba(247,76,0,.3);display:block;height:1px;overflow:hidden;position:relative;width:52px}.rust-scroll-cue i::after{animation:rust-cue 2.8s ease-in-out infinite;background:var(--forge-ember);content:"";inset:0;position:absolute;transform-origin:left}@keyframes rust-cue{0%{transform:scaleX(0)}45%{transform:scaleX(1)}100%{transform:scaleX(1)translateX(100%)}}.rust-chapter-index{display:grid;gap:clamp(14px,2vw,32px);grid-template-columns:repeat(4,minmax(0,1fr))}.rust-chapter-index a{color:var(--forge-secondary);display:grid;gap:2px 10px;grid-template-columns:auto minmax(0,1fr);text-decoration:none}.rust-chapter-index span{color:var(--forge-ember);font-family:var(--font-display);font-size:1.55rem;grid-row:1/3;line-height:1}.rust-chapter-index b{color:var(--forge-text);font-size:.74rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.rust-chapter-index small{color:#92806e;font-size:.69rem;line-height:1.35}.rust-chapter-index a:hover b,.rust-chapter-index a:hover small{color:var(--forge-heading)}.rust-chapter-01,.rust-chapter-02,.rust-chapter-03{border-top:1px solid rgba(247,76,0,.14);padding:clamp(78px,11vh,132px)0}.rust-chapter-01{background:linear-gradient(90deg,rgba(12,9,6,.96),rgba(20,16,12,.88) 58%,rgba(20,16,12,.68));padding-top:clamp(96px,13vh,156px)}.rust-chapter-02{background:linear-gradient(90deg,rgba(20,16,12,.97),rgba(29,23,18,.94) 72%,rgba(20,16,12,.82))}.rust-chapter-03{background:linear-gradient(90deg,rgba(12,9,6,.95),rgba(24,19,15,.92) 60%,rgba(20,16,12,.78))}.rust-chapter-final{background:var(--forge-base);border-top:1px solid var(--forge-line);padding:clamp(78px,11vh,132px)0 clamp(80px,12vh,144px)}.rust-chapter-content{display:grid;gap:clamp(56px,8vw,96px)}.rust-chapter-heading{align-items:center;display:grid;gap:18px;grid-template-columns:auto minmax(80px,1fr)minmax(280px,.82fr)}.rust-chapter-heading>p{align-items:baseline;color:var(--forge-muted);display:flex;font-size:.7rem;font-weight:600;gap:10px;letter-spacing:.1em;margin:0;text-transform:uppercase}.rust-chapter-heading>p span{color:var(--forge-ember);font-family:var(--font-display);font-size:2rem;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.rust-chapter-heading>p b{font-weight:600}.rust-chapter-heading>i{background:var(--forge-line);display:block;height:1px}.rust-chapter-heading h2{color:var(--forge-heading);font-family:var(--font-display);font-size:clamp(1.75rem,3.2vw,2.75rem);letter-spacing:-.035em;line-height:1.08;margin:0;text-wrap:balance}.rust-immersive .rust-section-kicker{color:var(--forge-ember);font-family:var(--font-sans,inherit);font-size:.72rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase}.rust-immersive .rust-section-title{color:var(--forge-heading);font-family:var(--font-display);font-size:clamp(1.7rem,3vw,2.5rem);letter-spacing:-.03em;line-height:1.1;margin:8px 0 12px;text-wrap:balance}.rust-immersive .rust-section-subtitle{color:var(--forge-secondary);font-size:clamp(.95rem,1.3vw,1.08rem);line-height:1.6;margin:0;max-width:66ch}.rust-card-grid{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:28px}.rust-card{background:rgba(29,23,18,.9);border:1px solid var(--forge-line);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.28);display:flex;flex-direction:column;gap:10px;min-width:0;padding:22px;transition:border-color 180ms cubic-bezier(.16,1,.3,1),transform 180ms cubic-bezier(.16,1,.3,1)}.rust-card:hover{border-color:var(--forge-line-strong);transform:translateY(-2px)}.rust-card h3{color:var(--forge-heading);font-family:var(--font-display);font-size:1.14rem;letter-spacing:-.01em;margin:0}.rust-card h3 a{color:inherit;text-decoration:none}.rust-card h3 a:hover{color:var(--forge-ember)}.rust-card p{color:var(--forge-secondary);font-size:.88rem;line-height:1.55;margin:0}.rust-card-tag{color:var(--forge-ember);font-size:.68rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase}.rust-card-link{color:var(--forge-ember);font-size:.82rem;font-weight:600;margin-top:auto;text-decoration:none}.rust-card-link:hover{color:var(--forge-heading)}.rust-split{display:grid;gap:clamp(24px,4vw,56px);grid-template-columns:minmax(0,1.05fr)minmax(0,.95fr)}.rust-checklist{display:grid;gap:0;list-style:none;margin:22px 0 0;padding:0}.rust-checklist li{border-top:1px solid var(--forge-line);color:var(--forge-secondary);font-size:.92rem;line-height:1.6;padding:14px 0}.rust-checklist strong{color:var(--forge-text)}.rust-immersive .code-window{background:#0e0b08;border:1px solid var(--forge-line);border-radius:12px;box-shadow:0 18px 48px rgba(0,0,0,.4);overflow:hidden}.rust-immersive .code-header{align-items:center;border-bottom:1px solid var(--forge-line);display:flex;gap:12px;padding:12px 16px}.rust-immersive .code-dots{display:flex;gap:6px}.rust-immersive .code-dots .dot{border-radius:50%;display:block;height:10px;width:10px}.rust-immersive .dot-red{background:#e5534b}.rust-immersive .dot-yellow{background:#d4a72c}.rust-immersive .dot-green{background:#57ab5a}.rust-immersive .code-filename{color:var(--forge-muted);font-family:var(--font-mono);font-size:.76rem}.rust-immersive .code-body{color:#e8ddd1;font-family:var(--font-mono);font-size:.85rem;line-height:1.7;margin:0;overflow-x:auto;padding:18px}.rust-immersive .code-body .kw{color:#ff8c3a}.rust-immersive .code-body .fn{color:#ffd9b8}.rust-immersive .code-body .str{color:#a5d6a7}.rust-stats{display:grid;gap:1px;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:28px}.rust-stats>div{border-left:1px solid var(--forge-line);padding:6px 0 6px 18px}.rust-stats .rust-stat-number{color:var(--forge-heading);display:block;font-family:var(--font-display);font-size:clamp(1.5rem,2.6vw,2.2rem);font-variant-numeric:tabular-nums;line-height:1.1}.rust-stats .rust-stat-label{color:var(--forge-muted);display:block;font-size:.74rem;letter-spacing:.04em;margin-top:4px;text-transform:uppercase}.rust-tile-row{display:grid;gap:1px;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:26px}.rust-tile-row a{background:var(--forge-surface);border:1px solid var(--forge-line);color:var(--forge-text);display:flex;flex-direction:column;font-weight:600;gap:4px;min-height:96px;justify-content:center;padding:18px;text-decoration:none;transition:border-color 180ms ease,transform 180ms ease}.rust-tile-row a:hover{border-color:var(--forge-line-strong);color:var(--forge-heading);transform:translateY(-1px)}.rust-actions-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}.rust-button-secondary{align-items:center;border:1px solid var(--forge-line-strong);border-radius:999px;color:var(--forge-text);display:inline-flex;font-size:.9rem;font-weight:600;gap:8px;min-height:46px;padding:10px 22px;text-decoration:none;transition:border-color 180ms ease,color 180ms ease}.rust-button-secondary:hover{border-color:var(--forge-ember);color:var(--forge-heading)}.rust-install{background:#0e0b08;border:1px solid var(--forge-line);border-radius:10px;display:flex;gap:10px;margin-top:20px;max-width:640px;padding:12px 14px}.rust-install code{color:#e8ddd1;font-family:var(--font-mono);font-size:.78rem;line-height:1.6;overflow-x:auto;white-space:nowrap}.rust-install button{background:0 0;border:0;color:var(--forge-ember);cursor:pointer;flex-shrink:0;padding:4px}.rust-install button:hover{color:var(--forge-heading)}.rust-immersive .newsletter{padding:0}.rust-immersive .newsletter-card{background:var(--forge-surface);border:1px solid var(--forge-line-strong);box-shadow:0 18px 48px rgba(0,0,0,.3)}.rust-final-grid{align-items:center;display:grid;gap:clamp(28px,5vw,64px);grid-template-columns:minmax(0,1.1fr)minmax(0,.9fr)}.rust-final-figure{margin:0}.rust-final-figure img{border:1px solid var(--forge-line);border-radius:14px;display:block;height:auto;width:100%}.rust-final-figure figcaption{color:var(--forge-muted);font-size:.72rem;line-height:1.5;margin-top:10px}.rust-final-price{align-items:baseline;display:flex;flex-wrap:wrap;gap:10px 16px;margin:22px 0 0}.rust-final-price strong{color:var(--forge-heading);font-family:var(--font-display);font-size:2rem;font-variant-numeric:tabular-nums;line-height:1}.rust-final-price small{color:var(--forge-muted);font-size:.8rem}.rust-final-list{color:var(--forge-secondary);display:grid;gap:8px;font-size:.92rem;line-height:1.55;list-style:none;margin:20px 0 0;padding:0}.rust-final-list li{align-items:baseline;display:flex;gap:10px}.rust-final-list li::before{color:var(--forge-ember);content:"→";flex-shrink:0}.rust-progress-rail{align-items:center;display:flex;flex-direction:column;gap:10px;left:auto;position:fixed;right:18px;top:50%;transform:translateY(-50%);z-index:45}.rust-progress-rail a{align-items:center;color:#ab9884;display:flex;gap:8px;min-height:22px;text-decoration:none}.rust-progress-rail span{background:rgba(247,76,0,.35);display:block;height:1px;transition:background 180ms ease,width 180ms ease;width:12px}.rust-progress-rail em{font-size:.56rem;font-style:normal;font-variant-numeric:tabular-nums;letter-spacing:.08em;opacity:0;transition:opacity 180ms ease}.rust-progress-rail a:hover span,.rust-progress-rail a[aria-current=step] span{background:var(--forge-ember);width:24px}.rust-progress-rail a:hover em,.rust-progress-rail a[aria-current=step] em{opacity:1}.rust-reveal-ready [data-rust-reveal]{opacity:0;transform:translate3d(0,22px,0)}.rust-reveal-ready [data-rust-reveal].rust-reveal-visible{opacity:1;transform:none;transition:opacity 520ms cubic-bezier(.16,1,.3,1),transform 620ms cubic-bezier(.16,1,.3,1)}@media(max-width:1260px){.rust-progress-rail{display:none}}@media(max-width:980px){.rust-hero-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.rust-hero-copy{grid-column:1/span 6}.rust-specimen-caption{grid-column:6/-1;margin-bottom:130px}.rust-chapter-heading,.rust-chapter-heading--logo{grid-template-columns:auto auto 1fr}.rust-chapter-heading h2{grid-column:1/-1;max-width:20ch}.rust-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rust-split{grid-template-columns:1fr}.rust-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}.rust-tile-row{grid-template-columns:repeat(2,minmax(0,1fr))}.rust-final-grid{grid-template-columns:1fr}}@media(max-width:760px){.rust-world-fallback{object-position:58% center}.rust-world-shade{background:linear-gradient(180deg,rgba(12,9,6,.56),rgba(12,9,6,.12) 42%,rgba(12,9,6,.9)),linear-gradient(90deg,rgba(12,9,6,.9),rgba(12,9,6,.28))}.rust-chapter-00,.rust-hero-grid{min-height:calc(100svh - 64px)}.rust-hero-grid{gap:18px;grid-template-columns:1fr;grid-template-rows:auto minmax(140px,1fr)auto;padding-bottom:22px;padding-top:44px}.rust-hero-copy{grid-column:1}.rust-immersive .rust-hero-copy h1{font-size:clamp(2.3rem,11vw,3.6rem);max-width:12ch}.rust-specimen-caption{align-self:end;grid-column:1;justify-self:end;margin-bottom:0;max-width:205px}.rust-mascot img{margin-bottom:10px;max-width:128px}.rust-hero-foot{gap:14px;grid-column:1;grid-template-columns:1fr}.rust-scroll-cue{display:none}.rust-chapter-index{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.rust-chapter-index a{display:flex;flex-direction:column;gap:3px}.rust-chapter-index span{font-size:1.35rem;grid-row:auto}.rust-chapter-index small{display:none}.rust-chapter-01,.rust-chapter-02,.rust-chapter-03,.rust-chapter-final{padding-block:70px}.rust-chapter-content{gap:56px}.rust-chapter-heading{gap:12px}.rust-chapter-heading>p span{font-size:1.65rem}.rust-card-grid{grid-template-columns:1fr}}@media(max-width:560px){.rust-immersive .container{padding-inline:16px}.rust-hero-grid{padding-top:34px}.rust-chapter-mark{margin-bottom:14px}.rust-immersive .rust-hero-lede{font-size:.94rem;line-height:1.52}.rust-hero-actions{align-items:stretch;flex-direction:column;gap:12px;margin-top:24px}.rust-hero-cta,.rust-hero-link{text-align:center}.rust-hero-link{padding:8px}.rust-specimen-caption{max-width:178px}.rust-chapter-heading,.rust-chapter-heading--logo{grid-template-columns:auto auto minmax(30px,1fr)}.rust-chapter-heading h2{font-size:1.8rem}.rust-logo-mark svg{height:34px;width:34px}.rust-stats{grid-template-columns:1fr;row-gap:14px}.rust-tile-row{grid-template-columns:1fr}.rust-install code{white-space:normal;word-break:break-all}}@media(max-width:360px){.rust-immersive .rust-hero-copy h1{font-size:2.2rem}.rust-chapter-index span{font-size:1.15rem}.rust-chapter-index b{font-size:.58rem}}@media(prefers-reduced-motion:reduce){.rust-immersive *,.rust-immersive *::before,.rust-immersive *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}.rust-reveal-ready [data-rust-reveal]{opacity:1;transform:none}}