/* V6 additions for the multi-page preview, with V7 changes. style.css is an unchanged copy of V5.2 and provides the visual language. */
.menu a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--champagne)}
.menu a{white-space:nowrap}
main{overflow-x:clip}
h3{font-weight:400;font-size:1.2rem;letter-spacing:-.01em}
a{text-underline-offset:3px}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.product .actions{align-self:stretch}
.product .actions .btn,.copy .actions .btn,.page-head .actions .btn{margin-top:0}
.btn{text-align:center}
/* illustration disclaimers: one treatment everywhere; centred, one line where it fits, balanced when it cannot */
.vis-note,.product .vis-note{width:100%;max-width:34rem;margin:0 auto;padding:0 8px;font-size:.76rem;line-height:1.45;color:var(--ink-2);text-align:center;text-wrap:balance}
/* home product cards: the visual is in flow so the note sits under it */
.products .p-visual{position:relative;right:auto;top:auto;width:min(100%,460px);align-self:flex-end;margin-bottom:12px}
.products .vis-note{align-self:flex-end;width:min(100%,460px);margin:0 0 18px}
.demo.product .vis-note{align-self:center;width:calc(100% + 32px);max-width:36rem;margin:0 -16px}

/* page heads */
.page-head{max-width:1200px;margin:0 auto;padding:clamp(40px,7vw,96px) var(--pad) clamp(20px,4vw,48px)}
.page-head h1{max-width:18ch}
.page-head .lede{max-width:36rem}
.page-head.center{text-align:center;display:flex;flex-direction:column;align-items:center;padding-bottom:clamp(72px,10vw,130px)}
.page-head.center .lede{margin-left:auto;margin-right:auto}
.page-head.center .actions{justify-content:center}
.eyebrow{display:flex;align-items:center;gap:14px;margin-bottom:20px;font-family:var(--mono);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-2)}
.eyebrow img{width:44px;height:44px;object-fit:contain}
.product-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:clamp(20px,4vw,56px);max-width:1320px;margin:0 auto;padding-right:var(--pad)}
.product-hero .page-head{margin:0;padding-right:0}
.product-hero h1{font-size:clamp(2.3rem,4.3vw,3.9rem)}
.demo.product{min-height:0;background:none;border:0;box-shadow:none;padding:0;align-items:stretch}
.demo.product:hover{transform:none;box-shadow:none}
.demo .p-visual{position:relative;right:auto;top:auto;width:min(100%,560px);margin:0 auto 14px}
.demo.product p{margin-top:0}

