/* site-v2.css: homepage redesign, built section by section.
   Loaded last on index.html only. Every rule is scoped to .home.
   Follows the Autoteaming design system (DESIGN.md). Deliberate
   exceptions are marked "EXCEPTION". */

/* ---------- Page container (DESIGN.md page-layout) ----------
   Max width 80rem INCLUDING insets. Inset 1rem, 1.5rem from 48rem, 2rem from 80rem. */
.home{--page-max:80rem;--page-inset:1rem}
@media (min-width:48rem){.home{--page-inset:1.5rem}}
@media (min-width:80rem){.home{--page-inset:2rem}}

/* ---------- Hero ---------- */

/* Header and hero text start at the same left edge as the page container. */
.home .site-header,
.home .hero-inner{
  padding-inline:max(var(--page-inset),calc((100% - var(--page-max)) / 2 + var(--page-inset)));
}
.home .hero-inner{max-width:none;width:100%;margin-inline:0;gap:0}

/* EXCEPTION: display size for the hero headline only.
   Montserrat 500 (the only weight the site loads), letter-spacing 0. */
.home .hero h1{
  font-family:var(--font-heading);
  font-weight:500;
  letter-spacing:0;
  font-size:2.5rem;line-height:3rem;
}
@media (min-width:48rem){.home .hero h1{font-size:3rem;line-height:3.5rem}}
@media (min-width:80rem){.home .hero h1{font-size:3.5rem;line-height:4rem}}

.hero-product { margin: 0 0 0.75rem; font: 500 1rem/1.5rem "Montserrat Variable", Montserrat, sans-serif; letter-spacing: 0; color: oklch(0.95 0.008 238); }

/* Explanation sentence: body-md. */
.home .hero-lede{
  font-family:var(--font-body);
  font-size:1rem;line-height:1.5rem;font-weight:400;letter-spacing:0;
  color:var(--foreground);
  max-width:65ch;
  margin:1rem 0 0;
}

/* Spacing: heading → sentence 16px, sentence → button 24px. */
.home .hero-cta{display:flex;gap:.75rem;margin-top:1.5rem}
.home .hero-cta .button{height:2.5rem;min-height:2.5rem}
@media (max-width:40rem){
  .home .hero-cta{align-self:stretch;flex-direction:column}
  .home .hero-cta .button{width:100%}
}
/* Open mobile menu aligns with the page container (16px below 48rem, 24px from 48rem to 56rem). */
@media (max-width:56rem){
  .home #nav.open{left:var(--page-inset);right:var(--page-inset)}
}

/* ---------- How it works (#system) ---------- */

/* Section sizing and container (same as hero and facts). */
.home #main > #system{min-height:100svh;display:flex;flex-direction:column;justify-content:center;padding-block:clamp(1.25rem,4svh,3rem)}

.home #system > .wrap{container-type:inline-size;max-width:var(--page-max);margin-inline:auto;padding-inline:var(--page-inset)}

