/* Hallmark · pre-emit critique: P5 H4 E4 S5 R5 V4 */
:root{
  --product-red:#E11D48;
  --product-red-press:#C41340;
  --product-line:rgba(225,29,72,.16);
  --product-line-strong:rgba(225,29,72,.34);
}

/* ============================================================================
   AutoSmile product pages — the sub-brand layer
   ----------------------------------------------------------------------------
   These pages inherit the whole system from pilot.css. Everything here is what
   a product page adds on top: the sub-brand lockup, the hero that carries the
   product's own mockup, the three-step strip, and the family footer that puts
   the product back under the roof it belongs to.
   Same colour law: one red per section, #801D48 only in .s-control.
   ========================================================================== */

/* ---------- sub-brand hero -------------------------------------------------- */
.phero{padding:clamp(52px,7vh,84px) 0 clamp(64px,8vh,104px);background:var(--paper)}
.pherogrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,520px);gap:clamp(38px,5vw,76px);align-items:center}
.crumb{display:inline-flex;align-items:center;gap:9px;font:600 11px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--red);text-decoration:none;border-bottom:1px solid var(--line-2);padding-bottom:8px}
.crumb:hover{border-color:var(--red)}
.crumb span{transition:transform .2s var(--ease)}
.crumb:hover span{transform:translateX(-3px)}

.plock{display:flex;align-items:center;gap:14px;margin:30px 0 24px}
.pl-mark{flex:0 0 auto;width:48px;height:48px;border-radius:13px;border:1.5px solid var(--red);display:grid;place-items:center;color:var(--red)}
.pl-mark svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pl-txt{display:flex;flex-direction:column;gap:4px;min-width:0}
.pl-txt small{font:600 11px/1 var(--mono);letter-spacing:.2em;text-transform:uppercase;color:var(--red);opacity:.7}
.pl-txt b{font-family:var(--display);font-weight:800;font-size:19px;letter-spacing:-.015em;color:var(--red);line-height:1.1}
.pl-no{margin-left:auto;font:600 11px/1 var(--mono);letter-spacing:.14em;color:var(--red);opacity:.6}

.phero h1{color:var(--red);font-size:clamp(38px,4.6vw,68px);max-width:16ch}
.phero .lead{max-width:52ch}

.pherodemo{min-width:0}
.pdemo-cap{margin:14px 0 0;font:600 11px/1.5 var(--mono);letter-spacing:.09em;text-transform:uppercase;color:var(--red);opacity:.78;text-align:center}

/* ---------- three steps ----------------------------------------------------- */
.psteps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.4vw,34px);margin-top:clamp(38px,5vh,58px)}
.pstep{border-top:2px solid var(--red);padding-top:24px;min-width:0}
.ps-n{display:block;font:600 11px/1 var(--mono);letter-spacing:.14em;color:var(--red);margin-bottom:16px}
.pstep b{display:block;font-family:var(--display);font-weight:800;font-size:clamp(20px,1.9vw,26px);line-height:1.22;letter-spacing:-.018em;color:var(--red)}
.pstep p{margin:12px 0 0;font-size:15px;line-height:1.62}

/* ---------- where it shows up ----------------------------------------------- */
.ppanel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(36px,4.5vw,68px);align-items:center}
.pshot{margin:0;min-width:0}
.pshot .win{height:auto;padding-top:44px}
.pshot-screen{aspect-ratio:16/10;overflow:hidden;background:var(--white)}
.pshot-screen img{width:100%;height:100%;object-fit:cover;display:block}
.pshot figcaption{margin-top:13px;font:600 11px/1.5 var(--mono);letter-spacing:.09em;text-transform:uppercase;color:var(--red);opacity:.78}

