/* The App, v5: what the 21 Nov 2026 walkthrough asked of this page, on top of the shared look
   (site_v5.css: white boxes with a dark blue edge, centered heads, the one selected fill).
     1. the hero: one centered column, grand type, the real app under it
     2. Sky Guides: our own team, opened level by level, down to what one desk knows
     3. one app in place of N subscriptions: every row into one app, two bars on one scale
     4. choose your AI: the picker, and the short "link your plan" box
     5. the closing: three Sky Guides over the two buttons
   The stepper, the four modes, pricing, security and the walkthrough are in the_app_v2.css.
   Every animation here plays once and holds. Reduced motion and print show each figure whole and still. */

/* ---------- 0. the first visit ----------
   Until the web fonts arrive the page is set in a local font. These stand-ins give that font the web fonts'
   widths and line metrics (size-adjust and the overrides, measured against Arial), so the lines break where they will break and nothing moves
   when the fonts come in. A browser with none of the named fonts uses its own, as before. */
@font-face{ font-family:"Space Grotesk Fallback"; font-weight:400 500; size-adjust:108%; ascent-override:91.1%; descent-override:27.8%; line-gap-override:0%;
            src:local("Arial"), local("Liberation Sans"), local("Helvetica Neue"), local("Helvetica"), local("Arimo"); }
@font-face{ font-family:"Space Grotesk Fallback"; font-weight:600 700; size-adjust:101%; ascent-override:97.4%; descent-override:29.7%; line-gap-override:0%;
            src:local("Arial Bold"), local("Liberation Sans Bold"), local("Helvetica Neue Bold"), local("Helvetica Bold"), local("Arimo Bold"); }
@font-face{ font-family:"Space Grotesk Caps Fallback"; font-weight:400 700; size-adjust:90%; ascent-override:109.3%; descent-override:33.3%; line-gap-override:0%;      /* capitals: buttons, the menu */
            src:local("Arial"), local("Liberation Sans"), local("Helvetica Neue"), local("Helvetica"), local("Arimo"); }
@font-face{ font-family:"Poppins Fallback"; font-weight:400 500; size-adjust:112%; ascent-override:93.75%; descent-override:31.25%; line-gap-override:8.9%;
            src:local("Arial"), local("Liberation Sans"), local("Helvetica Neue"), local("Helvetica"), local("Arimo"); }
@font-face{ font-family:"Poppins Fallback"; font-weight:600 700; size-adjust:105%; ascent-override:100%; descent-override:33.3%; line-gap-override:9.5%;
            src:local("Arial Bold"), local("Liberation Sans Bold"), local("Helvetica Neue Bold"), local("Helvetica Bold"), local("Arimo Bold"); }
:root{ --f-display:"Space Grotesk", "Space Grotesk Fallback", "Poppins", system-ui, -apple-system, sans-serif;
       --f-body:"Poppins", "Poppins Fallback", system-ui, -apple-system, sans-serif; }
.btn, .header-nav a{ font-family:"Space Grotesk", "Space Grotesk Caps Fallback", "Poppins", system-ui, -apple-system, sans-serif; }

/* ---------- 1. HERO ---------- */
.pg-head{ padding-top:clamp(40px,6vw,88px); }
.hero{ display:grid; justify-items:center; text-align:center; }
/* The inner pages share one title: 3.5rem on one line at desktop width, as in custom_agents_v5.css (nowrap: one
   line in any font, so nothing moves when the web font arrives). Under 1140 px it is the two-line lockup,
   never larger than at desktop width. */
.pg-head h1{ font-weight:700; font-size:clamp(2.5rem, 1.3rem + 4vw, 2.8rem); letter-spacing:-.04em; line-height:1; text-wrap:balance; }
.pg-head h1 .v5-hl{ display:block; }
@media (min-width:1140px){
  .pg-head h1{ font-size:clamp(2.8rem, 6.8vw - 32.8px, 3.5rem); text-wrap:wrap; white-space:nowrap; }
  .pg-head h1 .v5-hl{ display:inline; }
}
.pg-head .lead{ max-width:40em; margin-top:clamp(16px,1.8vw,24px); }
.hero .cta-row{ justify-content:center; }
/* where the three buttons do not fit one row: the trial on its own, the two downloads under it; on a phone, a column */
@media (min-width:620px) and (max-width:899px){
  .hero .cta-row{ display:grid; grid-template-columns:repeat(2, auto); }
  .hero .cta-row > :first-child{ grid-column:1 / -1; justify-self:center; }
}
@media (max-width:619px){
  .hero .cta-row{ flex-direction:column; align-items:center; }
  .hero .cta-row .btn{ width:min(100%, 400px); }
}
.hero-shot{ width:100%; max-width:1120px; margin-top:clamp(32px,4vw,56px); }