/* Heading block. EXCEPTION (agreed): section title 24px phone / 32px from 48rem. */
.home #system .section-heading{display:block;margin-bottom:clamp(1rem,2.5svh,1.75rem)}
.home #system .section-heading h2{font-family:var(--font-heading);font-weight:500;letter-spacing:0;font-size:1.5rem;line-height:2rem}
@media (width >= 48rem){.home #system .section-heading h2{font-size:2rem;line-height:2.5rem}}
.home #system .section-heading > p{font-family:var(--font-body);font-size:1rem;line-height:1.5rem;font-weight:400;letter-spacing:0;color:var(--muted-foreground);max-width:65ch;margin:1rem 0 0}

/* ----- Panel content (both layouts) ----- */
.home .flow-panel{display:flex;flex-direction:column;gap:0.5rem;min-width:0}
.home .flow-media{height:9rem;display:flex;align-items:center;justify-content:center;margin-bottom:0.75rem;position:relative;z-index:1}
.home .flow-media img{max-width:70%;max-height:100%;width:auto;height:auto;object-fit:contain}

/* Kicker: label-sm, muted. Title: heading-sm. Description: body-sm, muted. */
.home .flow-kicker{font-family:var(--font-body);font-size:0.75rem;line-height:1rem;font-weight:500;letter-spacing:0;color:var(--muted-foreground);margin:0}
.home .flow-panel h3{font-family:var(--font-heading);font-size:1rem;line-height:1.5rem;font-weight:500;letter-spacing:0;color:var(--card-foreground);margin:0}
.home .flow-text{font-family:var(--font-body);font-size:0.875rem;line-height:1.25rem;font-weight:400;color:var(--muted-foreground);margin:0 0 0.5rem}

/* Feature list: one item per row, 1px dividers, optional 24px thumbnail. */
.home .flow-list{list-style:none;margin:0;padding:0}
.home .flow-list li{display:flex;align-items:center;gap:0.5rem;min-height:2.25rem;padding-block:0.375rem;border-top:1px solid var(--border);font-family:var(--font-body);font-size:0.875rem;line-height:1.25rem;color:var(--card-foreground)}
.home .flow-list li img{height:1.5rem;width:auto;max-width:2.5rem;object-fit:contain;flex:none}

/* ----- Desktop: one connected surface, three columns ----- */
@media (width >= 56rem){
  .home .flow-nav{display:none}
  .home .flow{
    position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    background:var(--card);color:var(--card-foreground);border-radius:14px;
    box-shadow:0 0 0 1px var(--border),0 1px 2px 0 rgb(0 0 0 / 5%);
  }
  .home .flow-panel{padding:1.5rem}
  .home .flow-panel + .flow-panel{border-left:1px solid var(--border)}

  /* Shared coordinates use the three equal tracks and the inset and gap of the paired products. */
  .home .flow{
    --pad:1.5rem;--pair-gap:.625rem;
    --size:min(10rem,21svh,calc(100cqi / 6 - var(--pad) - var(--pair-gap) / 2));
    --commander-x:calc(75% + var(--pad) / 2 - var(--pair-gap) / 4);
    --station-x:calc(1100% / 12 - var(--pad) / 2 + var(--pair-gap) / 4);
  }
  .home .flow-panel + .flow-panel{padding-left:calc(var(--pad) - 1px)}
  .home .flow-line{position:absolute;left:0;right:0;top:calc(var(--pad) + 1.5rem + .5rem + var(--size) / 2 - 1px);display:flex;height:2px;padding:0;pointer-events:none}
  .home .flow-line > span{position:absolute;height:2px;border-top:2px solid var(--border)}
  .home .flow-line > :first-child{left:calc(100% / 6);right:50%}
  .home .flow-line > :nth-child(2){left:50%;right:calc(100% - var(--commander-x));border-top:2px dashed var(--border)}
  .home .flow-line > :last-child{left:var(--commander-x);right:calc(100% - var(--station-x))}
}
/* ----- Phone: snapping horizontal carousel + route indicator ----- */
@media (width < 56rem){
  .home .flow-line{display:none}

  /* Route indicator: ● Onboard —— ○ Connection - - - ○ On land */
  .home .flow-nav{display:flex;align-items:center;margin:0 0 1rem}
  .home .flow-nav button{
    display:inline-flex;align-items:center;gap:0.375rem;min-height:2.25rem;padding:0;
    background:none;border:0;cursor:pointer;
    font-family:var(--font-body);font-size:0.75rem;line-height:1rem;font-weight:500;letter-spacing:0;
    color:var(--muted-foreground);white-space:nowrap;
  }
  .home .flow-nav button[aria-current="step"]{color:var(--foreground)}
  .home .flow-node{width:0.625rem;height:0.625rem;border-radius:50%;border:1.5px solid var(--muted-foreground);flex:none}
  .home .flow-nav button[aria-current="step"] .flow-node{background:var(--foreground);border-color:var(--foreground)}
  .home .flow-nav button:focus-visible{outline:none;box-shadow:0 0 0 3px color-mix(in oklch,var(--ring) 50%,transparent);border-radius:8px}
  .home .flow-nav-link{flex:1 1 auto;min-width:1rem;height:0;margin-inline:0.5rem;border-top:1.5px solid var(--border)}
  .home .flow-nav-link.is-wireless{border-top:1.5px dashed var(--border)}

  /* Carousel: full-bleed within the page inset, cards 85% wide, snap to start. */
  .home .flow{
    display:grid;grid-auto-flow:column;grid-auto-columns:85%;gap:0.75rem;
    overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;
    margin-inline:calc(-1 * var(--page-inset));padding-inline:var(--page-inset);
    scroll-padding-inline:var(--page-inset);scrollbar-width:none;
  }
  .home .flow::-webkit-scrollbar{display:none}
  .home .flow:focus-visible{outline:none;box-shadow:inset 0 0 0 3px color-mix(in oklch,var(--ring) 50%,transparent)}
  .home .flow-panel{
    scroll-snap-align:start;padding:1.25rem;border-radius:14px;
    background:var(--card);color:var(--card-foreground);
    box-shadow:0 0 0 1px var(--border),0 1px 2px 0 rgb(0 0 0 / 5%);
  }
}
/* Both full-size operator products share the final column. */
.home #system .flow-products{display:grid;grid-template-columns:minmax(0,1fr)}
.home #system .flow-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem}
.home #system .flow-product{margin:0;min-width:0;text-align:center}
.home #system .flow-product figcaption{font:500 .875rem/1.25rem var(--font-body)}
.home #system .flow-stage{font:500 1.25rem/1.5rem var(--font-heading)}
.home #system .flow-media{height:var(--size);margin:0 0 .25rem}
.home #system .flow-media img{width:var(--size);height:var(--size);max-width:100%;object-fit:contain}
@media (width < 56rem){
  .home #system .flow-panel{container-type:inline-size;--size:min(10rem,21svh,calc(50cqi - .3125rem))}
  .home #system .flow-nav[hidden]{display:none}
}
@media (max-height:46rem){
  .home #main > #system{padding-block:.875rem}
  .home #system .section-heading{margin-bottom:.5rem}
  .home #system .section-heading > p{margin-top:.375rem}
}
@media (width < 56rem) and (max-height:46rem){
  .home #system .flow-panel{--size:min(8rem,18svh,calc(50cqi - .3125rem));padding:.875rem;gap:.375rem}
}
@media (min-width:40rem) and (width < 56rem) and (max-height:31rem){
  .home #main > #system{padding-block:.5rem}
  .home #system > .wrap{display:grid;grid-template-columns:minmax(15rem,1fr) minmax(0,2fr);grid-template-rows:auto auto;gap:.5rem 1.25rem;align-items:center}
  .home #system .section-heading{grid-column:1;align-self:end;margin:0}
  .home #system .flow-nav{grid-column:1;align-self:start;margin:0}
  .home #system .flow{grid-column:2;grid-row:1 / 3;margin-inline:0;padding-inline:0;scroll-padding-inline:0}
  .home #system .flow-panel{padding:.5rem .75rem;gap:.25rem}
}
@media (width < 56rem) and (max-height:46rem){
  .home #system .flow-nav{margin-bottom:.25rem}
  .home #system .flow-panel{--size:min(7rem,14svh,calc(50cqi - .3125rem));gap:.25rem}
  .home #system .section-heading h2{line-height:1.15}
}

/* ---------- How it works: 3c adjustments ---------- */
.home .flow-list li img{width:2rem;height:1.5rem;object-fit:contain;flex:none}

@media (width < 56rem){
  .home .flow{padding-block:0.25rem}
}

@media (width >= 56rem){
  .home .flow{
    --column-gap:1.5rem;
    column-gap:var(--column-gap);
    background:none;box-shadow:none;border-radius:0;
    /* Subtract both column gaps before sizing a render within a paired track. */
    --size:min(10rem,21svh,calc((100cqi - 2 * var(--column-gap)) / 6 - var(--pad) - var(--pair-gap) / 2));
    --commander-x:calc(75% + var(--column-gap) / 2 + var(--pad) / 2 - var(--pair-gap) / 4);
    --station-x:calc(1100% / 12 + var(--column-gap) / 6 - var(--pad) / 2 + var(--pair-gap) / 4);
  }
  .home .flow-panel{
    padding:1.5rem;background:var(--card);border-radius:14px;
    box-shadow:0 0 0 1px var(--border),0 1px 2px 0 rgb(0 0 0 / 5%);
  }
  .home .flow-panel + .flow-panel{border-left:0;padding-left:1.5rem}
  .home .flow-line{z-index:1}
  .home .flow-line > :first-child{left:calc((100% - 2 * var(--column-gap)) / 6)}
  .home .flow-media{z-index:2}
}

/* ---------- The onboard view from shore (#field-view) ---------- */

/* Fills one screen, same rule as How it works. */
.home #main > #field-view{
  min-height:100svh;display:flex;flex-direction:column;justify-content:center;
  padding-block:clamp(1.25rem,4svh,3rem);background:var(--secondary);overflow-x:clip;
}
.home #field-view > .wrap{width:100%;box-sizing:border-box;max-width:var(--page-max);margin-inline:auto;padding-inline:var(--page-inset)}

