/* Last modified: 2026-11-19--1347 — duofari.com home: Apple-native, black, the system font (SF on Apple devices). */
:root { --bg:#000; --ink:#f5f5f7; --muted:#86868b; --tile:#161617; --rule:#2c2c2e; --link:#2997ff; --accent:#0a84ff;
  /* the side gutter grows with the window (owner, 2026-11-18: "text too cramped up against left edge" at ~1000 px):
     22 px on phones, ~50 px at 1000 px, 64 px at most */
  --gutter:clamp(22px, 5vw, 64px); }
* { box-sizing:border-box; }
/* black on the root too, and a dark colour scheme (owner, 2026-11-19): pulled past its top or bottom the page showed
   WebKit's white behind it, in Safari and in Duofari */
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; background:var(--bg); color-scheme:dark; }
body { margin:0; background:var(--bg); color:var(--ink);
  font:17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing:-0.022em; -webkit-font-smoothing:antialiased; }
a { color:var(--link); text-decoration:none; } a:hover { text-decoration:underline; }
img { display:block; max-width:100%; height:auto; }
.display { font-family:-apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; }

/* nav. No backdrop blur (2026-11-18): with a blurred pinned header, WebKit paints its own white over Duofari 1.0's
   Keep Clear of Camera row (owner on the App Store build: "showing white at the top"; reproduced: blur = white row,
   no blur = black). Nearly opaque instead, so text scrolling under it stays quiet. */