/* ---------- 2. SKY GUIDES: the app's own Studio view, as a static copy ----------
   A "Where you are" bar with Back, then one level at a time: the studios, one studio's desks, one desk
   (its Coordination agent, its reviewers and what it knows), one guide. What opens is a boxed card with
   an arrow; who is only listed has no box. */
.sg{ display:grid; grid-template-columns:minmax(0,1fr); }
.sg [hidden]{ display:none; }
.sg-bar{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px 8px; min-width:0; padding:10px 16px 0;
     scroll-margin-top:calc(var(--nav-h) + 8px); }
.sg-crumbs{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; margin:0; padding:0; list-style:none; }
.sg-crumbs li{ display:flex; align-items:center; }
.sg-crumbs li + li::before{ content:""; width:7px; height:7px; margin:0 6px 0 0; border-top:1.5px solid var(--ink); border-right:1.5px solid var(--ink); transform:rotate(45deg); }
.sg-crumb, .sg-back{ display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 10px; border-radius:var(--v5-r-sm);
     font-family:var(--f-display); font-weight:500; font-size:var(--fs-small); color:var(--brand); cursor:pointer; }
.sg-crumb[aria-current]{ font-weight:600; color:var(--ink); cursor:default; }
.sg-back{ padding:0 14px 0 10px; border:var(--v5-edge-w) solid var(--v5-edge); }
.sg-back svg{ width:18px; height:18px; }
.sg-back-to{ display:none; }
@media (pointer:fine){ .sg-crumb:not([aria-current]):hover, .sg-back:hover{ background:var(--v5-select); } }
.sg-hint{ padding:0 20px 12px; text-align:center; font-family:var(--f-display); font-weight:500; font-size:var(--fs-body); line-height:1.35;
     color:var(--brand); text-wrap:balance; }
.sg-stage{ display:grid; align-content:center; min-width:0; padding:clamp(20px,2.8vw,40px) clamp(16px,2.8vw,40px);
     border-top:var(--v5-edge-w) solid var(--v5-edge); }
@media (min-width:1100px){
  .sg{ grid-template-columns:auto minmax(0,1fr); align-items:center; }
  .sg-bar{ justify-content:flex-start; padding:10px 0 10px 16px; }
  .sg-hint{ padding:8px 24px; text-align:right; }
  .sg-stage{ grid-column:1 / -1; }
}
.sg-hint.is-held{ display:grid; align-items:center; }
.sg-hint.is-held > span{ grid-area:1 / 1; }
.sg-hint-room{ visibility:hidden; }
@media (max-width:699px){
  /* a narrow screen has room for one step of the trail: Back carries the name of the level above */
  .sg-back-w, .sg-crumbs li + li::before, .sg-crumb:not([aria-current]){ display:none; }
  .sg-back-to{ display:inline; }
}
@media (max-width:389px){
  /* the narrowest phones: Back and the level's name can need two rows, so the bar keeps two at every level */
  .sg-bar{ min-height:102px; align-content:center; }
}

.sg-panel{ display:grid; justify-items:center; align-content:center; gap:clamp(14px,1.6vw,20px); min-width:0; }
.js .sg-panel:not(.is-active), .js .sgv-panel:not(.is-active){ display:none; }
/* opening a level moves focus to its panel: the ring shows whenever the panel holds focus, by mouse or by key */
.sg-panel:focus, .sg-panel:focus-visible{ outline:3px solid var(--sky); outline-offset:8px; border-radius:var(--v5-r-sm); }
.js .sg-panel.is-active > *, .js .sgv-panel.is-active > *{ animation:sgIn 420ms var(--e-out) both; }
@keyframes sgIn{ from{ opacity:0; transform:translate3d(0,8px,0); } }
@media screen{
  /* every level shares one cell, and so do the desk's four tabs: at any width the figure is as tall as its
     tallest level, so opening a studio, a desk or a tab moves nothing under it */
  .js .sg-stage > .sg-panel{ grid-area:1 / 1; }
  .js .sgv > .sgv-panel{ grid-area:2 / 1; }
  .js .sg-stage > .sg-panel:not(.is-active), .js .sgv > .sgv-panel:not(.is-active){ display:grid; visibility:hidden; }
}
@media screen and (max-width:1099px){
  /* a shorter level starts at the top, right under the bar it was opened from: the room left is below it */
  .js .sg-stage, .js .sg-panel, .js .sgv-panel{ align-content:start; }
}