/* Heading: same as How it works. EXCEPTION (agreed): section title 24px / 32px from 48rem. */
.home #field-view .section-heading{display:block;margin-bottom:2rem}
.home #field-view .section-heading h2{font-family:var(--font-heading);font-weight:500;letter-spacing:0;font-size:1.5rem;line-height:2rem}
@media (width >= 48rem){.home #field-view .section-heading h2{font-size:2rem;line-height:2.5rem}}
.home #field-view .section-heading > p{font-family:var(--font-body);font-size:1rem;line-height:1.5rem;font-weight:400;letter-spacing:0;color:var(--muted-foreground);max-width:65ch;margin:1rem 0 0}

/* Screens */
.home #field-view .screens{margin:0}
.home #field-view .screens-stage{position:relative}
.home #field-view .screens-video{position:relative}
.home #field-view .screens-snap{position:absolute;top:0;bottom:0;width:33.3333%;pointer-events:none}

/* One video, masked into three screens with rounded corners.
   The mask's viewBox equals the footage (1280 × 242), so it scales uniformly.
   Camera joins at 426.667 and 853.333; each gap is 12 units centred on a join; corner radius 10 units. */
.home #field-view .screens-video video{
  display:block;width:100%;height:auto;aspect-ratio:1280 / 242;object-fit:cover;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 242'%3E%3Crect width='420.667' height='242' rx='10'/%3E%3Crect x='432.667' width='414.667' height='242' rx='10'/%3E%3Crect x='859.333' width='420.667' height='242' rx='10'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 242'%3E%3Crect width='420.667' height='242' rx='10'/%3E%3Crect x='432.667' width='414.667' height='242' rx='10'/%3E%3Crect x='859.333' width='420.667' height='242' rx='10'/%3E%3C/svg%3E");
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}