/* ---------- the family ------------------------------------------------------ */
.pfam{text-align:center}
.pfam .amb{width:54px;height:44px;object-fit:contain;margin:0 auto 22px}
.pfam .eyebrow{justify-content:center;color:#fff}
.pfam h2{color:#fff;max-width:22ch;margin-inline:auto;font-size:clamp(26px,3vw,42px)}
.fam{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:clamp(34px,5vh,52px) 0 0;text-align:left}
.fam-item{display:flex;align-items:center;gap:13px;border:1px solid var(--on-red);border-radius:13px;padding:17px 18px;text-decoration:none;color:#fff;transition:background-color .22s var(--ease),border-color .22s var(--ease)}
.fam-item:hover{background:rgba(255,255,255,.09);border-color:#fff}
.fam-item.on{background:#fff;border-color:#fff}
.fam-mark{flex:0 0 auto;width:38px;height:38px;border-radius:10px;border:1.4px solid var(--on-red);display:grid;place-items:center;color:#fff}
.fam-item.on .fam-mark{border-color:var(--red);color:var(--red)}
.fam-mark svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fam-txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.fam-txt small{font:600 11px/1 var(--mono);letter-spacing:.18em;text-transform:uppercase;opacity:.72}
.fam-txt b{font-family:var(--display);font-weight:800;font-size:15px;letter-spacing:-.015em;line-height:1.15}
.fam-item.on .fam-txt{color:var(--red)}
.pfam .fcta{justify-content:center}

@media (max-width:1120px){
  .fam{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:920px){
  .pherogrid{grid-template-columns:1fr;gap:40px}
  .ppanel{grid-template-columns:1fr;gap:34px}
  .psteps{grid-template-columns:1fr;gap:26px}
  .pl-no{display:none}
}
@media (max-width:640px){
  .fam{grid-template-columns:1fr}
  .phero{padding:40px 0 60px}
}

/* ============================================================================
   The panel, per product, authored live at 1280px inside the machine.
   A screenshot cannot be honest for six different views, so this is real markup
   scaled by the same ResizeObserver that scaled the picture before it.
   ========================================================================== */
/* Authored at the height the display ACTUALLY has once the Safari toolbar and
   tab strip are on it — 1280x600, not 1280x800 — so the trail is not cut off
   halfway down a row. */
.pv-scale{width:1280px;height:600px;display:grid;grid-template-columns:236px minmax(0,1fr);
  background:var(--white);color:var(--ink);font-size:15px;transform:scale(var(--k,1));transform-origin:0 0}

.pv-side{border-right:1px solid var(--line);padding:20px 16px;display:flex;flex-direction:column;gap:16px;background:var(--paper)}
.pv-brand{display:flex;align-items:center;gap:9px;font-family:var(--display);font-weight:800;font-size:17px;color:var(--red)}
.pv-side > small{font:600 11px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--red);opacity:.7}
.pv-side ul{list-style:none;margin:0;padding:0;display:grid;gap:3px}
.pv-side li{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:8px;font-size:14px;color:var(--ink);opacity:.62}
.pv-side li.on{background:var(--white);color:var(--red);font-weight:700;opacity:1;box-shadow:inset 2px 0 0 var(--red)}
.pv-i{display:grid;place-items:center;width:18px;height:18px;flex:0 0 auto;color:currentColor}
.pv-i svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pv-note{margin-top:auto;font:600 11px/1.5 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--red);opacity:.55}
.pv-main{padding:20px 24px;min-width:0;display:flex;flex-direction:column;gap:11px}
.pv-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.pv-eyebrow,.pv-tag{font:600 11px/1 var(--mono);letter-spacing:.13em;text-transform:uppercase;color:var(--red)}
.pv-tag{border:1px solid var(--line-2);border-radius:5px;padding:8px 11px}
.pv-main .pv-title{margin:0;font-family:var(--display);font-weight:800;font-size:26px;letter-spacing:-.02em;color:var(--ink)}
.pv-sub{margin:0;font-size:15px;line-height:1.55;color:var(--ink);max-width:74ch}
.pv-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pv-card{border:1px solid var(--line);border-radius:10px;padding:13px 15px;background:var(--white)}
.pv-card small{display:block;font:600 11px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--red);opacity:.75}
.pv-card b{display:block;margin-top:9px;font-family:var(--display);font-weight:800;font-size:18px;letter-spacing:-.015em;color:var(--ink)}
.pv-card em{display:inline-block;margin-top:11px;font:600 11px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;font-style:normal;color:var(--red);border:1px solid var(--line-2);border-radius:5px;padding:7px 10px}
.pv-card.on{background:var(--red);border-color:var(--red)}
.pv-card.on small{color:rgba(255,255,255,.8)}
.pv-card.on b{color:#fff}
.pv-card.on em{color:#fff;border-color:rgba(255,255,255,.5)}
.pv-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px;flex:1 1 auto;min-height:0}
.pv-box{border:1px solid var(--line);border-radius:10px;padding:16px 18px;background:var(--white);min-width:0}
.pv-box-h{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.pv-box-h b{font-family:var(--display);font-weight:800;font-size:16px;color:var(--ink)}
.pv-box-h span{font:600 11px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--red);border:1px solid var(--line-2);border-radius:5px;padding:7px 10px}
.pv-trail{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.pv-trail li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start;border:1px solid var(--line);border-radius:9px;padding:10px 12px}
.pv-trail i{font:600 13px/1.3 var(--mono);font-style:normal;color:var(--red)}
.pv-trail b{display:block;font-size:14.5px;font-weight:700;color:var(--ink)}
.pv-trail em{display:block;margin-top:3px;font-style:normal;font-size:13.5px;line-height:1.5;color:var(--ink);opacity:.78}
.pv-never{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.pv-never li{position:relative;padding-left:22px;font-size:13.5px;line-height:1.5;color:var(--ink)}
.pv-never li::before{content:"";position:absolute;left:0;top:.55em;width:11px;height:1.5px;background:var(--red)}

/* A single wide video slot per product. */
.pvid .brief-wide{max-width:none}
.pvid .brief-wide .brief-frame{aspect-ratio:16/9}

/* A four-across variant of the existing step grid, for the feature set. Same
   .pstep card — red rule on top, display title, one line of copy — only the
   column count changes, so the section stays in the page's own language. */
.psteps-4{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:clamp(26px,3.4vh,42px)}
.psteps-4 .pstep b{font-size:clamp(17px,1.35vw,20px)}
.psteps-4 .pstep p{font-size:14.5px}
@media(max-width:1000px){.psteps-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.psteps-4{grid-template-columns:1fr;row-gap:22px}}

/* ============================================================================
   Product-page editorial pass · 2026-09-09
   Scoped to body.product-page so the homepage and shared page layer remain
   untouched. Existing copy, product demonstrations and operational boundaries
   stay intact; this layer changes rhythm and composition only.
   ========================================================================== */

html:has(body.product-page),body.product-page{overflow-x:clip}
body.product-page{
  --product-sequence:"00";
  background:var(--paper);
}
body.product-call{--product-sequence:"01"}
body.product-appointment{--product-sequence:"02"}
body.product-reactivation{--product-sequence:"03"}
body.product-concierge{--product-sequence:"04"}
body.product-reputation{--product-sequence:"05"}
body.product-communications{--product-sequence:"06"}

.product-page h1,.product-page h2,.product-page h3{font-style:normal;overflow-wrap:anywhere;min-width:0}
.product-page .product-status{
  position:relative;z-index:4;margin:0;padding:10px 24px;
  background:var(--white);color:var(--ink);border-bottom:1px solid var(--product-line);
  text-align:center;font:500 12px/1.5 var(--mono);letter-spacing:.035em;
}
.product-page .product-status strong{font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--product-red)}
.product-page main>.section{padding-block:clamp(92px,11vw,148px)}
.product-page main>.cinewrap{background:var(--paper)}
.product-page #cine+.section.s-white{background:var(--white)}

/* One controlled sequence: paper → white → paper → white. The red cinematic
   product demonstration and the founder close are the page's only full-red
   moments. */
.product-page main>section:nth-of-type(2){background:var(--white)}
.product-page main>section:nth-of-type(3){background:var(--paper)}
.product-page main>section:nth-of-type(4){background:var(--white)}
.product-page main>section:nth-of-type(5){background:var(--paper)}
.product-page main>section:nth-of-type(6){background:var(--white)}
.product-page main>section:nth-of-type(7){background:var(--paper)}
.product-page main>section:nth-of-type(8){background:var(--white)}
.product-page main>section.founder{background:var(--product-red);color:var(--white)}

/* Call Recovery carries one additional proof section, so its last two beats are
   retimed without changing their DOM order. */
.product-call main>section:nth-of-type(7){background:var(--paper)}
.product-call main>section:nth-of-type(8){background:var(--white)}

/* Remove the dark/plum sub-system inherited from the shared cinema layer. */
.product-page .s-control{
  --red:var(--product-red);
  --line:var(--product-line);
  --line-2:var(--product-line-strong);
  background:var(--white);
}
.product-page .s-control .eyebrow,
.product-page .s-control h2,
.product-page .s-control .bound-col b{color:var(--product-red)}
.product-page .fnote{
  background:var(--paper)!important;
  border-color:var(--product-line)!important;
}
.product-page .fnote-txt{color:var(--ink)!important}
.product-page .fnote-txt em{color:var(--product-red)!important}
.product-page .fnote-go{color:var(--product-red)!important;border-color:var(--product-line-strong)!important}
.product-page .fnote-go:hover{border-color:var(--product-red)!important}
.product-page:not(.product-call) .fnote{background:var(--white)!important}

/* The opening number is typography, not another badge or icon tile. */
.product-page .cine-open{position:relative;isolation:isolate}
.product-page .cine-open>*{position:relative;z-index:1}
.product-page .cine-open::after{
  content:var(--product-sequence);
  position:absolute;z-index:0;right:-.04em;top:50%;
  transform:translateY(-55%);
  font:800 clamp(150px,24vw,360px)/.8 var(--display);
  letter-spacing:-.09em;color:var(--product-line);
  pointer-events:none;
}
.product-page .cine-open h1{max-width:13ch;margin-inline:auto}
.product-page .cine-open .lead{max-width:58ch;margin-inline:auto}
.product-page .cine-open .hero-cta{justify-content:center}

/* The gap is a ledger, not a card grid: statement on the left, operating moments
   on the right. */
.product-page main>section:nth-of-type(2)>.wrap{
  display:grid;
  grid-template-columns:minmax(230px,.68fr) minmax(0,1.32fr);
  grid-template-rows:auto 1fr;
  column-gap:clamp(48px,7vw,108px);
  align-items:start;
}
.product-page main>section:nth-of-type(2) .eyebrow{grid-column:1;grid-row:1}
.product-page main>section:nth-of-type(2) h2{grid-column:1;grid-row:2;font-size:clamp(38px,5vw,72px);max-width:10ch}
.product-page main>section:nth-of-type(2) .ledger{grid-column:2;grid-row:1/3;margin-top:0}
.product-page .ledger .lrow{grid-template-columns:minmax(92px,.34fr) minmax(0,1fr);gap:clamp(22px,3vw,44px)}

/* Shared components become flatter and more typographic. */
.product-page .pstep{border-top-width:1px;padding-top:22px}
.product-page .bound{border-radius:0;border-inline:0}
.product-page .reqcard,.product-page .pv-card,.product-page .pv-box{border-radius:6px}
.product-page .brief-frame{border-radius:0}
.product-page .pshot figcaption{text-align:left}
.product-page .ppanel{gap:clamp(44px,6vw,92px)}

/* Each product keeps the same information architecture while receiving a
   distinct reading pattern. */
.product-appointment #works .psteps{
  grid-template-columns:repeat(6,minmax(0,1fr));
  align-items:start;
}
.product-appointment #works .pstep:nth-child(1){grid-column:1/4}
.product-appointment #works .pstep:nth-child(2){grid-column:4/7;margin-top:70px}
.product-appointment #works .pstep:nth-child(3){grid-column:2/6}

.product-reactivation #works .psteps{grid-template-columns:1fr;gap:0;border-top:1px solid var(--product-line-strong)}
.product-reactivation #works .pstep{
  display:grid;grid-template-columns:64px minmax(180px,.65fr) minmax(0,1fr);
  gap:clamp(20px,3vw,48px);align-items:start;
  padding-block:28px;border-top:0;border-bottom:1px solid var(--product-line);
}
.product-reactivation #works .pstep .ps-n{margin:6px 0 0}
.product-reactivation #works .pstep p{margin:2px 0 0}

.product-concierge #works .psteps{grid-template-columns:repeat(12,minmax(0,1fr));row-gap:34px}
.product-concierge #works .pstep:nth-child(1){grid-column:1/8}
.product-concierge #works .pstep:nth-child(2){grid-column:8/13;margin-top:72px}
.product-concierge #works .pstep:nth-child(3){grid-column:4/11}

.product-reputation main>section:nth-of-type(2)>.wrap{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr)}
.product-reputation main>section:nth-of-type(2) h2{max-width:12ch}
.product-reputation .ledger .lrow{display:block;padding-block:28px}
.product-reputation .ledger .lrow time{display:block;margin-bottom:12px}

.product-communications #works .psteps{grid-template-columns:repeat(2,minmax(0,1fr))}
.product-communications #works .pstep:last-child{grid-column:1/-1;width:min(68%,760px);margin-left:auto}

/* Alternate the panel composition on half of the family. */
.product-appointment .ppanel>figure,
.product-concierge .ppanel>figure,
.product-communications .ppanel>figure{grid-column:1;grid-row:1}
.product-appointment .ppanel>div,
.product-concierge .ppanel>div,
.product-communications .ppanel>div{grid-column:2;grid-row:1}

.product-page .btn,.product-page .crumb,.product-page .mech-go,.product-page .fnote-go{white-space:nowrap}

@media(max-width:920px){
  .product-page main>section:nth-of-type(2)>.wrap{grid-template-columns:1fr;grid-template-rows:auto;row-gap:24px}
  .product-page main>section:nth-of-type(2) .eyebrow,
  .product-page main>section:nth-of-type(2) h2,
  .product-page main>section:nth-of-type(2) .ledger{grid-column:1;grid-row:auto}
  .product-page main>section:nth-of-type(2) h2{max-width:15ch}
  .product-page main>section:nth-of-type(2) .ledger{margin-top:26px}
  .product-appointment #works .psteps,
  .product-concierge #works .psteps,
  .product-communications #works .psteps{grid-template-columns:1fr}
  .product-appointment #works .pstep:nth-child(n),
  .product-concierge #works .pstep:nth-child(n),
  .product-communications #works .pstep:last-child{grid-column:auto;margin-top:0;width:auto}
  .product-appointment .ppanel>figure,
  .product-concierge .ppanel>figure,
  .product-communications .ppanel>figure,
  .product-appointment .ppanel>div,
  .product-concierge .ppanel>div,
  .product-communications .ppanel>div{grid-column:auto;grid-row:auto}
  .product-appointment .ppanel>figure,
  .product-concierge .ppanel>figure,
  .product-communications .ppanel>figure{order:2}
}

@media(max-width:640px){
  .product-page main>.section{padding-block:72px}
  .product-page .cine-open::after{right:50%;top:18%;transform:translate(50%,-50%);font-size:clamp(112px,44vw,188px)}
  .product-page .cine-open h1{font-size:clamp(35px,10vw,52px)}
  .product-page .ledger .lrow{grid-template-columns:1fr;gap:8px}
  .product-reactivation #works .pstep{grid-template-columns:46px minmax(0,1fr);gap:14px 18px}
  .product-reactivation #works .pstep p{grid-column:2}
  .product-page .btn{font-size:14px;padding-inline:18px;max-width:100%}
  .product-page .hero-cta .btn{width:100%}
  .product-page .fnote-go{white-space:normal}
}

@media(prefers-reduced-motion:reduce){
  html.js body.product-page .fade,
  html.js body.product-page .rl>i{opacity:1!important;transform:none!important;filter:none!important;transition-duration:.01ms!important}
}