.sg-head{ display:flex; align-items:center; justify-content:center; gap:16px; text-align:left; }
.sg-head p{ font-size:var(--fs-body); line-height:1.4; }
.sg-t{ display:grid; min-width:0; }
.sg-t b{ font-family:var(--f-display); font-weight:600; font-size:var(--fs-body); line-height:1.25; }
.sg-t > span{ font-size:var(--fs-small); line-height:1.35; }
.sg-face{ flex:none; border-radius:50%; border:var(--v5-edge-w) solid var(--v5-edge); object-fit:cover; }
.sg-mark{ flex:none; }
.sg-seat{ flex:none; width:var(--sgb); height:var(--sgb); border-radius:50%; border:1.5px dashed var(--v5-edge); }
.sg-row-l{ font-family:var(--f-display); font-weight:600; font-size:var(--fs-body); line-height:1.3; color:var(--brand); text-align:center; text-wrap:balance; }
.sg-panel > .sg-row-l{ margin-bottom:-6px; }
.sg-panel > .sg-grid + .sg-row-l{ margin-top:6px; }

/* a list of people and cards: an exact count on a row (--per), so the last row is never one name */
.sg-grid{ --per:4; --cell:240px; --gap:24px; display:flex; flex-wrap:wrap; justify-content:center; gap:12px var(--gap); width:100%;
     max-width:calc(var(--per) * (var(--cell) + var(--gap)) - var(--gap)); margin:0; padding:0; list-style:none; }
.sg-grid > li{ display:flex; flex:0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per) - .5px); min-width:0; }
.sg-grid--3{ --per:3; }
.sg-grid--lens{ --cell:272px; --gap:16px; }
.sg-grid--studios{ --cell:280px; --gap:12px; }
.sg-who{ align-items:center; justify-content:center; gap:12px; min-height:48px; text-align:left; }
/* one width for the words on a list, so the faces sit under each other from row to row */
.sg-panel > .sg-grid > .sg-who .sg-t{ min-width:9em; }
.sg-panel > .sg-grid--lens > .sg-who .sg-t{ min-width:12.5em; }
.sg-grid > .sg-open{ flex-basis:100%; justify-content:center; }
.sg-card{ display:flex; align-items:center; gap:12px; width:100%; min-height:72px; padding:10px 14px; color:var(--ink); text-align:left;
     transition:box-shadow var(--d1) var(--e-out), background-color var(--d1) ease; }
.sg-open .sg-card{ width:min(100%, 296px); }
.sg-grid--studios .sg-card{ min-height:92px; padding:12px 16px; }
.sg-go{ flex:none; width:18px; height:18px; margin-left:auto; color:var(--brand); transition:transform var(--d2) var(--e-out); }
@media (pointer:fine){
  .sg-card:hover{ box-shadow:var(--v5-lift); }
  .sg-card:hover .sg-go{ transform:translateX(4px); }
}
/* the pass presses the card it is about to open */
.sg[data-auto="on"] [data-tour]{ animation:sgPress 700ms var(--e-out) 2300ms both; }
@keyframes sgPress{ 40%{ transform:scale(.97); background-color:var(--v5-select); } to{ transform:none; background-color:var(--v5-select); } }
@media (max-width:1099px){
  .sg-grid{ --per:2; }
  .sg-grid--3{ --per:3; }
}
@media (max-width:599px){
  /* one column the width of its longest row, centered, so the faces sit under each other */
  .sg-grid{ display:grid; grid-template-columns:minmax(0,max-content); max-width:none; }
  .sg-grid--studios{ grid-template-columns:minmax(0,1fr); }
  .sg-who{ justify-content:flex-start; padding-inline:15px; }
  .sg-open .sg-card{ width:100%; }
}
@media (min-width:600px) and (max-width:739px){
  /* three reviewers and their lenses do not fit one row here: one column, as on a phone */
  .sg-lenses .sg-grid{ display:grid; grid-template-columns:minmax(0,max-content); max-width:none; }
  .sg-lenses .sg-who{ justify-content:flex-start; }
}

