/* Doer landing page. Tokens are DESIGN.md's. 1rem = 10 design points of the 1440 x 900 Figma frame. */
:root {
  --ink: #000; --sec: #6C6C70; --back-sec: #8E8E93; --ring: #86868B; --line: #C7C7CC; --done: #248A3D;
  --g: max(6.4rem, 50% - 65.6rem); --sp: cubic-bezier(.3, 1.5, .5, 1); --out: cubic-bezier(.2, .8, .2, 1);
  --row: 12rem; --tick: 4.4rem; --title: 3.6rem; --meta: 3rem;
  --aurora: linear-gradient(90deg, rgba(138,120,255,.3), #8A78FF 22%, #54A0FF 42%, #6EE1AA 62%, #FFD046 80%, rgba(255,208,70,.3));
}
html { font-size: calc(min(100vw, 160svh, 2600px) / 144); -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font: 500 1.7rem/1.35 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; color: var(--ink); background: #fff; overflow-x: clip; -webkit-font-smoothing: antialiased; }
ul { list-style: none; } img { display: block; } a { color: inherit; text-decoration: none; } br.ph { display: none; }
a:focus-visible { outline: .3rem solid #54A0FF; outline-offset: .3rem; border-radius: .8rem; }
.sec { color: var(--sec); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.h1 { font-size: 12rem; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.h3 { font-size: 7.2rem; line-height: 1.11; font-weight: 700; letter-spacing: -.02em; }
.lead { font-size: 3.2rem; line-height: 1.31; font-weight: 400; color: var(--sec); max-width: 96rem; }

/* Rows */
.row { display: flex; align-items: center; height: var(--row); font-size: var(--title); position: relative; transition: color .3s; }
.row::after { content: ""; position: absolute; inset: auto 0 0; border-bottom: .15rem dotted var(--line); }
.tick { flex: none; width: var(--tick); height: var(--tick); border: .15rem dashed var(--ring); border-radius: 50%; margin-right: 2.4rem; }
.tick:has(svg) { border: 0; }
.tick svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tick .r { fill: none; stroke: var(--ring); stroke-width: 1.5px; stroke-dasharray: 2.6 3; vector-effect: non-scaling-stroke; transition: opacity .15s; }
.tick .d { fill: var(--done); transform: scale(0); transform-origin: center; transition: transform .35s var(--sp); }
.tick .c { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .22s .1s ease-out; }
.done .tick .r { opacity: 0; } .done .tick .d { transform: scale(1); } .done .tick .c { stroke-dashoffset: 0; }
.row.done .t { color: var(--sec); transition: color .3s; }
.t { flex: 1; font-weight: 500; }
.m { font-size: var(--meta); font-weight: 400; color: var(--sec); }
.lg { width: var(--tick); height: var(--tick); margin-right: 2.4rem; }
.join { display: none; background: #fff; color: #000; font-size: 2.8rem; font-weight: 600; border-radius: 99rem; padding: .7rem 2.8rem; }

/* Opening: the pull. */
#open { position: relative; }
.js #open { height: 425svh; }
.stage { background: #000; height: 100svh; overflow: hidden; position: relative; }
.js .stage { position: sticky; top: 0; }
.nav { position: absolute; top: 3.2rem; left: var(--g); right: var(--g); display: flex; justify-content: space-between; align-items: center; height: 3.2rem; }
.brand { display: flex; align-items: center; gap: 1.2rem; font-size: max(2.4rem, 17px); font-weight: 700; }
.brand img { width: 3.2rem; height: 3.2rem; border-radius: .7rem; }
.navlink { font-size: max(1.7rem, 15px); font-weight: 600; padding: 12px 0; }
.back { position: absolute; inset: 0; color: #fff; }
.h1-w, .stay .h1 { position: absolute; left: var(--g); top: 10.4rem; }
.sentence { position: absolute; left: var(--g); top: 25.2rem; width: 124rem; font-size: 6.4rem; line-height: 7.9rem; font-weight: 500; color: var(--back-sec); will-change: filter; }
.sentence b { color: #fff; font-weight: 700; }
.g { white-space: nowrap; }
.g > img { display: inline-block; width: 5.5rem; height: 5.5rem; vertical-align: -.8rem; margin-right: .6rem; }
.who { display: inline-flex; align-items: center; justify-content: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #8A78FF, #54A0FF); vertical-align: -.8rem; margin-right: .6rem; }
.who img { width: 86%; height: 86%; }
/* A fanned stack of meeting apps: the middle two sit on top, each with a thin glass edge. */
.logos { display: inline-flex; vertical-align: -.8rem; margin: 0 1.2rem 0 .4rem; }
.chip { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 5.5rem; height: 5.5rem; border-radius: 30%; overflow: hidden; background: #fff; box-shadow: 0 0 0 .1rem rgba(255,255,255,.22); transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)); }
.chip + .chip { margin-left: -1.6rem; }
.chip img { width: 100%; height: 100%; }
.chip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 .12rem rgba(255,255,255,.5), inset 0 .1rem .2rem rgba(255,255,255,.4); }
.chip:nth-child(1) { --r: -12deg; --y: .3rem; z-index: 1; } .chip:nth-child(2) { --r: -4deg; z-index: 4; } .chip:nth-child(3) { --r: 4deg; z-index: 3; } .chip:nth-child(4) { --r: 12deg; --y: .3rem; z-index: 2; }
.chip.z { background: #0B5CFF; } .chip.z img { flex: none; width: 112%; height: 112%; }
.chip.m img { width: 64%; height: auto; }
.ring { display: inline-block; width: 4.9rem; height: 4.9rem; border: .55rem solid #fff; border-radius: 50%; vertical-align: -.5rem; margin-right: 1rem; }
.roll { display: inline-block; height: 7.9rem; overflow: hidden; vertical-align: top; }
.roll i { display: block; font-style: normal; transform: translateY(calc(var(--n) * -7.9rem)); }
.js .rolled .roll i { transform: none; transition: transform var(--d) var(--out); }
.roll s { display: block; text-decoration: none; height: 7.9rem; text-align: left; }
.glow { position: absolute; left: 0; right: 0; top: -6.5rem; height: 13rem; background: var(--aurora); filter: blur(4.6rem); opacity: 0; will-change: transform, opacity; }
.rim { position: absolute; top: 0; left: calc(1.6rem - 2px); right: calc(1.6rem - 2px); height: 12rem; border-radius: 6.6rem 6.6rem 0 0; background: var(--aurora); opacity: 0; will-change: transform, opacity; -webkit-mask-image: linear-gradient(#000 6rem, transparent); mask-image: linear-gradient(#000 6rem, transparent); }
.sheet { position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 60rem); background: #fff; will-change: transform; }
.stay, .content { position: absolute; inset: 0; will-change: transform; }
.lead-open { position: absolute; left: var(--g); top: 27.2rem; width: 100rem; }
.lead-open.swap-b { top: 24.8rem; width: 90rem; }
.apple { flex: none; width: 1.15em; height: 1.15em; margin-top: -.18em; }
.dl { position: absolute; right: var(--g); top: 26.5rem; display: inline-flex; align-items: center; justify-content: center; gap: .45em; height: max(5.6rem, 44px); padding: 0 2.8rem; background: #000; color: #fff; font-size: max(1.7rem, 15px); font-weight: 600; border-radius: 99rem; transition: transform .15s; }
.dl:active, .get:active { transform: scale(.97); }
.rows { position: absolute; left: var(--g); right: var(--g); top: 34.8rem; }
.swap-a, .swap-b { transition: opacity .2s .08s, transform .35s .08s var(--out); }
.swap-b { opacity: 0; transform: translateY(1.2rem); pointer-events: none; }
.s-list .swap-a { opacity: 0; transform: translateY(-1.2rem); transition: opacity .08s, transform .08s; pointer-events: none; }
.s-list .swap-b { opacity: 1; transform: none; pointer-events: auto; }
.a-island { position: absolute; left: 50%; top: 1.6rem; width: 16.8rem; height: 4.8rem; margin-left: -8.4rem; }

/* A black layer over the sheet, cut down to the capsule by clip-path. It holds a white copy of the rows. */
.hole { display: none; }
.js .hole { display: block; position: absolute; inset: 0; background: #000; color: #fff; pointer-events: none; will-change: clip-path; }
.hole .row::after { display: none; }
.hole .tick .r { stroke: #fff; }
.hole .t, .hole .row.done .t { color: inherit; } .hole .m { color: var(--back-sec); }
.hole .row:has(.join) .m { display: none; } .hole .join { display: block; }
.hole .row:has(.join) .lg { background: #fff; border-radius: 22%; padding: .3rem; }

/* Stacked cards */
.cards { --h2: 8rem; --body: 2.4rem; --pad: 6.4rem; --card: 66rem; --obj: 66rem; --copy: 59rem; --row: 7.6rem; --tick: 2.8rem; --title: 2.6rem; --meta: 2.2rem; --tick-gap: 2rem; position: relative; background: #fff; padding: 3.2rem max(3.2rem, 50% - 68.8rem) 0; }
.card { position: relative; height: var(--card); border-radius: 6.4rem; overflow: hidden; margin-bottom: 2.4rem; transform-origin: 50% 0; }
.js .card { position: sticky; top: calc(3.2rem + var(--i) * 1.2rem); will-change: transform; }
.card:nth-child(1) { --i: 0; } .card:nth-child(2) { --i: 1; } .card:nth-child(3) { --i: 2; } .card:nth-child(4) { --i: 3; }
.light { background: #F2F2F7; --body-ink: var(--sec); }
.dark { background: #000; color: #fff; --body-ink: #D1D1D6; --sec: #8E8E93; --ring: #8E8E93; --line: #48484A; --done: #30D158; }
.dark .row.done .t { color: #fff; }
.box { position: absolute; right: 0; top: 0; width: var(--obj); height: 100%; }
.obj { width: 100%; height: 100%; object-fit: cover; transform-origin: 62% 55%; will-change: transform; -webkit-mask-image: linear-gradient(to right, transparent, #000 30%); mask-image: linear-gradient(to right, transparent, #000 30%); }
.copy { position: absolute; left: var(--pad); top: var(--pad); bottom: var(--pad); width: var(--copy); display: flex; flex-direction: column; }
.h2 { font-size: var(--h2); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }
.body { font-size: var(--body); line-height: 1.42; font-weight: 400; color: var(--body-ink); margin-top: 1.8rem; }
.foot { margin-top: auto; }
.foot.stagger, .foot.ticks { margin-bottom: -1.6rem; }
.foot .row:last-child::after { display: none; }
.tick { margin-right: var(--tick-gap, 2.4rem); }
.said { font-size: 3rem; line-height: 1.2; font-weight: 700; margin-bottom: 2rem; }
.capsule { display: flex; align-items: center; height: 10rem; width: 66rem; margin-left: -3.2rem; padding: 0 3.2rem; border-radius: 5rem; background: #000; color: #fff; font-size: var(--title); --ring: #8E8E93; }
.capsule .m { color: var(--back-sec); }
.days { display: flex; width: 64.4rem; }
.foot.days { margin-bottom: 7.4rem; }
.days li { flex: 0 0 9.2rem; height: 5.2rem; border-radius: 2.6rem; display: flex; align-items: center; justify-content: center; gap: 1.2rem; font-size: 2rem; color: var(--sec); }
.days b { font-size: 2.4rem; font-weight: 700; color: #000; }
.days .today { background: #000; color: #fff; } .today b { color: #fff; }

/* What each card does when it arrives. */
.said .w { transition: color .25s; }
.js .card:not(.in) .w { color: var(--line); }
.in .w { transition-delay: calc(var(--w) * 70ms); }
.capsule { transition: opacity .25s, transform .35s var(--out); }
.js .card:not(.in) .capsule { opacity: 0; transform: translateY(2.4rem) scale(.96); }
.in .capsule { transition: opacity .3s .5s, transform .55s .5s var(--sp); }
.stagger > * { transition: opacity .25s, transform .35s var(--out); }
.js .card:not(.in) .stagger > * { opacity: 0; transform: translateY(2rem); }
.in .stagger > * { transition: opacity .3s calc(var(--n) * 80ms), transform .55s calc(var(--n) * 80ms) var(--out); }
.stagger > :nth-child(1) { --n: 0; } .stagger > :nth-child(2) { --n: 1; } .stagger > :nth-child(3) { --n: 2; } .stagger > :nth-child(4) { --n: 3; } .stagger > :nth-child(5) { --n: 4; } .stagger > :nth-child(6) { --n: 5; } .stagger > :nth-child(7) { --n: 6; }
.js .card:not(.in) .ticks .tick .d { transform: scale(0); }
.js .card:not(.in) .ticks .tick .c { stroke-dashoffset: 1; }
.js .card:not(.in) .ticks .tick .r { opacity: 1; }
.in .ticks .row:nth-child(2) .d, .in .ticks .row:nth-child(2) .r { transition-delay: .2s; } .in .ticks .row:nth-child(2) .c { transition-delay: .3s; }
.in .ticks .row:nth-child(3) .d, .in .ticks .row:nth-child(3) .r { transition-delay: .4s; } .in .ticks .row:nth-child(3) .c { transition-delay: .5s; }

/* Also */
.also { padding: 9.6rem var(--g) 7.2rem; }
.also .h3 { margin-bottom: 3.2rem; }

/* Close */
#get { position: relative; height: 100svh; overflow: hidden; background: #F2F2F7; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 50% 0; transform-origin: 50% 40%; -webkit-mask-image: none; mask-image: none; }
.bye { position: absolute; left: var(--g); bottom: 14.2rem; font-size: 13.6rem; line-height: 1.06; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.cta { position: absolute; left: calc(var(--g) + 91.6rem); bottom: 18rem; display: flex; flex-direction: column; gap: 2rem; }
.get { display: inline-flex; align-items: center; justify-content: center; gap: .35em; align-self: flex-start; height: 11.2rem; padding: 0 7.2rem; border-radius: 5.6rem; background: #000; color: #fff; font-size: 3.2rem; font-weight: 700; transition: transform .15s; }
.where { font-size: max(2.2rem, 14px); font-weight: 400; color: var(--sec); }
footer { padding: 3.2rem var(--g) 4.4rem; font-size: max(1.7rem, 13px); }
footer a { display: inline-block; padding: 10px 0; margin-inline-end: 2.4rem; } .fine { font-size: max(1.4rem, 12px); margin-top: 1.8rem; color: var(--sec); font-weight: 400; }

/* Wider than the picture: it keeps its full height and fades into a matching ground. */
@media (min-aspect-ratio: 16/9) and (min-width: 768px) {
  #get { background: #DEDFEA; }
  .scene { left: 50%; right: auto; width: 177.78svh; margin-left: -88.89svh; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
}

/* iPad portrait: bigger type, the object sits at the card's foot. */
@media (min-width: 768px) and (max-width: 1100px) {
  .lead-open, .lead-open.swap-b { top: 24.8rem; width: 78rem; } .dl { top: 25.6rem; }
}
@media (min-width: 768px) and (max-width: 1100px) and (orientation: portrait) {
  .cards { --h2: 10rem; --body: 3.4rem; --card: 106rem; --obj: 66rem; --copy: 70rem; --row: 9.6rem; --tick: 4rem; --title: 3.4rem; --meta: 3rem; --tick-gap: 2.4rem; }
  .card { border-radius: 6.4rem; }
  .box { top: auto; bottom: 0; height: var(--obj); }
  .box .obj { -webkit-mask-image: linear-gradient(to right, transparent, #000 30%), linear-gradient(transparent, #000 30%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 30%), linear-gradient(transparent, #000 30%); mask-composite: intersect; }
  .said { font-size: 3.8rem; } .capsule { width: 76.4rem; height: 12rem; border-radius: 6rem; }
  .foot.days { margin-bottom: 0; } .days { width: 100%; justify-content: space-between; } .days li { flex: 0 0 auto; flex-direction: column; gap: .8rem; height: 14rem; width: 9.6rem; border-radius: 4.8rem; font-size: 2.8rem; } .days b { font-size: 3.4rem; }
  .bye { position: relative; left: auto; bottom: auto; padding: 0 var(--g); font-size: 15.6rem; margin-top: 4rem; }
  #get { height: auto; padding-bottom: 12rem; } .scene { position: relative; inset: auto; height: auto; width: 120%; margin-left: -10%; -webkit-mask-image: linear-gradient(#000 66%, transparent); mask-image: linear-gradient(#000 66%, transparent); }
  .cta { position: relative; left: auto; bottom: auto; padding: 0 var(--g); margin-top: 6rem; } .get { font-size: 4.4rem; } .where { font-size: 3.2rem; }
  .also .row .m { font-size: 3rem; }
}

/* Phone */
@media (max-width: 767px) {
  html { font-size: min(100vw / 39, 100svh / 60, 12px); }
  :root { --g: 3.2rem; --row: 6.4rem; --tick: 2.4rem; --title: 1.7rem; --meta: 1.5rem; }
  br.ph { display: inline; }
  .h1 { font-size: 5.2rem; line-height: 1.08; } .h3 { font-size: 3.6rem; }
  .lead { font-size: 1.7rem; }
  .tick { margin-right: 1.6rem; } .lg { width: 2.6rem; height: 2.6rem; margin-right: .8rem; }
  .join { font-size: 1.5rem; padding: .6rem 2rem; }
  .js #open { height: 315svh; }
  .nav { top: 1.6rem; height: 3rem; } .brand { font-size: 2rem; gap: .8rem; } .brand img { width: 2.8rem; height: 2.8rem; border-radius: .6rem; } .navlink { font-size: 1.5rem; }
  .h1-w, .stay .h1 { top: 6.4rem; white-space: normal; }
  .sentence { top: 18.6rem; width: calc(100% - 2 * var(--g)); font-size: 3rem; line-height: 3.8rem; }
  .g > img, .who { width: 2.8rem; height: 2.8rem; vertical-align: -.5rem; margin-right: .4rem; }
  .logos { vertical-align: -.5rem; margin: 0 .6rem 0 .2rem; } .chip { width: 2.8rem; height: 2.8rem; } .chip + .chip { margin-left: -.8rem; } .chip:nth-child(1), .chip:nth-child(4) { --y: .15rem; }
  .ring { width: 2.4rem; height: 2.4rem; border-width: .28rem; vertical-align: -.3rem; margin-right: .6rem; }
  .roll, .roll s { height: 3.8rem; } .roll i { transform: translateY(calc(var(--n) * -3.8rem)); }
  .glow { top: -4.5rem; height: 9rem; filter: blur(3rem); }
  .rim { left: calc(.8rem - 1.5px); right: calc(.8rem - 1.5px); border-radius: 4.15rem 4.15rem 0 0; }
  .lead-open, .lead-open.swap-b { top: 18.8rem; width: calc(100% - 2 * var(--g)); }
  .dl { left: var(--g); right: var(--g); top: 24.4rem; height: 5.2rem; }
  .rows { top: 31.2rem; }
  .a-island { left: 3.2rem; right: 3.2rem; width: auto; margin: 0; top: 41.6rem; height: 0; }

  .cards { --h2: 4.6rem; --body: 1.7rem; --pad: 2.4rem; --card: min(100svh - 3.4rem, 78rem); --row: 5.2rem; --tick: 2.4rem; --title: 1.7rem; --meta: 1.5rem; --tick-gap: 1.6rem; padding: .8rem .8rem 0; }
  .card { border-radius: 4rem; margin-bottom: 1.2rem; display: flex; flex-direction: column; }
  .js .card { top: calc(.8rem + var(--i) * .6rem); }
  .copy { position: relative; inset: auto; width: auto; padding: var(--pad) var(--pad) 0; display: block; }
  .h2 { line-height: 1.04; } .body { margin-top: 1.2rem; line-height: 1.35; }
  .foot { margin-top: 2rem; } .foot.stagger, .foot.ticks { margin-bottom: 0; }
  .box { position: relative; right: auto; top: auto; order: 2; width: 100%; height: auto; flex: 1 1 0; min-height: 0; container-type: size; display: flex; align-items: flex-end; justify-content: center; }
  .box .obj { flex: none; width: min(100cqw, 100cqh); height: min(100cqw, 100cqh); transform-origin: 50% 60%; -webkit-mask-image: linear-gradient(transparent, #000 35%); mask-image: linear-gradient(transparent, #000 35%); }
  @container (min-aspect-ratio: 1/1) { .box .obj { -webkit-mask-image: linear-gradient(transparent, #000 35%), linear-gradient(to right, transparent, #000 15%, #000 85%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(transparent, #000 35%), linear-gradient(to right, transparent, #000 15%, #000 85%, transparent); mask-composite: intersect; } }
  .said { font-size: 1.9rem; line-height: 1.32; margin-bottom: 1rem; }
  .capsule { width: auto; height: 6.4rem; border-radius: 3.2rem; margin: 0 -1.2rem; padding: 0 2rem; }
  .foot.days { margin-bottom: 0; } .days { width: 100%; } .days li { flex: 1 1 0; flex-direction: column; gap: .4rem; height: 7.2rem; border-radius: 2.2rem; font-size: 1.3rem; } .days b { font-size: 1.7rem; }
  .also { padding: 4.4rem 3.2rem 4.4rem; } .also .h3 { margin-bottom: 2rem; }
  .also .row { height: 7.6rem; flex-wrap: wrap; align-content: center; } .also .tick { align-self: flex-start; margin-top: .2rem; } .also .t { flex: 0 0 calc(100% - 4rem); } .also .m { flex: 0 0 100%; padding-left: 4rem; }

  #get { height: auto; padding-bottom: 4.4rem; }
  .scene { position: relative; inset: auto; height: auto; width: 120%; margin-left: -10%; -webkit-mask-image: linear-gradient(#000 66%, transparent); mask-image: linear-gradient(#000 66%, transparent); }
  .bye { position: relative; left: auto; bottom: auto; padding: 0 2.4rem; font-size: 5.8rem; line-height: 1.1; margin-top: 1.6rem; }
  .cta { position: relative; left: auto; bottom: auto; padding: 0 2.4rem; margin-top: 2.4rem; align-items: center; gap: 1.6rem; }
  .get { align-self: stretch; height: 6.4rem; border-radius: 3.2rem; font-size: 2.2rem; padding: 0; } .where { font-size: 1.7rem; }
  footer { padding: 2.4rem 2.4rem 4rem; font-size: 1.5rem; } footer a { margin-inline-end: 1.6rem; } .fine { font-size: max(1.2rem, 11px); margin-top: 1.2rem; }
}

/* A phone on its side, or the Duo's cover display turned: no room for a pinned card. */
@media (max-height: 520px) and (min-aspect-ratio: 1/1) {
  .cards { --body: 14px; --title: 14px; --meta: 12px; --tick: 18px; --row: 36px; --tick-gap: 10px; --card: auto; }
  .js .card, .card { position: relative; top: auto; height: auto; display: block; }
  .copy { position: relative; left: auto; top: auto; bottom: auto; padding: 24px; width: 60%; display: flex; }
  .foot { margin-top: 14px; } .foot.stagger, .foot.ticks, .foot.days { margin-bottom: 0; }
  .box { position: absolute; order: 0; top: 0; right: 0; bottom: 0; width: 40%; height: auto; flex: none; container-type: size; display: flex; align-items: center; justify-content: center; }
  .box .obj { flex: none; width: min(100cqw, 100cqh); height: min(100cqw, 100cqh); -webkit-mask-image: linear-gradient(to right, transparent, #000 25%); mask-image: linear-gradient(to right, transparent, #000 25%); -webkit-mask-composite: initial; mask-composite: initial; }
  .said { font-size: 16px; margin-bottom: 8px; }
  .capsule { width: auto; height: 48px; border-radius: 24px; margin: 0 -12px; padding: 0 16px; }
  .days { width: 100%; } .days li { flex: 1 1 0; height: 44px; border-radius: 22px; gap: 4px; font-size: 11px; } .days b { font-size: 14px; }
}

/* Sub-pages: a black head and the white sheet pulled up over it, with the opening's light on its edge. */
.pg-head { position: relative; background: #000; color: #fff; padding: 10.4rem var(--g) 13.6rem; overflow: hidden; }
.pg-head .h1 { white-space: normal; }
.pg-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.1rem; height: 13rem; background: var(--aurora); filter: blur(4.6rem); opacity: .5; }
.pg-say { font-size: 6.4rem; line-height: 7.9rem; font-weight: 500; color: var(--back-sec); margin-top: 1.2rem; }
.pg-say b { color: #fff; font-weight: 700; }
.pg-sheet { --row: 7.6rem; --tick: 2.8rem; --title: max(2.6rem, 16px); --tick-gap: 2rem; position: relative; z-index: 1; background: #fff; border-radius: 6.4rem 6.4rem 0 0; margin-top: -6.4rem; padding: 7.2rem var(--g) 0; }
.pg-meta { display: flex; justify-content: space-between; gap: 2rem; font-size: max(2.2rem, 13px); font-weight: 400; color: var(--sec); margin-bottom: 8.8rem; }
.pg-meta a:last-child { color: #000; font-weight: 600; padding: 10px 0; margin: -10px 0; }
.pg-sec { display: grid; grid-template-columns: 44rem minmax(0, 79.2rem); column-gap: 8rem; padding: 5.6rem 0; }
.pg-sec + .pg-sec { border-top: .15rem dotted var(--line); }
.pg-meta + .pg-sec { padding-top: 0; }
.pg-sec h2 { font-size: max(3.6rem, 20px); line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
.pg-sec p { font-size: max(2.4rem, 16px); line-height: 1.42; font-weight: 400; color: var(--sec); }
.pg-sec p a { color: #000; text-decoration: underline; text-underline-offset: .15em; }
.pg-done { margin-top: 1.6rem; }
.pg-sheet .row { height: auto; min-height: max(var(--row), 44px); }
.pg-sheet .row.done .t { color: #000; }
.pg-done .row:last-child::after { display: none; }
.pg-item { padding: 2.4rem 0; }
.pg-item:first-child { padding-top: 0; } .pg-item:last-child { padding-bottom: 0; }
.pg-sec p + .pg-items { margin-top: 2.4rem; }
.pg-item + .pg-item { border-top: .15rem dotted var(--line); }
.pg-item h3 { font-size: var(--title); line-height: 1.38; font-weight: 600; margin-bottom: .6rem; }
.pg-cta { height: max(7.2rem, 48px); padding: 0 4rem; margin-top: 3.2rem; font-size: max(2.2rem, 16px); font-weight: 600; border-radius: 99rem; }
.pg-q + .pg-q { border-top: .15rem dotted var(--line); }
.pg-q summary { display: flex; align-items: center; min-height: max(9.6rem, 52px); padding: 1rem 0; font-size: var(--title); cursor: pointer; list-style: none; }
.pg-q summary::-webkit-details-marker { display: none; }
.pg-q summary:focus-visible { outline: .3rem solid #54A0FF; outline-offset: .3rem; border-radius: .8rem; }
.pg-q p { padding-inline-start: calc(var(--tick) + var(--tick-gap)); padding-bottom: 2.4rem; margin-top: -.6rem; }
.pg-q[open] .tick .r { opacity: 0; } .pg-q[open] .tick .d { transform: scale(1); } .pg-q[open] .tick .c { stroke-dashoffset: 0; }
.pg-sheet footer { padding: 3.2rem 0 4.4rem; border-top: .15rem dotted var(--line); }
[dir="rtl"] .h1, [dir="rtl"] .pg-sec h2 { letter-spacing: 0; }
[dir="rtl"] .brand { direction: ltr; }
[dir="rtl"] .pg-sheet .tick { margin: 0 0 0 var(--tick-gap); }
@media (max-width: 767px) {
  .pg-head { padding: 6.4rem var(--g) 9.6rem; }
  .pg-head::after { bottom: -.5rem; height: 9rem; filter: blur(3rem); }
  .pg-say { font-size: 3rem; line-height: 3.8rem; margin-top: 1rem; }
  .pg-sheet { --row: 5.2rem; --tick: 2.4rem; --title: max(1.7rem, 15px); --tick-gap: 1.6rem; border-radius: 4rem 4rem 0 0; margin-top: -4rem; padding: 4rem var(--g) 0; }
  .pg-meta { font-size: max(1.5rem, 13px); margin-bottom: 3.2rem; }
  .pg-sec { display: block; padding: 3.2rem 0; }
  .pg-sec h2 { font-size: 2.8rem; margin-bottom: 1.2rem; }
  .pg-sec p { font-size: max(1.7rem, 15px); line-height: 1.35; }
  .pg-done { margin-top: .8rem; }
  .pg-item { padding: 1.4rem 0; } .pg-sec p + .pg-items { margin-top: 1.4rem; }
  .pg-item h3 { margin-bottom: .3rem; }
  .pg-cta { display: flex; height: 5.2rem; margin-top: 2rem; font-size: 1.7rem; }
  .pg-q summary { min-height: 6.4rem; padding: .8rem 0; }
  .pg-q p { padding-bottom: 1.6rem; margin-top: -.2rem; }
  .pg-sheet footer { padding: 2.4rem 0 4rem; }
}

/* Reduced motion and no script: the opening reads top to bottom, nothing pinned. */
html:not(.js) .sheet { position: relative; height: auto; }
html:not(.js) .stage { background: #fff; height: auto; padding-bottom: 6rem; }
html:not(.js) .back, html:not(.js) .sentence, html:not(.js) .glow, html:not(.js) .rim, html:not(.js) .swap-b, html:not(.js) .a-island { display: none; }
html:not(.js) .stay, html:not(.js) .content { position: relative; inset: auto; }
html:not(.js) .stay { height: 26rem; }
html:not(.js) .content { height: auto; padding-top: 2rem; }
html:not(.js) .lead-open, html:not(.js) .dl, html:not(.js) .rows { position: static; }
html:not(.js) .lead-open, html:not(.js) .rows { margin: 0 var(--g); width: auto; }
html:not(.js) .dl { margin: 2rem var(--g); }
html:not(.js) .row .join { display: none; }
@media (max-width: 767px) { html:not(.js) .stay { height: 18rem; } }
