/* Layout: one calm column of scenes. Colour comes in solid blocks and shapes, never blurred blobs or outlines;
   the shape behind the hero phone and the motion stage take the playing cover's colours. */
:root {
  --paper: #fbfaff;
  --paper-2: #e9e5f6;
  --card: #f1eefa;
  --ink: #17162c;
  --ink-2: #57556f;
  --ink-3: #85839c;
  --line: rgba(23, 22, 44, .09);
  --violet: #9113ff;
  --pink: #ff59cd;
  --navy: #192396;
  --cta: #17162c;
  --cta-ink: #ffffff;
  --blob-a: rgba(145, 19, 255, .17);
  --blob-b: rgba(255, 89, 205, .15);
  --blob-c: rgba(25, 35, 150, .13);
  --grain: .045;
  --f: "Google Sans Flex", "Google Sans", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --ym-bezel: #1b1a26;
  --ym-shadow: 0 40px 80px -30px rgba(40, 20, 90, .35);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #09091a; --paper-2: #1f1e3b; --card: #15142d; --ink: #f1efff; --ink-2: #b1aecb; --ink-3: #7d7a98;
    --line: rgba(241, 239, 255, .1); --cta: #f1efff; --cta-ink: #09091a;
    --blob-a: rgba(145, 19, 255, .26); --blob-b: rgba(255, 89, 205, .16); --blob-c: rgba(60, 80, 255, .2); --grain: .06;
    --ym-bezel: #26253a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #09091a; --paper-2: #1f1e3b; --card: #15142d; --ink: #f1efff; --ink-2: #b1aecb; --ink-3: #7d7a98;
  --line: rgba(241, 239, 255, .1); --cta: #f1efff; --cta-ink: #09091a;
  --blob-a: rgba(145, 19, 255, .26); --blob-b: rgba(255, 89, 205, .16); --blob-c: rgba(60, 80, 255, .2); --grain: .06;
  --ym-bezel: #26253a; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* nav */
/* The bar is page colour; what scrolls under it sinks below a tide line (edge.js), like the app's status bar. */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in oklab, var(--paper) calc(var(--nav-a, 1) * 100%), transparent); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 19px; font-variation-settings: "ROND" 100; }
/* the bare three-arm mark, no launcher ground */
.appicon { display: inline-flex; width: 36px; }
.appicon svg { display: block; width: 100%; height: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { display: block; padding: 8px 14px; border-radius: 20px; text-decoration: none; font-size: 15px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav ul a:hover { background: var(--paper-2); color: var(--ink); }
.nav ul a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 24px; font: 500 16px/1 var(--f); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.btn.primary { background: var(--cta); color: var(--cta-ink); position: relative; isolation: isolate; }
.btn.primary::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(110deg, transparent 20%, var(--violet), var(--pink), transparent 80%) 0 0/250% 100%; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; animation: rim 2.6s linear infinite paused; }
.btn.primary:hover::before { opacity: 1; animation-play-state: running; }
@keyframes rim { to { background-position: -250% 0; } }
.btn.ghost { color: var(--ink); background: var(--paper-2); }
.btn.ghost:hover { background: color-mix(in oklab, var(--paper-2), var(--ink) 6%); }
.btn.small { height: 40px; padding: 0 18px; font-size: 15px; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: 56px 72px; }
.aurora { position: absolute; inset: -20% -10% 0 -10%; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(60px); }
.aurora .a { width: 56vw; height: 40vw; left: -6vw; top: -4vw; background: radial-gradient(closest-side, var(--blob-a), transparent); animation: driftA 26s ease-in-out infinite alternate; }
.aurora .b { width: 44vw; height: 36vw; right: -8vw; top: 6vw; background: radial-gradient(closest-side, var(--blob-b), transparent); animation: driftB 31s ease-in-out infinite alternate; }
.aurora .c { width: 60vw; height: 30vw; left: 20vw; top: 30vw; background: radial-gradient(closest-side, var(--blob-c), transparent); animation: driftA 37s ease-in-out infinite alternate-reverse; }
@keyframes driftA { to { transform: translate(6vw, 4vw) scale(1.12); } }
@keyframes driftB { to { transform: translate(-5vw, 6vw) scale(.92); } }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: var(--grain); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.hero .wrap { position: relative; z-index: 1; }
/* the top is plain type: a short line, the headline, two buttons; the phone sits under it */
.hero-copy { z-index: 2 !important; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 32px; }
.kicker { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink-3); }
.hero h1 { font-size: clamp(40px, 9.4vw, 136px); line-height: .95; font-weight: 560; letter-spacing: -.035em; margin: 22px 0 0; font-variation-settings: "ROND" 30; cursor: default; }
/* the wordmark over the headline; on the Chinese page its letters turn into the headline (yoin-mock.js, yoyin) */
.wordmark { margin: 18px 0 0; font-size: clamp(30px, 4.4vw, 58px); line-height: 1; font-weight: 600; font-variation-settings: "ROND" 100; letter-spacing: -.02em; color: var(--ink); }
.wordmark + h1 { margin-top: 18px; }
.yy-src { display: inline-block; }
.hero h1.yoyin { font-size: clamp(50px, 10.5vw, 118px); line-height: 1.1; letter-spacing: .02em; padding-top: .34em; margin-top: clamp(64px, 10vw, 128px); }
.yoyin .yy-line { display: inline-block; }
.yoyin .yy-ch { position: relative; display: inline-block; }
/* the full stop is drawn at the left of its box: let the line centre on the ink, not the box */
.yoyin .yy-ch:last-child { margin-right: -.42em; }
.yoyin .yy-rb { position: absolute; left: 50%; bottom: 100%; translate: -50% 0; margin-bottom: -.02em; font: normal 600 .25em/1 "Google Sans Flex", "Google Sans", system-ui, sans-serif; font-variation-settings: "ROND" 100; letter-spacing: 0; white-space: nowrap; transform-origin: 50% 50%; will-change: transform; }
.yoyin .yy-yo { color: var(--violet); }
.yoyin .yy-in { color: var(--pink); }
.yoyin ~ .yy-helix, .yy-helix { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.wordmark [data-dock] { display: inline-block; }
/* the wordmark on its way into the bar */
.dock-fly { position: fixed; left: 0; top: 0; z-index: 31; display: none; transform-origin: 0 0; pointer-events: none; white-space: nowrap; line-height: normal; font-family: var(--f); font-weight: 600; font-variation-settings: "ROND" 100; letter-spacing: -.02em; color: var(--ink); will-change: transform; }
/* the headline sounds (yoin-mock.js, soundTitle): a cyan and red split behind the letters, and the first and last
   words repeating outward, fainter and flatter, like the tail of a sound wave */
.hero h1:not(.yoyin) { font-size: clamp(40px, 7.6vw, 116px); }
.rgb { position: relative; display: inline-block; isolation: isolate; }
.rgb::before, .rgb::after { content: attr(data-text); position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .45s; }
.rgb.rgb-live::before, .rgb.rgb-live::after { opacity: 1; transition: none; }
.rgb::before { color: #25f4ee; transform: translate(calc(var(--ab, 0em) * -1), calc(var(--ab, 0em) * -.4)); }
.rgb::after { color: #fe2c55; transform: translate(var(--ab, 0em), calc(var(--ab, 0em) * .4)); }
.yoyin .rgb::before, .yoyin .rgb::after { white-space: nowrap; right: auto; }
.rp { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rp .sl { position: absolute; overflow: hidden; }
.rp .sl i { position: absolute; font-style: normal; line-height: normal; white-space: nowrap; color: var(--ink); transform: translate(-50%, -50%); }
/* the small marks along the ripples: yo, in, kana, a few Yoin Symbols */
.rp .mk { position: absolute; transform: translate(-50%, -50%); font: normal 600 12px/1 var(--f); font-variation-settings: "ROND" 100; letter-spacing: 0; white-space: nowrap; display: flex; }
.rp .mk-0 { color: var(--violet); }
.rp .mk-1 { color: var(--pink); }
.rp .mk-2 { color: var(--ink-3); }
.hero .lead { max-width: 36ch; margin-top: 28px; }
.hero .cta { justify-content: center; }
.hero .stage { margin-top: 72px; }
.tag { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 6px; border-radius: 17px; background: var(--card); font-size: 14px; color: var(--ink-2); }
.tag b { font-weight: 500; color: var(--ink); }
.tag .dot { width: 26px; height: 22px; display: grid; place-items: center; }
.tag .dot svg { display: block; width: 100%; height: auto; }
h1 { font-size: clamp(52px, 8vw, 104px); line-height: .98; font-weight: 500; letter-spacing: -.025em; margin: 26px 0 0; text-wrap: balance; }
.shine { background: linear-gradient(100deg, var(--ink) 0 34%, var(--violet) 44%, var(--pink) 50%, var(--navy) 56%, var(--ink) 64% 100%) 100% 0/280% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 2.6s cubic-bezier(.2, .7, .2, 1) .5s both; }
h1:hover .shine { animation: shine 1.8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.45; color: var(--ink-2); max-width: 30ch; margin: 22px 0 0; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14px; color: var(--ink-3); }
.meta span { display: flex; align-items: center; gap: 8px; }
.stage { position: relative; display: grid; justify-items: center; }
/* one solid MD3 shape behind the phone, in the cover's colours; it turns slowly and morphs when the song changes */
.hero-shape { position: absolute; left: 50%; top: 47%; width: min(660px, 128vw); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; transition: --hs var(--ym-wf-ms, 900ms) var(--ym-wf, ease), --hs2 var(--ym-wf-ms, 900ms) var(--ym-wf, ease); }
.hero-shape svg { display: block; width: 100%; height: 100%; animation: turn 120s linear infinite; }
@keyframes turn { to { rotate: 360deg; } }
.phone { position: relative; width: min(350px, 82vw); }
.hint { position: relative; margin: 26px 0 0; font-size: 14px; color: var(--ink-3); text-align: center; }

/* now playing row: four colour blocks, each with a small working piece of the app on top (yoin-mock.js, features) */
.np-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.np-row > div { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 0 0 26px; border-radius: 32px; background: var(--fc); color: var(--fi); min-width: 0; }
.np-row .fx { position: relative; height: 168px; flex: none; }
.np-row h3 { font-size: 21px; line-height: 1.2; font-weight: 600; font-variation-settings: "ROND" 100; margin: 4px 0 6px; padding: 0 22px; color: var(--fi); }
.np-row p { margin: 0; padding: 0 22px; font-size: 15px; color: var(--fi2); line-height: 1.5; }
.np-row [data-tone="violet"] { --fc: oklch(.5 .24 300); --fi: #fff; --fi2: oklch(.93 .04 300); --fa: #fff; --fo: #fff; --fob: oklch(.32 .16 300); }
.np-row [data-tone="pink"] { --fc: oklch(.93 .045 350); --fi: oklch(.3 .09 350); --fi2: oklch(.45 .08 350); --fa: oklch(.55 .21 355); --fo: oklch(.55 .21 355); --fob: #fff; }
.np-row [data-tone="navy"] { --fc: oklch(.3 .13 268); --fi: oklch(.96 .02 268); --fi2: oklch(.8 .06 268); --fa: oklch(.8 .13 285); --fo: oklch(.97 .02 268); --fob: oklch(.28 .12 268); }
.np-row [data-tone="teal"] { --fc: oklch(.92 .05 185); --fi: oklch(.3 .06 200); --fi2: oklch(.45 .05 200); --fa: oklch(.5 .1 195); --fo: oklch(.5 .1 195); --fob: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .np-row [data-tone="violet"] { --fc: oklch(.52 .22 300); }
  :root:not([data-theme="light"]) .np-row [data-tone="pink"] { --fc: oklch(.27 .06 350); --fi: oklch(.95 .02 350); --fi2: oklch(.78 .05 350); --fa: oklch(.8 .14 355); --fo: oklch(.8 .14 355); --fob: oklch(.25 .08 355); }
  :root:not([data-theme="light"]) .np-row [data-tone="navy"] { --fc: oklch(.86 .06 268); --fi: oklch(.25 .1 268); --fi2: oklch(.42 .08 268); --fa: oklch(.45 .18 275); --fo: oklch(.25 .1 268); --fob: oklch(.96 .02 268); }
  :root:not([data-theme="light"]) .np-row [data-tone="teal"] { --fc: oklch(.27 .04 195); --fi: oklch(.95 .02 195); --fi2: oklch(.78 .04 195); --fa: oklch(.8 .1 190); --fo: oklch(.8 .1 190); --fob: oklch(.2 .04 195); }
}
:root[data-theme="dark"] .np-row [data-tone="violet"] { --fc: oklch(.52 .22 300); }
:root[data-theme="dark"] .np-row [data-tone="pink"] { --fc: oklch(.27 .06 350); --fi: oklch(.95 .02 350); --fi2: oklch(.78 .05 350); --fa: oklch(.8 .14 355); --fo: oklch(.8 .14 355); --fob: oklch(.25 .08 355); }
:root[data-theme="dark"] .np-row [data-tone="navy"] { --fc: oklch(.86 .06 268); --fi: oklch(.25 .1 268); --fi2: oklch(.42 .08 268); --fa: oklch(.45 .18 275); --fo: oklch(.25 .1 268); --fob: oklch(.96 .02 268); }
:root[data-theme="dark"] .np-row [data-tone="teal"] { --fc: oklch(.27 .04 195); --fi: oklch(.95 .02 195); --fi2: oklch(.78 .04 195); --fa: oklch(.8 .1 190); --fo: oklch(.8 .1 190); --fob: oklch(.2 .04 195); }

/* sections */
section.s { padding-block: 112px 0; }
/* a section's name, the way the app names its sections: sentence case, rounded, in the link colour */
.label { font-size: 18px; line-height: 1.3; font-weight: 600; font-variation-settings: "ROND" 100; color: var(--link); display: flex; align-items: center; gap: 10px; }
h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -.018em; font-weight: 500; margin: 16px 0 0; text-wrap: balance; }
.s p.body { font-size: 18px; color: var(--ink-2); max-width: 54ch; margin: 20px 0 0; text-wrap: pretty; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.vg { width: 100%; max-width: 420px; justify-self: center; position: relative; }
/* segmented rows, as in the app's Settings */
.svc { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 3px; }
.svc li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 6px; background: var(--card); }
.svc li:first-child { border-radius: 22px 22px 6px 6px; }
.svc li:last-child { border-radius: 6px 6px 22px 22px; }
.svc b { font-weight: 500; }
.svc li > div { display: flex; flex-direction: column; min-width: 0; }
.svc small { font-size: 14.5px; color: var(--ink-3); }
.svc li > span:not([data-svc]) { color: var(--ink-3); font-size: 15px; margin-left: auto; text-align: right; }

/* motion: three steps beside Yoin's screen acting them out on a block of the cover's colours */
@property --m1 { syntax: "<color>"; inherits: true; initial-value: #b9a6ee; }
@property --m2 { syntax: "<color>"; inherits: true; initial-value: #cfc2f3; }
@property --m3 { syntax: "<color>"; inherits: true; initial-value: #efc9df; }
@property --mp { syntax: "<number>"; inherits: true; initial-value: 0; }
.kinetic { touch-action: pan-y; }
.kinetic .kw { display: inline-block; white-space: nowrap; }
.kinetic .kl { display: inline-block; transform-origin: 50% 85%; will-change: transform; }
.motion { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px; align-items: stretch; border-radius: 32px; background: var(--card); padding: 14px 14px 14px 44px; overflow: hidden; }
.mo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 460px; align-self: center; }
.mo-stage { position: relative; border-radius: 26px; overflow: hidden; display: grid; place-items: center; padding: 40px 0; background: radial-gradient(130% 70% at 50% calc(112% - var(--mp) * 82%), var(--m1), transparent 72%), linear-gradient(165deg, var(--m2), var(--m3)); transition: --m1 var(--ym-wf-ms, 900ms) var(--ym-wf, ease), --m2 var(--ym-wf-ms, 900ms) var(--ym-wf, ease), --m3 var(--ym-wf-ms, 900ms) var(--ym-wf, ease); }
.mo-steps button { width: 100%; text-align: left; border: 0; cursor: pointer; font: inherit; color: inherit; padding: 18px 22px 20px; border-radius: 22px; background: transparent; display: grid; gap: 4px; transition: background-color .3s, border-radius .4s cubic-bezier(.3, 1.4, .5, 1); }
.mo-steps button:hover { background: color-mix(in oklab, var(--card), var(--ink) 4%); }
.mo-steps button[aria-current="step"] { background: var(--paper); border-radius: 28px; }
.mo-steps b { font-size: 20px; font-weight: 600; }
.mo-steps span { font-size: 16px; color: var(--ink-2); }
.mo-phone { width: min(290px, 74%); }

/* pair */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 48px; }
.pane { border-radius: 32px; background: var(--card); padding: 28px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pane h3 { font-size: 24px; font-weight: 500; margin: 0; letter-spacing: -.01em; }
.pane p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; }
.pane .vgw { margin-top: auto; }
/* a real screen from the app, whole, standing in the pane with room around it */
.pane .vgw { display: grid; place-items: center; padding: 8px 0 4px; }
.pane .shot { display: block; width: min(300px, 82%); height: auto; border-radius: 30px; }
.pane .tilt { width: min(300px, 82%); }
.pane .tilt .shot { width: 100%; }
.tilt { position: relative; border-radius: 30px; will-change: transform; }
.tilt-light { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; }
/* Home: the edit-mode screen and the widgets on a launcher, both real */
.shot { display: block; width: 100%; height: auto; }
.vg.screen { max-width: 360px; }
.vg.screen .shot { border-radius: 30px; }
#widgets { max-width: 380px; margin-top: 32px; }

/* tablet */
.tabwrap { margin-top: 48px; position: relative; }
#forms .yv-forms { --fh: clamp(420px, 52vw, 600px); }
.seg2.form-seg { display: flex; width: max-content; max-width: 100%; margin: 24px auto 0; }
@media (max-width: 640px) { #forms .yv-forms { --fh: 460px; } }

/* lists */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.three h3 { font-size: 15px; font-weight: 500; color: var(--ink-3); margin: 0 0 12px; letter-spacing: .02em; }
.three ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.three li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.three li svg { flex: none; margin-top: 2px; }
.does svg { color: var(--violet); }
.doesnt svg { color: var(--ink-3); }

/* privacy */
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.facts li { padding: 22px 22px 24px; border-radius: 26px; background: var(--card); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.facts li > span:first-child { color: var(--violet); margin-bottom: 10px; }
.facts b { font-size: 18px; font-weight: 600; }
.facts li > span:last-child { color: var(--ink-2); font-size: 15px; }

/* join */
.join { margin-top: 112px; border-radius: 40px; position: relative; overflow: hidden; padding: 64px 56px; background: var(--ink); color: var(--paper); isolation: isolate; }
.join .aurora .a, .join .aurora .b { opacity: .9; }
.join h2 { color: var(--paper); margin-top: 0; }
.join p.body { color: color-mix(in oklab, var(--paper) 72%, transparent); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 22px; border-radius: 24px; background: color-mix(in oklab, var(--paper) 9%, transparent); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps li::before { content: counter(s); font-size: 14px; font-weight: 600; width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--ink); font-variant-numeric: tabular-nums; }
.steps b { font-weight: 500; font-size: 18px; margin-top: 8px; }
.steps span { font-size: 15px; color: color-mix(in oklab, var(--paper) 70%, transparent); }
.steps a { margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 500; color: var(--paper); text-underline-offset: 4px; }
.join .btn.primary { background: var(--paper); color: var(--ink); }
.join .fine { margin-top: 28px; font-size: 14px; color: color-mix(in oklab, var(--paper) 60%, transparent); }

footer { padding-block: 56px 72px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-start; }
footer nav { display: flex; gap: 20px; margin-left: auto; }
footer nav a { text-decoration: none; color: var(--ink-2); }
footer p { margin: 6px 0 0; max-width: 52ch; }

@media (max-width: 920px) {
  .split, .motion, .pair { grid-template-columns: minmax(0, 1fr); }
  .motion { padding: 22px 12px 12px; gap: 22px; }
  .mo-steps { padding: 0 6px; }
  .mo-stage { padding: 32px 0; }
  .mo-steps { max-width: none; }
  .split.rev > :first-child { order: 0; }
  .np-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .three { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead { max-width: 36ch; }
}
@media (max-width: 640px) {
  .nav ul { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-block: 32px 56px; }
  section.s { padding-block: 80px 0; }
  .np-row { grid-template-columns: minmax(0, 1fr); }
  .np-row { margin-top: 44px; }
  .np-row > div { border-radius: 28px; }
  .steps, .facts { grid-template-columns: minmax(0, 1fr); }
  .hero .stage { margin-top: 48px; }
  .join { padding: 40px 22px; border-radius: 28px; margin-top: 80px; }
  .pane { padding: 20px; border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i, .shine, .hero-shape svg { animation: none !important; }
  .shine { background-position: 0 0; }
  html { scroll-behavior: auto; }
}

/* ---- The mascot and its speech bubble: the app's landing character (three fins, rounded bubble, tail at the speaker). */
/* the bubble stays light in both themes, so links on it keep the light theme's violet (--link turns pale in dark) */
:root { --bubble: #ffffff; --bubble-ink: #17162c; --bubble-ink2: rgba(23, 22, 44, .72); --bubble-link: #6a1bd1; --bubble-shadow: 0 1px 0 rgba(23, 22, 44, .04), 0 26px 50px -30px rgba(70, 30, 140, .38); --halo: none; --link: #6a1bd1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bubble: #e9ddff; --bubble-ink: #22005d; --bubble-ink2: rgba(34, 0, 93, .74); --bubble-shadow: none; --halo: radial-gradient(closest-side, rgba(176, 150, 255, .26), transparent); --link: #cdb2ff; } }
:root[data-theme="dark"] { --bubble: #e9ddff; --bubble-ink: #22005d; --bubble-ink2: rgba(34, 0, 93, .74); --bubble-shadow: none; --halo: radial-gradient(closest-side, rgba(176, 150, 255, .26), transparent); --link: #cdb2ff; }

.duo { display: grid; justify-items: start; margin-top: 22px; }
.buddy { position: relative; width: 190px; aspect-ratio: 1300 / 1040; border: 0; padding: 0; margin: 0 0 0 4px; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.buddy::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; background: var(--halo); z-index: -1; pointer-events: none; }
.buddy:focus-visible { border-radius: 28px; outline-offset: 8px; }
.bubble { position: relative; margin-top: 20px; max-width: 600px; padding: 24px 32px 28px; border-radius: 34px; background: var(--bubble); color: var(--bubble-ink); box-shadow: var(--bubble-shadow); transform-origin: var(--tail-x, 100px) -18px; }
.bubble .tail { position: absolute; overflow: visible; }
.bubble .t-up { left: calc(var(--tail-x, 100px) - 18px); top: -17px; width: 36px; height: 18px; }
.bubble .t-left { display: none; left: -17px; top: calc(var(--tail-y, 50%) - 18px); width: 18px; height: 36px; }
.bubble.left .t-up { display: none; }
.bubble.left .t-left { display: block; }
.bubble .tail path { fill: var(--bubble); }
.b-title { margin: 0; font-size: clamp(44px, 5.8vw, 80px); line-height: 1.02; font-weight: 600; font-variation-settings: "ROND" 100; letter-spacing: -.02em; text-wrap: balance; }
.b-title.hero-t { font-size: clamp(38px, 4.9vw, 68px); line-height: 1.04; }
.b-hi { margin: 0 0 8px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; font-variation-settings: "ROND" 100; color: var(--bubble-ink2); }
.b-body { margin: 12px 0 0; max-width: 32ch; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.45; color: var(--bubble-ink2); text-wrap: pretty; }
.bubble .shine { background: linear-gradient(100deg, var(--bubble-ink) 0 34%, var(--violet) 44%, var(--pink) 50%, var(--navy) 56%, var(--bubble-ink) 64% 100%) 100% 0/280% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 2.6s cubic-bezier(.2, .7, .2, 1) 1.2s both; }
.duo.side { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.duo.side .buddy { width: 140px; }
.bubble.left { margin: 0 0 0 20px; padding: 20px 26px 22px; border-radius: 28px; transform-origin: -18px var(--tail-y, 50%); }
.bubble.left .b-title { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -.01em; }
.bubble.left .b-body { max-width: 46ch; font-size: 17px; }

/* Joining: the mascot peeks over the card's top edge. */
.join-wrap { position: relative; margin-top: 170px; }
.join-wrap .join { margin-top: 0; z-index: 1; }
.peek { position: absolute; right: clamp(24px, 9vw, 120px); top: -92px; width: 168px; z-index: 0; }
.peek .buddy { width: 100%; }

/* The guide: Yoin waits in the corner and says one line about the part of the page you're on. */
.guide { position: fixed; z-index: 40; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 16px; pointer-events: none; visibility: hidden; opacity: 0; }
.guide > * { pointer-events: auto; }
.guide .g-buddy { width: 112px; margin: 0; }
.g-bubble { position: relative; width: max-content; max-width: min(300px, calc(100vw - 40px)); margin-right: 6px; padding: 14px 18px 15px; border-radius: 24px; background: var(--bubble); color: var(--bubble-ink); box-shadow: var(--bubble-shadow); transform-origin: calc(100% - 52px) calc(100% + 14px); }
.g-bubble p { margin: 0; font-size: 16px; line-height: 1.42; font-weight: 500; font-variation-settings: "ROND" 60; text-wrap: pretty; }
.g-tail { position: absolute; right: 34px; top: 100%; margin-top: -1px; width: 32px; height: 14px; overflow: visible; }
.g-tail path { fill: var(--bubble); }
/* the outline Yoin opens when tapped: an Expressive menu grown out of the corner Yoin sits in */
.g-outline { position: absolute; right: 4px; bottom: calc(100% - 26px); width: 264px; max-height: calc(100vh - 160px); overflow: auto; padding: 14px 8px 8px; border-radius: 28px; background: var(--bubble); color: var(--bubble-ink); box-shadow: var(--bubble-shadow); transform-origin: calc(100% - 48px) 100%; visibility: hidden; opacity: 0; }
.g-outline > b { display: block; padding: 0 16px 8px; font-size: 13px; font-weight: 500; color: var(--bubble-ink2); }
.g-outline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.g-outline a { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 12px; text-decoration: none; font-size: 16px; font-weight: 500; line-height: 1.25; transition: background-color .25s, border-radius .4s cubic-bezier(.3, 1.5, .5, 1); }
.g-outline a:hover { background: color-mix(in oklab, var(--bubble-ink) 6%, transparent); border-radius: 22px; }
.g-outline a[aria-current] { background: color-mix(in oklab, var(--violet) 16%, var(--bubble)); color: var(--bubble-link); border-radius: 22px; }

/* For Spotoolfy users: the teaser card on Home. */
section.s.tight { padding-block: 64px 0; }
.spt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 22px 30px 22px 22px; border-radius: 30px; background: var(--card); text-decoration: none; color: inherit; transition: background-color .3s; }
.spt:hover { background: color-mix(in oklab, var(--card), var(--violet) 6%); }
.spt .icons { display: flex; align-items: center; gap: 6px; }
.spt .icons img { width: 54px; height: 54px; border-radius: 50%; display: block; }
.spt .icons .arr { color: var(--ink-3); display: flex; }
.spt .icons .mini { width: 84px; }
.spt b { display: block; font-size: 23px; line-height: 1.2; font-weight: 600; font-variation-settings: "ROND" 100; }
.spt .t { display: block; margin-top: 4px; font-size: 16px; color: var(--ink-2); }
.spt .go { display: flex; align-items: center; gap: 4px; font-weight: 500; color: var(--link); white-space: nowrap; }

@media (max-width: 920px) {
  .bubble { max-width: none; }
}
@media (max-width: 640px) {
  .buddy { width: 150px; }
  .bubble { padding: 20px 22px 22px; border-radius: 28px; --tail-x: 80px; }
  .duo.side { grid-template-columns: minmax(0, 1fr); }
  .duo.side .buddy { width: 120px; }
  .bubble.left { margin: 20px 0 0; --tail-x: 64px; transform-origin: var(--tail-x) -18px; }
  .bubble.left .t-left { display: none; }
  .bubble.left .t-up { display: block; }
  .join-wrap { margin-top: 130px; }
  .peek { width: 132px; top: -66px; right: 28px; }
  .spt { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
  .guide { gap: 12px; }
  .guide .g-buddy { width: 78px; }
  .g-bubble { max-width: min(250px, calc(100vw - 40px)); padding: 12px 15px 13px; border-radius: 20px; transform-origin: calc(100% - 36px) calc(100% + 12px); }
  .g-bubble p { font-size: 15px; }
  .g-tail { right: 20px; }
  .g-outline { width: min(250px, calc(100vw - 40px)); bottom: calc(100% - 18px); }
}
@media (prefers-reduced-motion: reduce) { .bubble .shine { animation: none; background-position: 0 0; } }

/* Chinese pages: Latin stays Google Sans Flex and Chinese falls through to Noto Sans SC; Chinese gets no negative tracking and a little more leading. */
:root:lang(zh) { --f: "Google Sans Flex", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) .b-title { letter-spacing: 0; }
:lang(zh) .hero h1 { letter-spacing: .01em; line-height: 1.08; font-weight: 600; }
:lang(zh) .hero h1.yoyin { letter-spacing: .02em; line-height: 1.1; }
:lang(zh) .s p.body, :lang(zh) .lead, :lang(zh) .b-body, :lang(zh) .g-bubble p { line-height: 1.75; }
:lang(zh) .label { letter-spacing: 0; }
.nav ul a.lang, footer nav a.lang { color: var(--ink-3); }

/* The bar's menu (menu.js): a three-line button at the right end, and an Expressive menu grown out of it */
.menu-btn { flex: none; position: relative; width: 44px; height: 44px; margin-right: -6px; border: 0; padding: 0; border-radius: 22px; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-content: center; gap: 4px; -webkit-tap-highlight-color: transparent; transition: background-color .2s; }
.menu-btn:hover { background: var(--paper-2); }
.menu-btn i { display: block; width: 20px; height: 2px; border-radius: 1px; background: currentColor; transform-origin: 50% 50%; }
.site-menu { position: fixed; z-index: 45; width: min(280px, calc(100vw - 24px)); padding: 10px; border-radius: 28px; background: var(--bubble); color: var(--bubble-ink); box-shadow: var(--bubble-shadow); transform-origin: calc(100% - 22px) -10px; visibility: hidden; opacity: 0; }
.sm-lang { display: flex; gap: 3px; padding: 4px; border-radius: 22px; background: color-mix(in oklab, var(--bubble-ink) 6%, transparent); }
.sm-lang a { flex: 1; display: grid; place-items: center; height: 40px; border-radius: 18px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--bubble-ink2); transition: background-color .25s, color .25s; }
.sm-lang a[href]:hover { background: color-mix(in oklab, var(--bubble-ink) 6%, transparent); color: var(--bubble-ink); }
.sm-lang a[aria-current] { background: var(--cta); color: var(--cta-ink); }
.site-menu ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.site-menu ol a { display: flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 12px; text-decoration: none; font-size: 16px; font-weight: 500; transition: background-color .25s, border-radius .4s cubic-bezier(.3, 1.5, .5, 1); }
.site-menu ol a:hover { background: color-mix(in oklab, var(--bubble-ink) 6%, transparent); border-radius: 22px; }
.site-menu ol a[aria-current] { background: color-mix(in oklab, var(--violet) 16%, var(--bubble)); color: var(--bubble-link); border-radius: 22px; }
.sm-join { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 8px; border-radius: 24px; background: var(--cta); color: var(--cta-ink); text-decoration: none; font-weight: 500; }

/* the Google Play line under the hero buttons */
.play-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; font-size: 15px; font-weight: 500; color: var(--ink-2); }
/* fixed size: in the zero-width box below, a max-width of 100% would shrink the logo to nothing */
.play-note .gp { flex: none; display: block; width: 18px; height: 18px; max-width: none; }
/* it sits under the join button, centred on it; a zero-width box lets it run past the button on both sides */
.hero .cta { align-items: flex-start; }
.cta-main { display: flex; flex-direction: column; align-items: center; }
.cta-main .play-note { width: 0; white-space: nowrap; }

/* The Easter egg (arrest.js): a 체포하겠어 stamp for ILLIT's BREAK EVEN that turns over into its pre-save. */
:root { --ar-ink: #e0245c; --ar-card: #d81b52; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ar-ink: #ff4f80; } }
:root[data-theme="dark"] { --ar-ink: #ff4f80; }
.ar { position: relative; z-index: 3; -webkit-tap-highlight-color: transparent; }
.ar-hero { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; --ar-w: clamp(196px, 21vw, 290px); }
.ar-face { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.ar-slot { height: 83px; margin: -4px 0 -11px; transform-origin: 50% 50%; --ar-w: 188px; --ar-ink: #e0245c; }
.g-outline:has(.ar-slot) { overflow-x: hidden; }
.ar-slot .ar-face { top: 0; translate: -50% 0; }
.ar-slot .ar-front { top: 6px; }
.ar-front { width: var(--ar-w); aspect-ratio: 320 / 120; border: 0; padding: 0; margin: 0; background: none; color: var(--ar-ink); cursor: pointer; }
.ar-front svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ar-ko { font-family: "Black Han Sans", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; font-size: 74px; font-weight: 400; }
.ar-en { font-family: var(--f); font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 62, "ROND" 0; letter-spacing: -.01em; }
.ar-ring { position: absolute; left: 50%; top: 50%; border-radius: 6px; background: color-mix(in oklab, var(--ar-ink) 40%, transparent); pointer-events: none; }
.ar-back { width: min(300px, calc(100vw - 32px)); padding: 16px; border-radius: 26px; background: var(--ar-card); color: #fff; text-align: left; cursor: pointer; }
.ar-slot .ar-back { width: 100%; border-radius: 20px; }
.ar-no { position: absolute; right: 16px; top: 8px; font: 400 46px/1 Georgia, "Times New Roman", serif; opacity: .4; }
.ar-charge { margin: 0; font-size: 13px; font-weight: 600; opacity: .82; }
.ar-title { display: block; margin-top: 6px; font-size: 34px; line-height: 1; font-weight: 800; font-variation-settings: "wdth" 72, "ROND" 0; letter-spacing: -.01em; }
.ar-sub { margin: 8px 0 0; padding-right: 8px; font-size: 14px; line-height: 1.45; opacity: .92; text-wrap: pretty; }
.ar-go { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; margin-top: 14px; }
.ar-go a { display: flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 8px 0 12px; border-radius: 6px; background: #fff; color: #3b0718; text-decoration: none; cursor: pointer; transition: background-color .2s; }
.ar-go a:first-child { border-radius: 18px 18px 6px 6px; }
.ar-go a:last-child { border-radius: 6px 6px 18px 18px; }
.ar-go a:hover { background: #ffe8ee; }
.ar-go i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ar-go b { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 15px; font-weight: 600; white-space: nowrap; }
.ar-go span { margin-left: auto; display: flex; align-items: center; font-size: 13px; color: rgba(59, 7, 24, .68); white-space: nowrap; }
.ar-go span svg { flex: none; }
:lang(zh) .ar-sub { line-height: 1.6; }

/* The version chip and its bubble (versions.js): point at the chip and a bubble snaps onto it, then opens to the
   right with the latest versions. The bubble is the mascot's bubble colour, light in both themes. */
.ver { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 14px; background: var(--paper-2); color: var(--ink); font-size: 13px; font-weight: 600; font-variation-settings: "ROND" 100; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.play-note .ver { margin-left: 4px; }
footer .ver { margin-top: 14px; }
.vb { --vb-pad: 11px; position: fixed; z-index: 46; overflow: hidden; visibility: hidden; opacity: 0; background: var(--bubble); color: var(--bubble-ink); box-shadow: var(--bubble-shadow); }
.vb-in { display: flex; flex-direction: column; }
.vb.up .vb-in { flex-direction: column-reverse; }
.vb-head { flex: none; display: flex; align-items: center; gap: 10px; padding-right: 14px; text-decoration: none; white-space: nowrap; }
.vb-head b { font-size: 13px; font-weight: 600; font-variation-settings: "ROND" 100; font-variant-numeric: tabular-nums; }
.vb-head span { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--bubble-ink2); }
.vb-more { display: flex; flex-direction: column; padding: 4px 6px 6px; }
.vb.up .vb-more { padding: 6px 6px 4px; }
.vb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.vb-list a { display: grid; gap: 2px; padding: 10px 12px 11px; border-radius: 12px; text-decoration: none; transition: background-color .25s, border-radius .4s cubic-bezier(.3, 1.5, .5, 1); }
.vb-list a:hover, .vb-list a:focus-visible { background: color-mix(in oklab, var(--bubble-ink) 6%, transparent); border-radius: 20px; }
.vb-list li:first-child a { background: color-mix(in oklab, var(--violet) 12%, var(--bubble)); }
.vb-list li:first-child a:hover { border-radius: 20px; }
.vb-v { display: flex; align-items: baseline; gap: 6px; }
.vb-v b { font-size: 16px; font-weight: 600; font-variation-settings: "ROND" 100; font-variant-numeric: tabular-nums; }
.vb-v small { font-size: 13px; color: var(--bubble-ink2); font-variant-numeric: tabular-nums; }
.vb-v time { margin-left: auto; font-size: 13px; color: var(--bubble-ink2); }
.vb-s { font-size: 14px; line-height: 1.4; color: var(--bubble-ink2); text-wrap: pretty; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.vb-all { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 6px; border-radius: 22px; background: var(--cta); color: var(--cta-ink); font-size: 15px; font-weight: 500; text-decoration: none; }
:root[data-theme="dark"] .vb-all { background: var(--bubble-ink); color: var(--bubble); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vb-all { background: var(--bubble-ink); color: var(--bubble); } }

/* Open source: the licence on the left, the fonts and libraries Yoin ships on the right, as in the app's Settings */
.oss-fine { margin: 24px 0 0; max-width: 54ch; font-size: 14px; color: var(--ink-3); text-wrap: pretty; }
.svc.oss { margin-top: 0; }
.svc.oss li { padding: 14px 18px; }
.svc.oss li > span { flex: none; font-variant-numeric: tabular-nums; }