/* one desk: its Coordination agent and its reviewers, then four tabs on what the desk knows */
.sg-team{ display:grid; justify-items:center; gap:clamp(14px,1.6vw,20px); width:100%; min-width:0; }
.sg-lenses{ display:grid; justify-items:center; gap:8px; width:100%; min-width:0; }
@media (min-width:1100px){
  .sg-team{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:16px clamp(40px,4.4vw,64px); }
  .sg-lenses{ width:auto; }
  .sg-lenses .sg-grid{ flex-wrap:nowrap; width:auto; max-width:none; gap:28px; }
  .sg-lenses .sg-grid > li{ flex:0 0 auto; }
}
.sgv{ display:grid; justify-items:center; gap:clamp(14px,1.6vw,20px); width:100%; min-width:0; }
.sgv-tabs{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.sgv-tabs .v5-chip{ justify-content:center; min-width:6.5em; padding:8px 20px; font-family:var(--f-display); font-weight:600; font-size:var(--fs-body);
     transition:background-color var(--d1) ease, color var(--d1) ease; }
.sgv-panel{ display:grid; justify-items:center; align-content:center; gap:14px; width:100%; min-width:0; }
.sgv-note{ max-width:44em; text-align:center; font-size:var(--fs-small); line-height:1.45; text-wrap:balance; }

/* rules (never, always) and verdicts (fixed, kept): two boxes, one line each */
.sgr{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; width:100%; max-width:1000px; }
.sgr-col{ padding:clamp(14px,1.6vw,18px) clamp(16px,2vw,24px); }
.sgr-col h4{ font-family:var(--f-display); font-weight:600; font-size:var(--fs-h3); line-height:1.2; color:var(--brand); text-align:center; }
.sgr-col ul{ display:grid; gap:6px; width:fit-content; max-width:100%; margin:10px auto 0; padding:0; list-style:none; text-align:left; }
.sgr-col li{ display:flex; align-items:flex-start; gap:10px; line-height:1.4; text-wrap:balance; }
.sgr-col li svg{ flex:none; width:20px; height:20px; margin-top:2px; color:var(--brand); }

/* the database: the small table it is */
.sgd-box{ width:100%; max-width:1000px; overflow:hidden; }
.sgd{ width:100%; border-collapse:collapse; text-align:left; line-height:1.4; }
.sgd caption{ padding:10px 16px; font-family:var(--f-display); font-weight:600; font-size:var(--fs-h3); line-height:1.2; color:var(--brand); text-align:center; }
.sgd th, .sgd td{ padding:8px 16px; border-top:1px solid var(--v5-edge); vertical-align:top; text-wrap:balance; }
.sgd th{ font-family:var(--f-display); font-weight:600; }
.sgd thead th{ color:var(--brand); }
.sgd tbody th{ white-space:nowrap; }

/* the flow of one ask: five nodes in a row, and the fix round back from the gate to the draft */
.sgf{ position:relative; display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); width:100%; max-width:1080px; margin:0; padding:0 0 44px; list-style:none; }
.sgf > li{ position:relative; display:grid; justify-items:center; align-content:start; gap:10px; padding:0 8px; text-align:center; }
.sgf-t{ display:grid; gap:2px; }
.sgf-t b{ font-family:var(--f-display); font-weight:600; font-size:var(--fs-body); line-height:1.25; }
.sgf-t > span{ font-size:var(--fs-small); line-height:1.35; }
/* a line from each node to the next (a well is 76px), with its arrowhead */
.sgf > li:nth-child(-n+4)::after{ content:""; position:absolute; left:calc(50% + 46px); top:37px; width:calc(100% - 92px); height:1.5px; background:var(--brand); }
.sgf > li:nth-child(-n+4)::before{ content:""; position:absolute; left:calc(150% - 56px); top:34px; width:8px; height:8px;
     border-top:1.5px solid var(--brand); border-right:1.5px solid var(--brand); transform:rotate(45deg); }
