/* PermitLogic site, v4 (Oct 30, 2026).
   Calm, exact and light, like good software for the trades. One family (Archivo): wide and heavy for
   headings, normal width for reading. Yellow is the accent: buttons, highlights, the mark. Never a background
   for whole sections. The live product does the showing; the page around it stays quiet. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-var-latin.woff2) format('woff2-variations'), url(/fonts/archivo-var-latin.woff2) format('woff2');
}

:root {
  --paper: #F4F5F7;      /* grey bands and fills inside panels */
  --white: #FFFFFF;      /* the page and panels */
  --ink: #171B22;        /* headings, primary text */
  --body: #4A5161;       /* reading text */
  --soft: #6B7383;       /* captions */
  --line: #DCE0E6;       /* hairlines */
  --line-2: #C9CFD8;
  --night: #1B2230;      /* dark bands */
  --night-2: #252E3F;
  --on-night: #E9ECF2;
  --on-night-soft: #A9B1C1;
  --sun: #FDC202;        /* the brand yellow */
  --sun-press: #EBB300;
  --sun-ink: #1F1A00;    /* text on yellow */
  --sun-tint: #FFF5CF;
  --sun-line: #F2D677;
  --ok: #1E7F4E;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(23, 27, 34, .06), 0 12px 32px -12px rgba(23, 27, 34, .18);
  --head: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--white); color: var(--body);
  font: 400 17px/1.6 var(--head); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--head); text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; font-weight: 760; font-stretch: 115%; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; font-weight: 740; font-stretch: 112%; letter-spacing: -.02em; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 680; font-stretch: 104%; letter-spacing: -.01em; }
