:root{color-scheme:light;--page:#f6f7f8;--ink:#202326;--muted:#62676e;--line:#dce0e3;--accent:#3563e9;--accent-dark:#244aaa;--sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:0}
body{margin:0;background:var(--page);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
a,button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
a{color:inherit;text-decoration:none}
p,h1,h2,h3{margin:0}
svg{display:block}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent-dark);outline-offset:4px}
::selection{background:#c3d1ff;color:var(--ink)}
[hidden]{display:none!important}
.icon-defs{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.container{width:min(1280px,calc(100% - 112px));margin-inline:auto}
.skip-link{position:fixed;top:12px;left:12px;z-index:20;background:var(--ink);color:white;padding:12px 18px;transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}

/* The brand belongs to the introduction, above the headline. */
.brand{display:inline-flex;align-items:center;gap:16px;font-size:clamp(68px,5.6vw,78px);font-weight:700;letter-spacing:-2.4px;white-space:nowrap;line-height:1}
.brand-light{font-weight:400}
.brand-mark{width:80px;height:80px;flex-shrink:0;background:var(--accent);color:white;border-radius:17px;display:grid;place-items:center}
.brand-mark svg{width:78%;height:78%}
.hero-brand{margin-bottom:44px}

.landing{min-height:100vh;min-height:min(100svh,980px);display:flex;flex-direction:column}
.hero{flex:1 0 auto;padding-block:32px 28px;display:grid;grid-template-columns:.98fr 1.12fr;gap:50px;align-items:center}
.hero-copy{min-width:0}
.hero h1{font-size:clamp(52px,5.25vw,74px);font-weight:500;line-height:1.04;letter-spacing:-.065em;margin-left:-5px;white-space:nowrap}
.hero h1>span{color:var(--accent)}
.hero-description{max-width:440px;font-size:18px;color:var(--muted);line-height:1.65;margin-top:20px;letter-spacing:-.015em}
.hero-actions{display:flex;margin-top:24px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:13px 18px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;border:1px solid transparent;border-radius:5px;transition:background .16s,transform .16s,box-shadow .16s}
.button-primary{background:#2854ca;color:#fff}
.button-primary:not(:disabled):hover{background:#2248b3;box-shadow:0 4px 12px #244aaa20;transform:translateY(-1px)}
.button-primary:not(:disabled):active{transform:translateY(0)}
.button:disabled{cursor:default}
.button-arrow{width:17px;height:17px;margin-left:7px}
.hero-note{font-size:13px;color:var(--muted);margin-top:17px}
.release-requirements{font-size:12px;line-height:1.65;color:var(--muted);margin-top:5px}
.development-note{max-width:440px;font-size:12px;line-height:1.55;color:var(--muted);margin-top:12px;padding-left:11px;border-left:2px solid #9fb2e9}
.development-note strong{color:var(--ink);font-weight:600}

/* Reserved for the real application screenshot or video. */
.hero-product{min-width:0}
.product-stage{position:relative;isolation:isolate;padding:20px 0 20px 24px}
.product-stage::before{content:"";position:absolute;inset:0 -25px 0 0;background:#e9ecee;border:1px solid #e2e6e8;border-radius:7px;z-index:-1}
.product-stage::after{content:"";position:absolute;inset:auto -25px 0 0;height:4px;background:linear-gradient(90deg,var(--accent) 0 62px,transparent 62px);z-index:-1}
.screenshot-placeholder{aspect-ratio:3/2;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px solid #cbd0d5;border-radius:8px;background:#f9fafb;box-shadow:0 20px 45px -20px #202a3c42,0 2px 8px #22282c0a;transform:translateX(-8px);color:#68747d}
.placeholder-mark{width:54px;height:54px;color:#929ba2;margin-bottom:5px}
.screenshot-placeholder>p{font-size:16px;color:#55616b}
.screenshot-placeholder>span{font-size:12px;color:#69757e}
.hero-media-asset{width:100%;height:auto;display:block;border-radius:7px;box-shadow:0 16px 45px -18px #202a3c44;background:#e9ecee}

/* The opening section index uses native links and smooth scrolling. */
.section-menu{flex-shrink:0;border-top:1px solid var(--line)}
.section-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin-block:0;padding:18px 0 22px}
.section-index>li{min-width:0}
.section-link{height:100%;padding:3px 24px;display:grid;grid-template-columns:36px minmax(0,1fr)16px;align-items:center;gap:12px;border-radius:3px}
.section-index>li:first-child>.section-link{padding-left:0}
.section-index>li:last-child>.section-link{padding-right:0}
.section-index>li+li{border-left:1px solid var(--line)}
.section-link:hover .section-title{color:var(--accent-dark)}
.section-link:hover .section-chevron{transform:translateY(3px);color:var(--accent)}
.section-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#eaf0ff;color:var(--accent)}
.section-chevron{width:16px;height:16px;color:var(--muted);transition:transform .16s}
.section-title{display:block;font-size:16px;font-weight:600;letter-spacing:-.025em;line-height:1.35}
.section-description{display:block;font-size:13px;line-height:1.6;color:var(--muted);margin-top:5px;max-width:250px}

@media(min-width:1550px){
  .hero{gap:75px;padding-block:36px 32px}
}
/* Let the layout breathe on large desktop monitors instead of freezing at laptop scale.
   The caps keep text and screenshots from becoming oversized on ultrawide/4K displays. */
@media(min-width:1500px){
  .container{width:min(1540px,calc(100% - 9vw))}
  .hero{grid-template-columns:.9fr 1.1fr;gap:clamp(72px,5vw,110px);padding-block:clamp(44px,5vh,64px)}
  .brand{font-size:clamp(78px,4.6vw,92px);gap:18px}
  .brand-mark{width:88px;height:88px;border-radius:19px}
  .hero-brand{margin-bottom:48px}
  .hero h1{font-size:clamp(72px,4.2vw,88px)}
  .hero-description{max-width:510px;font-size:20px}
  .development-note{max-width:510px;font-size:13px}
  .hero-product{--media-height:clamp(500px,54vh,680px)}
  .product-stage>img.hero-media-asset{width:100%;max-width:none;height:auto;max-height:var(--media-height);object-fit:contain}
  .section-index{padding-block:22px 26px}
  .section-title{font-size:17px}
  .section-description{font-size:14px}
  .detail-section h2{font-size:clamp(54px,3.6vw,68px)}
  .origin-copy{max-width:760px}
  .origin-copy p{font-size:17px}
  .origin-copy .origin-intro{font-size:20px}
}
@media(min-width:2100px){
  .container{width:min(1760px,calc(100% - 10vw))}
  .hero{gap:clamp(90px,5vw,130px)}
  .brand{font-size:96px}
  .brand-mark{width:92px;height:92px}
  .hero h1{font-size:92px}
  .hero-description{max-width:540px;font-size:21px}
  .hero-product{--media-height:clamp(580px,50vh,760px)}
}
@media(max-width:1150px){
  .container{width:calc(100% - 72px)}
  .hero{gap:30px;grid-template-columns:1fr 1fr;padding-block:24px 28px}
  .brand{font-size:60px;gap:12px;letter-spacing:-1.8px}
  .brand-mark{width:64px;height:64px;border-radius:14px}
  .hero h1{font-size:clamp(46px,5.1vw,58px)}
  .hero-description{font-size:16px;max-width:340px}
  .hero-actions>.button{font-size:13px;gap:8px;padding:12px 13px}
  .hero-actions>.button>.button-arrow{margin-left:1px}
  .product-stage{padding:18px 0 18px 12px}
  .product-stage::before,.product-stage::after{right:-15px}
  .section-link{padding-inline:16px;grid-template-columns:32px minmax(0,1fr)16px;gap:8px}
  .section-icon{width:32px;height:32px}
  .section-title{font-size:15px}
  .section-description{font-size:12px}
}
@media(max-width:900px){
  .container{width:calc(100% - 56px)}
  .hero{grid-template-columns:1fr;gap:36px;padding-top:32px;padding-bottom:28px}
  .hero-copy{text-align:center}
  .brand{font-size:70px}
  .brand-mark{width:74px;height:74px;border-radius:16px}
  .hero h1{font-size:clamp(52px,8.2vw,66px);margin-left:0}
  .hero-description{max-width:440px;margin-inline:auto;font-size:18px}
  .hero-actions{justify-content:center}
  .hero-actions>.button{font-size:14px;padding:13px 18px}
  .hero-product{width:min(570px,100%);margin:0 auto}
  .product-stage{padding:18px 0 18px 18px}
  .product-stage::before,.product-stage::after{right:-10px}
  .section-index{grid-template-columns:repeat(2,minmax(0,1fr));padding-block:8px 24px}
  .section-link{padding:24px 0}
  .section-index>li:nth-child(even)>.section-link{padding-left:28px}
  .section-index>li:nth-child(3){border-left:0}
  .section-index>li:nth-child(n+3){border-top:1px solid var(--line)}
}
@media(max-width:600px){
  .container{width:calc(100% - 40px)}
  .hero{padding-top:24px;gap:30px}
  .brand{font-size:clamp(48px,9vw,54px);gap:10px;letter-spacing:-1.5px}
  .brand-mark{width:54px;height:54px;border-radius:12px}
  .hero-brand{margin-bottom:32px}
  .hero h1{font-size:clamp(38px,9.8vw,46px);line-height:1.08}
  .hero-description{font-size:16px;max-width:325px}
  .hero-actions>.button{min-height:51px}
  .hero-note{font-size:12px;margin-top:15px}
  .development-note{max-width:360px;margin:12px auto 0;text-align:left}
  .product-stage{padding:15px 0 15px 9px}
  .product-stage::before,.product-stage::after{right:-5px;left:-5px}
  .screenshot-placeholder{transform:translateX(-4px)}
  .placeholder-mark{width:46px;height:46px}
  .section-index{padding-block:4px 20px}
  .section-link{padding-block:20px;padding-right:16px;align-content:start;row-gap:10px}
  .section-index>li:nth-child(even)>.section-link{padding-left:18px;padding-right:0}
  .section-copy{grid-column:1/-1}
  .section-chevron{grid-column:3;grid-row:1}
  .section-description{line-height:1.55}
}
@media(max-width:360px){
  .container{width:calc(100% - 30px)}
  .brand{font-size:40px;gap:9px}
  .brand-mark{width:46px;height:46px;border-radius:10px}
  .hero h1{font-size:10.5vw}
}
/* Size the media to the window; the opening layout keeps the section row at the bottom. */
@media(min-width:901px){
  .hero-product{--media-height:clamp(220px,calc(100svh - 240px),560px)}
  .screenshot-placeholder{height:var(--media-height);min-height:0;aspect-ratio:auto}
  .product-stage>.hero-media-asset{height:var(--media-height);object-fit:contain}
  .product-stage>img.hero-media-asset{width:auto;max-width:100%;height:auto;max-height:var(--media-height);margin-inline:auto}
}
@media(min-width:901px) and (max-height:700px){
  .hero{padding-block:20px 24px}
  .hero h1{font-size:clamp(46px,4.8vw,66px)}
  .hero-brand{margin-bottom:32px}
  .hero-description{margin-top:16px}
  .hero-actions{margin-top:20px}
  .section-index{padding-block:14px 18px}
  .section-link{padding-block:2px}
}

/* Each section moves one shade deeper into the same blue palette. */
.detail-section{
  --detail-muted:#5b6576;
  --detail-line:#d4ddeb;
  --detail-accent:#315dcc;
  padding:0 0 clamp(64px,7.5vw,104px);
  border-top:1px solid var(--detail-line);
}
.overview-section{background:#f0f4fc}
.guide-section{background:#e1eafb;--detail-line:#c4d2ed;--detail-muted:#505d73;padding-bottom:clamp(42px,4.5vw,64px)}
.guide-section .section-topline{margin-bottom:clamp(28px,3vw,42px)}
.section-topline{
  width:calc(100vw - 48px);
  margin-left:calc(50% - 50vw + 24px);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding-top:22px;
  margin-bottom:clamp(44px,5.5vw,76px);
}
.section-kicker{font-size:clamp(27px,2.5vw,38px);font-weight:500;line-height:1;letter-spacing:-.045em}
.return-link{display:inline-flex;align-items:center;gap:9px;font-size:13px;color:var(--detail-muted);padding-top:3px}
.return-link>.icon{width:17px;height:17px}
.return-link:hover{text-decoration:underline;text-underline-offset:5px}
.detail-section h2{font-size:clamp(38px,4.4vw,60px);font-weight:500;line-height:1.06;letter-spacing:-.055em}
.detail-section h2 span{color:var(--detail-accent)}
.section-intro>p{font-size:17px;line-height:1.7;color:var(--detail-muted);max-width:390px}
.section-intro{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,7vw,96px);align-items:end;margin-bottom:44px}

/* Overview is intentionally simpler: it tells the story behind the project. */
.overview-story{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(48px,8vw,116px);align-items:stretch}
.origin-lead{padding-top:0}
.origin-copy{max-width:680px;border-left:1px solid var(--detail-line);padding-left:clamp(28px,3vw,46px);display:flex;flex-direction:column;justify-content:center}
.origin-copy p{font-size:19px;line-height:1.7;color:var(--ink);letter-spacing:-.018em}
.origin-copy p+p{margin-top:20px}
.origin-copy .origin-intro{font-size:19px;line-height:1.7;color:var(--ink);letter-spacing:-.018em}
.overview-gif-frame{margin-top:clamp(28px,3.5vw,44px);border:1px solid var(--detail-line);border-radius:10px;background:#f9fbff;box-shadow:0 16px 38px -32px #244aaa3b;overflow:hidden}
.overview-gif{display:block;width:100%;height:auto;border-radius:inherit}

/* The guide mirrors QuickSearch's compact controls and keyboard-first workflow. */
.guide-layout{display:grid;grid-template-columns:minmax(270px,.34fr) minmax(0,.66fr);border:1px solid var(--detail-line);border-radius:7px;overflow:hidden;background:#f9fbff;box-shadow:0 20px 42px -38px #244aaa80}
.guide-lead{display:flex;flex-direction:column;align-items:flex-start;min-width:0;container-type:inline-size;padding:clamp(24px,2.8vw,38px);background:#d4e0f8;border-right:1px solid var(--detail-line)}
/* Fit the heading to its column while keeping the phrase on one line. */
.guide-lead h2{font-size:clamp(28px,3.5vw,56px);font-size:clamp(28px,16.5cqw,60px)}
.guide-lead h2>span{white-space:nowrap}
.guide-lead-copy{font-size:13.5px;line-height:1.62;color:var(--detail-muted);max-width:390px;margin-top:18px}
.quick-use-guide{width:100%;margin-top:21px}
.quick-use-guide h3{font-size:20px;font-weight:500;line-height:1.2;letter-spacing:-.035em}
.quick-use-steps{margin:12px 0 0;padding-left:22px;font-size:12.5px;line-height:1.58;color:#43536e}
.quick-use-steps>li{padding-left:5px}
.quick-use-steps>li+li{margin-top:8px}
.quick-use-steps>li::marker{font-family:Consolas,monospace;font-weight:600;color:var(--detail-accent)}
.quick-use-guide>p{font-size:11.5px;line-height:1.55;color:var(--detail-muted);margin-top:13px}
.key-combo{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:var(--detail-muted)}
.guide-section kbd{display:inline-grid;place-items:center;min-width:25px;min-height:23px;padding:1px 6px;background:#fff;border:1px solid #bdc9dd;border-bottom-width:2px;border-radius:4px;font:10px Consolas,monospace;color:#4a5a73;box-shadow:0 1px 0 #fff inset}
.guide-console{display:grid;min-width:0;background:#f9fbff}
.guide-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.guide-card{min-width:0;padding:18px 20px 16px;display:flex;flex-direction:column;min-height:248px;border-bottom:1px solid var(--detail-line)}
.guide-card:nth-child(odd){border-right:1px solid var(--detail-line)}
.guide-card-heading{display:flex;align-items:center;gap:12px}
.guide-card-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border:1px solid #c8d5ea;border-radius:5px;background:#edf3ff;color:var(--detail-accent)}
.guide-card-icon>.icon{width:20px;height:20px}
.guide-card h3{font-size:24px;font-weight:500;letter-spacing:-.04em;line-height:1;margin:0}
.guide-card>.guide-card-summary{font-size:11.5px;line-height:1.45;color:var(--detail-muted);margin:11px 0 9px}
.guide-feature-list{border:1px solid #d4deee;border-radius:5px;background:#f3f7fe;overflow:hidden}
.guide-feature-row{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px;align-items:center;padding:7px 9px;font-size:10.5px;line-height:1.35;color:#5b6980}
.guide-feature-row+ .guide-feature-row{border-top:1px solid #dbe4f1}
.guide-feature-label{font:600 9.5px Consolas,monospace;letter-spacing:.01em;color:#40516d;white-space:nowrap}
.guide-feature-row strong{font-weight:600;color:#465873}
.guide-feature-row kbd{min-width:21px;min-height:20px;padding:0 5px;font-size:9px;vertical-align:middle}

/* Backend logic stays compact at rest; native disclosures allow room to read. */
.engine-section{position:relative;display:flex;min-height:100vh;min-height:min(100svh,930px);padding-bottom:clamp(24px,4svh,48px);background:#315aca;color:#f9fbff;--detail-muted:#d2dfff;--detail-line:#ffffff30;--detail-accent:#bfd2ff}
.engine-legacy-anchor{position:absolute;top:0;left:0}
.engine-section>.container{display:flex;flex-direction:column}
.engine-section .section-topline{padding-top:clamp(16px,2.5svh,24px);margin-bottom:clamp(20px,3.7svh,40px)}
.engine-intro{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:clamp(32px,6vw,80px);margin-top:auto;margin-bottom:clamp(22px,3.7svh,40px)}
.engine-intro h2{font-size:clamp(38px,6.8svh,56px)}
.engine-intro>p{max-width:460px;color:var(--detail-muted);font-size:15px;line-height:1.65;padding-bottom:3px}
.engine-panel{margin-bottom:auto;border:1px solid var(--detail-line);border-radius:7px;background:#264eb9}
.engine-flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.engine-flow>li{min-width:0;position:relative;display:flex;flex-direction:column;padding:clamp(18px,2.8svh,28px) clamp(18px,1.6vw,24px)}
.engine-flow>li+li{border-left:1px solid var(--detail-line)}
.engine-flow>li+li::before{content:"";position:absolute;left:-5px;top:66px;width:8px;height:8px;border-right:1px solid #acc5ff;border-top:1px solid #acc5ff;background:#264eb9;transform:rotate(45deg)}
.engine-phase{font:10px/1.4 Consolas,monospace;text-transform:uppercase;letter-spacing:.045em;color:#c0d2ff;margin-bottom:10px}
.engine-heading{display:flex;align-items:center;gap:11px}
.engine-heading>.icon{width:35px;height:35px;padding:7px;border:1px solid #ffffff40;border-radius:5px;background:#315aca;color:#eaf0ff}
.engine-heading h3{font-size:27px;font-weight:500;letter-spacing:-.035em;line-height:1.1}
.engine-flow>li>p{font-size:13px;line-height:1.6;color:var(--detail-muted);margin:14px 0 18px}
.engine-example{min-height:64px;margin-top:auto;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:10px 11px;border:1px solid #ffffff2e;border-radius:4px;background:#2046a7;color:#cfdeff;font:10.5px/1.4 Consolas,monospace}
.engine-example b{font-weight:400;color:#f7faff}
.engine-example code,.engine-detail-copy code{font-family:Consolas,monospace;font-size:inherit}
.engine-startup>span{display:flex;justify-content:space-between;gap:8px}
.engine-chips{display:flex;gap:6px}
.engine-chips>code{padding:1px 6px;border:1px solid #8caffb66;border-radius:2px;color:#eef4ff;background:#315aca}
.engine-match>code{color:#f9fbff}
.engine-match mark{padding:1px 2px;color:#16367d;background:#c4d7ff}
.engine-result{flex-direction:row;align-items:center;justify-content:flex-start;gap:10px}
.engine-result>.icon{width:17px;height:17px}
.engine-result small{display:block;font-size:10px;color:#b8cdfd;margin-top:3px}
.engine-details{margin-top:16px}
.engine-details>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;font-size:11px;line-height:1.4;color:#e0eaff;min-height:28px}
.engine-details>summary>.icon,.engine-maintenance-toggle>.icon{width:15px;height:15px}
.engine-section summary{list-style:none;border-radius:2px}
.engine-section summary::-webkit-details-marker{display:none}
.engine-section summary:focus-visible{outline-color:#e3ecff}
.engine-details>summary:hover,.engine-maintenance>summary:hover .engine-maintenance-toggle{color:#fff;text-decoration:underline;text-underline-offset:4px}
.engine-less,.engine-section details[open]>summary .engine-more{display:none}
.engine-section details[open]>summary .engine-less{display:inline}
.engine-section details[open]>summary>.icon:last-child,.engine-maintenance[open] .engine-maintenance-toggle>.icon{transform:rotate(180deg)}
.engine-detail-copy{border-top:1px solid var(--detail-line);margin-top:12px;padding-top:14px;font-size:13px;line-height:1.65;color:var(--detail-muted)}
.engine-detail-copy p+p{margin-top:12px}
.engine-detail-copy strong{font-weight:600;color:#f9fbff}
.engine-maintenance{border-top:1px solid var(--detail-line);background:#2b53bf;border-radius:0 0 6px 6px}
.engine-maintenance>summary{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:15px;padding:20px 24px;cursor:pointer}
.engine-maintenance>summary>.icon{width:26px;height:26px;color:#c4d7ff}
.engine-maintenance strong{display:block;font-size:18px;font-weight:500;line-height:1.3;letter-spacing:-.02em}
.engine-maintenance>summary>span>span:not(.engine-more):not(.engine-less){display:block;margin-top:5px;color:var(--detail-muted);font-size:12px;line-height:1.6}
.engine-maintenance .engine-maintenance-toggle{display:flex;align-items:center;gap:12px;margin-left:16px;font-size:11px;color:#e0eaff;white-space:nowrap}
.engine-maintenance>.engine-detail-copy{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin:0;padding:20px 24px}
.engine-maintenance>.engine-detail-copy p+p{margin-top:0}

/* Keep the other backend columns in their collapsed positions when one detail panel opens.
   The grid row may grow for the open column, but sibling cards no longer stretch with it. */
@media(min-width:1101px){
  .engine-flow{
    align-items:start;
    background-image:
      linear-gradient(var(--detail-line),var(--detail-line)),
      linear-gradient(var(--detail-line),var(--detail-line)),
      linear-gradient(var(--detail-line),var(--detail-line));
    background-size:1px 100%,1px 100%,1px 100%;
    background-position:25% 0,50% 0,75% 0;
    background-repeat:no-repeat;
  }
  .engine-flow>li{min-height:360px}
  .engine-flow>li+li{border-left:0}
}

@media(max-width:1100px){
  .engine-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
  .engine-flow>li:nth-child(3){border-left:0}
  .engine-flow>li:nth-child(n+3){border-top:1px solid var(--detail-line)}
  .engine-flow>li:nth-child(3)::before{display:none}
  .engine-maintenance>summary{grid-template-columns:26px 1fr 16px;gap:12px;padding:20px}
  .engine-maintenance .engine-maintenance-toggle{margin-left:0}
  .engine-maintenance-toggle .engine-more,.engine-maintenance[open] .engine-maintenance-toggle .engine-less{display:none}
}
@media(max-width:700px){
  .engine-intro{grid-template-columns:1fr;gap:20px}
  .engine-intro>p{max-width:520px;font-size:14px}
  .engine-details>summary{min-height:40px}
  .engine-maintenance>.engine-detail-copy{grid-template-columns:1fr;gap:16px;padding:20px}
}
@media(max-width:520px){
  .engine-flow{grid-template-columns:1fr}
  .engine-flow>li+li{border-left:0;border-top:1px solid var(--detail-line)}
  .engine-flow>li+li::before{display:none}
  .engine-example{margin-top:0}
}

.support-section{background:#142b59;color:#f9fbff;--detail-muted:#bccbeb;--detail-line:#ffffff28;--detail-accent:#a8c2ff;padding-bottom:clamp(20px,3.5svh,36px)}
.support-section .section-topline{padding-top:clamp(14px,2.2svh,20px);margin-bottom:clamp(16px,2.8svh,28px)}
.support-section .section-intro{margin-bottom:clamp(18px,3svh,28px)}
.support-section h2{font-size:clamp(36px,7svh,56px)}
.contact-aside{display:block;margin-top:7px;font-size:14px;color:#a8c2ef}
.support-options{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--detail-line);border-radius:7px;background:#193461}
.support-option{display:flex;flex-direction:column;min-width:0;padding:clamp(18px,3svh,28px) clamp(20px,2.4vw,34px)}
.support-option+ .support-option{border-left:1px solid var(--detail-line)}
.support-heading{display:flex;align-items:center;gap:14px}
.support-icon{width:40px;height:40px;padding:8px;border:1px solid #597aaf66;border-radius:6px;background:#224476;stroke-width:1.5;color:var(--detail-accent)}
.support-option h3{font-size:30px;font-weight:500;line-height:1.2;letter-spacing:-.035em}
.support-option>p{max-width:480px;font-size:15px;line-height:1.55;color:var(--detail-muted);margin:12px 0 18px}
.support-button{display:inline-flex;align-items:center;align-self:flex-start;justify-content:space-between;gap:30px;min-height:42px;margin-top:clamp(12px,2svh,18px);padding:10px 15px;border:1px solid #6586be;border-radius:5px;background:#2a4c83;color:#e1ebff;font:14px var(--sans);cursor:default}
.support-button>.icon{width:18px;height:18px}
.support-button:not(:disabled){cursor:pointer}
.support-button:not(:disabled):hover{background:#345b98;border-color:#a8c2ff}
.support-button:disabled{color:#bbcceb;border-color:#5876a4}
.contact-form{display:grid;gap:10px;margin-top:auto}
.contact-fields{display:grid;grid-template-columns:1.1fr 1fr 1.2fr;gap:10px}
.contact-field{display:block;min-width:0;font-size:12px;line-height:16px;color:#edf3ff}
.contact-field>span,.contact-upload label>span{color:#afc4e9}
.contact-field>input,.contact-field>textarea{display:block;width:100%;min-width:0;margin-top:5px;padding:7px 9px;border:1px solid #5a77a4;border-radius:4px;background:#142c53;color:#f9fbff;font:13px/18px var(--sans)}
.contact-field>textarea{height:66px;min-height:66px;resize:vertical}
.contact-field>input::placeholder,.contact-field>textarea::placeholder{color:#afc1df;opacity:1}
.contact-field>input:focus-visible,.contact-field>textarea:focus-visible,.contact-upload>input:focus-visible{outline:2px solid #a8c2ff;outline-offset:2px}
.contact-actions{display:flex;align-items:center;justify-content:space-between;gap:18px}
.contact-actions>.support-button{flex-shrink:0;align-self:center;margin-top:0;gap:16px}
.contact-upload{min-width:0;flex:1}
.contact-upload>label{display:block;font-size:11px;line-height:15px;color:#edf3ff}
.contact-upload>input{display:block;max-width:100%;width:100%;margin-top:4px;font:11px/18px var(--sans);color:#bccbeb}
.contact-upload>input::file-selector-button{margin-right:8px;padding:5px 8px;border:1px solid #5a77a4;border-radius:3px;background:#224476;color:#e5edff;font:inherit;cursor:pointer}
.contact-upload>input::file-selector-button:hover{background:#2a4c83}
.contact-upload>p{font-size:11px;line-height:15px;color:#afc4e9;margin-top:4px}
.contact-status{font-size:12px;line-height:1.5;color:#e1ebff}
.contact-status-success{color:#c9f7d7}
.contact-status-error{color:#ffd1d1}
.support-payments{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:auto;width:100%}
.payment-methods-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
.payment-method{display:flex;align-items:center;gap:12px;width:100%;min-width:0;padding:10px 11px;border:1px solid #597aaf66;border-radius:6px;background:#16305b}
a.payment-method{color:inherit;text-decoration:none;transition:background .15s ease,border-color .15s ease}
a.payment-method:hover{background:#1c3969;border-color:#7898cc}
a.payment-method:focus-visible{outline:2px solid #d6e4ff;outline-offset:2px}
.payment-copy{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.payment-copy strong{font-size:17px;font-weight:600;color:#f5f8ff}
.payment-copy span{font-size:11px;line-height:1.45;color:#bccbeb}
.payment-copy .payment-open{margin-top:2px;color:#dce8ff;font-weight:600}
.payment-qr{display:block;width:92px;height:auto;flex:0 0 auto;border-radius:4px;background:#fff}
.payment-method-zelle .payment-qr{background:#000}
.payment-method-paypal{grid-column:1/-1}
.support-payments>.support-button{margin-top:2px}
.support-section button:focus-visible{outline-color:#d6e4ff}
.engine-section a:focus-visible,.support-section a:focus-visible,.site-footer a:focus-visible{outline-color:#d6e4ff}
.site-footer{background:#142b59;color:#f9fbff;--detail-muted:#bccbeb;padding-bottom:30px}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid #ffffff28;padding-top:26px}
.footer-brand{display:inline-flex;align-items:center;gap:9px;font-size:22px;font-weight:700;letter-spacing:-.7px;line-height:1}
.footer-brand>.icon{width:28px;height:28px;padding:4px;border-radius:6px;background:var(--accent);color:#fff}
.footer-tagline{font-size:12px;color:var(--detail-muted)}

/* Reserve footer space while keeping the contact section comfortable to read. */
@media(min-width:901px){
  :root{--contact-footer-height:clamp(68px,10svh,84px)}
  .support-section{display:flex;min-height:min(calc(100svh - var(--contact-footer-height)),860px)}
  .support-section>.container{display:flex;flex-direction:column}
  .support-section .section-intro{margin-top:auto}
  .support-options{margin-bottom:auto}
  .site-footer{display:flex;min-height:var(--contact-footer-height);padding-bottom:0}
  .footer-inner{padding-block:16px}
}
@media(min-width:901px) and (max-height:850px){
  .support-section{padding-bottom:20px}
  .support-section .section-topline{padding-top:14px;margin-bottom:16px}
  .support-section .section-intro{margin-bottom:18px}
  .support-section h2{font-size:40px}
  .support-option{padding-block:18px}
  .support-option>p{font-size:14px;line-height:1.5;margin:10px 0 12px}
}
@media(max-width:1100px) and (min-width:601px){
  .contact-fields{grid-template-columns:1fr 1fr}
  .contact-fields>.contact-field:first-child{grid-column:1/-1}
  .contact-actions{flex-wrap:wrap;gap:12px}
  .contact-upload{flex-basis:220px}
  .contact-actions>.support-button{margin-left:auto}
}

@media(max-width:1000px){
  .guide-lead{padding:34px}
  .guide-card{padding:24px 22px 20px}
}
@media(max-width:900px){
  .overview-story{grid-template-columns:1fr;gap:32px}
  .origin-copy{max-width:760px;padding-left:28px}
  .section-intro{grid-template-columns:1fr;gap:24px;margin-bottom:36px}
  .section-intro>p{max-width:440px}
  .guide-layout{grid-template-columns:minmax(240px,.36fr) minmax(0,.64fr)}
  .guide-cards{grid-template-columns:1fr}
  .guide-card{min-height:0;border-right:0!important}
}
@media(max-width:700px){
  .guide-layout{grid-template-columns:1fr}
  .guide-lead{padding:28px;border-right:0;border-bottom:1px solid var(--detail-line)}
  .guide-lead-copy{max-width:580px}
}
@media(max-width:600px){
  .detail-section{padding-bottom:56px}
  .detail-section h2{font-size:clamp(36px,9.5vw,46px)}
  .section-intro>p{font-size:16px}
  .section-topline{width:calc(100vw - 28px);margin-left:calc(50% - 50vw + 14px);gap:12px;padding-top:16px;margin-bottom:38px}
  .section-kicker{font-size:24px}
  .return-link{font-size:11px;gap:6px;white-space:nowrap;padding-top:2px}
  .return-link>.icon{width:14px;height:14px}
  .origin-copy{border-left:0;border-top:1px solid var(--detail-line);padding:24px 0 0}
  .origin-copy .origin-intro{font-size:17px}
  .origin-copy p{font-size:17px;line-height:1.75}
  .overview-gif-frame{margin-top:24px}
  .guide-lead{padding:24px 20px}
  .guide-lead h2{font-size:clamp(28px,9.5vw,46px);font-size:clamp(28px,min(9.5vw,16.5cqw),46px)}
  .guide-lead-copy{font-size:13px}
  .guide-card{padding:22px 18px 19px}
  .guide-card h3{font-size:20px}
  .guide-feature-row{grid-template-columns:78px minmax(0,1fr);gap:8px;padding:7px 8px}
  .guide-section kbd{min-width:27px;min-height:25px;padding-inline:5px;font-size:10px}
  .support-options{grid-template-columns:1fr}
  .support-option+ .support-option{border-left:0;border-top:1px solid var(--detail-line)}
  .support-option h3{font-size:28px}
  .payment-methods-grid{grid-template-columns:1fr}
  .payment-method-paypal{grid-column:auto}
  .payment-method{max-width:100%;gap:18px;padding:12px 14px}
  .payment-copy strong{font-size:18px}
  .payment-copy span{font-size:12px}
  .payment-qr{width:116px}
  .contact-fields{grid-template-columns:1fr}
  .contact-field>input,.contact-field>textarea{font-size:16px;line-height:22px;padding-block:10px}
  .contact-field>textarea{height:110px;min-height:110px}
  .contact-actions{flex-direction:column;align-items:stretch;gap:14px}
  .contact-actions>.support-button{align-self:flex-start}
  .contact-upload>input{font-size:13px;line-height:20px}
  .contact-upload>input::file-selector-button{padding:11px}
  .footer-inner{display:grid;grid-template-columns:1fr auto;gap:16px}
  .footer-brand{font-size:20px}
  .footer-tagline{grid-column:1;grid-row:2;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
  .button-primary:not(:disabled):hover{transform:none}
}

/* Explicit system theme support.
   Light remains the default palette above. When the OS/browser prefers dark,
   every section switches together instead of relying on browser auto-darkening. */
@media (prefers-color-scheme: dark){
  :root{
    color-scheme:dark;
    --page:#081935;
    --ink:#f3f7ff;
    --muted:#b5c4dd;
    --line:#31517f;
    --accent:#5d8cff;
    --accent-dark:#a9c2ff;
  }

  /* Dark mode keeps the same blue progression as the light site. It starts
     deep navy and moves through richer blues instead of switching to charcoal. */
  body{background:var(--page);color:var(--ink)}
  ::selection{background:#426fd1;color:#fff}
  .skip-link{background:#edf4ff;color:#081935}

  .button-primary{background:#4a79ea;color:#fff}
  .button-primary:not(:disabled):hover{background:#5a88f0;box-shadow:0 6px 18px #06112788}
  .development-note{border-left-color:#76a0f4}
  .development-note strong{color:#f3f7ff}

  .product-stage::before{background:#0d2347;border-color:#345584}
  .product-stage::after{background:linear-gradient(90deg,#5d8cff 0 62px,transparent 62px)}
  .screenshot-placeholder{background:#10254b;border-color:#426799;box-shadow:0 20px 45px -20px #061127aa;color:#c3d2e7}
  .placeholder-mark{color:#9bb5df}
  .screenshot-placeholder>p{color:#e3ecfb}
  .screenshot-placeholder>span{color:#c0cee2}
  .hero-media-asset{background:#10254b;box-shadow:0 16px 45px -18px #061127aa}

  .section-menu{border-top-color:#31517f}
  .section-index>li+li{border-left-color:#31517f}
  .section-icon{background:#16376c;color:#92b4ff}
  .section-link:hover .section-title{color:#bdd0ff}
  .section-link:hover .section-chevron{color:#7fa5ff}

  .detail-section{
    --detail-muted:#c3d1e6;
    --detail-line:#446692;
    --detail-accent:#9fbdff;
  }
  .overview-section{background:#102a54}
  .guide-section{background:#193c72;--detail-line:#5578a6;--detail-muted:#d0daeb}
  .origin-copy .origin-intro{color:#f3f7ff}
  .overview-gif-frame{background:#0d2245;border-color:#476c9a;box-shadow:0 16px 38px -28px #061127cc}

  .guide-layout{background:#13305c;border-color:var(--detail-line);box-shadow:0 20px 42px -32px #061127dd}
  .guide-lead{background:#214782;border-color:var(--detail-line)}
  .quick-use-steps{color:#d6dff0}
  .guide-section kbd{background:#17345f;border-color:#6d91bf;color:#edf3ff;box-shadow:0 1px 0 #3d6291 inset}
  .guide-console{background:#13305c}
  .guide-card-icon{background:#214782;border-color:#6588b4;color:#a8c2ff}
  .guide-feature-list{background:#183865;border-color:#587ba9}
  .guide-feature-row{color:#d1dceb}
  .guide-feature-row+.guide-feature-row{border-top-color:#496c99}
  .guide-feature-label{color:#eef4ff}
  .guide-feature-row strong{color:#f8fbff}

  /* The backend remains the strongest blue band, mirroring the light theme. */
  .engine-section{
    background:#2e58ba;
    color:#f8fbff;
    --detail-muted:#d0ddf7;
    --detail-line:#ffffff2d;
    --detail-accent:#c0d3ff;
  }
  .engine-panel{background:#254ca4}
  .engine-flow>li+li::before{background:#254ca4;border-color:#bfd1ff}
  .engine-heading>.icon{background:#3663c0;border-color:#ffffff40;color:#f7faff}
  .engine-example{background:#214696;border-color:#ffffff35;color:#e0e8fb}
  .engine-example b{color:#fff}
  .engine-chips>code{background:#3663c0;border-color:#aac4ff75;color:#fbfdff}
  .engine-match mark{background:#d6e2ff;color:#163a7f}
  .engine-result small{color:#dbe5fb}
  .engine-detail-copy strong{color:#fff}
  .engine-maintenance{background:#274faa}

  /* Contact/footer finish on the darkest navy, matching the light palette's
     light-to-deep-blue progression. */
  .support-section{
    background:#3c67c7;
    color:#f8fbff;
    --detail-muted:#e2ebff;
    --detail-line:#ffffff3b;
    --detail-accent:#f3f7ff;
  }
  .contact-aside{color:#d9e4fb}
  .support-options{background:#315cb8}
  .support-icon{background:#234a97;border-color:#9fbbf466;color:#eff5ff}
  .support-button{background:#244d9c;border-color:#aac2f4;color:#f7faff}
  .support-button:not(:disabled):hover{background:#2a56ab;border-color:#c0d2fb}
  .support-button:disabled{color:#d1dcf2;border-color:#89a7db}
  .contact-field{color:#f8fbff}
  .contact-field>span,.contact-upload label>span{color:#dbe4f8}
  .contact-field>input,.contact-field>textarea{background:#2c56ad;border-color:#b8cdf7;color:#f8fbff}
  .contact-field>input::placeholder,.contact-field>textarea::placeholder{color:#d6e2f7}
  .contact-upload>label{color:#f8fbff}
  .contact-upload>input{color:#e0e8fa}
  .contact-upload>input::file-selector-button{background:#244d9c;border-color:#b8cdf7;color:#f7faff}
  .contact-upload>input::file-selector-button:hover{background:#2a56ab}
  .contact-upload>p{color:#dbe4f8}
  .payment-method{background:#2d58b0;border-color:#b3c8f566}
  a.payment-method:hover{background:#3663bd;border-color:#d0defc}
  .payment-copy strong{color:#ffffff}
  .payment-copy span{color:#e4edff}
  .payment-copy .payment-open{color:#ffffff}

  .site-footer{background:#4672d1;color:#f8fbff}
  .footer-inner{border-top-color:#ffffff3d}
  .footer-tagline{color:#e2ebff}
}