.well--trio .sgb + .sgb{ margin-left:-6px; }
.well--gate{ border:0; background:none; }
.well--gate::before{ content:""; position:absolute; inset:11px; border:1.5px solid var(--brand); border-radius:6px; background:#fff; transform:rotate(45deg); }
.well--gate b{ position:relative; font-family:var(--f-display); font-weight:700; font-size:1.0625rem; }
.sgf > .sgf-loop{ position:absolute; left:30%; right:30%; bottom:10px; display:block; height:26px; padding:0; border:1.5px dashed var(--brand); border-top:0; border-radius:0 0 16px 16px; }
.sgf > .sgf-loop::before{ content:""; position:absolute; left:-5px; top:-1px; width:8px; height:8px; border-top:1.5px solid var(--brand); border-left:1.5px solid var(--brand); transform:rotate(45deg); }
.sgf-loop span{ position:absolute; left:50%; bottom:-11px; transform:translateX(-50%); padding:0 12px; background:#fff; white-space:nowrap;
     font-family:var(--f-display); font-weight:600; font-size:var(--fs-small); line-height:1.4; color:var(--brand); }
.js .sgv-panel.is-active .sgf > li{ animation:sgIn 420ms var(--e-out) both; animation-delay:calc(var(--i, 5) * 130ms); }

/* one guide: the job, what the desk knows, how work is graded */
.sg-facts{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; width:100%; max-width:1000px; margin:0; }
.sg-facts > div{ display:grid; align-content:start; gap:8px; padding:clamp(14px,1.8vw,20px); text-align:center; }
.sg-facts dt{ font-family:var(--f-display); font-weight:600; font-size:var(--fs-h3); line-height:1.2; color:var(--brand); }
.sg-facts dd{ margin:0; line-height:1.45; text-wrap:balance; }
.sg-db{ display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin:2px 0 10px; padding:0; list-style:none; }
.sg-db li{ padding:3px 12px; border:var(--v5-edge-w) solid var(--v5-edge); border-radius:99px; font-family:var(--f-display); font-weight:500; font-size:var(--fs-small); }
/* the scale: 0.00 on the left, 4.00 on the right, the passing part filled from 3.50 */
.sg-scale{ position:relative; display:block; width:min(100%, 240px); margin:2px auto 10px; padding-top:26px; }
.sg-scale i{ display:block; height:12px; border:var(--v5-edge-w) solid var(--v5-edge); border-radius:99px; overflow:hidden; }
.sg-scale i::after{ content:""; display:block; width:12.5%; height:100%; margin-left:auto; background:var(--brand); }
.sg-scale b{ position:absolute; left:87.5%; top:0; transform:translateX(-50%); font-family:var(--f-display); font-weight:700; line-height:1.3; color:var(--brand); }

@media (max-width:900px){
  /* the flow runs down the page: each node beside its words, the fix round said in words */
  .sgf{ grid-template-columns:minmax(0,1fr); gap:20px; max-width:400px; padding:0; }
  .sgf > li{ grid-template-columns:76px minmax(0,1fr); justify-items:start; align-items:center; gap:16px; padding:0; text-align:left; }
  .sgf > li:nth-child(-n+4)::after{ left:37px; top:calc(100% + 2px); width:1.5px; height:16px; }
  .sgf > li:nth-child(-n+4)::before, .sgf > .sgf-loop{ display:none; }
  .sg-facts{ grid-template-columns:minmax(0,1fr); max-width:480px; }
}
@media (max-width:640px){
  .sg-head{ gap:12px; }
  .sgv-tabs{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); width:100%; max-width:320px; }
  .sgr{ grid-template-columns:minmax(0,1fr); }
  /* the stage is as tall as the desk's tallest tab (its rules): the two rule boxes sit closer and the flow's
     connectors run longer, so the tabs are near one height and none leaves a blank band */
  .sgr{ gap:8px; }
  .sgr-col{ padding:12px 14px; }
  .sgr-col ul{ gap:4px; margin-top:6px; }
  .sgf{ gap:34px; }
  .sgf > li:nth-child(-n+4)::after{ height:30px; }
  /* the table stacks: each row is its name, what it holds, then one row from it */
  .sgd thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .sgd tbody tr{ display:grid; gap:2px; padding:10px 16px; border-top:1px solid var(--v5-edge); }
  .sgd tbody th, .sgd tbody td{ padding:0; border:0; }
  .sgd tbody td:last-child{ color:var(--brand); }
}
html:not(.js) .sg-bar, html:not(.js) .sg-hint, html:not(.js) .sgv-tabs{ display:none; }
html:not(.js) .sg-stage{ border-top:0; }
html:not(.js) .sg-panel + .sg-panel, html:not(.js) .sgv-panel + .sgv-panel{ margin-top:clamp(24px,3vw,40px); }

/* ---------- 3. ONE APP IN PLACE OF N SUBSCRIPTIONS ----------
   Left: every subscription, one row each (a row is 48px on a 56px pitch; the template draws one line
   per row from that). Right: the one app. Under them: two bars on one scale, and the saving in words. */