nav { position:sticky; top:0; z-index:10; background:rgba(0,0,0,.92); border-bottom:1px solid rgba(255,255,255,.08); }
nav .in { max-width:980px; margin:0 auto; padding:0 var(--gutter); height:48px; display:flex; align-items:center; gap:22px; font-size:13px; }
nav .brand { display:flex; align-items:center; gap:8px; color:var(--ink); font-weight:600; font-size:15px; margin-right:auto; }
nav .brand img { width:24px; height:24px; border-radius:6px; }
nav a { color:#d2d2d7; } nav a:hover { color:var(--ink); text-decoration:none; }
nav .get { background:var(--accent); color:#fff; border-radius:980px; padding:4px 12px; font-weight:500; }

/* sections */
section { padding:110px var(--gutter) 0; }
.wrap { max-width:980px; margin:0 auto; }
.narrow { max-width:692px; margin:0 auto; }
.eyebrow { color:var(--muted); font-size:21px; font-weight:600; margin:0 0 6px; letter-spacing:.004em; }
h1 { font-size:clamp(44px, 8vw, 80px); line-height:1.05; letter-spacing:-0.015em; font-weight:700; margin:0; }
h2 { font-size:clamp(34px, 5.6vw, 56px); line-height:1.07; letter-spacing:-0.005em; font-weight:700; margin:0 0 14px; }
h3 { font-size:24px; line-height:1.17; font-weight:600; margin:0 0 8px; letter-spacing:.009em; }
.lede { font-size:clamp(19px, 2.4vw, 24px); line-height:1.35; color:var(--muted); margin:18px 0 0; font-weight:500; }
.lede b { color:var(--ink); font-weight:600; }
.lede.narrow { margin-left:auto; margin-right:auto; }
.center { text-align:center; }

/* hero */
.hero { padding-top:76px; text-align:center; }
.hero .cta { margin:30px 0 8px; display:flex; justify-content:center; }
.badge img { height:52px; width:auto; }
.price { color:var(--muted); font-size:15px; margin:10px 0 0; }
.hero .shot { margin:56px auto 0; width:100%; max-width:1100px; }

/* comparison */
.compare { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:48px auto 0; max-width:760px; }
.compare figure { margin:0; }
.compare figcaption { text-align:center; color:var(--muted); font-size:15px; font-weight:600; margin-top:12px; }
.compare figure.us figcaption { color:var(--ink); }

/* "No clock. No Wi-Fi." callout: bigger, and the pair cropped to the top of the screens */
.callout h2.big { font-size:clamp(46px, 8.4vw, 88px); line-height:1.02; }
.compare.crop figure img { border-radius:0 0 18px 18px; }

/* side-by-side rows: Safari vs Duofari */
.pairs { display:grid; gap:64px; margin:56px auto 0; max-width:900px; }
.pairrow { display:grid; grid-template-columns:1fr 1.7fr; gap:44px; align-items:center; }
.pairrow h3 { font-size:28px; }
.pairrow p { color:var(--muted); font-size:17px; margin:0; }
.compare.small { margin:0; max-width:none; gap:16px; }
video.framed { display:block; width:100%; height:auto; }

/* feature rows */
.feature { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.feature.flip .text { order:2; }
.feature .text p { color:var(--muted); font-size:19px; line-height:1.42; margin:0 0 14px; }
.feature .text p strong { color:var(--ink); font-weight:600; }
.feature .art { max-width:380px; justify-self:center; width:100%; }

/* one tap: crossfade the before and after frames, with a tap ring over the ≡ button */
.tap { position:relative; }
.tap img + img { position:absolute; inset:0; }
.tap .after { animation:clear 6s infinite; }
@keyframes clear { 0%,38% { opacity:0 } 46%,88% { opacity:1 } 96%,100% { opacity:0 } }
.tap .ring { position:absolute; left:82.9%; top:63.2%; width:11%; aspect-ratio:1; border-radius:50%;
  border:3px solid rgba(255,255,255,.9); box-shadow:0 0 0 2px rgba(0,0,0,.25); opacity:0;
  transform:translate(-50%,-50%); animation:ring 6s infinite; }
/* centred on the side controls' camera button (MarketingShotsUITests logged its frame: 0.908, 0.653 of the screen) */
@keyframes ring { 0%,24% { opacity:0; transform:translate(-50%,-50%) scale(1.6) }
  32% { opacity:1; transform:translate(-50%,-50%) scale(1) }
  40% { opacity:0; transform:translate(-50%,-50%) scale(.8) } 100% { opacity:0 } }
@media (prefers-reduced-motion: reduce) { .tap .after, .tap .ring { animation:none; } .tap .after { opacity:1; } }

/* pair of phones */
.pair { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.pair figcaption { text-align:center; color:var(--muted); font-size:14px; margin-top:8px; }
.pair figure { margin:0; }

/* built-in grid */
.grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; margin-top:44px; }
.tile { background:var(--tile); border-radius:22px; padding:30px 28px 28px; }
.tile h3 { font-size:21px; }
.tile p { color:var(--muted); margin:0; font-size:16px; line-height:1.45; }

/* questions */
.qa { margin-top:36px; border-top:1px solid var(--rule); }
.qa details { border-bottom:1px solid var(--rule); padding:22px 0; }
.qa summary { cursor:pointer; list-style:none; font-size:21px; font-weight:600; display:flex; justify-content:space-between; gap:20px; }
.qa summary::-webkit-details-marker { display:none; }
.qa summary::after { content:"+"; color:var(--muted); font-weight:400; font-size:26px; line-height:1; transition:transform .2s; }
.qa details[open] summary::after { transform:rotate(45deg); }
.qa details p { color:var(--muted); font-size:17px; margin:12px 0 0; max-width:640px; }

/* closing CTA + footer */
.closing { text-align:center; padding-bottom:110px; }
.closing .cta { margin-top:28px; display:flex; justify-content:center; }
footer { border-top:1px solid var(--rule); padding:22px var(--gutter); font-size:12px; color:var(--muted); line-height:1.6; }
footer .in { max-width:980px; margin:0 auto; }
footer .links a { color:#d2d2d7; margin-right:18px; }
footer p { margin:8px 0 0; }

@media (max-width:760px) {
  section { padding-top:80px; }
  .feature, .feature.flip { grid-template-columns:1fr; gap:28px; }
  .feature.flip .text { order:0; }
  .grid { grid-template-columns:1fr; }
  .pairrow { grid-template-columns:1fr; gap:18px; text-align:center; }
  nav .hide-s { display:none; }
}
@media (min-width:761px) and (max-width:980px) { .grid { grid-template-columns:repeat(2, 1fr); } }

/* hero: text left, phone right (Halfsheet's layout) */
.hero { text-align:left; padding-top:56px; }
.herogrid { display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center; }
.hero .cta { justify-content:flex-start; }
.hero .lede { margin-left:0; }
.heroart img { width:100%; max-width:440px; margin:0 auto; cursor:zoom-in; }

/* a pair beside its text, alternating sides */
.split { display:grid; grid-template-columns:1.3fr 1fr; gap:56px; align-items:center; }
.split.flip { grid-template-columns:1fr 1.3fr; }
.split .compare { margin:0; max-width:none; }
.split .text p { color:var(--muted); font-size:19px; line-height:1.42; margin:0 0 14px; }
.split .text p strong { color:var(--ink); font-weight:600; }
.split .text h2 { font-size:clamp(32px, 4.4vw, 48px); }
.callout .split .text h2.big { font-size:clamp(38px, 5.4vw, 60px); }
.hint { font-size:14px !important; }
.compare img, .art img { cursor:zoom-in; }

/* lightbox */
#lightbox { position:fixed; inset:0; z-index:100; background:rgba(0,0,0,.975); display:flex; align-items:center;
  justify-content:center; padding:24px; cursor:zoom-out; }
#lightbox[hidden] { display:none; }
#lightbox button { position:absolute; top:14px; right:18px; background:none; border:0; color:#f5f5f7; font-size:34px;
  line-height:1; cursor:pointer; }
.lb-row { display:flex; gap:24px; align-items:center; justify-content:center; max-width:100%; max-height:100%; }
.lb-row figure { margin:0; display:flex; flex-direction:column; align-items:center; min-width:0; }
.lb-row img { max-height:calc(100vh - 90px); max-width:calc((100vw - 48px - 24px * (var(--n) - 1)) / var(--n));
  width:auto; height:auto; }
.lb-row figcaption { color:#f5f5f7; font-size:15px; font-weight:600; margin-top:10px; }

@media (max-width:760px) {
  .herogrid, .split, .split.flip { grid-template-columns:1fr; gap:28px; }
  .split .text, .split.flip .text { order:-1; text-align:center; }
  .hero { text-align:center; } .hero .cta { justify-content:center; }
  .lb-row { gap:10px; }
}
.hero h1 { font-size:clamp(40px, 5.4vw, 66px); }
.wrap.split { max-width:1100px; }

/* closed vs open, every orientation */
.orientrow { display:flex; gap:40px; align-items:flex-end; margin-top:48px; max-width:1100px; }
.orientrow figure { margin:0; flex-basis:0; min-width:0; }
.orientrow figcaption { text-align:center; color:var(--muted); font-size:15px; font-weight:600; margin-top:12px; }
.orientrow img { cursor:zoom-in; width:100%; }
@media (max-width:760px) { .orientrow { flex-direction:column; align-items:stretch; } }
.nowrap { white-space:nowrap; }
.hero h1 { font-size:clamp(34px, 4.7vw, 64px); }
/* clock / Wi-Fi callout: heading above, the two cropped tops large underneath */
.callout .compare.crop { max-width:1000px; gap:32px; margin-top:44px; }
.callout h2.big { font-size:clamp(46px, 7.4vw, 84px); line-height:1.02; }

/* more breathing room between sections (user, 2026-11-17) */
section { padding:190px var(--gutter) 0; }
.hero { padding-top:96px; }
.closing { padding-bottom:190px; }
.pairs { gap:110px; margin-top:80px; }
.compare, .callout .compare.crop { margin-top:64px; }
.split .compare { margin-top:0; }
.orientrow { margin-top:72px; }
.grid, .qa { margin-top:56px; }
footer { margin-top:40px; }
@media (max-width:760px) { section { padding-top:120px; } .pairs { gap:80px; } }

/* lightbox: no page shift (the scrollbar's room stays), a short fade and settle */
html { scrollbar-gutter:stable; }
#lightbox { opacity:0; transition:opacity .2s ease; }
#lightbox.show { opacity:1; }
.lb-row figure { opacity:0; transform:scale(.965); transition:opacity .2s ease, transform .28s cubic-bezier(.2,.8,.2,1); }
/* the pictures appear once the full-size copies are decoded (lightbox.js; owner, 2026-11-19: "the image is kind of
   twitching"): no small-to-full swap, so nothing jumps */
#lightbox.ready .lb-row figure { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) { #lightbox, .lb-row figure { transition:none; } }
/* the status ring beside "No clock. No Wi-Fi. Just the page." */
.clockhead { display:flex; align-items:center; justify-content:center; gap:clamp(28px, 4vw, 56px); text-align:left; }
.clockhead h2 { margin:0; }
.ringart { display:block; height:clamp(150px, 19vw, 250px); width:auto; flex:none; }
@media (max-width:760px) { .clockhead { gap:20px; } .ringart { height:120px; } }
/* more room between the hero text and the phone (user, 2026-11-17) */
.herogrid { gap:clamp(56px, 8vw, 120px); max-width:1180px; }
/* the tap: bright cyan with a glow so it reads on any page (user, 2026-11-17: "needs contrast") */
.tap .ring { width:12%; border:5px solid #00E5FF; background:rgba(0, 229, 255, .22);
  box-shadow:0 0 0 3px rgba(0, 0, 0, .45), 0 0 22px 6px rgba(0, 229, 255, .75); animation:tapring 6s infinite; }
@keyframes tapring {
  0%, 22%  { opacity:0; transform:translate(-50%,-50%) scale(1.7); }
  29%      { opacity:1; transform:translate(-50%,-50%) scale(1); }
  33%      { opacity:1; transform:translate(-50%,-50%) scale(.82); }   /* the press */
  37%      { opacity:1; transform:translate(-50%,-50%) scale(1); }
  44%, 100%{ opacity:0; transform:translate(-50%,-50%) scale(1.25); }
}
@media (prefers-reduced-motion: reduce) { .tap .ring { animation:none; opacity:0; } }
/* "No clock. No Wi-Fi." -> "Just the page." (callout.js): the clock goes, then the Wi-Fi ring, each with its words;
   "Just the page." keeps its line and glides to the centre; then it all fades back and loops */
.ringart { aspect-ratio:200 / 220; width:auto; }
.clockhead .svg-clock, .clockhead .svg-ring, .clockhead .gone1, .clockhead .gone2 { transition:opacity 2.2s ease; }
.clockhead.noclock .svg-clock, .clockhead.noclock .gone1 { opacity:0; }
.clockhead.nowifi .svg-ring, .clockhead.nowifi .gone2 { opacity:0; }
.clockhead .stay { display:inline-block; transition:transform 3.2s cubic-bezier(.45,0,.25,1), opacity 1s ease; }
.clockhead.out .stay { opacity:0; }
.clockhead.blank .svg-clock, .clockhead.blank .svg-ring, .clockhead.blank .gone1, .clockhead.blank .gone2,
.clockhead.blank .stay { opacity:0; }
.clockhead.notrans, .clockhead.notrans * { transition:none !important; }

/* the clock callout as a white section, black type, to match the white pages in its screenshots (user, 2026-11-17) */
section.callout { background:#fff; color:#1d1d1f; margin-top:150px; padding-top:150px; padding-bottom:160px; }
.callout h2 { color:#1d1d1f; }
.callout .lede { color:#6e6e73; }
.callout .lede b { color:#1d1d1f; }
.callout figcaption { color:#6e6e73; }
.callout figure.us figcaption { color:#1d1d1f; }
.callout .ringart .svg-clock { fill:#1d1d1f; }
.callout .ringart .svg-ring > path { stroke:#1d1d1f; }
.callout .ringart .svg-ring > path:last-of-type { fill:#1d1d1f; }
.callout .ringart .svg-ring > g[stroke] { stroke:#1d1d1f; }
.callout .ringart .svg-ring > g[fill] { fill:#aeaeb2; }
/* the camera tap as a round trip (user, 2026-11-17: "a perfect boomerang loop: tap button once to show, tap again to
   hide"): tap → clear of the camera → hold → tap → back → hold; the same button both times */
.tap .after { animation:boomerang 8s infinite; }
@keyframes boomerang {
  0%, 24%   { opacity:0; }
  27%, 64%  { opacity:1; }
  67%, 100% { opacity:0; }
}
.tap .ring { animation:tapring2 8s infinite; }
@keyframes tapring2 {
  0%, 13%   { opacity:0; transform:translate(-50%,-50%) scale(1.6); }
  19%       { opacity:1; transform:translate(-50%,-50%) scale(1); }
  22%       { opacity:1; transform:translate(-50%,-50%) scale(.82); }
  25%       { opacity:1; transform:translate(-50%,-50%) scale(1); }
  31%, 52%  { opacity:0; transform:translate(-50%,-50%) scale(1.25); }
  53%       { opacity:0; transform:translate(-50%,-50%) scale(1.6); }
  59%       { opacity:1; transform:translate(-50%,-50%) scale(1); }
  62%       { opacity:1; transform:translate(-50%,-50%) scale(.82); }
  65%       { opacity:1; transform:translate(-50%,-50%) scale(1); }
  71%, 100% { opacity:0; transform:translate(-50%,-50%) scale(1.25); }
}
@media (prefers-reduced-motion: reduce) { .tap .after, .tap .ring { animation:none; } .tap .ring { opacity:0; } }

/* more air between "Just the page." and its paragraph (user, 2026-11-17) */
.callout .clockhead + .lede { margin-top:48px; }
.feature .text p strong.white { color:#fff; font-weight:700; }
/* the scroll demo is the big one: as wide as the column allows, up to the Duo's own size (scrolldemo.css) */
.feature .art.demo-art { max-width:524px; }
/* Left-handed: its own big section, not a tile (user, 2026-11-17: "another thing that Apple has not done") */
.lefty h2.big { font-size:clamp(46px, 7.4vw, 84px); line-height:1.02; }
.lefty .lede { margin-top:36px; }
.lefty-row { display:flex; justify-content:center; align-items:flex-start; flex-wrap:wrap; gap:clamp(28px, 5vw, 80px); margin-top:72px; }
.lefty-col { width:min(440px, 88vw); margin:0; }
.lefty-col img { display:block; width:100%; height:auto; }
.lefty-col figcaption { text-align:center; color:var(--muted); font-size:14px; margin-top:24px; }
.lede strong.white { color:#fff; font-weight:700; }

/* Hero: Safari, its side column lit, dissolving into Duofari (9 s loop) */
/* the three layers in ONE centred 440 px box (the generic `.heroart img` rule centred only the bottom layer, so the
   other two sat left of it: misaligned, and the bottom one showed past their right edge) */
.heroart.swap { position:relative; width:100%; max-width:440px; margin:0 auto; }
.heroart.swap img { display:block; width:100%; max-width:none; height:auto; margin:0; }
.heroart.swap img.s1, .heroart.swap img.s2 { position:absolute; left:0; top:0; }
.heroart.swap img.s1 { animation:heroHi 9s infinite; }
.heroart.swap img.s2 { animation:heroDuo 9s infinite; }
@keyframes heroHi { 0%, 10% { opacity:0; } 18%, 52% { opacity:1; } 56%, 100% { opacity:0; } }
@keyframes heroDuo { 0%, 40% { opacity:0; } 50%, 90% { opacity:1; } 98%, 100% { opacity:0; } }
.swaplabel { position:relative; height:26px; margin-top:12px; font-size:15px; text-align:center; }
.swaplabel span { position:absolute; left:0; right:0; }
.swaplabel .l0 { color:var(--muted); animation:heroLab 9s infinite; }
.swaplabel .l2 { color:var(--ink); font-weight:600; animation:heroDuo 9s infinite; }
@keyframes heroLab { 0%, 40% { opacity:1; } 50%, 90% { opacity:0; } 98%, 100% { opacity:1; } }
@media (prefers-reduced-motion: reduce) {
  .heroart.swap img.s1 { display:none; } .heroart.swap img.s2 { animation:none; opacity:1; }
  .swaplabel .l0 { animation:none; opacity:0; } .swaplabel .l2 { animation:none; opacity:1; }
}
/* White sections with a black page in the demo (owner, 2026-11-17: "default black mode, on white background") */
section.lightsec { background:#fff; color:#1d1d1f; padding-top:130px; padding-bottom:130px; margin-top:120px; }
section.lightsec + section.lightsec { margin-top:0; }
.lightsec h2 { color:#1d1d1f; }
.lightsec .lede, .lightsec .feature .text p { color:#6e6e73; }
.lightsec .lede strong.white, .lightsec .feature .text p strong.white { color:#1d1d1f; }
.lightsec .dp-seg { background:#f2f2f4; border-color:#e2e2e6; }
.lightsec .dp-seg button { color:#6e6e73; }
.lightsec .dp-seg button[aria-pressed="true"] { background:#1d1d1f; color:#fff; }
.lightsec .dp-hint { color:#6e6e73; }
.lefty .lefty-col { width:min(524px, 88vw); }

/* nav as wide as the content (it was capped at 980 px while the hero runs 1180), padding that grows with the page */
/* the same box as the hero (1180, centred, 22 px gutters when narrower): the logo lines up with the headline */
nav .in { width:min(1180px, calc(100% - 44px)); max-width:none; margin:0 auto; padding:0; }
/* the scroll demo's section: a wider text column so its paragraph runs two lines; one column below 1000 px; the demo
   never wider than its column (it held 524 px on a 390 px phone) */
.lightsec .wrap.feature { max-width:1180px; grid-template-columns:minmax(0, 524px) minmax(0, 1fr); padding:0; }
.feature > .art, .feature > .text { min-width:0; }
.duo-demo { max-width:100%; }
@media (max-width:1000px) {
  .lightsec .wrap.feature { grid-template-columns:minmax(0, 1fr); gap:36px; }
  .lightsec .feature.flip .text { order:0; }
}

/* three fixed lines on wider screens; on a phone they wrap rather than run off the screen */
@media (max-width:700px) { .lightsec .feature .text p .nowrap { white-space:normal; } }

/* hero phone on the content's right edge on wider screens, so it lines up with the nav's Get button */
@media (min-width:761px) { .heroart.swap { margin:0 0 0 auto; } }

/* "Everything where you expect it": a carousel, not a long scroll (owner, 2026-11-17) */
.carousel { margin-top:64px; }
.carousel { position:relative; }
.cr-track { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; }
.cr-track::-webkit-scrollbar { display:none; }
.cr-slide { flex:0 0 100%; min-width:0; scroll-snap-align:start; scroll-snap-stop:always; padding:0 4px; }
/* big arrows on the sides (owner, 2026-11-17: "big arrow buttons on sides of section, not below") */
.cr-arrow { position:absolute; top:50%; z-index:2; width:60px; height:60px; margin-top:-30px; border-radius:50%;
  display:grid; place-items:center; padding:0; cursor:pointer; color:#f5f5f7;
  background:rgba(66, 66, 70, .62); border:1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter:blur(18px) saturate(160%); backdrop-filter:blur(18px) saturate(160%);
  box-shadow:inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 18px rgba(0, 0, 0, .35); transition:background .2s, transform .2s; }
.cr-arrow:hover { background:rgba(96, 96, 102, .75); }
.cr-arrow:active { transform:scale(.94); }
.cr-prev { left:-96px; } .cr-next { right:-96px; }
@media (max-width:1200px) { .cr-prev { left:-8px; } .cr-next { right:-8px; } }
@media (max-width:760px) { .cr-arrow { width:48px; height:48px; margin-top:-24px; } .cr-prev { left:-14px; } .cr-next { right:-14px; } }

/* All built in: black again, glass tiles with small corners (owner, 2026-11-17: "invert again, and use some nice
   glass effect"). A translucent fill, a rim of light brightest at the top left, a soft inner highlight. */
.builtin .tile { position:relative; border-radius:10px; isolation:isolate;
  background:linear-gradient(160deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .045) 42%, rgba(255, 255, 255, .025) 100%);
  -webkit-backdrop-filter:blur(30px) saturate(160%); backdrop-filter:blur(30px) saturate(160%);
  box-shadow:inset 0 1px 0 rgba(255, 255, 255, .14), 0 24px 48px rgba(0, 0, 0, .55);
  transition:background .3s ease, transform .3s ease; }
.builtin .tile::before { content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; pointer-events:none;
  background:linear-gradient(135deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .06) 34%, rgba(255, 255, 255, .03) 62%, rgba(255, 255, 255, .16));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.builtin .tile:hover { background:linear-gradient(160deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .06) 42%, rgba(255, 255, 255, .03) 100%); }
.builtin .tile h3 { color:#f5f5f7; }
.builtin .tile p { color:#a1a1a6; }

/* Open, it's all under your thumbs: Safari and Duofari open, side by side (positioning review, 2026-11-17) */
.compare.wide { max-width:1180px; gap:40px; padding:0 22px; }
.opensec .compare figcaption { color:#6e6e73; }
.opensec .compare figure.us figcaption { color:#1d1d1f; }
@media (max-width:700px) { .compare.wide { grid-template-columns:1fr; gap:28px; } }

/* the eyebrow lives inside the H1 now (SEO plan: same look, the crawler reads it as part of the heading) */
h1 .eyebrow { display:block; line-height:1.3; margin-bottom:26px; }   /* more room above the headline (owner, 2026-11-18) */

/* the open section's thumb-reach drawing (owner, 2026-11-17: "put the grip landscape with thumbs img up") */
.grip { max-width:1240px; margin:56px auto 0; padding:0; }
.grip img { width:100%; cursor:zoom-in; }

/* carousel slides: the title and line centred above each pair (owner, 2026-11-17) */
.cr-slide.pairrow { grid-template-columns:1fr; gap:32px; text-align:center; align-items:start; }
.cr-slide.pairrow h3 { margin-bottom:6px; }
.cr-slide .compare.small { max-width:720px; width:100%; margin:0 auto; }

/* Left-handed: the same type sizes as the other feature sections, e.g. "Clear of the camera." (owner, 2026-11-17) */
.lefty .lede { font-size:19px; line-height:1.42; font-weight:400; margin-top:18px; }

/* Out of the way: more room between the text and the demo (owner, 2026-11-17) */
.lightsec .wrap.feature { column-gap:clamp(64px, 8.5vw, 128px); }
@media (max-width:1000px) { .lightsec .wrap.feature { row-gap:64px; } }
/* Two columns from 1001 px: the text column never narrower than its fixed lines (the heading's "while you read." is
   372 px, the paragraph's first line 471 px); the demo gives way instead. Between 1001 and about 1140 px (iPad
   landscape, small laptops) the text column was 325 px and the page scrolled sideways (2026-11-18). */
@media (min-width:1001px) { .lightsec .wrap.feature { grid-template-columns:minmax(0, 524px) minmax(480px, 1fr); } }

/* No clock. No Wi-Fi.: the standard feature type sizes, like Left-handed (owner, 2026-11-17); the ring is sized to the
   three-line 56 px headline instead of the old 84 px one */
.callout .ringart { height:clamp(110px, 12.5vw, 176px); }
.callout .clockhead + .lede { margin-top:30px; }
.callout .lede { font-size:19px; line-height:1.42; font-weight:400; }
@media (max-width:760px) { .callout .ringart { height:100px; } }

/* Left-handed spacing (owner, 2026-11-18): more room under the headline, less between the text and the demo */
.lefty .lede { margin-top:34px; }
.lefty-row { margin-top:40px; }

/* No clock: its first sentence on one line (owner, 2026-11-18); phones wrap it */
.callout .lede.narrow { max-width:none; }
@media (max-width:860px) { .callout .lede .nowrap { white-space:normal; } }

/* Everything where you expect it: its line on one line, no bold (owner, 2026-11-18); phones wrap it */
#familiar .lede.narrow { max-width:none; }
@media (max-width:860px) { #familiar .lede .nowrap { white-space:normal; } }

/* Clear of the camera: the same frame as Out of the way above it (owner, 2026-11-18): the wide container, the same gap,
   the picture at the demo's width, the text a little up and to the left of it */
.camsec .wrap.feature { max-width:1180px; padding:0; grid-template-columns:minmax(0, 1fr) minmax(0, 524px);
  column-gap:clamp(64px, 8.5vw, 128px); }
.camsec .feature > .text { position:relative; top:-32px; }
.camsec .feature .art { max-width:524px; }
@media (max-width:1000px) {
  .camsec .wrap.feature { grid-template-columns:minmax(0, 1fr); row-gap:64px; }
  .camsec .feature > .text { top:0; }
}
/* the smallest phones (320 px): "Clear of the camera." may wrap rather than push the page sideways */
@media (max-width:359px) { .camsec h2 .nowrap { white-space:normal; } }

/* Hero, owner 2026-11-18: no labels; the Duofari frame holds longer (12 s loop, ~6 s on Duofari) and gets a mild
   white corona, like an eclipse: a soft halo hugging the device's outline (x 45-813, y 52-1124 of the 869 x 1180
   frames), screen-blended so it only lights the black around the device, never the screen */
.heroart.swap img.s1 { animation:heroHi2 12s infinite; }
.heroart.swap img.s2 { animation:heroDuo2 12s infinite; }
.heroart.swap .corona { position:absolute; left:5.18%; top:4.41%; width:88.38%; height:90.85%; border-radius:10% / 7.2%;
  pointer-events:none; mix-blend-mode:screen; opacity:0; animation:heroCorona 12s infinite;
  box-shadow:0 0 30px 6px rgba(255, 255, 255, .26), 0 0 80px 20px rgba(255, 255, 255, .13), 0 0 160px 48px rgba(255, 255, 255, .06); }   /* a bit more glow (owner, 2026-11-18) */
@keyframes heroHi2 { 0%, 8% { opacity:0; } 14%, 36% { opacity:1; } 40%, 100% { opacity:0; } }
@keyframes heroDuo2 { 0%, 32% { opacity:0; } 42%, 93% { opacity:1; } 99%, 100% { opacity:0; } }
@keyframes heroCorona { 0%, 38% { opacity:0; } 52%, 90% { opacity:1; } 97%, 100% { opacity:0; } }
@media (prefers-reduced-motion: reduce) { .heroart.swap .corona { animation:none; opacity:1; } }
/* Owner, 2026-11-18: "hero needs more glow", and a red glow on the Safari frames that turns white when Duofari
   "fixes" Safari: red with the lit column, gone as Duofari arrives, then the (stronger) white corona */
.heroart.swap .corona { box-shadow:0 0 34px 8px rgba(255, 255, 255, .40), 0 0 90px 24px rgba(255, 255, 255, .22),
  0 0 180px 60px rgba(255, 255, 255, .10); }
.heroart.swap .corona.red { animation-name:heroCoronaRed;
  box-shadow:0 0 34px 8px rgba(255, 59, 48, .46), 0 0 90px 24px rgba(255, 59, 48, .25), 0 0 180px 60px rgba(255, 59, 48, .11); }
@media (prefers-reduced-motion: reduce) { .heroart.swap .corona.red { display:none; } }
/* Breathing, in step with the pictures (owner, 2026-11-18: "make the glowing effect breathe ... synced up with the
   fade"). One 12 s timeline: the red rises as Safari's column lights up (s1 8-14%) and breathes while Safari holds;
   red hands over to white in exactly the window Duofari fades in (s2 32-42%); white breathes while Duofari holds and
   leaves with it (93-99%). Ease in and out between every key. */
.heroart.swap .corona { animation:heroGlowWhite 12s ease-in-out infinite; }
.heroart.swap .corona.red { animation:heroGlowRed 12s ease-in-out infinite; }
@keyframes heroGlowRed { 0% { opacity:0; } 8% { opacity:.18; } 14% { opacity:1; } 21% { opacity:.62; }
  28% { opacity:1; } 32% { opacity:.86; } 42%, 100% { opacity:0; } }
@keyframes heroGlowWhite { 0%, 32% { opacity:0; } 42% { opacity:1; } 52% { opacity:.62; } 62% { opacity:1; }
  72% { opacity:.62; } 82% { opacity:1; } 93% { opacity:.8; } 99%, 100% { opacity:0; } }
@media (prefers-reduced-motion: reduce) { .heroart.swap .corona { animation:none; opacity:1; } .heroart.swap .corona.red { display:none; } }
/* One breath, only at the switch (owner, 2026-11-18: "not a rhythmic pulsing that repeats. The breath should only
   happen with the transition from old safari to good duofari"): the red rises with Safari's lit column and holds
   steady; as Duofari fades in (32-42%) the red breathes down (dims, draws in) while the white breathes out and up to
   full brightness (peak ~46%), settles, and holds steady until the loop ends (93-99%). */
.heroart.swap .corona { animation:heroBreathWhite 12s infinite; transform-origin:50% 50%; }
.heroart.swap .corona.red { animation:heroBreathRed 12s infinite; }
@keyframes heroBreathRed {
  0%, 8% { opacity:0; transform:scale(1); animation-timing-function:ease-out; }
  14%, 32% { opacity:1; transform:scale(1); animation-timing-function:ease-in-out; }
  42%, 100% { opacity:0; transform:scale(.96); } }
@keyframes heroBreathWhite {
  0%, 32% { opacity:0; transform:scale(.95); animation-timing-function:cubic-bezier(.3, 0, .2, 1); }
  46% { opacity:1; transform:scale(1.03); animation-timing-function:ease-in-out; }
  56%, 93% { opacity:.9; transform:scale(1); animation-timing-function:ease-in; }
  99%, 100% { opacity:0; transform:scale(1); } }
@media (prefers-reduced-motion: reduce) { .heroart.swap .corona { animation:none; opacity:1; transform:none; }
  .heroart.swap .corona.red { display:none; } }
/* The glow BEHIND the device (owner, 2026-11-18: "the glow is clipping the device frame ... it needs to be behind the
   device"): the hero pictures are WebPs, transparent around the device, stacked above the glow; no blend needed. */
.heroart.swap { isolation:isolate; }
.heroart.swap img { position:relative; z-index:1; }
.heroart.swap img.s1, .heroart.swap img.s2 { position:absolute; }
.heroart.swap .corona { z-index:0; mix-blend-mode:normal; }
/* Owner, 2026-11-19: no red glow; and the white glow showed a black edge around the Duo ("inner black radius"):
   it was a box-shadow on a rounded box whose corners are tighter than the Duo's right-hand ones, so the page's black
   showed in the gap. The glow is now a picture of the device's own silhouette glowing (hero-glow.webp, made by
   marketing/launch/make_hero.py with the same three layers), so it hugs every edge and scales with the device.
   The picture runs 520 px past the 869 x 1180 frames on each side; the hero clips it sideways so phones don't scroll. */
.hero { overflow-x:clip; }
.heroart.swap .corona { left:-59.84%; top:-44.07%; width:219.79%; height:188.14%; border-radius:0; box-shadow:none;
  background:url(/img/hero-glow.webp?v=202611191219) 0 0 / 100% 100% no-repeat; transform-origin:49.69% 49.91%; }
.heroart.swap .corona.red { display:none; }

/* No clock (owner's mockup, 2026-11-18): the clock-and-Wi-Fi ring sits in the section's top-right corner, where it
   sits on the closed Duo; the headline is centred on two lines ("No clock. No Wi-Fi." / "Just the page.") */
section.callout { position:relative; }
.callout .clockhead { display:block; text-align:center; }
.callout .ringart { position:absolute; top:clamp(28px, 4vw, 60px); right:clamp(18px, 3.5vw, 60px); height:clamp(96px, 9vw, 160px); }
@media (max-width:760px) { .callout .ringart { height:84px; top:22px; right:16px; } }

/* Owner's mockups, 2026-11-18: Out of the way, more room under the headline and before "Simple. Intuitive."; Left-handed
   on one line, a little more room under it and above the demo */
.lightsec .wrap.feature.flip .text h2 { margin-bottom:44px; }
.lightsec .wrap.feature.flip .text p.simple { margin-top:34px; }
.lefty .lede { margin-top:40px; }
.lefty-row { margin-top:52px; }
/* Link to the left-handed page under the demo (owner approved the page, 2026-11-19) */
.lefty-link { text-align:center; margin:28px 0 0; font-size:17px; }
.lefty-link a { color:#0066cc; }
/* A lightbox for pictures on white (the clock / Wi-Fi pair; owner, 2026-11-19): white all round, dark close and labels */
#lightbox.light { background:#fff; }
#lightbox.light button, #lightbox.light .lb-row figcaption { color:#1d1d1f; }