h4 { font-size: 17px; line-height: 1.3; font-weight: 650; }
small, .small { font-size: 14px; line-height: 1.5; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 62ch; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--body); max-width: 58ch; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent; font: 640 16px/1 var(--head); font-stretch: 104%;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s;
}
.btn-sun { background: var(--sun); color: var(--sun-ink); }
.btn-sun:hover { background: var(--sun-press); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2A303B; }
.btn-line { border-color: var(--line-2); color: var(--ink); background: var(--white); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.on-night .btn-line { background: transparent; color: var(--on-night); border-color: rgba(233, 236, 242, .35); }
.on-night .btn-line:hover { border-color: var(--on-night); }
.tlink { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tlink:hover { text-decoration-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.site-top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav > a, .nav > details > summary { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 520; cursor: pointer; list-style: none; }
.nav > details > summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav > details > summary:hover, .nav > details[open] > summary { background: rgba(23, 27, 34, .06); }
.nav a[aria-current=page] { box-shadow: inset 0 -2px 0 var(--sun); border-radius: 0; }
.nav details { position: relative; }
.nav summary::after { content: ''; width: 7px; height: 7px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.drop { position: absolute; top: 46px; left: 0; width: 340px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; display: grid; }
.drop a { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; }
.drop a:hover { background: var(--paper); }
.drop b { color: var(--ink); font-weight: 640; font-size: 15px; }
.drop span { color: var(--soft); font-size: 14px; line-height: 1.4; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.top-actions .signin { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 560; padding: 0 8px; }
.burger { display: none; }

/* Sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-tight { padding: clamp(48px, 6vw, 80px) 0; }
/* The page is white; every other section sits on a grey band so the page has a rhythm. (.sec-white is the old name.) */
.band, .sec-white { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band + .on-night, .sec-white + .on-night { border-top: 0; }
.on-night { background: var(--night); color: var(--on-night-soft); }
.on-night h1, .on-night h2, .on-night h3, .on-night h4 { color: var(--on-night); }
.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.head p { margin: 0; font-size: 18px; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.split-head .head { margin: 0; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.hero h1 { max-width: 14ch; }
.hero .lede { margin: 22px 0 30px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.hero-grid h1 { font-size: clamp(40px, 4.8vw, 66px); }
.hero-grid .lede { margin: 20px 0 28px; font-size: 18px; }
.hero-art { margin: 0; }
.hero-art img { width: 100%; height: auto; border-radius: var(--r-lg); }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-meta { margin-top: 14px; color: var(--soft); font-size: 15px; }

/* Who it's for: four doors */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; box-shadow: var(--shadow); }
.door { display: grid; align-content: start; gap: 6px; padding: 22px 22px 24px; text-decoration: none; position: relative; }
.door + .door { border-left: 1px solid var(--line); }
.door b { color: var(--ink); font-size: 18px; font-weight: 680; font-stretch: 106%; letter-spacing: -.01em; }
.door span { color: var(--body); font-size: 15px; line-height: 1.5; }
.door em { font-style: normal; margin-top: 8px; color: var(--ink); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.door em::after { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='%231F1A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; transition: transform .15s; }
.door:hover em::after { transform: translateX(3px); }
.door:hover { background: var(--sun-tint); }
.door:hover em { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* The live product */
.live { margin-top: clamp(40px, 5vw, 64px); }
.live-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 14px; }
.live-note { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 560; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(30, 127, 78, .15); }
.live-tabs { display: flex; gap: 4px; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.live-tabs button { border: 0; background: none; color: var(--body); font: 560 14px/1 var(--head); height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.live-tabs button:hover { color: var(--ink); }
.live-tabs button[aria-pressed=true] { background: var(--ink); color: #fff; }
.frame { position: relative; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
.frame-chrome { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #ECEEF2; border-bottom: 1px solid var(--line); }
.frame-chrome i { width: 11px; height: 11px; border-radius: 50%; background: #D3D7DE; }
.frame-chrome .url { margin: 0 auto; padding: 4px 14px; border-radius: 6px; background: var(--white); color: var(--soft); font-size: 13px; max-width: 60%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.frame-stage { position: relative; width: 100%; aspect-ratio: 1280 / 800; overflow: hidden; background: var(--paper); }
.frame-stage iframe { position: absolute; top: 0; left: 0; width: 1280px; max-width: none; height: 800px; border: 0; transform-origin: 0 0; }
.frame-stage img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.frame-start { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(244,245,247,0) 30%, rgba(244,245,247,.75)); }
.frame-start .btn { box-shadow: var(--shadow); }
.live-foot { margin-top: 12px; color: var(--soft); font-size: 14px; }

/* Facts strip (on night) */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(233, 236, 242, .14); border-radius: var(--r-lg); }
.fact { padding: 26px 24px; }
.fact + .fact { border-left: 1px solid rgba(233, 236, 242, .14); }
.fact b { display: block; color: var(--on-night); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; font-weight: 740; font-stretch: 112%; letter-spacing: -.02em; margin-bottom: 8px; }
.fact span { font-size: 15px; line-height: 1.5; }

/* Feature groups */
.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.group { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.group h3 { margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.group h3 .chip { width: 30px; height: 30px; border-radius: 9px; background: var(--sun-tint); border: 1px solid var(--sun-line); display: grid; place-items: center; flex-shrink: 0; }
.group h3 .chip svg { width: 17px; height: 17px; stroke: var(--sun-ink); }
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.feats li { padding: 13px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.feats li:first-child { border-top: 0; padding-top: 0; }
.feats b { color: var(--ink); font-weight: 640; font-size: 16px; }
.feats span { font-size: 15px; line-height: 1.5; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--soft); font-size: 12px; font-weight: 600; vertical-align: 2px; }

/* Two products side by side */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.prod { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.prod-shot { background: var(--paper); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.prod-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.prod-shot.phones { display: flex; justify-content: center; align-items: flex-end; gap: 18px; padding: 28px 24px 0; background: linear-gradient(180deg, var(--sun-tint), #FFFBEA); }
.prod-shot .phone { width: 31%; max-width: 190px; border-radius: 26px 26px 0 0; border: 6px solid var(--ink); border-bottom: 0; overflow: hidden; background: #fff; }
.prod-shot .phone img { width: 100%; height: auto; object-fit: initial; }
.prod-shot .phone.mid { width: 35%; max-width: 214px; }
.prod-copy { padding: 28px; display: grid; align-content: start; gap: 12px; }
.prod-copy .who { color: var(--soft); font-size: 15px; font-weight: 560; }
.prod-copy p { margin: 0; }
.ticks { list-style: none; margin: 6px 0 8px; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.45; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1A00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prod-copy .actions { margin-top: 8px; }
.note { color: var(--soft); font-size: 14px; }

/* A real sequence: homeowner to signed job */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.flow li { counter-increment: step; position: relative; padding: 0 24px 0 0; }
.flow li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--night-2); color: var(--on-night); font-weight: 700; font-size: 15px; margin-bottom: 18px; position: relative; z-index: 1; }
.flow li::after { content: ''; position: absolute; top: 17px; left: 34px; right: 0; height: 1px; background: rgba(233, 236, 242, .2); }
.flow li:last-child::after { display: none; }
.flow .who { display: block; font-size: 14px; color: var(--sun); font-weight: 600; margin-bottom: 4px; }
.flow h3 { color: var(--on-night); font-size: 18px; margin-bottom: 8px; }
.flow p { margin: 0; font-size: 15px; line-height: 1.55; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; align-content: start; gap: 10px; }
.plan.pick { border: 2px solid var(--sun); padding: 25px; }
.plan .for { color: var(--soft); font-size: 14px; font-weight: 560; }
.plan h3 { font-size: 19px; }
.plan .price { color: var(--ink); font-size: 36px; line-height: 1; font-weight: 760; font-stretch: 112%; letter-spacing: -.025em; margin: 6px 0 2px; }
.price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--soft); font-stretch: 100%; }
.plan p { margin: 0; font-size: 15px; line-height: 1.5; }
.plan .tlink { margin-top: 6px; font-size: 15px; }

/* Guides */
.guides { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.guides a { padding: 18px 16px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guides a:nth-child(6n) { border-right: 0; }
.guides a:nth-last-child(-n+6) { border-bottom: 0; }
.guides a:hover { background: var(--sun-tint); }

/* Questions */
.qa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.qlist { border-top: 1px solid var(--line); }
.qlist details { border-bottom: 1px solid var(--line); }
.qlist summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; color: var(--ink); font-weight: 640; font-size: 17px; }
.qlist summary::-webkit-details-marker { display: none; }
.qlist summary::after { content: ''; position: absolute; right: 6px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .15s; }
.qlist details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.qlist details p { margin: -6px 0 20px; max-width: 62ch; font-size: 16px; }

/* Closing band */
.close { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.close p { margin: 14px 0 0; font-size: 18px; }
.close .actions { justify-content: flex-end; }

/* Footer */
.foot { background: var(--white); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot h2 { font-size: 14px; font-weight: 680; font-stretch: 100%; letter-spacing: 0; color: var(--ink); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--body); }
.foot a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot-brand p { margin: 14px 0 0; max-width: 32ch; }
.foot-brand img { height: 28px; width: auto; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--soft); font-size: 13px; line-height: 1.55; }
.foot-base p { margin: 0; max-width: 80ch; }

/* Breadcrumb */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--soft); margin-bottom: 18px; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .guides { grid-template-columns: repeat(4, 1fr); }
  .guides a:nth-child(6n) { border-right: 1px solid var(--line); }
  .guides a:nth-child(4n) { border-right: 0; }
  .guides a:nth-last-child(-n+6) { border-bottom: 1px solid var(--line); }
  .guides a:nth-last-child(-n+4) { border-bottom: 0; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav, .top-actions .signin { display: none; }
  .burger { display: block; margin-left: auto; }
  .burger summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); }
  .burger summary::-webkit-details-marker { display: none; }
  .burger summary span { width: 20px; height: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
  .burger-panel { position: absolute; left: 0; right: 0; top: 68px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px var(--gutter) 20px; display: grid; gap: 2px; max-height: calc(100vh - 68px); overflow: auto; }
  .burger-panel a { padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 560; border-bottom: 1px solid var(--line); }
  .burger-panel .btn { margin-top: 12px; border-bottom: 0; }
  .top-actions { order: 3; }
  .doors { grid-template-columns: 1fr 1fr; }
  .door:nth-child(3) { border-left: 0; }
  .door:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(233, 236, 242, .14); }
  .groups, .pair { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .flow li:nth-child(2)::after { display: none; }
  .qa, .close { grid-template-columns: 1fr; }
  .close .actions { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .top-actions .btn { display: none; }
  .live-bar { display: grid; }
  .frame-chrome .url { max-width: 80%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .doors, .facts, .plans { grid-template-columns: 1fr; }
  .door + .door, .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact + .fact { border-top-color: rgba(233, 236, 242, .14); }
  .flow { grid-template-columns: 1fr; }
  .flow li::after { display: none; }
  .guides { grid-template-columns: 1fr 1fr; }
  .guides a, .guides a:nth-child(4n), .guides a:nth-child(6n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .guides a:nth-child(2n) { border-right: 0; }
  .guides a:nth-last-child(-n+2) { border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .group, .prod-copy { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Sign in menu */
.acct { position: relative; }
.acct summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; height: 40px; }
.acct summary::-webkit-details-marker { display: none; }
.drop-right { right: 0; left: auto; width: 300px; }
@media (max-width: 960px) { .acct { display: none; } }

/* iPhone Duo */
.duo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.duo img { width: 100%; height: auto; }
.duo .ticks { margin-top: 14px; }
.duo-wide { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.duo-wide img { width: 100%; height: auto; }
.duo-wide h3 { color: var(--on-night); margin-bottom: 10px; }
@media (max-width: 960px) { .duo, .duo-wide { grid-template-columns: 1fr; } }

/* iPhone Duo, scrolled: the phone folds, stands up and opens as the page scrolls. The section is tall; the
   picture stays put (sticky) while scrolling moves through the frames. Same grey as the renders, so the phone
   sits on the page with no box around it. */
.fold-show { --fold-bg: #ECEDEA; background: var(--fold-bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.js .fold-show { height: 360vh; }
.fold-sticky { padding: clamp(56px, 8vw, 96px) 0; }
.js .fold-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 64px 0 24px; overflow: hidden; }
.fold-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.fold-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.fold-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 26px; }
.fold-tabs button { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.fold-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.fold-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.fold-steps li { position: relative; padding-left: 40px; color: var(--soft); transition: color .3s, opacity .3s; opacity: .55; }
.fold-steps li::before { content: attr(data-n); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.fold-steps li.on { opacity: 1; color: var(--body); }
.fold-steps li.on::before { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); }
.fold-steps b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 2px; }
.fold-steps span { display: block; font-size: 16px; line-height: 1.5; }
.fold-steps span[hidden] { display: none; }
.fold-stage { position: relative; width: 100%; aspect-ratio: 1080 / 990; max-height: calc(100svh - 120px); margin: 0 auto;
  contain: strict; }
.fold-stage img, .fold-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.fold-stage canvas { opacity: 0; }
.fold-stage.live canvas { opacity: 1; }
.fold-stage.live img { visibility: hidden; }
@media (max-width: 760px) {
  .js .fold-show { height: 300vh; }
  .js .fold-sticky { padding: 72px 0 12px; align-items: flex-start; }
  .fold-grid { grid-template-columns: 1fr; gap: 6px; }
  .fold-copy h2 { font-size: 26px; }
  .fold-copy h2 br { display: none; }
  .fold-tabs { margin: 14px 0 12px; }
  .fold-tabs button { font-size: 13px; padding: 7px 11px; }
  .js .fold-steps li:not(.on) { display: none; }
  .fold-stage { max-height: 58svh; }
}
@media (prefers-reduced-motion: reduce) {
  .js .fold-show { height: auto; }
  .js .fold-sticky { position: static; height: auto; padding: clamp(56px, 8vw, 96px) 0; }
  .js .fold-steps li:not(.on) { display: block; }
  .fold-steps li { opacity: 1; }
}