.fun{ max-width:1080px; margin:var(--sb) auto 0; }
.fun-flow{ display:grid; grid-template-columns:minmax(0,1fr) 200px auto; align-items:center; }
.fun-apps{ display:grid; gap:8px; min-width:0; margin:0; padding:0; list-style:none; }
.fun-app{ display:grid; grid-template-columns:56px minmax(0,12.5em) minmax(0,1fr) auto; align-items:center; gap:0 12px; height:48px; padding:0 16px 0 8px;
     background:#fff; border:var(--v5-edge-w) solid var(--v5-edge); border-radius:var(--v5-r-sm); transition:background-color var(--d1) ease, color var(--d1) ease; }
.fun-app.is-on{ background:var(--v5-select); color:var(--brand); }
/* every mark the same: a 24px box, the company's own colors, nothing behind it */
.fun-logos{ display:flex; align-items:center; justify-content:center; gap:6px; }
.fun-logos img{ width:24px; height:24px; object-fit:contain; }
.fun-name{ font-family:var(--f-display); font-weight:600; font-size:var(--fs-body); line-height:1.2; white-space:nowrap; }
.fun-job{ min-width:0; font-size:var(--fs-small); line-height:1.2; }
.fun-price{ font-family:var(--f-display); font-weight:600; font-size:var(--fs-body); color:var(--brand); font-variant-numeric:tabular-nums; }
.fun-lines{ display:block; width:200px; height:auto; overflow:visible; }
.fl{ fill:none; stroke:var(--brand); stroke-width:1.5; transition:stroke-width var(--d1) ease; }
.fl.is-on{ stroke-width:3.5; }
/* a dot runs the lit line once, from the row into the app */
.fd{ fill:none; stroke:var(--sky); stroke-width:8; stroke-linecap:round; stroke-dasharray:.1 100; stroke-dashoffset:100; opacity:0; }
.fl.is-on + .fd{ opacity:1; animation:funDot 560ms linear 1 both; }
@keyframes funDot{ to{ stroke-dashoffset:.2; } }
.fun-one{ display:flex; align-items:center; }
.fun-node{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; width:clamp(176px,15vw,208px); aspect-ratio:1;
     background:#fff; border:2.5px solid var(--brand); border-radius:50%; box-shadow:var(--v5-lift); text-align:center; }
.fun-node img{ width:52px; height:52px; margin-bottom:4px; }
.fun-node b{ font-family:var(--f-display); font-weight:700; font-size:var(--fs-h3); line-height:1.15; }
.fun-node span{ max-width:9em; font-size:var(--fs-small); line-height:1.3; text-wrap:balance; }

.fun-totals{ display:grid; gap:10px; margin-top:clamp(28px,3.4vw,44px); }
.tot{ display:grid; grid-template-columns:minmax(0,10em) minmax(0,1fr) minmax(0,13em); align-items:center; gap:6px 16px; }
.tot-l{ font-family:var(--f-display); font-weight:600; font-size:var(--fs-body); line-height:1.25; text-align:right; }
.tb-track{ display:flex; gap:6px; height:40px; min-width:0; }
.tb{ display:block; flex:none; width:calc(var(--w) * 1%); min-width:3px; border-radius:8px; transform-origin:left; transition:transform 1100ms var(--e-out); }
.tb--them{ background:var(--ink); }
.tb--ours{ background:var(--brand); }
.tb-save{ display:flex; flex:1 1 0; align-items:center; justify-content:center; min-width:0; border:1.5px dashed var(--brand); border-radius:8px; white-space:nowrap;
     font-family:var(--f-display); font-weight:600; font-size:var(--fs-body); color:var(--brand); transition:opacity 500ms ease 800ms; }
.js .fun-totals:not(.is-in) .tb{ transform:scaleX(0); }
.js .fun-totals:not(.is-in) .tb-save{ opacity:0; }
.tot-v{ font-size:var(--fs-small); line-height:1.2; white-space:nowrap; }
.tot-v b{ font-family:var(--f-display); font-weight:600; font-size:clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem); letter-spacing:-.02em; line-height:1.1; font-variant-numeric:tabular-nums; }
.tot--ours .tot-v b{ color:var(--brand); }
.fun-diff{ margin-top:clamp(10px,1.4vw,18px); text-align:center; font-family:var(--f-display); font-weight:500; font-size:clamp(1.1875rem, 1rem + .9vw, 1.75rem);
     letter-spacing:-.01em; line-height:1.3; text-wrap:balance; }
.fun-diff b{ font-weight:700; color:var(--brand); white-space:nowrap; }
.fun-note{ max-width:62em; margin:clamp(16px,2vw,24px) auto 0; text-align:center; font-size:var(--fs-small); line-height:1.5; text-wrap:balance; }
@media (max-width:1000px){
  /* one column: the rows, a short stem, the one app */
  .fun-flow{ grid-template-columns:minmax(0,1fr); justify-items:center; max-width:560px; margin-inline:auto; }
  .fun-apps{ width:100%; }
  .fun-lines{ display:none; }
  .fun-one{ flex-direction:column; }
  .fun-one::before{ content:""; width:1.5px; height:28px; background:var(--brand); }
  .fun-node{ width:176px; }
}
@media (max-width:640px){
  .fun-app{ grid-template-columns:56px minmax(0,1fr) auto; height:auto; min-height:56px; padding:6px 14px 6px 8px; }
  .fun-logos, .fun-price{ grid-row:1 / span 2; }
  .fun-name{ grid-column:2; align-self:end; }
  .fun-job{ grid-column:2; grid-row:2; align-self:start; }
  .fun-price{ grid-column:3; }
  .tot{ grid-template-columns:minmax(0,1fr) auto; align-items:end; }
  .tot-l{ text-align:left; }
  .tb-track{ grid-column:1 / -1; grid-row:2; height:32px; }
}

/* ---------- 4. CHOOSE YOUR AI: pick one of three on the left, what you built stays on the right ---------- */
.ai{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:clamp(12px,2vw,24px); max-width:1080px; margin-inline:auto; }
.ai-swap{ display:grid; grid-template-columns:auto minmax(32px,1fr) auto; align-items:center; padding:clamp(18px,2.4vw,32px); }
/* three 56px chips on a 72px pitch: the template's lines leave from 28, 100 and 172 of 200 */
.ai-opts{ display:grid; gap:16px; }
.ai-opts .v5-chip{ justify-content:center; height:56px; min-width:8em; padding:0 16px; font-family:var(--f-display); font-weight:600; font-size:var(--fs-body);
     transition:background-color var(--d1) ease, color var(--d1) ease; }
.ai-opts .v5-chip[aria-checked="true"]{ background:var(--v5-select); color:var(--brand); }
.ai-lines{ display:block; width:100%; height:200px; overflow:visible; }
.al{ fill:none; stroke:var(--brand); stroke-width:1.5; stroke-dasharray:3 6; vector-effect:non-scaling-stroke; }
.ai-swap[data-active="1"] .al1, .ai-swap[data-active="2"] .al2, .ai-swap[data-active="3"] .al3{ stroke-width:3.5; stroke-dasharray:none; }
.ai-keep{ display:grid; justify-items:center; gap:2px; padding:clamp(14px,1.8vw,22px) clamp(12px,1.8vw,24px); border:2.5px solid var(--brand); border-radius:var(--v5-r);
     text-align:center; line-height:1.3; }
.ai-keep b{ font-family:var(--f-display); font-weight:700; font-size:var(--fs-h3); line-height:1.15; white-space:nowrap; }
.own{ display:grid; justify-items:center; align-content:center; gap:14px; padding:clamp(18px,2.4vw,32px); text-align:center; }
.own h3{ font-weight:700; font-size:clamp(1.375rem, 1.15rem + .9vw, 1.875rem); letter-spacing:-.02em; line-height:1.15; text-wrap:balance; }
/* the two plans: one block, centered, the two marks under each other */
.own-ai{ display:grid; gap:10px; width:fit-content; max-width:100%; margin:0 auto; padding:0; list-style:none; }
.own-ai li{ display:flex; align-items:center; gap:12px; line-height:1.3; text-align:left; }
.own-ai img{ flex:none; width:28px; height:28px; object-fit:contain; }
.own-ai b{ font-family:var(--f-display); font-weight:600; }
.own-line{ max-width:34em; line-height:1.45; text-wrap:balance; }
.own-note{ max-width:36em; font-size:var(--fs-small); line-height:1.45; text-wrap:balance; }
@media (max-width:900px){ .ai{ grid-template-columns:minmax(0,1fr); max-width:560px; } }
@media (max-width:420px){
  .ai-opts .v5-chip{ min-width:0; padding:0 12px; }
  /* the ChatGPT row is two lines on a phone: broken before "through", so the two rows stay one centered block */
  .own-via{ display:block; }
}
@media (max-width:374px){
  /* the narrowest phones: tighter boxes, so "What you built" keeps its one line */
  .ai-swap{ grid-template-columns:auto minmax(20px,1fr) auto; padding-inline:12px; }
  .ai-opts .v5-chip{ padding:0 8px; }
  .ai-keep{ padding-inline:8px; }
}
@media (max-width:339px){ .ai-keep b{ font-size:1rem; } }

/* ---------- 5. CLOSING: your own Sky Guides, a Coordination agent between two of its team ---------- */
.end-crew{ display:flex; align-items:flex-end; justify-content:center; gap:clamp(12px,2vw,24px); margin-top:var(--sb); }

/* ---------- 6. PRICING AND SECURITY in the shared look (round 2): the look only, not one word ----------
   White boxes with the 1.5px dark blue edge, no tinted table header, no tinted ring around a box, no pale
   borders. The one light fill is the selected state. */
.plan.glass{ background:#fff; border:var(--v5-edge-w) solid var(--v5-edge); border-radius:var(--v5-r); box-shadow:var(--v5-lift); }
.plan.plan--top{ border-width:2.5px; }
.plan.plan--ent{ border-style:dashed; }
.checks{ border-top:1px solid var(--v5-edge); }
.checks li{ text-wrap:pretty; }
.cmp-box{ border:var(--v5-edge-w) solid var(--v5-edge); border-radius:var(--v5-r); }
.cmp thead th{ background:#fff; color:var(--brand); }
.cmp tbody tr > *{ border-top:1px solid var(--v5-edge); }
@media (min-width:561px) and (max-width:1024px){ .cmp thead th + th{ width:26%; } }
@media (max-width:560px){
  /* a phone has no room for three columns of words: each line's name takes the full width, and its
     two answers stand under Pro and Max, half the box each */
  .cmp, .cmp thead, .cmp tbody{ display:block; }
  .cmp tr{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); }
  .cmp thead th:first-child{ display:none; }
  .cmp thead th + th{ width:auto; }
  .cmp tbody th{ grid-column:1 / -1; padding-bottom:0; font-weight:600; }
  .cmp tbody td{ border-top:0; padding-top:2px; }
  .cmp th, .cmp td{ padding-inline:16px; }
}
.ly4{ fill:#fff; }
.lay[data-active="1"] .ly1, .lay[data-active="2"] .ly2, .lay[data-active="3"] .ly3,
.lay[data-active="4"] .ly4, .lay[data-active="5"] .ly5{ fill:var(--v5-select); }
.lay[data-active="1"] .lay-l1, .lay[data-active="2"] .lay-l2, .lay[data-active="3"] .lay-l3,
.lay[data-active="4"] .lay-l4, .lay[data-active="5"] .lay-l5{ background:var(--v5-select); }
.lay-row .ring{ background:#fff; box-shadow:inset 0 0 0 1.5px var(--v5-edge); }
.lay-row[aria-checked="true"]{ background:#fff; border-color:var(--v5-edge); box-shadow:none; }
.lay-row[aria-checked="true"] .ring{ background:var(--v5-select); box-shadow:inset 0 0 0 2px var(--brand); }
@media (max-width:900px){
  /* one column: the list is a centered block as wide as its longest line, not a left column with an empty right */
  .lay-list{ width:fit-content; max-width:100%; margin-inline:auto; }
}

/* ---------- 7. NOTHING UNDER A FIGURE MOVES (round 2) ----------
   The four steps and the four modes differ in height on a phone. Each set shares one cell, so the stage is
   as tall as its tallest panel and a change of step or mode moves nothing below it. */
@media screen{
  .js .stp-stage, .js .orb-stage{ display:grid; grid-template-columns:minmax(0,1fr); }
  .js .stp-stage > .stp-panel, .js .orb-stage > .orb-panel{ grid-area:1 / 1; }
  .js .stp-stage > .stp-panel[hidden]{ display:grid; visibility:hidden; }
  .js .orb-stage > .orb-panel[hidden]{ display:flex; visibility:hidden; }
}
/* On a phone a step of three stations stands in the stage a step of four sets: its arrows take up the room,
   so the stations reach from the top of the stage to the caption and no band is left blank. */
@media screen and (max-width:700px){
  .js .stp-stage .flow{ align-self:stretch; }
  .js .stp-stage .cx{ flex:1 0 24px; height:auto; }
}

/* ---------- print and reduced motion: every figure whole and still ---------- */
@media print{
  .sg [hidden], .js .sg-panel:not(.is-active), .js .sgv-panel:not(.is-active){ display:grid !important; }
  .sg-bar, .sg-hint, .sgv-tabs{ display:none !important; }
  .sg-panel + .sg-panel, .sgv-panel + .sgv-panel{ margin-top:24px; }
  .tb{ print-color-adjust:exact; -webkit-print-color-adjust:exact; }
}
@media (prefers-reduced-motion: reduce){
  .fd{ display:none; }
  .js .sg-panel.is-active > *, .js .sgv-panel.is-active > *, .js .sgv-panel.is-active .sgf > li, .sg [data-tour]{ animation:none; }
}