/* sections */
.band{padding:clamp(40px,6vw,80px) 0}
.band.tight{padding-top:12px}
.band>.wrap>h2,.band>.wrap{position:relative}
.band h2{font-size:clamp(1.6rem,2.6vw,2.2rem);margin-bottom:22px}
.band>.wrap:not(.two-col){border-top:1px solid var(--line);padding-top:28px}
.prose{max-width:40rem;line-height:1.7;color:var(--ink-2);margin-bottom:16px}
.two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,72px);align-items:start}
.cards{list-style:none;padding:0;display:grid;gap:18px;margin-bottom:18px}
.cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.card,.panel{padding:24px;border-radius:22px;background:#fff;border:1px solid rgba(255,255,255,.9);box-shadow:0 1px 0 #fff inset,0 24px 44px -32px rgba(27,29,34,.4),0 0 0 1px var(--line)}
.card p{margin-top:8px;line-height:1.55;color:var(--ink-2)}
.card a{display:inline-block;margin-top:14px;padding:6px 0}
.ticks{list-style:none;padding:0;margin-bottom:26px;max-width:40rem}
.ticks li{position:relative;padding:11px 0 11px 28px;border-bottom:1px solid var(--line);line-height:1.5}
.ticks li::before{content:"";position:absolute;left:2px;top:1.35em;width:14px;height:1px;background:var(--champagne)}
.steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;counter-reset:s}
.steps li{counter-increment:s;border-top:1px solid var(--ink);padding-top:16px}
.steps li::before{content:"0" counter(s);font-family:var(--mono);font-size:.72rem;letter-spacing:.2em;color:var(--ink-2);display:block;margin-bottom:10px}
.steps p{margin-top:8px;line-height:1.55;color:var(--ink-2)}
.shotfig{margin:0 0 22px}
.shotfig img{display:block;max-width:100%;height:auto;margin:0 auto;border-radius:14px;background:#fff;box-shadow:0 30px 50px -30px rgba(27,29,34,.45),0 0 0 1px var(--line)}
.shotfig figcaption{margin-top:12px;text-align:center;font-size:.8rem;color:var(--ink-2)}
.next{background:var(--paper-2);border-block:1px solid var(--line)}
.next>.wrap{border-top:0!important;padding-top:0!important}
details{border-bottom:1px solid var(--line);max-width:44rem}
summary{cursor:pointer;padding:18px 4px;font-size:1.05rem}
details p{padding:0 4px 18px;color:var(--ink-2);line-height:1.6}
.disclaimer{margin-top:22px;padding-left:16px;border-left:2px solid var(--champagne);line-height:1.6;max-width:44rem}
.small{margin-top:16px;font-size:.85rem;line-height:1.6;color:var(--ink-2)}

/* form */
.panel h2{margin-bottom:14px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field{margin-top:18px;min-width:0}
.field label{display:flex;justify-content:space-between;gap:8px;font-size:.92rem;margin-bottom:8px}
.req{font-family:var(--mono);font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2)}
.field input,.field textarea{width:100%;min-height:50px;padding:13px 15px;border-radius:14px;border:1px solid rgba(27,29,34,.28);background:var(--white);color:var(--ink);font:inherit}
.field textarea{resize:vertical}
.panel .btn{margin-top:20px}
.notice{margin-top:12px;padding:12px 16px;border:1px dashed var(--ink-2);border-radius:14px;font-size:.9rem;line-height:1.5}
.notice[hidden]{display:none}
/* The switched-off contribute form. */
.field input:disabled,.field textarea:disabled{background:var(--paper);cursor:not-allowed}
.panel .btn:disabled{opacity:.5;cursor:not-allowed;transform:none}
.aside h2{margin-top:8px}
.aside p{line-height:1.65;color:var(--ink-2)}

/* privacy draft */
.legal{max-width:52rem;padding-bottom:90px}
.legal h2{font-size:1.7rem;margin:42px 0 14px;padding-top:24px;border-top:1px solid var(--line)}
.legal h3{margin-top:22px}
.legal p{margin-top:12px;line-height:1.7}
.legal ul{margin-top:12px;line-height:1.7}
.legal code{overflow-wrap:anywhere}
.draft{padding:16px 18px;border:2px solid #8a5a00;border-radius:14px;background:#fff3d6;color:#4a3000}
.owner{padding:12px 16px 12px 24px;border-radius:10px;background:#fff3d6;color:#4a3000;font-size:.92rem;border-left:8px solid transparent;border-image:repeating-linear-gradient(45deg,#8a5a00 0 6px,#f0c35a 6px 12px) 8}
.owner b{display:block;font-family:var(--mono);font-size:.66rem;letter-spacing:.12em;text-transform:uppercase}

.version{display:inline-block;margin-top:18px;padding:8px 16px;border-radius:999px;box-shadow:0 0 0 1px var(--line);background:var(--white);font-size:.9rem}
.version[hidden]{display:none}
.closing .small a{display:inline-block;padding:6px 0}
.foot nav{flex-wrap:wrap}
.foot nav a[aria-current="page"]{color:var(--ink);text-decoration:underline}

@media (max-width:900px){
  .product-hero{grid-template-columns:1fr;padding-right:0}
  .product-hero>.demo,.product-hero>.shotfig{padding:0 var(--pad)}
  .product-hero .page-head{padding-right:var(--pad)}
  .two-col,.steps{grid-template-columns:1fr}
  .cards.three,.cards.two{grid-template-columns:1fr}
}
@media (max-width:560px){
  .row{grid-template-columns:1fr;gap:0}
  .actions{flex-direction:column}
  .actions .btn,.panel .btn,.closing .btn{width:100%;padding:12px 20px}
  .card,.panel{padding:20px}
  .foot nav{gap:0}
}

/* alignment and rhythm */
.band{padding:clamp(28px,3.6vw,48px) 0}
.band.tight{padding-top:12px;padding-bottom:clamp(56px,7vw,96px)}
.band>.wrap:not(.two-col){border-top:0}
.band>.wrap:not(.two-col)::before{content:"";position:absolute;top:0;left:var(--pad);right:var(--pad);height:1px;background:var(--line)}
.band.tight>.wrap::before,.next>.wrap::before{display:none}
.product-hero{max-width:1200px}

/* ---------- V7 ---------- */
/* extension-style dots (as the "Featured extension" dot): red for Video Master, blue for A Photo Slider. The dot is part of the
   item's first line, so it cannot be left behind at the end of a line, and it sits on the middle of the lowercase letters. */
.dots{--dot:#CC0000;--halo:rgba(204,0,0,.12);list-style:none;padding:0;display:flex;flex-wrap:wrap;column-gap:16px;color:var(--ink-2);line-height:1.55}
.dots-blue{--dot:#2f6fb5;--halo:rgba(47,111,181,.15)}
.dots-stack{flex-direction:column}
.dots li{max-width:100%;padding-left:18px;text-indent:-18px}
.dots li::before{content:"";display:inline-block;width:6px;height:6px;margin:0 9px 0 3px;border-radius:50%;background:var(--dot);box-shadow:0 0 0 3px var(--halo);vertical-align:middle;text-indent:0}
.product .dots{margin-top:8px;max-width:24rem}
.f-dots{margin-top:2px;column-gap:14px;font-size:.95rem;line-height:1.5}
.dots-list{row-gap:10px;max-width:40rem;margin-bottom:16px}

/* published / planned labels */
.status{display:inline-flex;align-items:center;gap:10px;margin-bottom:16px;padding:7px 14px;border:1px solid var(--ink);border-radius:18px;font-family:var(--mono);font-size:.66rem;line-height:1.6;letter-spacing:.14em;text-transform:uppercase}
.status::before{content:"";flex:none;width:7px;height:7px;border-radius:50%}
.status-now{background:var(--white)}
.status-now::before{background:#CC0000;box-shadow:0 0 0 3px rgba(204,0,0,.12)}
.status-next{border-style:dashed}
.status-next::before{box-shadow:inset 0 0 0 1.5px var(--ink)}

/* hero media */
.hero-media{min-width:0}
.product-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}

@media (max-width:900px){
  .product-hero{grid-template-columns:minmax(0,1fr)}
  .product-hero>.hero-media{padding:0 var(--pad)}
}

/* phones: disclaimers may use part of the card padding; the featured list uses the full card width, so the card stays short
   enough for its button to remain on the first screen */
@media (max-width:480px){
  .products .vis-note{width:calc(100% + 32px);margin:0 -16px 18px;padding:0 4px}
  .featured .f-row{display:grid;grid-template-columns:48px minmax(0,1fr);gap:0 14px}
  .featured .f-text{display:contents}
  .featured .f-logo{grid-column:1;grid-row:1}
  .featured .f-name{grid-column:2;grid-row:1;align-self:center}
  .featured .f-desc{grid-column:1/-1;margin-top:10px}
  .featured .f-dots{grid-column:1/-1}
}

/* ---------- V8 ---------- */
.offscreen,.offscreen *,.offscreen *::before,.offscreen *::after{animation-play-state:paused!important}

/* ---------- V9 ---------- */
.store-shot{max-width:860px;margin:26px auto 0}
.shot-missing{align-self:center;max-width:26rem;margin:14px auto 0;padding:10px 16px;border:1px dashed var(--ink-2);border-radius:14px;text-align:center;font-size:.8rem;line-height:1.5;color:var(--ink-2)}
.demo.product .shot-missing{margin-top:14px}

/* ---------- V9 hero panels ----------
   The product panel is visible in the first screen: the real Video Master panel (cropped from the Chrome Web Store screenshot,
   no other change) in the Home featured card and the Video Master hero card, and the A Photo Slider panel illustration in its hero card. */
.panel-fig{margin:0}
.panel-crop{position:relative;overflow:hidden;border-radius:12px;background:#0b0b14;box-shadow:0 0 0 1px rgba(27,29,34,.28),0 16px 30px -18px rgba(27,29,34,.5)}
.panel-crop img{position:absolute;max-width:none;width:148.5%;left:-24.13%;height:auto}
.panel-only{aspect-ratio:862/184}.panel-only img{top:-82.61%}
.shotfig .panel-crop img{margin:0;border-radius:0;box-shadow:none;background:none}
.f-panel{margin-top:10px}
/* desktop: the panel makes the card taller, so the card is kept compact to leave its button on the first screen */
@media (min-width:901px){
  .copy .lede{max-width:32rem}
  .featured{max-width:32rem}
  .featured{padding-bottom:16px}
  .featured .f-row{margin-top:12px}
  .featured .btn{margin-top:14px}
}
@media (max-width:480px){.f-panel{margin-top:12px}}

.hero-card{padding:clamp(14px,2vw,22px);border-radius:22px;background:#fff;border:1px solid rgba(255,255,255,.9);
  box-shadow:0 1px 0 #fff inset,0 24px 44px -30px rgba(27,29,34,.4),0 0 0 1px var(--line)}
.hero-card figcaption,.hero-card .vis-note{margin:12px auto 0;max-width:none;padding:0;font-size:.78rem;line-height:1.5;color:var(--ink-2);text-align:center;text-wrap:balance}
.hero-card .p-visual{position:relative;right:auto;top:auto;width:min(100%,620px);margin:0 auto}
/* demonstration video: its own section below the hero, responsive 16:9, loaded only when near the screen (lazy) */
.video-frame{position:relative;aspect-ratio:16/9;max-width:880px;overflow:hidden;border-radius:18px;background:#101116;box-shadow:0 40px 70px -34px rgba(16,18,24,.6),0 0 0 1px var(--line)}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vid-note{margin-top:12px;max-width:880px;font-size:.84rem;line-height:1.5;color:var(--ink-2)}
.vid-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* phones (product pages): the panel card sits between the intro text and the actions, so the panel is on the first screen while the
   heading and the primary action stay close above and below it. Same elements, same text; only the order changes. */
@media (max-width:600px){
  .product-hero{padding:clamp(40px,7vw,96px) var(--pad) clamp(20px,4vw,48px);row-gap:0}
  .product-hero .page-head{display:contents}
  .product-hero>.hero-media{order:1;padding:0;margin-top:22px}
  .product-hero .page-head .actions{order:2;margin-top:22px}
}

/* Home featured card: panel between the text and the actions; Explore and Install side by side, wrapping on narrow screens */
.featured .f-actions{margin-top:14px;gap:10px}
.featured .f-actions .btn{margin-top:0}
@media (max-width:900px){.featured .f-actions{flex-direction:row}.featured .f-actions .btn{width:auto;flex:1 1 auto}}
@media (max-width:480px){.featured .f-actions{flex-direction:column}.featured .f-actions .btn{width:100%;flex:none}}
