/* Typed colors keep text, charts and surfaces on the same short transition. */
@property --paper{syntax:"<color>";inherits:true;initial-value:#f8f6f2}
@property --ink{syntax:"<color>";inherits:true;initial-value:#292c25}
@property --muted{syntax:"<color>";inherits:true;initial-value:#686a61}
@property --rule{syntax:"<color>";inherits:true;initial-value:#d4d1c8}
@property --rust{syntax:"<color>";inherits:true;initial-value:#8c3f2f}
@property --green{syntax:"<color>";inherits:true;initial-value:#64735a}
@property --surface{syntax:"<color>";inherits:true;initial-value:#eeece5}
@property --surface-active{syntax:"<color>";inherits:true;initial-value:#e4e2d9}
@property --card{syntax:"<color>";inherits:true;initial-value:#f1eee8}
@property --control-border{syntax:"<color>";inherits:true;initial-value:#c5c4b8}
@property --chart-rule{syntax:"<color>";inherits:true;initial-value:#c9c9bc}
@property --chart-grid{syntax:"<color>";inherits:true;initial-value:#d0d0c4}
@property --bar-track{syntax:"<color>";inherits:true;initial-value:#dcdcd1}
@property --bar-muted{syntax:"<color>";inherits:true;initial-value:#a3a89b}
@property --mini-track{syntax:"<color>";inherits:true;initial-value:#e8e5dd}
@property --mini-muted{syntax:"<color>";inherits:true;initial-value:#a5aa9c}
@property --plot-muted{syntax:"<color>";inherits:true;initial-value:#929c8a}
@property --plot-frontier{syntax:"<color>";inherits:true;initial-value:#939d89}
@property --code-border{syntax:"<color>";inherits:true;initial-value:#d3d1c6}
@property --code-comment{syntax:"<color>";inherits:true;initial-value:#777d6c}
@property --code-string{syntax:"<color>";inherits:true;initial-value:#5d724d}
@property --pagination{syntax:"<color>";inherits:true;initial-value:#9c9d90}
@property --accent-rule{syntax:"<color>";inherits:true;initial-value:#8c3f2f55}
@property --selection{syntax:"<color>";inherits:true;initial-value:#8c3f2f24}
@property --header-bg{syntax:"<color>";inherits:true;initial-value:rgba(248,246,242,.98)}
@property --closing-bg{syntax:"<color>";inherits:true;initial-value:#292c25}
@font-face{font-family:'Lattice Wordmark';src:url('assets/fonts/LatticeWordmark.woff2?v=f2ffe4b49927') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Cormorant;src:url('assets/fonts/CormorantGaramond.woff2') format('woff2');font-style:normal;font-weight:300 700;font-display:swap}
@font-face{font-family:Cormorant;src:url('assets/fonts/CormorantGaramond-Italic.woff2') format('woff2');font-style:italic;font-weight:300 700;font-display:swap}
:root{--feature-columns:minmax(0,.8fr) minmax(0,1.2fr);--feature-gap:80px;--opening-space:48px;--selection:#8c3f2f24;--surface:#eeece5;--chart-rule:#c9c9bc;--bar-track:#dcdcd1;--bar-muted:#a3a89b;--mini-track:#e8e5dd;--mini-muted:#a5aa9c;--surface-active:#e4e2d9;--control-border:#c5c4b8;--accent-rule:#8c3f2f55;--code-border:#d3d1c6;--code-comment:#777d6c;--code-string:#5d724d;--card:#f1eee8;--pagination:#9c9d90;--header-bg:rgba(248,246,242,.98);--chart-grid:#d0d0c4;--plot-muted:#929c8a;--plot-frontier:#939d89;--closing-bg:#292c25;--paper:#f8f6f2;--ink:#292c25;--muted:#686a61;--rule:#d4d1c8;--rust:#8c3f2f;--green:#64735a;--serif:Cormorant,Georgia,serif;--body:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--paper);color:var(--ink);font-family:var(--body);font-synthesis:none;scroll-behavior:smooth;scroll-padding-top:92px;color-scheme:light}
:root[data-theme=dark]{color-scheme:dark;--paper:#1e1e1e;--ink:#ece9e4;--muted:#b2afaa;--rule:#404040;--rust:#d69a80;--green:#aaa6a0;--surface:#262626;--surface-active:#333333;--card:#272727;--control-border:#595959;--chart-rule:#444444;--chart-grid:#454545;--bar-track:#3b3b3b;--bar-muted:#888580;--mini-track:#383838;--mini-muted:#888580;--plot-muted:#aaa6a0;--plot-frontier:#908c86;--code-border:#454545;--code-comment:#a6a19b;--code-string:#c6b9a3;--pagination:#8e8a84;--accent-rule:#d69a8055;--selection:#d69a8040;--header-bg:rgba(30,30,30,.98);--closing-bg:#171717;}
#brand-stage,.lattice-lockup{position:relative}
.theme-light{opacity:1}
.theme-dark{position:absolute;inset:0;width:100%;opacity:0;pointer-events:none}
:root[data-theme=dark] .theme-light{opacity:0}
:root[data-theme=dark] .theme-dark{opacity:1}
:root.theme-ready .theme-light,:root.theme-ready .theme-dark{transition:opacity .22s ease-out}
:root.theme-changing :is(.button,.theme-toggle,.release-icon,.deployment-tabs>button),:root.theme-changing .paper-pagination button:before{transition:none}
:root.theme-ready{transition:--paper .22s ease-out,--ink .22s ease-out,--muted .22s ease-out,--rule .22s ease-out,--rust .22s ease-out,--green .22s ease-out,--surface .22s ease-out,--surface-active .22s ease-out,--card .22s ease-out,--control-border .22s ease-out,--chart-rule .22s ease-out,--chart-grid .22s ease-out,--bar-track .22s ease-out,--bar-muted .22s ease-out,--mini-track .22s ease-out,--mini-muted .22s ease-out,--plot-muted .22s ease-out,--plot-frontier .22s ease-out,--code-border .22s ease-out,--code-comment .22s ease-out,--code-string .22s ease-out,--pagination .22s ease-out,--accent-rule .22s ease-out,--selection .22s ease-out,--header-bg .22s ease-out,--closing-bg .22s ease-out}
*{box-sizing:border-box}body{margin:0;-webkit-font-smoothing:antialiased}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:500}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}a,button{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--rust);outline-offset:5px}img,svg{display:block;max-width:100%}img{height:auto}em{font-weight:400}::selection{background:var(--selection)}[hidden]{display:none!important}.wrap{width:min(1200px,calc(100% - 112px));margin:auto}.section{padding:88px 0}.section h2{font-size:56px;line-height:1.08;letter-spacing:-.03em}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:32px;margin-bottom:48px}.quiet-link{font-size:14px;color:var(--muted);border-bottom:1px solid var(--rule);padding:7px 0}.quiet-link:hover{color:var(--rust)}.button{display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:49px;padding:12px 23px;background:var(--ink);color:var(--paper);font-size:15px;transition:background .2s}.button:hover{background:var(--rust)}.button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4}.skip{position:fixed;left:20px;top:-100px;padding:12px;background:var(--paper);z-index:100}.skip:focus{top:12px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.lattice-wordmark{font-family:'Lattice Wordmark',Georgia,serif;font-size:1em;font-weight:400;font-style:normal;font-kerning:none;font-feature-settings:'calt' 1;letter-spacing:0;white-space:nowrap;user-select:text;-webkit-user-select:text}.try-lattice-label{white-space:nowrap;user-select:text;-webkit-user-select:text}.try-lattice .lattice-wordmark,.desktop-nav .lattice-wordmark,.lattice-description .lattice-wordmark{font-size:1.16em;line-height:1}
#main{position:relative;z-index:1;background:var(--paper);padding-top:var(--opening-space)}
/* The opening wordmark has breathing room; the header box keeps a stable height. */
.site-header{position:fixed;inset:0 0 auto;z-index:50;isolation:isolate;pointer-events:none}
.site-header:before{content:'';position:absolute;inset:0;z-index:-1;background:var(--header-bg);border-bottom:1px solid var(--rule);opacity:0;transition:opacity .24s ease;will-change:opacity;pointer-events:none}
.header-inner{height:64px;width:min(1200px,calc(100% - 112px));margin:auto;display:flex;align-items:center;gap:26px}
.brand{display:flex;align-items:center;height:44px;width:242px;flex:none;pointer-events:auto;transform:translate3d(0,var(--opening-space),0);transition:transform .45s cubic-bezier(.22,.65,.3,1);will-change:transform}.brand #brand-stage{display:block;width:240px;height:34px}.brand img,.brand svg{width:100%;height:34px;max-width:none}.desktop-nav{margin-left:auto;display:flex;gap:29px;align-items:center}.desktop-nav,.header-actions{opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .25s,transform .25s,visibility .25s}.desktop-nav a{font-size:14px;white-space:nowrap;padding:10px 0;border-bottom:1px solid transparent}.desktop-nav a:hover,.desktop-nav a.active{border-color:var(--rust)}
.site-header.is-compact{pointer-events:auto}.is-compact .brand{transform:translate3d(0,0,0)}.site-header.is-compact:before{opacity:1}.is-compact .desktop-nav,.is-compact .header-actions{opacity:1;visibility:visible;transform:none}.header-actions{display:flex;align-items:center;gap:6px;flex:none}.menu-button{width:36px;height:44px;display:none;flex-direction:column;justify-content:center;gap:6px}.menu-button span{height:1px;width:23px;background:var(--ink);transition:transform .2s}.menu-button[aria-expanded=true] span:first-child{transform:translateY(3.5px) rotate(45deg)}.menu-button[aria-expanded=true] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}/* Keep the header divider fixed; only the dropdown below it changes height. */
.mobile-menu{position:absolute;inset:100% 0 auto;display:grid;grid-template-rows:0fr;visibility:hidden;pointer-events:none;transition:grid-template-rows .16s ease,visibility 0s .16s}
.mobile-menu.is-open{grid-template-rows:1fr;visibility:visible;pointer-events:auto;transition:grid-template-rows .16s ease,visibility 0s}
.mobile-menu-clip{min-height:0;overflow:hidden;background:var(--header-bg)}
.mobile-menu-clip:after{content:'';display:block;height:1px;background:var(--rule)}
.mobile-menu-inner{padding-block:8px 18px;opacity:0;transform:translateY(-6px);transition:opacity .12s ease,transform .16s ease}
.mobile-menu.is-open .mobile-menu-inner{opacity:1;transform:none}
.mobile-menu a{display:block;padding:11px 0;font-family:var(--serif);font-size:27px}
.theme-toggle{width:44px;height:44px;display:grid;place-items:center;padding:10px;color:var(--ink);border-radius:50%;transition:background .2s,color .2s}.theme-toggle:hover{background:var(--surface-active);color:var(--rust)}.theme-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}.bulb-rays{transition:opacity .22s ease-out}.theme-toggle[aria-pressed=true] .bulb-rays{opacity:0}
/* Both lines share a left edge; the title as a whole is centered on the page. */
.hero{min-height:clamp(500px,77svh,740px);display:flex;align-items:center;justify-content:center;padding:112px 0 62px}
.hero h1{width:max-content;max-width:100%;font-size:clamp(66px,8.3vw,116px);line-height:1.03;letter-spacing:-.045em;font-weight:500}.hero h1>span,.hero h1>em{display:block}.hero h1>em{color:var(--rust)}
.lattice-section{display:grid;grid-template-columns:var(--feature-columns);gap:var(--feature-gap);align-items:center;text-align:left;padding:24px 0 98px}.lattice-lockup{width:min(330px,100%);margin:0}.lattice-copy{min-width:0}.lattice-section h2{font-size:clamp(36px,3.4vw,44px);line-height:1.12;letter-spacing:-.025em}.lattice-description{text-align:left;max-width:none;margin:20px 0 26px;font-size:17px;line-height:1.8;color:var(--muted)}.lattice-actions{display:flex;align-items:center;justify-content:space-between;gap:28px}.release-links{display:flex;gap:16px;align-items:center}.release-icon{height:44px;width:37px;display:grid;place-items:center;color:var(--ink);transition:color .2s}.release-icon svg{width:27px;height:27px}.release-icon:hover{color:var(--rust)}.release-icon[aria-disabled=true]{cursor:default}.try-lattice{min-width:162px;margin-left:auto;flex-shrink:0;user-select:text;-webkit-user-select:text;-webkit-user-drag:none}
.performance-section{background:var(--surface)}.benchmark-tabs{display:flex;align-items:center;gap:26px}.benchmark-tabs button{padding:13px 0;font-size:16px;border-bottom:2px solid transparent;color:var(--muted);white-space:nowrap}.benchmark-tabs button[aria-selected=true]{color:var(--ink);border-color:var(--rust)}.benchmark-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:64px;align-items:center;min-height:370px}.benchmark-big{font-family:Georgia,serif;font-size:100px;font-weight:500;letter-spacing:-.05em;line-height:1;color:var(--rust);white-space:nowrap}.benchmark-big small{font-size:42px;letter-spacing:-.03em;color:var(--muted);margin-left:12px}.benchmark-label{font-size:18px;line-height:1.65;max-width:300px;margin-top:20px}.benchmark-secondary{margin-top:32px;padding-top:26px;border-top:1px solid var(--chart-rule);max-width:320px}.benchmark-secondary strong{font-family:Georgia,serif;font-size:45px;font-weight:500;line-height:1}.benchmark-secondary p{font-size:14px;line-height:1.7;color:var(--muted);margin-top:8px}.chart-caption{font-size:14px;color:var(--muted);margin-bottom:23px}.chart svg{width:100%;height:auto;overflow:visible}.chart-foot{font-size:12px;line-height:1.65;color:var(--muted);margin-top:19px}.chart-axis{font-family:var(--body);font-size:14px;fill:var(--muted)}.chart-label{font-family:var(--body);font-size:14px;fill:var(--ink)}.chart-label.featured{fill:var(--rust);font-weight:650}.bar-row{margin:0 0 18px}.bar-row-heading{display:flex;justify-content:space-between;gap:20px;font-size:14px;margin-bottom:8px}.bar-row-heading strong{font-family:Georgia,serif;font-weight:500;font-variant-numeric:tabular-nums}.bar-track{height:6px;background:var(--bar-track)}.bar{height:100%;width:var(--bar-width);background:var(--bar-muted)}.bar-row.featured .bar-row-heading{color:var(--rust);font-weight:600}.featured .bar{background:var(--rust)}.bar-axis{font-family:Georgia,serif;display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:12px;border-top:1px solid var(--chart-rule);padding-top:9px}.benchmark-details{margin-top:37px;padding-top:18px;border-top:1px solid var(--chart-rule);font-size:14px;color:var(--muted)}.benchmark-details summary{cursor:pointer;width:max-content;max-width:100%;padding:8px 0}.benchmark-details p{max-width:950px;line-height:1.8;margin:15px 0}.benchmark-details a{text-decoration:underline;text-underline-offset:3px;color:var(--rust)}
.application-card{border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:31px 29px 27px;min-width:0;display:flex;flex-direction:column}.application-card header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:29px}.application-card h3{font-size:30px;line-height:1.1;letter-spacing:-.02em}.application-icon{width:43px;height:43px;flex:none;color:var(--green)}.application-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.application-value{font-family:Georgia,serif;color:var(--rust);font-size:65px;letter-spacing:-.04em;line-height:1}.application-value small{font-size:29px;margin-left:3px;letter-spacing:-.02em}.application-metric{font-size:14px;line-height:1.7;margin-top:13px}.application-context{font-size:12px;line-height:1.7;color:var(--muted);margin:6px 0 23px}.application-comparison{margin-top:auto}.mini-row{margin-top:12px}.mini-row>div:first-child{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:6px}.mini-row>div:first-child>span:last-child,.metric-number{font-family:Georgia,serif}.mini-track{height:4px;background:var(--mini-track)}.mini-track span{display:block;height:100%;width:var(--width);background:var(--mini-muted)}.mini-row.lattice .mini-track span{background:var(--rust)}.mini-row.lattice>div:first-child{color:var(--ink)}
.get-started-section{background:var(--surface)}.get-started-section h2{margin-bottom:45px}.deployment-layout{display:grid;grid-template-columns:.85fr 1.35fr;gap:65px;align-items:start}.deployment-tabs{display:flex;flex-direction:column}.deployment-tabs>button{text-align:left;padding:22px 25px;border-left:2px solid var(--rule);transition:background .2s,border-color .2s}.deployment-tabs>button[aria-selected=true]{border-left-color:var(--rust);background:var(--surface-active)}.deployment-tabs>button>span{display:flex;align-items:center;flex-wrap:wrap;gap:15px;font-family:var(--serif);font-size:32px;line-height:1.2}.deployment-tabs small{display:block;font-size:15px;font-weight:400;color:var(--muted);line-height:1.7;margin-top:9px}.deployment-tabs i{font:12px var(--body);color:var(--muted);border:1px solid var(--control-border);padding:4px 7px}.deployment-links{display:flex;gap:25px;padding:25px;font-size:14px;flex-wrap:wrap}.deployment-links a{border-bottom:1px solid var(--accent-rule);padding-bottom:6px;color:var(--rust)}.deployment-links p{font-size:14px;line-height:1.8;color:var(--muted)}.code-panel{background:var(--paper);border:1px solid var(--code-border);min-width:0}.code-toolbar{display:flex;justify-content:space-between;align-items:center;padding:16px 25px;border-bottom:1px solid var(--rule);font-size:13px;color:var(--muted)}.code-toolbar button{font-size:13px;padding:4px 0;color:var(--ink)}.code-panel pre{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.9;overflow-x:auto;margin:0;padding:25px;min-height:291px;tab-size:4}.code-panel code{font:inherit;white-space:pre}.code-comment{color:var(--code-comment)}.code-keyword{color:var(--rust)}.code-string{color:var(--code-string)}.code-note{font-size:12px;color:var(--muted);line-height:1.6;padding:0 25px 22px;min-height:40px}


@media(max-width:1100px){.wrap,.header-inner{width:calc(100% - 72px)}.desktop-nav{gap:22px}.brand{width:210px}.brand #brand-stage{width:210px;height:30px}.brand img,.brand svg{height:30px}.section h2{font-size:52px}.benchmark-layout{gap:40px;grid-template-columns:.8fr 1.2fr}.benchmark-big{font-size:86px}.benchmark-big small{font-size:32px}.application-card{padding:26px 23px}.application-card h3{font-size:27px}.application-icon{width:36px;height:36px}.application-value{font-size:57px}.deployment-layout{gap:38px}}
@media(max-width:850px){.lattice-section{grid-template-columns:1fr;gap:30px;text-align:center}.lattice-lockup{width:min(300px,74%);margin:auto}.lattice-copy{max-width:620px;margin:auto}.lattice-description{margin:20px auto 26px}.header-inner{gap:18px}.desktop-nav{gap:17px}.desktop-nav a{font-size:13px}.brand{width:190px}.brand #brand-stage{width:190px;height:27px}.brand img,.brand svg{height:27px}.section{padding:70px 0}.section-heading{align-items:flex-start;gap:25px}.section h2{font-size:46px}.benchmark-tabs{gap:21px}.benchmark-tabs button{font-size:14px}.benchmark-layout{gap:28px;grid-template-columns:.78fr 1.2fr}.benchmark-big{font-size:72px}.benchmark-big small{font-size:26px}.benchmark-label{font-size:16px}.application-grid{grid-template-columns:repeat(2,1fr)}.application-card{padding:28px}.deployment-layout{grid-template-columns:1fr 1.3fr;gap:24px}.deployment-tabs>button{padding:19px}.deployment-tabs>button>span{font-size:28px}.deployment-links{padding:21px 19px}.code-panel pre{font-size:12px;padding:22px}}
@media(max-width:800px){.desktop-nav{display:none}.header-actions{margin-left:auto}.menu-button{display:flex}}
@media(max-width:700px){:root{--opening-space:32px;scroll-padding-top:84px}.wrap,.header-inner{width:calc(100% - 44px)}.header-inner{height:60px}.brand{flex:1;min-width:0}.brand #brand-stage{width:211px;height:30px}.brand svg,.brand img{height:30px}.desktop-nav{display:none}.header-actions{display:flex}.hero{min-height:0;padding:124px 0 56px}.hero h1{font-size:clamp(40px,calc(14vw - 6px),66px);line-height:1.07;letter-spacing:-.04em}.hero h1 em{max-width:550px}.lattice-section{padding:14px 0 62px;gap:26px}.lattice-lockup{width:min(240px,62%);margin:auto}.lattice-section h2{font-size:32px;max-width:420px;margin:auto;line-height:1.15}.lattice-section h2 .lattice-claim{white-space:nowrap}.lattice-description{font-size:16px;line-height:1.75;margin:20px auto 25px}.lattice-actions{gap:20px;flex-wrap:wrap}.release-links{gap:10px}.release-icon{width:28px}.release-icon svg{width:24px;height:24px}.button{font-size:14px;gap:20px;padding:11px 18px;min-height:46px}.try-lattice{min-width:143px}.section{padding:59px 0}.section h2{font-size:36px}.section-heading{display:block;margin-bottom:35px}.section-heading .quiet-link{display:inline-block;margin-top:18px}.benchmark-tabs{margin-top:22px;gap:25px}.benchmark-layout{grid-template-columns:1fr;gap:34px}.benchmark-big{font-size:88px}.benchmark-big small{font-size:37px}.benchmark-label{font-size:17px;max-width:320px;margin-top:13px}.benchmark-secondary{margin-top:22px;padding-top:19px;max-width:none;display:flex;align-items:baseline;gap:18px}.benchmark-secondary strong{font-size:38px;white-space:nowrap}.benchmark-secondary p{font-size:13px;max-width:190px;margin:0}.chart-caption{margin-bottom:18px;font-size:13px}.chart-foot{font-size:12px;margin-top:16px}.benchmark-details{margin-top:27px}.application-card{padding:23px 17px}.application-card header{display:block;margin-bottom:21px}.application-card h3{font-size:26px}.application-icon{margin-top:17px;width:35px;height:35px}.application-value{font-size:clamp(46px,12.3vw,49px)}.application-value small{font-size:22px}.application-metric{font-size:14px}.application-context{font-size:12px}.application-source{font-size:12px}.deployment-layout{grid-template-columns:1fr;gap:25px}.get-started-section h2{max-width:400px;margin-bottom:29px}.deployment-tabs{flex-direction:row}.deployment-tabs>button{flex:1;padding:17px 15px;border-left:0;border-bottom:2px solid var(--rule)}.deployment-tabs>button[aria-selected=true]{border-bottom-color:var(--rust)}.deployment-tabs>button>span{font-size:26px;gap:7px}.deployment-tabs i{font-size:10px;padding:3px 5px}.deployment-tabs small{font-size:14px}.deployment-links{padding:19px 0 0;min-height:42px}.code-panel pre{font-size:12px;line-height:1.9;min-height:270px;padding:22px 18px}.code-toolbar{padding:13px 18px}.code-note{padding:0 18px 19px;font-size:12px}}
@media(max-width:380px){.brand #brand-stage{width:192px;height:27px}.brand svg,.brand img{height:27px}.lattice-section h2{font-size:31px}.lattice-actions{gap:6px}.release-links{gap:6px}.release-icon{width:23px}.button{padding:10px 15px;gap:12px}.try-lattice{min-width:130px;padding-inline:14px}.benchmark-tabs{gap:19px}.application-card{padding:27px}.application-card header{display:flex}.application-card h3{font-size:31px}.application-icon{margin:0;width:40px;height:40px}.application-value{font-size:64px}.section h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}



/* Changing examples let the shared prediction pattern speak for itself. */
.prediction-section{padding:16px 0 104px}
.prediction-content{position:relative;isolation:isolate;display:grid;grid-template-columns:var(--feature-columns);gap:var(--feature-gap);align-items:center;opacity:1;transform:none;transition:opacity .18s ease,transform .18s ease}
.prediction-story{width:calc(100% / 1.04);transform-origin:left center;transition:transform .18s ease}
.prediction-content.is-reading .prediction-story{transform:scale(1.04)}
.prediction-content.is-changing{opacity:0;transform:translateY(4px)}
.prediction-story p{font-size:16px;color:var(--rust);margin-bottom:18px}
.prediction-story h2{font-size:38px;line-height:1.15;letter-spacing:-.025em;max-width:380px}
.prediction-table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
.prediction-table th,.prediction-table td{text-align:center;font-weight:400;padding:10px 9px;line-height:1.4}
.prediction-table th{height:56px;font-size:14px;color:var(--muted);border-bottom:1px solid var(--rule)}
.prediction-table td{height:43px;font-size:16px;color:var(--muted)}
.prediction-table tbody tr+tr td{border-top:1px solid var(--rule)}
.prediction-table .prediction-new-row td{height:65px;background:var(--surface);color:var(--ink)}
.prediction-table .prediction-estimate{color:var(--rust);white-space:nowrap}
.prediction-estimate strong{font-family:var(--serif);font-size:31px;font-weight:500;color:var(--rust)}
.prediction-table .prediction-number,.prediction-estimate.prediction-number strong{font-family:Georgia,'Times New Roman',serif;font-variant-numeric:lining-nums tabular-nums}
.prediction-estimate.prediction-number strong{font-size:28px}
.prediction-estimate>span:first-child{font-family:var(--body);font-size:19px;margin-right:7px;color:var(--rust)}
@media(max-width:1100px){:root{--feature-gap:45px}.prediction-story h2{font-size:34px}}
@media(max-width:850px){.prediction-content{grid-template-columns:1fr;gap:20px}.prediction-story{min-height:100px}.prediction-story h2{max-width:580px;font-size:33px}.prediction-story p{margin-bottom:11px}.prediction-section{padding-bottom:85px}}
@media(max-width:700px){.prediction-section{padding:0 0 65px}.prediction-story{min-height:115px}.prediction-story h2{font-size:30px}.prediction-table th{font-size:14px;padding-inline:5px;height:60px}.prediction-table td{font-size:16px;padding-inline:5px}.prediction-estimate strong{font-size:25px}.prediction-estimate.prediction-number strong{font-size:23px}.prediction-estimate>span:first-child{font-size:15px;margin-right:3px}}
@media(max-width:380px){.prediction-story{min-height:120px}.prediction-story h2{font-size:28px}.prediction-estimate strong,.prediction-estimate.prediction-number strong{font-size:21px}.prediction-estimate>span:first-child{font-size:12px;margin-right:1px}.prediction-table td{font-size:15px}}

/* Compact cards retain a preview of the next paper at narrow widths. */
.research-section h2{margin-bottom:36px}
.application-carousel{--paper-gap:20px;--application-width:clamp(300px,30vw,380px)}
.application-carousel .application-card{flex:0 0 var(--application-width);aspect-ratio:1;min-height:360px;padding:24px;border:1px solid var(--rule);background:var(--card)}
.application-carousel .application-card header{display:flex;align-items:center;gap:14px;min-height:52px;margin:0 0 14px}
.application-carousel .application-card h3{font-size:29px;line-height:1.08}
.application-carousel .application-icon{width:38px;height:38px;margin:0;color:var(--muted)}
.application-carousel .application-value{font-size:56px;line-height:1.05}
.application-carousel .application-value small{font-size:25px}
.application-carousel .application-metric{font-size:14px;line-height:1.45;margin-top:9px}
.application-carousel .application-context{font-size:12px;line-height:1.45;margin:5px 0 12px}
.application-carousel .application-comparison{margin-top:auto}
.application-carousel .mini-row{margin-top:10px}
.application-carousel .mini-row>div:first-child{font-size:13px;margin-bottom:5px}
.application-carousel .mini-row .lattice-wordmark{font-size:1.1em}
@media(max-width:700px){.application-carousel{--paper-gap:16px;--application-width:min(300px,calc(100vw - 64px))}.application-carousel .application-card{min-height:360px;padding:20px}.application-carousel .application-card h3{font-size:26px}.application-carousel .application-card header{min-height:48px;margin-bottom:12px}.application-carousel .application-icon{width:32px;height:32px}.application-carousel .application-value{font-size:48px}.application-carousel .application-value small{font-size:22px}.application-carousel .application-metric{font-size:13px}}
.research-carousel{--paper-width:clamp(240px,28vw,360px);--paper-gap:20px}
.paper-viewport{overflow:hidden;touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none}
.paper-viewport.dragging{cursor:grabbing}
.paper-track{display:flex;gap:var(--paper-gap);align-items:stretch;will-change:transform}
.paper-card{flex:0 0 var(--paper-width);min-width:0;min-height:clamp(272px,28vw,360px);display:flex;flex-direction:column;padding:clamp(20px,2vw,28px);border:1px solid var(--rule);background:var(--card)}
.paper-meta{margin-bottom:clamp(14px,1.6vw,23px)}
.paper-meta strong{display:block;font-family:var(--serif);font-size:clamp(29px,2.8vw,38px);font-weight:500;line-height:1.1;margin-bottom:6px}
.paper-meta span{display:block;font-size:12px;color:var(--muted);line-height:1.6}
.paper-title{font-size:clamp(21px,2.05vw,27px);line-height:1.15;letter-spacing:-.015em}
.paper-title a:hover{color:var(--rust)}
.paper-link{font-size:13px;line-height:1.6;color:var(--rust);border-bottom:1px solid var(--accent-rule);align-self:flex-start;margin-top:auto;padding-top:18px;padding-bottom:4px}
.deployment-links,.code-examples{display:grid}
.deployment-resources,.code-example{grid-area:1/1;visibility:hidden;pointer-events:none}
.deployment-resources{display:flex;align-items:start;flex-wrap:wrap;gap:25px}
.code-example{display:flex;flex-direction:column;min-width:0}
.code-example pre{flex:1}
.code-example .code-note{margin-top:auto}
[data-deployment-view].is-active{visibility:visible;pointer-events:auto}
.application-card h3,.application-value,.paper-meta strong,.paper-title{transform-origin:left center;transition:transform 180ms ease-out}
.application-card.is-reading h3,.application-card.is-reading .application-value,.paper-card.is-reading .paper-meta strong,.paper-card.is-reading .paper-title{transform:scale(1.04)}
.paper-pagination{display:flex;justify-content:center;gap:2px;margin-top:18px}
.paper-pagination button{width:32px;height:36px;display:grid;place-items:center}
.paper-pagination button:before{content:'';display:block;width:8px;height:8px;border:1px solid var(--pagination);background:transparent;transition:background .2s,border-color .2s}
.paper-pagination button[aria-current=true]:before{background:var(--rust);border-color:var(--rust)}
.arena-layout{display:grid;grid-template-columns:minmax(370px,.88fr) minmax(430px,1.12fr);gap:80px;align-items:center}
.benchmark-stage{align-items:stretch}
.performance-section .section-heading{margin-bottom:32px}
#benchmark-comparison,#benchmark-content,.benchmark-visual{min-width:0}
#benchmark-content{container-type:inline-size}
#benchmark-comparison{padding-top:8px}
.benchmark-visual{position:relative;display:flex;flex-direction:column}
.benchmark-visual #benchmark-content{flex:1;min-height:0}
.benchmark-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.benchmark-toolbar .benchmark-tabs{gap:18px;margin-top:0;flex-shrink:0}
.benchmark-toolbar .benchmark-tabs button{font-size:14px;padding:8px 0}
#benchmark-source{font-size:14px;line-height:1.5;white-space:nowrap;color:var(--rust);border-bottom:1px solid var(--accent-rule);margin-left:auto}
.benchmark-source-short{display:none}
.benchmark-bio-plot{--bio-name-width:158px;--bio-column-gap:18px;height:420px;display:flex;flex-direction:column;padding-top:12px}
.bio-score-list{flex:1;min-height:0;display:grid;grid-template-rows:repeat(7,minmax(0,1fr));gap:8px}
.bio-score-row{display:grid;grid-template-columns:var(--bio-name-width) minmax(0,1fr);column-gap:var(--bio-column-gap);align-items:center}
.bio-score-name{font-size:16px;line-height:1.3}
.bio-score-name .lattice-wordmark{font-size:1.17em}
.bio-score-track{display:block;height:34px;background:color-mix(in srgb,var(--ink) 5%,transparent)}
.bio-score-fill{display:flex;align-items:center;justify-content:flex-end;height:100%;background:color-mix(in srgb,var(--ink) 17%,transparent)}
.bio-score-fill b{font:400 20px Georgia,serif;font-variant-numeric:tabular-nums;padding:0 7px;white-space:nowrap}
.bio-score-row.featured{color:var(--rust)}
.bio-score-row.featured .bio-score-fill{background:color-mix(in srgb,var(--rust) 30%,transparent)}
.bio-score-footer{margin:14px 0 0 calc(var(--bio-name-width) + var(--bio-column-gap))}
.bio-score-axis{display:flex;justify-content:space-between;font:400 14px Georgia,serif;color:var(--muted)}
.bio-score-footer p{font-size:13px;line-height:1.4;text-align:center;color:var(--muted);margin-top:12px}
@container(max-width:500px){.benchmark-bio-plot{--bio-name-width:130px;--bio-column-gap:12px}.bio-score-name{font-size:14px}.bio-score-fill b{font-size:18px;padding:0 5px}}
@container(max-width:340px){.benchmark-bio-plot{--bio-name-width:120px;--bio-column-gap:10px}.bio-score-footer p{font-size:12px}}
.arena-comparison{min-width:0}
.arena-comparison table{width:100%;border-collapse:collapse;table-layout:fixed}
.arena-model-col{width:34%}
.arena-comparison th{text-align:left;font-weight:400}
.arena-comparison thead th{font:400 16px var(--body);padding:0 0 15px;vertical-align:top}
.arena-comparison thead th:first-child{color:var(--muted)}
.arena-comparison thead small{font-size:12px;color:var(--muted);margin-left:6px}
.arena-time-heading{white-space:nowrap}
.arena-comparison tbody th{font-size:16px;line-height:1.3;padding:17px 8px 17px 0}
.arena-comparison td{padding:12px 0 12px 18px;vertical-align:middle}
.arena-comparison thead th:not(:first-child){padding-left:18px}
.arena-value{position:absolute;inset:0;display:flex;align-items:center;justify-content:flex-end;padding:0 8px;font:400 20px Georgia,serif;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.1}
.arena-bar{position:relative;display:block;height:36px;background:color-mix(in srgb,var(--ink) 5%,transparent)}
.arena-bar i{display:block;height:100%;background:var(--ink);opacity:.17}
.arena-ours th,.arena-ours .arena-value{color:var(--rust)}
.arena-ours .lattice-wordmark{font-size:1.17em}
.arena-ours .arena-value{font-size:24px}
.arena-ours .arena-bar i{background:var(--rust);opacity:.3}
.arena-figure{min-width:0;height:100%}
.arena-plot{position:relative;width:100%;height:420px;min-width:0;color:var(--ink);--arena-muted:#999}
:root[data-theme=dark] .arena-plot{--arena-muted:#858585}
.arena-plot svg{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible}
.arena-grid path{stroke:var(--chart-grid);stroke-width:.7;fill:none}
.arena-grid text{font-family:Georgia,serif;font-size:14px;fill:var(--muted)}
.arena-axis-title{font-family:var(--body);font-size:13px;fill:var(--muted)}
.arena-frontier{fill:none;stroke:var(--ink);stroke-opacity:.7;stroke-width:1.2;stroke-dasharray:5 5;pointer-events:none}
.arena-trajectory{fill:none;stroke:var(--arena-muted);stroke-width:1;opacity:.45;pointer-events:none}
.arena-point{color:var(--arena-muted);fill:currentColor;cursor:pointer}
.arena-point.on-front{color:var(--ink)}
.arena-point.on-front:not(.is-lattice) .arena-dot{fill-opacity:.7}
.arena-point.is-lattice{color:var(--rust)}
.arena-hit{fill:transparent;stroke:transparent}
.arena-point.is-active .arena-hit,.arena-point:focus-visible .arena-hit{stroke:currentColor;stroke-width:1;stroke-opacity:.65}
.arena-point:focus-visible{outline:none}
.arena-labels{pointer-events:none}
.arena-point-label{font:500 16px var(--body);fill:var(--rust);paint-order:stroke;stroke:var(--surface);stroke-width:4px;stroke-linejoin:round}
.arena-point-label .lattice-wordmark{font-size:1.17em}
.arena-tooltip{position:absolute;z-index:4;width:230px;max-width:calc(100% - 8px);padding:15px 17px;background:var(--paper);border:1px solid var(--rule);box-shadow:0 5px 20px #0002;color:var(--ink);pointer-events:none}
.arena-tooltip>strong{display:block;font-size:15px;font-weight:500;overflow-wrap:anywhere}
.arena-tooltip .lattice-wordmark{font-size:1.16em}
.arena-tip-variant{display:block;margin-top:5px;font-size:12px;color:var(--muted)}
.arena-tooltip dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:10px 12px;margin:15px 0 0;font-size:12px;align-items:baseline}
.arena-tooltip dt{color:var(--muted)}
.arena-tooltip dt,.arena-tooltip dd{min-width:0;overflow-wrap:anywhere}
.arena-tooltip dd{margin:0;text-align:right}
.arena-tip-unit{display:block;margin-top:3px;font-size:11px;line-height:1.35;color:var(--muted)}
.arena-tooltip b{font:400 17px Georgia,serif}
@media(max-width:1040px){.arena-layout{grid-template-columns:1fr;gap:32px}.arena-comparison{width:100%;max-width:660px}}
@container(max-width:599px){.arena-plot,.benchmark-bio-plot{height:380px}}
@media(min-width:1041px){.benchmark-toolbar{position:absolute;inset:auto 0 100%;margin-bottom:12px}.arena-plot,.benchmark-bio-plot{height:100%}}
@media(max-width:700px){#benchmark-comparison{padding-top:0}.performance-section .section-heading{margin-bottom:24px}}
@media(max-width:600px){.benchmark-toolbar{gap:10px;margin-bottom:8px}.benchmark-toolbar .benchmark-tabs{gap:12px}.benchmark-toolbar .benchmark-tabs button,#benchmark-source{font-size:13px}.benchmark-source-label{display:none}.benchmark-source-short{display:inline}}
@media(max-width:600px){.arena-axis-title{font-size:12px}.arena-point-label{font-size:14px}.arena-comparison td{padding-left:8px}.arena-comparison thead th{font-size:14px}.arena-comparison thead th:not(:first-child){padding-left:8px}.arena-comparison thead small{margin-left:4px}.arena-model-col{width:34%}.arena-elo-col{width:24%}.arena-value,.arena-ours .arena-value{font-size:18px;padding-inline:3px}.arena-comparison tbody th{font-size:14px}}
.site-footer{background:#171717;color:#ece9e4;padding:76px 0 70px}
.footer-space{display:none}
:root.footer-in-view{background:#171717}
.footer-at-end .footer-space{display:block;height:var(--footer-height)}
.footer-at-end .site-footer{position:fixed;inset:auto 0 0;z-index:0}
.footer-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:start;container:footer / inline-size}
.footer-brand{min-width:0;container-type:inline-size}
.footer-brand-row{display:flex;align-items:flex-start;gap:clamp(24px,6cqi,36px)}
.footer-brand-row>a{display:block;flex:none;width:260px;max-width:100%}
.footer-brand p{margin-top:22px;font-family:var(--serif);font-size:clamp(18px,7.5cqi,28px);line-height:1.2;letter-spacing:-.015em;color:#c5c1b9;white-space:nowrap}
.footer-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.footer-group h2{font-family:var(--body);font-size:13px;line-height:1.5;font-weight:500;color:#a39f99;margin-bottom:19px}
.footer-group>a,.footer-group>button{display:table;font-size:16px;line-height:1.5;padding:5px 0;margin-bottom:6px;text-align:left;color:inherit}
.footer-group>a:hover,.footer-group>button:hover{color:#d69a80}
.footer-group .lattice-wordmark{font-size:1.16em}
.footer-socials{display:flex;flex-shrink:0;gap:12px}
.footer-brand-row .footer-socials{margin-top:7px}
.footer-socials-bottom{display:none;grid-column:1/-1;justify-self:center;width:max(144px,calc(100vw / 3));max-width:100%;justify-content:space-between;gap:12px;margin-top:-12px}
.footer-socials .release-icon{width:27px;height:36px;color:#ece9e4}
.footer-socials .release-icon svg{width:24px;height:24px}
.footer-socials .release-icon:hover{color:#d69a80}
@container footer (max-width:902px){.footer-brand-row .footer-socials{display:none}.footer-socials-bottom{display:flex}}
.footer-noscript{font-size:14px;color:#c5c1b9}
.about-dialog{width:min(520px,calc(100% - 44px));padding:44px 38px 38px;border:1px solid var(--rule);background:var(--paper);color:var(--ink);font-family:var(--body);box-shadow:0 16px 80px #0003}
.about-dialog::backdrop{background:#0008}
.about-dialog h2{font-size:40px;margin:0 0 20px;line-height:1.1}
.about-dialog p{font-size:17px;line-height:1.7;margin-bottom:24px}
.about-dialog>a{font-size:16px;color:var(--rust);text-decoration:underline;text-underline-offset:4px}
.dialog-close{position:absolute;right:10px;top:10px;width:36px;height:36px;display:grid;place-items:center}
.dialog-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4}
@media(max-width:850px){.footer-layout{grid-template-columns:1fr 1fr;gap:40px}.footer-navigation{gap:20px}}
@media(max-width:700px){.research-carousel{--paper-gap:16px}.research-section h2{margin-bottom:29px}.site-footer{padding:48px 0}.footer-layout{grid-template-columns:1fr;gap:38px}.footer-brand-row>a{width:224px}.footer-socials .release-icon{height:44px}.footer-brand p{margin-top:18px}.footer-navigation{gap:16px}.footer-group h2{margin-bottom:12px}.about-dialog{padding:42px 25px 30px}}