/* Camera tag on each screen: label-sm on the dark overlay scrim (DESIGN.md dark overlay-scrim). */
.home #field-view .screens-tag{
  position:absolute;top:0.5rem;margin-left:0.5rem;padding:0.125rem 0.375rem;border-radius:6px;
  background:var(--popover);color:var(--popover-foreground);box-shadow:0 0 0 1px var(--border);
  font-family:var(--font-body);font-size:0.75rem;line-height:1rem;font-weight:500;letter-spacing:0;
  pointer-events:none;white-space:nowrap;
}

/* Pause/play on the video, bottom-right of the strip: icon button sm (2rem, 8px radius) on the scrim. */
.home #field-view .screens-toggle{
  position:absolute;right:0.5rem;bottom:0.5rem;z-index:1;
  display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;
  border:0;border-radius:8px;background:var(--secondary);color:var(--secondary-foreground);cursor:pointer;
}
.home #field-view .screens-toggle:hover{background:var(--secondary-hover)}
.home #field-view .screens-toggle:focus-visible{outline:none;box-shadow:0 0 0 3px color-mix(in oklch,var(--ring) 50%,transparent)}
.home #field-view .screens-toggle .icon{width:1rem;height:1rem}
.home #field-view .screens-toggle[data-state="playing"] .icon-play,
.home #field-view .screens-toggle[data-state="paused"] .icon-pause{display:none}

