/* Look20 site. A sketchbook: white paper, one narrow column, demos on hatched
   or dotted panels, small serif headings with one hand-drawn mark each. The
   break itself keeps the app's sky (see "The break" below). */

@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-weight: 400 600; font-display: swap; src: url(/fonts/geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-weight: 400 600; font-display: swap; src: url(/fonts/geist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-weight: 400 600; font-display: swap; src: url(/fonts/geist-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geist Mono'; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  color-scheme: light dark;
  --scheme: light;
  --paper: #FFFFFF;
  --card: #FFFFFF;
  --ink: #141414;
  --text: #3D3D3D;
  --muted: #6B6B6B;
  --faint: #A3A3A3;
  --line: #E8E8E8;
  --line-soft: #F0F0F0;
  --soft: #F5F5F5;
  --hatch: #F1F1F1;
  --dot: #E2E2E2;
  --rule: #EFEFEF;
  --btn: #262626;
  --btn-ink: #FFFFFF;
  --focus: #2563EB;
  --sun: #F2B544;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-lift: 0 16px 40px -16px rgba(0, 0, 0, .25);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --col: 576px;
  /* The break's sky and landscape (set again by site.js while it runs). */
  --on-dark: #EEF3F8;
  --on-dark-muted: #B4C3D4;
  --sky: linear-gradient(to bottom, rgb(27, 47, 82), rgb(88, 79, 102) 56%, rgb(201, 138, 138) 90%, rgb(246, 199, 114));
  --sun-color: rgb(242, 181, 68); --sun-glow: rgb(246, 199, 114);
  --far-land: rgb(59, 79, 114); --ridge-a: rgb(44, 68, 102); --ridge-b: rgb(51, 80, 122);
  --tree-far: rgb(37, 60, 94); --tree-near: rgb(19, 37, 32);
  --cloud-color: rgb(92, 114, 153); --cloud-opacity: .2;
  --ground: rgb(22, 48, 42); --ground-deep: rgb(15, 33, 28);
  --rim: rgba(246, 199, 114, .35); --haze: rgba(246, 199, 114, .28);
  --veil: transparent; --p: 1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --scheme: dark;
    --paper: #0E0E0F;
    --card: #161617;
    --ink: #EDEDED;
    --text: #C9C9C9;
    --muted: #9C9C9C;
    --faint: #6E6E6E;
    --line: #282829;
    --line-soft: #1F1F20;
    --soft: #1B1B1C;
    --hatch: #1A1A1B;
    --dot: #2A2A2B;
    --rule: #1E1E1F;
    --btn: #EDEDED;
    --btn-ink: #111111;
    --focus: #93C5FD;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-lift: 0 20px 44px -18px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16px/1.6 var(--sans); letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 50; background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.skip:focus { top: 16px; }

.col { width: min(var(--col), calc(100% - 32px)); margin-inline: auto; }
.wide { width: min(1280px, calc(100% - 32px)); margin-inline: auto; }

/* --- Type ------------------------------------------------------------------- */

.serif, h1, h2, .h3s { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; }
h1 { font-size: 34px; line-height: 1.15; }
h2 { font-size: 30px; line-height: 1.2; }
.body { margin-top: 16px; font-size: 16px; line-height: 1.6; }
.body + .body { margin-top: 12px; }
.muted { color: var(--muted); }

/* Hand-drawn marks: a rough stroke drawn behind a phrase, one per heading. */
mark { color: inherit; background: none no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.u { background-position: 0 100%; background-size: 100% .42em; padding-bottom: .1em; }
mark.hl { background-position: 0 58%; background-size: 100% .9em; padding-inline: .06em; }
mark.ring { background-position: center; background-size: 100% 100%; padding: .16em .24em; margin: -.16em -.12em; }

.badge { display: inline-block; margin-bottom: 10px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font: 500 11px/1.4 var(--sans); color: var(--muted); letter-spacing: 0; }

/* --- Buttons and links -------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 42px; padding: 6px 16px; border-radius: 7px; border: 1px solid transparent;
  font: 500 15.5px/1.15 var(--sans); letter-spacing: -.01em; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-dark { background: var(--btn); color: var(--btn-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .08); }
.btn-dark:hover { background: color-mix(in srgb, var(--btn) 88%, var(--paper)); }
.btn-light { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-light:hover { background: var(--soft); }
.sunmark { width: 18px; height: 12px; }
.more { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 16px; font-size: 13.5px; color: var(--text); text-decoration: none; background: none; border: 0; padding: 4px 0; cursor: pointer; margin-inline-start: auto; }
.more span { border-bottom: 1px solid var(--faint); }
.more:hover span { border-color: var(--ink); }
.more svg { width: 12px; height: 12px; }
.link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--faint); }
.link:hover { border-color: var(--ink); }
.body a:not(.btn), .fine a, .faq a, .doc a:not(.btn) { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--faint); }
.body a:not(.btn):hover, .fine a:hover, .faq a:hover, .doc a:not(.btn):hover { border-color: var(--ink); }

/* --- Header ------------------------------------------------------------------- */

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; position: relative; z-index: 5; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 500 17px/1 var(--sans); letter-spacing: -.02em; }
.logo svg { width: 24px; height: 16px; }
.logo .bar { fill: currentColor; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 8px 10px; border-radius: 7px; }
.nav > a:hover, .nav > a[aria-current] { color: var(--ink); }
@media (max-width: 640px) { .nav > a { display: none; } }

/* --- Hero ----------------------------------------------------------------------- */

.hero { padding: clamp(56px, 12vw, 120px) 0 0; }
.hero h1 { position: relative; display: inline-block; max-width: 100%; }
.tilt { position: absolute; inset-inline-end: -14px; top: -20px; transform: rotate(-6deg); padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font: 500 10px/1.3 var(--mono); color: #059669; letter-spacing: 0; }
@media (prefers-color-scheme: dark) { .tilt { color: #34D399; } }
.hero .lead { margin-top: 20px; font-size: 16.5px; line-height: 1.6; }
.cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero .small { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* --- Sections and stages ---------------------------------------------------------- */

main section { padding-block: clamp(64px, 9vw, 96px); }
.stage { position: relative; margin-top: 40px; border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; display: grid; place-items: center; min-height: 380px; padding: 40px 20px; }
.hatch { background: repeating-linear-gradient(45deg, var(--hatch) 0 1px, transparent 0 50%) 0 0 / 10px 10px; }
.dots { background: radial-gradient(circle, var(--dot) 1px, transparent 1.2px) 0 0 / 14px 14px; }
.ruled { background: repeating-linear-gradient(transparent 0 27px, var(--rule) 27px 28px); }
.divider { height: 26px; border-radius: 10px; border: 1px solid var(--line-soft); }
.stage.plain { border: 0; padding: 24px 0; min-height: 0; }
.stage.short { min-height: 280px; }
.stage.tall { min-height: 420px; }
.stage + .stage { margin-top: 14px; }

/* The rule: three cards with a tiny picture each. */
.rule { list-style: none; padding: 0; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 16px; display: flex; flex-direction: column; }
.stat .viz { height: 120px; display: flex; align-items: flex-end; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.stat .row { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.stat .num { font: 400 30px/1 var(--serif); color: var(--ink); }
.stat h3 { font: 500 15px/1.3 var(--sans); color: var(--ink); }
.stat p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.sky-strip { width: 100%; height: 86px; border-radius: 10px; position: relative; overflow: hidden; background: linear-gradient(90deg, #A9D0EF, #BCD4EA 30%, #C98A8A 70%, #F6C772); }
.sky-strip i { position: absolute; bottom: -12px; inset-inline-end: 18%; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); }
.dist { width: 100%; position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dist::before { content: ''; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: var(--line); }
.dist i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dist i.on { background: var(--ink); }
.dist b { position: absolute; top: 16px; font: 400 11px/1 var(--mono); color: var(--muted); }
.dist b:first-of-type { inset-inline-start: 0; } .dist b:last-of-type { inset-inline-end: 0; }
.ringviz { width: 100%; display: grid; place-items: center; }
.ringviz svg { width: 92px; height: 92px; }
.ringviz .t { stroke: var(--line); } .ringviz .a { stroke: var(--ink); }
.try { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.try p { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .rule { grid-template-columns: 1fr; } .stat .viz { height: 104px; } }

/* Phone with a live break. */
.phone { width: 236px; height: 486px; border-radius: 46px; padding: 9px; position: relative; background: linear-gradient(145deg, #555 0%, #080808 8%, #000 30%, #020202 70%, #333 94%, #080808); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45), inset 0 0 0 1px #2A2A2A; }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 20px; background: #000; z-index: 3; }
.scr { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; position: relative; background: linear-gradient(#1B2F52 0%, #584F66 46%, #C98A8A 74%, #F6C772 100%); color: #EEF3F8; }
.scr .hill { position: absolute; left: -40%; right: -40%; bottom: -150px; height: 260px; border-radius: 50%; background: #16302A; }
.scr .sunset { position: absolute; left: 62%; bottom: 82px; width: 46px; height: 46px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 30px 8px rgba(246, 199, 114, .6); transition: transform 1s linear; }
.scr .kick { position: absolute; top: 70px; inset-inline: 0; text-align: center; font-size: 11px; color: rgba(238, 243, 248, .78); }
.scr .ring2 { position: absolute; left: 50%; top: 112px; width: 136px; height: 136px; margin-left: -68px; }
.scr .ring2 svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.scr .read2 { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.scr .read2 b { font: 300 52px/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.scr .read2 small { display: block; margin-top: 4px; font-size: 11px; opacity: .85; }
.scr .done2 { position: absolute; inset-inline: 22px; bottom: 30px; height: 40px; border-radius: 999px; background: var(--sun); color: #14233B; display: grid; place-items: center; font: 600 13px/1 var(--sans); z-index: 2; }

/* Laptop with the browser extension. */
.laptop { width: min(420px, 100%); }
.lid { border-radius: 14px 14px 4px 4px; background: #1A1A1A; padding: 10px 10px 14px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .35); }
.browser { border-radius: 6px; overflow: hidden; background: #fff; color: #141414; }
.bar { display: flex; align-items: center; gap: 6px; padding: 7px 9px; background: #F4F4F4; border-bottom: 1px solid #E8E8E8; }
.bar > i { width: 7px; height: 7px; border-radius: 50%; background: #FF5F57; flex: none; }
.bar > i:nth-child(2) { background: #FEBC2E; } .bar > i:nth-child(3) { background: #28C840; }
.url { flex: 1; margin: 0 8px; height: 16px; border-radius: 4px; background: #fff; font: 9px/16px var(--mono); color: #A3A3A3; padding: 0 6px; overflow: hidden; }
.ext { width: 20px; height: 15px; border-radius: 3px; background: #fff; display: grid; place-items: center; flex: none; }
.ext svg { width: 13px; height: 9px; }
.page { position: relative; height: 210px; padding: 14px; }
.sk { height: 9px; border-radius: 4px; background: #EFEFEF; margin-bottom: 8px; }
.sk.h { width: 40%; height: 14px; background: #262626; }
.sk.w70 { width: 70%; } .sk.w62 { width: 62%; } .sk.w66 { width: 66%; } .sk.w48 { width: 48%; }
.popup { position: absolute; inset-inline-end: 10px; top: 6px; width: 176px; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .14), 0 0 0 1px #EEE; padding: 12px; font-size: 11px; }
.popup b { display: block; margin: 4px 0 8px; font: 400 26px/1 var(--serif); font-variant-numeric: tabular-nums; }
.popup .tg { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid #F0F0F0; color: #6B6B6B; }
.mini-sw { width: 26px; height: 15px; border-radius: 10px; background: #262626; position: relative; flex: none; }
.mini-sw::after { content: ''; position: absolute; inset-inline-end: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.base { height: 10px; margin: 0 -16px; border-radius: 0 0 12px 12px; background: linear-gradient(#D4D4D4, #A3A3A3); position: relative; }
.base::after { content: ''; position: absolute; left: 50%; top: 0; width: 60px; height: 4px; margin-left: -30px; border-radius: 0 0 4px 4px; background: #8A8A8A; }

/* Clocks: the minutes until the next break, shaded. */
.clocks { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.clock { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 14px 8px; text-align: center; box-shadow: var(--shadow); }
.clock .lbl { font: 500 10px/1.3 var(--sans); color: var(--muted); }
.clock svg { width: 104px; height: 104px; margin: 10px auto 6px; }
.clock .face { fill: var(--card); stroke: var(--line); }
.clock .tick { stroke: var(--faint); }
.clock .numr { fill: var(--muted); font-family: var(--sans); font-size: 9px; }
.clock .numr.serif { font-family: var(--serif); font-size: 10px; }
.clock .seg { fill: rgba(242, 181, 68, .26); }
.clock .hh, .clock .mh, .clock .pin { stroke: var(--ink); fill: var(--ink); }
.clock .sh { stroke: #E11D48; }
.clock .t { font: 400 11.5px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .clocks { gap: 8px; } .clock { padding: 10px 4px; } .clock svg { width: 100%; height: auto; } }

/* On, snooze and off, with faces. */
.toggles { width: 100%; max-width: 440px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tw { aspect-ratio: 1; border-radius: 18px; background: #0A0A0A; position: relative; overflow: hidden; border: 0; padding: 0; cursor: pointer; color: #fff; box-shadow: inset 0 0 0 1px #222; }
.tw .arc2 { position: absolute; left: 50%; top: 18%; width: 64%; aspect-ratio: 1; margin-left: -32%; border-radius: 50%; border: 1.5px solid #2A2A2A; }
.tw .name { position: absolute; z-index: 2; inset-inline: 4px; top: 14%; font: 500 13px/1.2 var(--sans); }
.tw .face { position: absolute; left: 50%; bottom: -18%; width: 76%; aspect-ratio: 1; margin-left: -38%; border-radius: 50%; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), filter .3s; }
.tw .eyes { position: absolute; left: 30%; right: 30%; top: 26%; display: flex; justify-content: space-between; }
.tw .eyes i { width: 9px; height: 9px; border-radius: 50%; background: #111; box-shadow: inset 2px -2px 0 #fff; }
.tw .mouth { position: absolute; left: 40%; right: 40%; top: 42%; height: 9px; border: 2px solid #111; border-top: 0; border-radius: 0 0 12px 12px; }
.tw.on .face { background: #F2B544; } .tw.snooze .face { background: #93C5FD; } .tw.off .face { background: #C4B5FD; }
.tw.off .eyes i { height: 2px; border-radius: 2px; box-shadow: none; }
.tw.off .mouth { height: 4px; border-radius: 0 0 6px 6px; }
.tw[aria-pressed="true"] .face { transform: translateY(-8%); }
.tw[aria-pressed="false"] .face { filter: grayscale(.6) brightness(.7); }

/* Notebook: a week of breaks. */
.note { width: min(300px, 100%); border-radius: 14px; overflow: hidden; background: #fff; color: #141414; box-shadow: var(--shadow-lift), 0 0 0 1px #EEE; }
.note .nh { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 14px 10px; background: #F7F3EA; }
.note .nh b { display: block; font: 600 13px/1.25 var(--sans); }
.note .nh small { font-size: 11.5px; color: #6B6B6B; }
.note .nh svg { width: 14px; height: 14px; color: #737373; }
.note ol { list-style: none; margin: 0; padding: 6px 14px 4px; background: repeating-linear-gradient(transparent 0 25px, #EFEFEF 25px 26px); font: 400 12px/26px var(--sans); color: #3D3D3D; }
.note li { display: flex; justify-content: space-between; gap: 8px; }
.note li span:last-child { color: #8A8A8A; font: 400 11px/26px var(--mono); }
.suns { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 10px 10px 12px; border-top: 1px solid #F0F0F0; text-align: center; font-size: 10px; color: #8A8A8A; }
.suns span { overflow: hidden; white-space: nowrap; }
.suns i { display: block; width: 22px; height: 11px; margin: 0 auto 3px; overflow: hidden; position: relative; border-bottom: 1.5px solid #E5E5E5; }
.suns i::after { content: ''; position: absolute; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--sun); top: calc(1px + (1 - var(--l)) * 11px); }
.suns .l100 { --l: 1; } .suns .l80 { --l: .8; } .suns .l50 { --l: .5; } .suns .l0 { --l: 0; }

/* Orbit: every device on one schedule. */
.orbit { position: relative; width: min(500px, 100%); aspect-ratio: 1; margin-inline: auto; }
.orbit .r { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.orbit .r1 { inset: 0; } .orbit .r2 { inset: 10%; } .orbit .r3 { inset: 20%; } .orbit .r4 { inset: 30%; }
.orbit .center { position: absolute; inset: 40%; display: grid; place-items: center; font: 400 22px/1 var(--serif); color: var(--ink); }
.orbit .dev { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px; border-radius: 11px; background: var(--card); box-shadow: 0 2px 8px rgba(0, 0, 0, .08), 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--ink); }
.orbit .dev svg { width: 18px; height: 18px; }
.orbit .dev small { position: absolute; top: 44px; white-space: nowrap; font: 400 10.5px/1 var(--mono); color: var(--muted); }

/* The break, annotated. */
.anno { position: relative; width: 210px; height: 330px; border-radius: 14px; background: linear-gradient(#1B2F52, #584F66 50%, #C98A8A 80%, #F6C772); box-shadow: 0 0 0 1px var(--line); }
.anno .ringa { position: absolute; left: 50%; top: 70px; width: 100px; height: 100px; margin-left: -50px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--sun); border-right-color: var(--sun); }
.anno .bt { position: absolute; left: 30px; right: 30px; height: 26px; border-radius: 999px; }
.anno .b1 { bottom: 52px; background: var(--sun); } .anno .b2 { bottom: 18px; border: 1px solid rgba(255, 255, 255, .5); }
.callout { position: absolute; display: flex; align-items: center; gap: 6px; width: max-content; max-width: 150px; font-size: 12px; line-height: 1.25; color: var(--ink); }
.callout.l > span { text-align: end; }
.callout i { width: 16px; height: 16px; border-radius: 50%; background: #F43F5E; color: #fff; font: 600 9px/16px var(--sans); font-style: normal; text-align: center; flex: none; }
.callout::after { content: ''; height: 1px; width: var(--w, 40px); background: #F43F5E; flex: none; }
.callout.l { inset-inline-end: 100%; }
.callout.r { inset-inline-start: 100%; flex-direction: row-reverse; }
.c1 { top: 22px; --w: 36px; } .c2 { top: 112px; --w: 48px; } .c3 { bottom: 58px; --w: 56px; } .c4 { bottom: 24px; --w: 40px; }
@media (max-width: 640px) {
  .anno { width: 140px; height: 230px; }
  .anno .ringa { top: 46px; width: 70px; height: 70px; margin-left: -35px; }
  .callout { max-width: 92px; font-size: 10.5px; }
  .callout.l { justify-content: flex-end; text-align: end; }
  .callout::after { width: 10px; }
}

/* Feature rows, downloads and privacy: lists in the resources style. */
.rows { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.rows li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.rows .gl { width: 22px; height: 22px; border-radius: 6px; background: var(--soft); color: var(--ink); display: grid; place-items: center; margin-top: 1px; }
.rows .gl svg { width: 13px; height: 13px; }
.rows h3 { font: 500 15px/1.4 var(--sans); }
.rows p { grid-column: 2; margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.platforms { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.platforms li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.platforms .gl { width: 22px; height: 22px; border-radius: 6px; background: var(--soft); display: grid; place-items: center; flex: none; color: var(--ink); }
.platforms .gl svg { width: 13px; height: 13px; }
.platforms .p-name { font-weight: 500; color: var(--ink); }
.platforms .p-how { color: var(--muted); }
.platforms .p-how::before { content: '/'; margin-inline-end: 10px; color: var(--faint); }
.platforms .soon { margin-inline-start: auto; font: 400 12px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.notify { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.notify p { font-size: 14px; color: var(--muted); }
@media (max-width: 480px) { .platforms li { flex-wrap: wrap; } .platforms .soon { flex-basis: 100%; margin-inline-start: 32px; } }

/* --- Pricing ------------------------------------------------------------------- */

.cur { display: inline-flex; padding: 3px; margin-top: 22px; border-radius: 8px; background: var(--soft); gap: 2px; }
.cur button { border: 0; background: transparent; min-height: 32px; min-width: 70px; padding: 0 12px; border-radius: 6px; font: 500 13px/1 var(--sans); color: var(--muted); cursor: pointer; }
.cur button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.plans { margin-top: 18px; display: grid; gap: 12px; }
.plan { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 18px; display: grid; gap: 12px; align-content: start; }
.plan-name { display: flex; align-items: center; gap: 8px; font: 400 24px/1.1 var(--serif); color: var(--ink); }
.plan-name svg { width: 22px; height: 14px; }
.price { font: 400 40px/1 var(--serif); color: var(--ink); }
.plan .lead { color: var(--muted); font-size: 14.5px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14.5px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
.ticks svg { width: 16px; height: 16px; margin-top: 3px; color: var(--ink); }
.terms { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.term { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--paper); }
.term.best { border-color: var(--ink); }
.term .t-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.term .tag { font: 500 10.5px/1 var(--sans); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 3px 6px; background: var(--card); }
.term .amt { font: 400 28px/1.1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.term .per { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.plan .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.plan .actions p { font-size: 13.5px; color: var(--muted); }
.fine { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 560px) { .terms { grid-template-columns: 1fr; } }

.compare-wrap { margin-top: 26px; }
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding-block: 12px; padding-inline: 0 10px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: middle; overflow-wrap: break-word; }
.compare thead th { font: 400 20px/1.2 var(--serif); color: var(--ink); }
.compare tbody th { font-weight: 400; color: var(--text); }
.compare td { width: 22%; color: var(--ink); font-weight: 500; }
.compare td svg { width: 18px; height: 18px; }
.compare .no { color: var(--faint); }
.table-scroll { overflow-x: auto; }

/* --- FAQ ------------------------------------------------------------------------- */

.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font: 500 14.5px/1.4 var(--sans); color: var(--ink); border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 7px; height: 7px; margin-inline-end: 4px; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .a { padding: 0 0 16px; font-size: 14.5px; color: var(--text); display: grid; gap: 10px; }

/* --- Footer: a sketched horizon instead of a skyline ---------------------------- */

.foot { margin-top: 40px; }
.foot .col { padding-top: 40px; border-top: 1px solid var(--line-soft); }
.fsig { display: inline-flex; align-items: center; gap: 8px; font: 400 24px/1 var(--serif); color: var(--ink); text-decoration: none; }
.fsig svg { width: 24px; height: 16px; }
.fsig .bar { fill: currentColor; }
.foot h2 { margin-top: 18px; font-size: 26px; }
.foot .body { font-size: 14px; color: var(--muted); }
.foot .ln { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.foot .ln a { text-decoration: none; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.foot .ln a:first-child { color: var(--ink); font-weight: 500; }
.foot .ln svg { width: 12px; height: 12px; }
.foot nav ul { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 14px; }
.foot nav a { text-decoration: none; color: var(--text); }
.foot nav a:hover { color: var(--ink); }
.foot small { display: block; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); }
.sketch { display: block; width: 100%; height: auto; margin-top: 8px; color: var(--ink); }
.sketch .soft { stroke: var(--faint); }
.sketch .pines { fill: #CFD6C6; }
@media (prefers-color-scheme: dark) { .sketch .pines { fill: #2C3A2E; } }
.up { position: fixed; z-index: 20; inset-inline-end: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.up.show { opacity: 1; transform: none; pointer-events: auto; }
.up svg { width: 16px; height: 16px; }

/* --- Inner pages ------------------------------------------------------------------ */

.page-title { padding: clamp(40px, 8vw, 72px) 0 0; }
.page-title h1 { font-size: 40px; line-height: 1.1; hyphens: auto; }
.doc { padding-block: 28px clamp(48px, 7vw, 80px); }
.doc > .wrap { width: min(var(--col), calc(100% - 32px)); margin-inline: auto; }
.page-title + main > section:first-child { padding-top: 32px; }
.doc .meta { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.doc .draft, .lang-note { margin-top: 20px; border: 1px solid var(--line); background: var(--soft); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--text); }
.lang-note { margin: 0 0 24px; }
.doc h2 { font-size: 26px; margin-top: 44px; }
.doc h3 { font: 600 16px/1.4 var(--sans); margin-top: 26px; }
.doc p, .doc ul, .doc ol { margin-top: 14px; font-size: 15.5px; }
.doc ul, .doc ol { padding-inline-start: 1.3em; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--faint); }
.doc .lead { font-size: 17px; margin-top: 8px; color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14.5px; }
.doc th, .doc td { text-align: start; vertical-align: top; padding-block: 12px 10px; padding-inline: 0 12px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; color: var(--ink); }
@media (max-width: 640px) {
  .doc table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc tr { padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:first-child { font-weight: 600; padding-bottom: 6px; color: var(--ink); }
  .doc td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 6px; }
}
.contact-card { margin-top: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 22px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.contact-card .email { font: 400 clamp(26px, 6vw, 34px)/1.1 var(--serif); overflow-wrap: anywhere; }
.contact-card .email a { border: 0; }
.contact-card .btn { justify-self: start; }
.nf { padding: clamp(40px, 10vw, 100px) 0 20px; }
.nf h1 { font-size: 40px; }
.nf p { margin-top: 14px; font-size: 16.5px; }

/* --- Language menu (the worker adds it to .nav) ---------------------------------- */

.lang { position: relative; margin-inline-start: 6px; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); font: 500 13px/1 var(--sans); cursor: pointer; box-shadow: var(--shadow); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--soft); }
.lang summary svg { width: 14px; height: 14px; flex: none; }
.lang-pop {
  position: absolute; z-index: 30; top: calc(100% + 8px); inset-inline-end: 0;
  width: min(30rem, calc(100vw - 32px)); max-height: min(72vh, 34rem); overflow: auto; overscroll-behavior: contain;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift);
  padding: 12px; display: grid; gap: 10px;
}
.lang-group p { font: 500 11px/1.3 var(--sans); color: var(--muted); padding: 0 8px 4px; }
.lang-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 2px; }
.lang-group a { display: block; padding: 8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; }
.lang-group a:hover { background: var(--soft); }
.lang-group a[aria-current] { background: var(--btn); color: var(--btn-ink); }
.lang-group a:focus-visible { outline-offset: -2px; }

/* --- The break: the app's sky, full screen ------------------------------------------ */

.scene { position: relative; isolation: isolate; --g: 40px; --rise: clamp(14px, 2.2vw, 34px); --sun-size: clamp(48px, 6.5vw, 84px); --clear-top: 88px; }
.layers { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.layers > * { position: absolute; }
.layers .sky { inset: 0; background: var(--sky); }
.layers .stars, .layers .moon { z-index: 6; }
.layers .cloud { width: var(--cloud-w, 150px); height: calc(var(--cloud-w, 150px) * .25); opacity: var(--cloud-opacity); animation: drift-a 70s ease-in-out infinite alternate; }
.layers .pill { position: absolute; border-radius: 999px; background: var(--cloud-color); }
.layers .pill:nth-child(1) { left: 0; top: 32%; width: 100%; height: 52%; }
.layers .pill:nth-child(2) { left: 16%; top: 0; width: 62%; height: 68%; }
.layers .pill:nth-child(3) { left: 50%; top: 60%; width: 42%; height: 40%; }
.layers .cloud-a { left: 3%; top: 13%; --cloud-w: clamp(96px, 11vw, 170px); }
.layers .cloud-b { left: 36%; top: 19%; --cloud-w: clamp(70px, 7.5vw, 120px); opacity: calc(var(--cloud-opacity) * .85); animation-name: drift-b; animation-duration: 90s; }
@keyframes drift-a { to { transform: translateX(36px); } }
@keyframes drift-b { to { transform: translateX(-28px); } }
.layers .sun { left: var(--sun-left, 68%); width: var(--sun-size); height: var(--sun-size); margin-left: calc(var(--sun-size) / -2); border-radius: 50%; background: var(--sun-color); box-shadow: 0 0 calc(var(--sun-size) * .45) calc(var(--sun-size) * .12) var(--sun-glow); }
.layers .ridge { border-radius: 50%; height: 220px; }
.layers .ridge-a { left: -12%; width: 72%; top: calc(100% - var(--g) - var(--rise)); background: var(--ridge-a); }
.layers .ridge-b { left: 46%; width: 78%; top: calc(100% - var(--g) - var(--rise) * .62); background: var(--ridge-b); }
.layers .haze { left: 0; right: 0; height: 56px; top: calc(100% - var(--g) - 46px); background: linear-gradient(to bottom, transparent, var(--haze)); }
.layers .tree { -webkit-mask: url(/img/pine.png) center / 100% 100% no-repeat; mask: url(/img/pine.png) center / 100% 100% no-repeat; background: var(--tree-far); width: calc(var(--h) * .42); height: var(--h); }
.layers .tree.slim { -webkit-mask-image: url(/img/pine-slim.png); mask-image: url(/img/pine-slim.png); width: calc(var(--h) * .34); }
.layers .tree.near { background: var(--tree-near); }
.t1 { --h: clamp(20px, 2.6vw, 38px); left: 3.2%; bottom: calc(var(--g) + var(--rise) * .55); }
.t2 { --h: clamp(15px, 1.9vw, 28px); left: 5.1%; bottom: calc(var(--g) + var(--rise) * .62); }
.t3 { --h: clamp(12px, 1.4vw, 21px); left: 6.6%; bottom: calc(var(--g) + var(--rise) * .66); }
.t4 { --h: clamp(18px, 2.2vw, 32px); left: 78.2%; bottom: calc(var(--g) + var(--rise) * .4); }
.t5 { --h: clamp(13px, 1.6vw, 24px); left: 80.1%; bottom: calc(var(--g) + var(--rise) * .42); }
.t6 { --h: clamp(11px, 1.3vw, 19px); left: 88.4%; bottom: calc(var(--g) + var(--rise) * .5); }
.t7 { --h: clamp(40px, 5vw, 76px); right: 2.2%; bottom: calc(var(--g) - 6px); }
.t8 { --h: clamp(30px, 3.8vw, 56px); right: .2%; bottom: calc(var(--g) - 8px); }
.t9 { --h: clamp(26px, 3vw, 46px); right: 4.6%; bottom: calc(var(--g) - 10px); }
@media (max-width: 479px) { .scene { --sun-left: 76%; } .t4, .t5 { display: none; } }
.layers .stars { left: 0; right: 0; top: 0; height: 40%; opacity: var(--stars, 0); }
.layers .star { position: absolute; border-radius: 50%; background: #FFF6DE; width: var(--sz); height: var(--sz); opacity: var(--peak); animation: twinkle var(--tw) ease-in-out var(--twd) infinite alternate; }
@keyframes twinkle { from { opacity: calc(var(--peak) - .25); } to { opacity: min(1, calc(var(--peak) + .25)); } }
.layers .moon { width: var(--moon, 36px); height: var(--moon, 36px); left: var(--moon-left, 18%); margin-left: calc(var(--moon, 36px) / -2); opacity: var(--moon-o, 0); }
.layers .moon::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; box-shadow: 0 0 22px 6px rgba(243, 233, 207, .28); }
.layers .moon::after { content: ''; position: absolute; inset: 0; background: #F3E9CF; -webkit-mask: url(/img/crescent.png) center / contain no-repeat; mask: url(/img/crescent.png) center / contain no-repeat; }

.brk { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0F211C; color: var(--on-dark); overflow: hidden auto; font-family: var(--sans); }
.brk::backdrop { background: rgba(8, 14, 26, .7); }
.brk[open] { display: flex; flex-direction: column; animation: brk-in .6s ease-out; }
@keyframes brk-in { from { opacity: 0; } }
.brk.out { opacity: 0; transition: opacity .5s; }
.brk .scene { flex: 1 1 64%; --g: 0px; --rise: clamp(16px, 2.6vw, 40px); --sun-size: clamp(52px, 7vh, 84px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px calc(var(--rise) + 16px); }
.brk .layers .sky { background: var(--sky-break, var(--sky)); }
.brk .layers .sun { top: var(--sun-top, 100%); transition: top 1s linear; }
.brk .layers .moon { top: var(--moon-top, 40%); transition: top 1s linear, opacity 1s linear; }
.brk .layers .stars { transition: opacity 1s linear; }
.brk .layers .haze { top: calc(100% - 46px); }
.brk .scene.no-glide .layers > *, .brk .no-glide .arc { transition: none; }
.brk-kicker { position: relative; z-index: 2; font-weight: 500; font-size: 15px; color: var(--on-dark-muted); margin-bottom: 12px; }
.brk .ring { --size: clamp(180px, min(34vh, 60vw), 260px); position: relative; z-index: 2; width: var(--size); height: var(--size); display: grid; place-items: center; }
.brk .ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.brk .ring .track { stroke: rgba(238, 243, 248, .16); }
.brk .ring .arc { stroke: var(--sun); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.brk .ring .disc { position: absolute; inset: 9%; border-radius: 50%; background: rgba(238, 243, 248, .08); box-shadow: inset 0 0 0 1px rgba(238, 243, 248, .08); transition: transform 4.8s ease-in-out; transform: scale(.86); }
.brk .ring.inhale .disc { transform: scale(1); }
.brk .ring .read { position: relative; display: grid; justify-items: center; text-align: center; padding: 0 12%; max-width: 100%; }
.brk .ring .count { font-weight: 300; font-size: calc(var(--size) * .36); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.brk .ring .unit { font-weight: 500; font-size: min(1rem, calc(var(--size) * .07)); line-height: 1.25; margin-top: 4px; transition: opacity .2s; }
.brk .ring .unit.swap { opacity: 0; }
.brk .ring .well { display: none; font: 400 calc(var(--size) * .15)/1.1 var(--serif); }
.brk .ring .well-sub { display: none; color: var(--on-dark-muted); font-size: min(.9375rem, calc(var(--size) * .065)); line-height: 1.4; margin-top: 6px; }
.brk.done .ring .count, .brk.done .ring .unit { display: none; }
.brk.done .ring .well, .brk.done .ring .well-sub { display: block; }
.brk.done .ring .track { stroke: var(--sun); stroke-opacity: .9; }
.brk.done .ring .disc { transform: scale(1); }
.brk-ground { flex: 0 0 auto; position: relative; background: linear-gradient(to bottom, var(--ground, #16302A), var(--ground-deep, #0F211C)); padding: 28px 16px max(28px, env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 18px; text-align: center; }
.brk-instr { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); line-height: 1.45; max-width: 26ch; }
.brk-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brk-actions .btn { min-width: 148px; min-height: 48px; border-radius: 999px; }
.btn-sun { background: var(--sun); color: #14233B; }
.btn-sun:hover { background: #F5C362; }
.btn-ghost { border-color: rgba(238, 243, 248, .55); color: var(--on-dark); background: rgba(238, 243, 248, .06); }
.btn-ghost:hover { background: rgba(238, 243, 248, .14); }
.brk :focus-visible { outline-color: #F6C772; }
.brk-hint { color: var(--on-dark-muted); font-size: .875rem; }
.brk-hint kbd { font: inherit; font-weight: 600; color: var(--on-dark); }
.brk-close { position: absolute; z-index: 3; top: max(12px, env(safe-area-inset-top)); inset-inline-end: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(238, 243, 248, .1); color: var(--on-dark); display: grid; place-items: center; cursor: pointer; }
.brk-close:hover { background: rgba(238, 243, 248, .18); }
.brk-close svg { width: 18px; height: 18px; }
@media (max-height: 520px) {
  .brk .scene { flex-basis: 70%; }
  .brk .ring { --size: clamp(84px, calc(100svh - 236px), 200px); }
  .brk-instr { max-width: 44ch; font-size: 1rem; line-height: 1.35; }
  .brk-kicker { display: none; }
  .brk-ground { padding-top: 16px; gap: 10px; }
  .brk-hint { display: none; }
}
html.brk-open { overflow: hidden; }
@media (max-width: 479px) { .brk .layers .moon { --moon-left: 10%; } }
@media (pointer: coarse) { .brk-hint { display: none; } }

/* --- Hand-drawn mark colours (generated: one rough stroke per shape and colour) --- */
mark.u.sky { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 12' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 7C40 4 100 4 137 6' stroke='%236CC4F0' stroke-width='2.4' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.hl.sky { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 24' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 12C40 9 100 8 137 11' stroke='%23BAE6FD' stroke-width='17' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.ring.sky { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 44' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M70 4C110 3 137 12 136 23C135 35 104 41 68 40C30 39 4 33 5 21C6 10 36 4 82 6' stroke='%236CC4F0' stroke-width='2' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.u.mint { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 12' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 7C40 4 100 4 137 6' stroke='%2334D399' stroke-width='2.4' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.hl.mint { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 24' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 12C40 9 100 8 137 11' stroke='%23A7F3D0' stroke-width='17' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.ring.mint { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 44' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M70 4C110 3 137 12 136 23C135 35 104 41 68 40C30 39 4 33 5 21C6 10 36 4 82 6' stroke='%2334D399' stroke-width='2' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.u.sun { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 12' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 7C40 4 100 4 137 6' stroke='%23F2B544' stroke-width='2.4' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.hl.sun { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 24' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 12C40 9 100 8 137 11' stroke='%23FDE68A' stroke-width='17' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.ring.sun { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 44' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M70 4C110 3 137 12 136 23C135 35 104 41 68 40C30 39 4 33 5 21C6 10 36 4 82 6' stroke='%23F2B544' stroke-width='2' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.u.rose { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 12' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 7C40 4 100 4 137 6' stroke='%23F472B6' stroke-width='2.4' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.hl.rose { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 24' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 12C40 9 100 8 137 11' stroke='%23FBCFE8' stroke-width='17' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.ring.rose { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 44' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M70 4C110 3 137 12 136 23C135 35 104 41 68 40C30 39 4 33 5 21C6 10 36 4 82 6' stroke='%23F472B6' stroke-width='2' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.u.violet { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 12' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 7C40 4 100 4 137 6' stroke='%23A78BFA' stroke-width='2.4' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.hl.violet { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 24' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 12C40 9 100 8 137 11' stroke='%23DDD6FE' stroke-width='17' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
mark.ring.violet { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 44' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M70 4C110 3 137 12 136 23C135 35 104 41 68 40C30 39 4 33 5 21C6 10 36 4 82 6' stroke='%23A78BFA' stroke-width='2' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
/* By night a highlighter is a deep wash under light text, not a pale bar. */
@media (prefers-color-scheme: dark) {
  mark.hl.sky { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 24' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 12C40 9 100 8 137 11' stroke='%231D4A66' stroke-width='17' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
  mark.hl.mint { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 24' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 12C40 9 100 8 137 11' stroke='%231B4D3B' stroke-width='17' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
  mark.hl.sun { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 24' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 12C40 9 100 8 137 11' stroke='%235C4613' stroke-width='17' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
  mark.hl.rose { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 24' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 12C40 9 100 8 137 11' stroke='%235E2446' stroke-width='17' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
  mark.hl.violet { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 24' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Cpath d='M3 12C40 9 100 8 137 11' stroke='%233F3470' stroke-width='17' stroke-linecap='round' fill='none' filter='url(%23r)'/%3E%3C/svg%3E"); }
}

/* --- Scripts other than Latin and Cyrillic -------------------------------------------
   Instrument Serif and Geist draw Latin and Cyrillic; other scripts use the
   system font. Tight tracking breaks joined scripts (Arabic, Urdu) and the
   compact line heights clip vowel signs in Indic scripts. */

html:is([lang=ar], [lang=ur], [lang=bn], [lang=gu], [lang=hi], [lang=kn], [lang=ml], [lang=mr], [lang=ta], [lang=te], [lang=zh-CN], [lang=ko]) * { letter-spacing: normal !important; }
html:is([lang=ar], [lang=ur], [lang=bn], [lang=gu], [lang=hi], [lang=kn], [lang=ml], [lang=mr], [lang=ta], [lang=te], [lang=zh-CN], [lang=ko]) :is(h1, h2, .brk .ring .well) { line-height: 1.35; }
html:is([lang=bn], [lang=gu], [lang=hi], [lang=kn], [lang=ml], [lang=mr], [lang=ta], [lang=te]) h1 { font-size: 30px; }
html:is([lang=bn], [lang=gu], [lang=hi], [lang=kn], [lang=ml], [lang=mr], [lang=ta], [lang=te]) h2 { font-size: 26px; }
html[lang=ur] body { line-height: 1.9; }
html[lang=ur] [lang=en] { line-height: 1.6; }
html[lang=ko] { word-break: keep-all; }
html[lang=zh-CN] :is(h1, h2, h3) { word-break: auto-phrase; }
/* System serif faces are heavier than Instrument Serif; keep them regular. */
html:is([lang=ar], [lang=ur], [lang=bn], [lang=gu], [lang=hi], [lang=kn], [lang=ml], [lang=mr], [lang=ta], [lang=te], [lang=zh-CN], [lang=ko]) :is(h1, h2, .price, .term .amt, .plan-name) { font-family: var(--sans); font-weight: 500; letter-spacing: -.01em; }

/* --- Motion and print ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .layers .cloud, .layers .star { animation: none; }
  .brk[open] { animation: none; }
  .brk .ring .disc, .brk .ring .arc, .brk .layers .sun, .brk .layers .moon, .brk .layers .stars, .scr .sunset, .tw .face, .btn, .up { transition: none; }
}
@media print {
  .top nav, .brk, .up, .sketch, .stage { display: none !important; }
}