/* One row under the screens: caption (supporting-sm, muted) left, project link right. */
.home #field-view .screens-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0.5rem 1.5rem;margin-top:0.75rem}
.home #field-view .screens-meta > span{font-family:var(--font-body);font-size:0.75rem;line-height:1rem;font-weight:400;color:var(--muted-foreground)}
.home #field-view .proof-link{display:inline-flex;margin:0}

/* Phone: horizontal swipe strip, full-bleed within the page inset; start / centre / end snapping. */
@media (width < 56rem){
  .home #field-view .screens-scroll{
    overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;
    margin-inline:calc(-1 * var(--page-inset));padding-inline:var(--page-inset);
    scroll-padding-inline:var(--page-inset);scrollbar-width:none;
  }
  .home #field-view .screens-scroll::-webkit-scrollbar{display:none}
  .home #field-view .screens-scroll:focus-visible{outline:none;box-shadow:inset 0 0 0 3px color-mix(in oklch,var(--ring) 50%,transparent)}
  .home #field-view .screens-track{width:calc(12rem * 1280 / 242)}
  .home #field-view .screens-snap--start{scroll-snap-align:start}
  .home #field-view .screens-snap--center{scroll-snap-align:center}
  .home #field-view .screens-snap--end{scroll-snap-align:end}
  .home #field-view .screens-meta{flex-direction:column;align-items:flex-start}
}

/* ---------- #field-view: platform switcher (4c) ---------- */

/* Darker media background (same deep navy as behind the teledrive video). */
.home #main > #field-view{background:var(--card)}

/* Track width on phone follows the selected video's aspect ratio (set by the script). */
.home #field-view .screens-track{--fv-ratio:5.2893}
@media (width < 56rem){.home #field-view .screens-track{width:calc(12rem * var(--fv-ratio))}}

/* Mask with 2-unit trim on both outer edges (removes the bright edge column in some files).
   viewBox 0 0 1280 242; joins at 426.667 / 853.333; 12-unit gaps; radius 10. */
.home #field-view .screens-video video{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 242' preserveAspectRatio='none'%3E%3Crect x='2' width='418.667' height='242' rx='10'/%3E%3Crect x='432.667' width='414.667' height='242' rx='10'/%3E%3Crect x='859.333' width='418.667' height='242' rx='10'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 242' preserveAspectRatio='none'%3E%3Crect x='2' width='418.667' height='242' rx='10'/%3E%3Crect x='432.667' width='414.667' height='242' rx='10'/%3E%3Crect x='859.333' width='418.667' height='242' rx='10'/%3E%3C/svg%3E");
  background:var(--background);
}

/* Field test choices use the header navigation's link-button treatment. */
.home #field-view .fv-tabs{
  display:flex;gap:1.5rem;margin:0 0 1rem;
  overflow-x:auto;scrollbar-width:none;
}
.home #field-view .fv-tabs::-webkit-scrollbar{display:none}
.home #field-view .fv-tabs [role="tab"]{
  flex:none;padding:.35rem 0;border:0;background:transparent;color:inherit;
  font:500 .875rem/1.25rem var(--font-body);letter-spacing:0;white-space:nowrap;cursor:pointer;
  text-decoration:none;text-decoration-thickness:1px;text-underline-offset:4px;
}
.home #field-view .fv-tabs [role="tab"]:is(:hover,[aria-selected="true"]){text-decoration-line:underline}
.home #field-view .fv-tabs [role="tab"]:focus-visible{outline:2px solid var(--ring);outline-offset:-2px;border-radius:4px}
@media (width < 56rem){
  .home #field-view .fv-tabs{gap:.25rem}
  .home #field-view .fv-tabs [role="tab"]{min-height:44px;padding:.625rem .75rem}
}

/* ---------- How it works: 3d, phone matches desktop ---------- */

/* Shared geometry for both layouts. */
.home #system .flow{--panel-pad:1.5rem;--flow-gap:1.5rem;--product-gap:1rem;--link:var(--border)}
@media (width < 56rem){.home #system .flow{--panel-pad:1.25rem;--flow-gap:0.75rem;--side:2rem}}

.home #system .flow{column-gap:var(--flow-gap)}
.home #system .flow-panel{padding:var(--panel-pad)}
.home #system .flow-line,
.home #system .flow-nav{display:none}

/* Products: a single product spans the panel width; the On land pair splits it in two. */
.home #system .flow-products{display:grid;grid-template-columns:minmax(0,1fr)}
.home #system .flow-products.flow-pair{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--product-gap)}
.home #system .flow-product{min-width:0;margin:0}
/* ----- Phone: centred carousel, equal 20px peek of the neighbours, one card per swipe ----- */
@media (width < 56rem){
  .home #system .flow{
    display:grid;grid-auto-flow:column;grid-template-columns:none;
    /* 100% = the content box = viewport width minus 2 × --side, so every card is equally wide. */
    grid-auto-columns:100%;
    overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scroll-behavior:auto;
    margin-inline:calc(-1 * var(--page-inset));
    padding-inline:var(--side);scroll-padding-inline:var(--side);
    padding-block:0.25rem;
    scrollbar-width:none;
  }
  .home #system .flow::-webkit-scrollbar{display:none}
  .home #system .flow-panel{scroll-snap-align:center;scroll-snap-stop:always}
  .home #system .flow:focus-visible{outline:none;box-shadow:inset 0 0 0 3px color-mix(in oklch,var(--ring) 50%,transparent)}
}

/* ---------- 3f: phone, full-height sections, cards fill them, consistent page inset ---------- */
@media (width < 56rem){
  /* Both sections one screen tall again, like the rest of the page. */
  .home #main > #system,
  .home #main > #field-view{min-height:100svh;padding-block:clamp(1.25rem,4svh,3rem)}
  .home #main > #field-view{justify-content:center}

  /* How it works: the carousel grows to fill the section; cards equal height. */

  /* Active card aligns with the page inset (same left edge as the heading);
     8px of each neighbour visible. */
  .home #system .flow{--side:var(--page-inset);--flow-gap:0.5rem}

  /* Larger render stage, identical in all cards so the line stays aligned. */
}

/* Task 3h: How it works card rhythm (replaces 3e/3f/3g card sizing) */
.home #system .flow{--media:10rem;--stage-gap:1rem;--cap-gap:0.5rem;--block-gap:1rem}
@media (width < 56rem){.home #system .flow{--media:9rem}}

.home #system .flow-panel{display:flex;flex-direction:column;row-gap:0}
.home #system .flow-stage{margin:0 0 var(--stage-gap)}
.home #system .flow-products{flex:none;min-height:0;align-content:start;row-gap:0}
.home #system .flow-product{margin:0}
.home #system .flow-media{height:var(--media);display:flex;align-items:center;justify-content:center}
.home #system .flow-product figcaption{margin:var(--cap-gap) 0 0}
.home #system .flow-text{margin:var(--block-gap) 0 0;min-height:3.75rem}
.home #system .flow-list{margin:var(--block-gap) 0 0;min-height:calc(5 * 2.25rem + 5px)}

.home #system .section-heading{margin-bottom:1.5rem}
@media (width < 56rem){.home #system .section-heading{margin-top:.25rem;margin-bottom:1.25rem}}

/* Task 3i: product panels, no connecting line */
.home #system .flow-products{
  background:var(--background);   /* page background, oklch(0.185 0.016 242) */
  border-radius:10px;
  padding:1rem 0;
}
.home #system .flow-media{height:var(--media)}
.home #system .flow-media img{
  width:auto;height:auto;
  max-width:min(100% - 2rem, 15rem);
  max-height:7.5rem;
  object-fit:contain;
}
.home #system .flow-list li{border-top:0;padding-block:0.25rem}
.home #system .flow-list{min-height:calc(5 * 2.25rem)}

/* Task 5: Tested on row */
.home #field-view .tested-on{display:flex;flex-wrap:wrap;align-items:baseline;gap:0.5rem 1rem;margin-top:1.5rem;font-size:0.875rem;line-height:1.25rem}
.home #field-view .tested-on-label{color:var(--muted-foreground);font-weight:500}
.home #field-view .tested-on ul{display:flex;flex-wrap:wrap;gap:0.25rem 1rem;margin:0;padding:0;list-style:none}
.home #field-view .tested-on ul a{color:var(--foreground);text-decoration:none}
.home #field-view .tested-on ul a:hover{text-decoration:underline;text-underline-offset:3px}
.home #field-view .tested-on-all{margin-left:auto;color:var(--muted-foreground)}
@media (width < 56rem){.home #field-view .tested-on-all{margin-left:0;flex-basis:100%}}

/* Task 6: onboard view on the teledrive station's screens */
.home #field-view .screens-track{width:100%}
.home #field-view .screens-video{position:relative;width:100%;aspect-ratio:2560/1080;overflow:visible;background:none;border-radius:0}
.home #field-view .screens-video > video{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none;-webkit-mask-image:none;mask-image:none;background:none}
.home #field-view .station-screens,
.home #field-view .station-view,
.home #field-view .station-sheen{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.home #field-view .station-sheen{mix-blend-mode:screen}
.home #field-view .screens-tag{display:none}

/* phone: the station is wider than the screen; swipe between the three screens, the front one first */
@media (width < 56rem){
  .home #field-view .screens-track{width:250%}
  .home #field-view .screens-snap{width:0;scroll-snap-align:center}
  .home #field-view .screens-snap--start{left:19.92%}
  .home #field-view .screens-snap--center{left:49.88%}
  .home #field-view .screens-snap--end{left:79.80%}
}

/* Task 6b: the station fades softly into the page at the sides and the bottom */
.home #field-view .screens-video{
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 7%,#000 93%,transparent 100%),
                     linear-gradient(to bottom,#000 0%,#000 72%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0%,#000 7%,#000 93%,transparent 100%),
             linear-gradient(to bottom,#000 0%,#000 72%,transparent 100%);
  mask-composite:intersect;
}

/* Task 6c: the real video stays visible to the browser (iOS won't play a transparent video), tucked
   behind the dark front of the desk, where the station render is solid. The canvas shows it on the screens. */
.home #field-view .screens-video > video{
  opacity:1;
  inset:auto;
  left:46%; top:84%;
  width:8%; height:auto;
  aspect-ratio:auto;
  object-fit:cover;
  z-index:0;
}
.home #field-view .station-screens{z-index:1}
.home #field-view .station-view{z-index:2}
.home #field-view .station-sheen{z-index:3}
.home #field-view .station-play{
  inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:4;
  width:56px;height:56px;border-radius:50%;
}
.home #field-view .station-play .icon{width:1.5rem;height:1.5rem}
.home #field-view .station-play[hidden]{display:none}
