/* Zvenno landing page, in the manner of Apple's product pages and kept quiet: the system font (SF on Apple devices,
   Inter elsewhere), white, light grey and black screens, headlines at weight 600, one accent (Zvenno cyan) for links
   and the main button only, and real screenshots as the only pictures of the product. One idea per screen (.panel).
   Nothing here needs JavaScript; with it, headings and pictures fade in once and the wheel turns one screen. */

:root {
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --tile: #f5f5f7;
  --ink: #1d1d1f;
  --ink2: #6e6e73;
  --ink3: #86868b;
  --line: #d2d2d7;
  --link: #007593;
  --btn: #07d0ff;
  --btn-hover: #00b8e6;
  --on-btn: #00222c;
  --me: #c2410c;
  --phone: #1d1d1f;
  --phone-ring: rgba(0, 0, 0, 0);
  --shadow: 0 32px 60px -36px rgba(0, 0, 0, .45);
  --nav-h: 48px;
  --nav-bg: rgba(255, 255, 255, .8);
  --nav-line: rgba(0, 0, 0, .1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* The type scale: phone size, desktop size. */
  --t-hero: clamp(44px, 5.6vw, 80px);
  --t-chapter: clamp(36px, 4.45vw, 64px);
  --t-story: clamp(30px, 3.35vw, 48px);
  --t-tile: clamp(22px, 1.95vw, 28px);
  --t-stat: clamp(40px, 3.9vw, 56px);
  --t-large: clamp(19px, 1.46vw, 21px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: #fff; background: var(--bg); color: #1d1d1f; color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.47; letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p, figure { margin: 0; }
p, li, summary { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 600; }
code { font-family: inherit; font-size: inherit; font-weight: 600; white-space: nowrap; color: var(--ink); background: none; padding: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
/* An editor mark inside a text: the words that matter, in ink. */
.mark { color: var(--ink); }

/* Buttons and links: one filled pill for the main action, text links with a chevron for the rest. */
.pill { display: inline-block; background: var(--btn); color: var(--on-btn); font-size: 17px; font-weight: 400; line-height: 1.18;
  padding: 12px 22px; border-radius: 980px; transition: background .2s; white-space: nowrap; letter-spacing: -0.01em; }
.pill:hover { background: var(--btn-hover); }
.pill-sm { font-size: 13px; padding: 5px 12px; }
.more { color: var(--link); font-size: 17px; }
.more::after { content: "\00a0\203A"; }
.more:hover { text-decoration: underline; }
/* A link inside a line of text is underlined, not told apart by its colour alone. */
p a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: 28px; }

/* The bar */
.nav { position: sticky; top: 0; z-index: 30; height: var(--nav-h); background: rgba(255, 255, 255, .95); background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-line); }
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .nav { -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
.nav-in { display: flex; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.logo img { margin-right: 8px; border-radius: 6px; }
.links { display: none; margin-left: auto; }
.links a { font-size: 13px; color: var(--ink); opacity: .85; margin-left: 28px; }
.links a:hover { opacity: 1; color: var(--link); }
.tools { margin-left: auto; display: flex; align-items: center; }
.tools .lang, .tools .theme { display: none; }
.lang { font-size: 13px; color: var(--ink2); padding: 6px 8px; border-radius: 8px; }
.lang:hover { color: var(--ink); }
/* Demo (computers only, .only-desk) and Sign in: plain links in the bar's words; the install pill is its one button. */
.signin, .bar-demo { font-size: 13px; color: var(--ink); margin-right: 16px; }
.signin:hover, .bar-demo:hover { color: var(--link); }
.theme { display: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--ink2); cursor: pointer;
  padding: 0; align-items: center; justify-content: center; }
.theme:hover { color: var(--ink); }
.theme svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme .i-moon { fill: currentColor; stroke: none; }
.theme .i-sun { display: none; }
.js .foot .theme { display: inline-flex; }
html:not(.js) .tools .lang { margin-right: 14px; }

/* Screens */
.panel { position: relative; overflow: hidden; background: var(--bg); color: var(--ink); padding: 72px 0;
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); }
.panel > .wrap { width: 100%; }
.tone-gray { background: var(--bg2); --tile: var(--bg); }
.tone-black { background: #000; color: #f5f5f7; --ink: #f5f5f7; --ink2: #a1a1a6; --ink3: #86868b; --line: #424245; --link: #07d0ff;
  --btn: #07d0ff; --btn-hover: #3cdcff; --tile: #1d1d1f; --phone: #2c2c2e; --phone-ring: rgba(255, 255, 255, .14); --shadow: none; }

/* Type */
.eyebrow { font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 10px; }
.eyebrow-me { color: var(--me); }
h2, .h-chapter { font-size: var(--t-chapter); line-height: 1.07; letter-spacing: -0.016em; }
h3 { font-size: var(--t-story); line-height: 1.08; letter-spacing: -0.014em; }
.h-tile { font-size: var(--t-tile); line-height: 1.14; letter-spacing: -0.012em; }
h4 { font-size: var(--t-tile); line-height: 1.14; letter-spacing: -0.012em; }
.sub, .lead { font-size: var(--t-large); line-height: 1.38; font-weight: 600; color: var(--ink2); letter-spacing: -0.012em; margin-top: 16px; }
.body { font-size: 17px; line-height: 1.5; color: var(--ink2); margin-top: 16px; }
.body-ink { color: var(--ink); font-weight: 600; }
.fine { font-size: 12px; line-height: 1.4; color: var(--ink2); letter-spacing: 0; }
.assure { font-size: 14px; color: var(--ink2); margin-top: 16px; }
.pro { font-weight: 600; color: var(--ink2); white-space: nowrap; }
.pro::before { content: "\00b7\00a0"; }
.head { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.head .sub { max-width: 720px; margin-left: auto; margin-right: auto; }
.head-left { margin-left: 0; text-align: left; max-width: none; }
.head-left .sub { margin-left: 0; }

/* Phones: one frame, upright, a screenshot inside. Sized by their width. */
.phone { display: flow-root; background: var(--phone); border-radius: 17.5% / 8.2%; box-shadow: 0 0 0 1px var(--phone-ring), var(--shadow); }
/* The bezel is the picture's margin: a percentage of the phone's own width (padding would take the container's). */
.phone picture { display: block; margin: 2.6%; }
.phone img { width: 100%; border-radius: 15% / 7%; }
/* Two phones: the second straight behind the first, a little smaller and lower, showing its left half (where the
   names and dates are). --w is the front one's width. */
.pair { position: relative; --w: 260px; width: calc(var(--w) * 1.48); height: calc(var(--w) * 2.12); }
.pair .phone { position: absolute; left: auto; right: 0; top: 0; width: var(--w); z-index: 1; }
.pair .phone-back { left: 0; right: auto; top: calc(var(--w) * .28); width: calc(var(--w) * .86); z-index: 0; }

/* Hero: the words, then the phone standing on the bottom edge of the screen. */
.hero { text-align: center; justify-content: flex-start; }
.panel.hero { padding: 0; }
.panel.biz, .panel.site { padding-bottom: 0; }
.hero-copy { padding-top: 40px; }
.hero h1 { font-weight: 600; }
.h1-product { display: block; font-size: 21px; line-height: 1.2; letter-spacing: -0.012em; }
.h1-brand { display: block; margin-top: 6px; font-size: var(--t-hero); line-height: 1.05; letter-spacing: -0.016em; }
.lead { max-width: 760px; margin: 18px auto 0; }
.stage { position: relative; }
.hero-stage { flex: 1 0 auto; min-height: 240px; margin-top: 36px; }
/* The front phone in the middle of the screen, the one behind it to its left (cut by the screen's edge on a phone). */
.hero-stage.pair { --w: min(62vw, 300px); width: calc(var(--w) * 1.48); height: auto; margin-left: calc(50% - var(--w) * .98); margin-right: 0; }

/* At a glance: four figures between hairlines, then the point of it all in one paragraph. */
.glance { justify-content: center; }
.panel.glance { padding-top: clamp(56px, 9vh, 96px); }
.glance > .wrap { flex: none; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { padding: 22px 16px 22px 0; }
.stats li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
.stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat-n { font-size: var(--t-stat); font-weight: 600; line-height: 1; letter-spacing: -0.016em; }
.stat-t { font-size: 14px; line-height: 1.4; color: var(--ink2); margin-top: 10px; max-width: 240px; }
.manifesto { margin: 0; padding: clamp(48px, 8vh, 96px) 0 0; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.2; font-weight: 600;
  letter-spacing: -0.012em; color: var(--ink3); max-width: 1000px; }
.manifesto b, .manifesto strong, .manifesto .mark { color: var(--ink); }

/* Tiles: flat, rounded, on the other grey; a screenshot cut by the tile's edge. */
.tile { position: relative; overflow: hidden; background: var(--tile); border-radius: 28px; padding: 32px 24px 0; display: flex; flex-direction: column; }
.tile .crop { position: relative; flex: 1 0 250px; min-height: 0; margin-top: 28px; overflow: visible; }
.tile .crop > .phone { width: min(250px, 72%); margin: 0 auto; }
.t-p { font-size: 17px; line-height: 1.47; color: var(--ink2); margin-top: 10px; font-weight: 600; }
.t-text-only { padding-bottom: 32px; justify-content: flex-start; }
.t-text-only .h-tile + .t-p + .h-tile { margin-top: 32px; }
.pair-flat { display: flex; align-items: flex-start; justify-content: center; gap: 16px; }
.pair-flat .phone { width: min(220px, 46%); flex: none; }
.tile .pair-flat > .phone { width: min(220px, calc(50% - 8px)); }

/* Two spaces */
.duo { display: grid; grid-template-columns: 1fr; gap: 16px; }
.plain { margin-top: 14px; }
.plain li { padding: 4px 0; font-size: 16px; line-height: 1.35; }
.space .fine { margin-top: 12px; }
.space .more { margin-top: 14px; align-self: flex-start; }
.space-me .more { color: var(--me); }

/* Stories: words and screenshots side by side on wide screens. */
.story-text { max-width: 520px; }
.biz .story-text { max-width: 660px; }
.story-text h3 + .body { margin-top: 20px; }
.story-text .fine { margin-top: 16px; }
.split { display: flex; flex-direction: column; align-items: center; }
.split .story-text { text-align: left; }

/* Business: the chapter's title, then the timeline with its phones standing on the bottom edge. */
.biz { justify-content: flex-start; }
.biz > .wrap { flex: 1; display: flex; flex-direction: column; }
.biz .head { margin-bottom: 40px; }
.biz .story { flex: 1; }
.biz .pair { --w: clamp(200px, 56vw, 260px); margin-top: 32px; height: calc(var(--w) * 1.25); overflow: hidden; }

/* Links */
.links-sec h3 { max-width: 640px; }
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.type { border-top: 1px solid var(--line); padding-top: 18px; }
.type svg { width: 128px; height: 80px; display: block; margin-bottom: 18px; }
.type rect { fill: var(--ink3); opacity: .55; }
.type rect.b { fill: var(--ink); opacity: 1; }
.type path { fill: none; stroke: var(--ink); stroke-width: 1.3; }
.type-name { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.type-name b { display: block; }
.type-ex { font-size: 17px; line-height: 1.47; color: var(--ink2); margin-top: 8px; }

/* Stories beside their phones (templates, MS Project, numbered inspections, the link for clients): the phones, then the
   words; one phone alone where one screen says it all. */
.plan-story .media { --w: clamp(190px, 50vw, 250px); margin-top: 40px; }
.plan-story .media.one { width: var(--w); }
.media.one .phone { width: 100%; }

/* On site: black, drawings and inspections side by side, their phones rising from the bottom edge. */
.site { justify-content: flex-start; }
.site > .wrap { flex: 1; display: flex; flex-direction: column; }
.site .head { margin-bottom: 40px; }
.site-cols { flex: 1; display: grid; grid-template-columns: 1fr; gap: 48px; }
.site-col { display: flex; flex-direction: column; text-align: left; }
.site-col .body { max-width: 480px; margin-left: 0; margin-right: 0; }
.site-col .crop { flex: 1 0 auto; position: relative; height: 300px; margin-top: 32px; overflow: hidden; }
.site-col .crop:not(.pair) > .phone { width: min(250px, 66%); margin: 0 auto; }
.site-col .crop.pair { --w: min(200px, 46vw); width: auto; height: 300px; }
.site-col .crop.pair .phone { left: calc(50% - var(--w) * .26); right: auto; }
.site-col .crop.pair .phone-back { left: calc(50% - var(--w) * .88); right: auto; }

/* Every day: a grid of tiles */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.t-wide .crop, .t-full .crop { flex-basis: 280px; }

/* Teams: words only, four columns between hairlines (two by two on tablets, one under another on phones). */
.cols4 { display: grid; grid-template-columns: 1fr; gap: 0 32px; }
.col { border-top: 1px solid var(--line); padding: 20px 0 24px; }
.col h3 { font-size: var(--t-tile); line-height: 1.14; letter-spacing: -0.012em; }
.col p { font-size: 17px; color: var(--ink2); margin-top: 10px; }
.safe { margin-top: 24px; font-size: 14px; color: var(--ink2); max-width: 760px; }

/* Personal: the two spaces compared */
.cmp { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: collapse; font-size: 15px; line-height: 1.35; text-align: left; }
.cmp th, .cmp td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.cmp thead th { font-size: var(--t-tile); font-weight: 600; letter-spacing: -0.012em; border-bottom-color: var(--ink); padding-bottom: 12px; }
.cmp thead th.cmp-me { color: var(--me); }
.cmp tbody th { color: var(--ink2); width: 24%; }

/* Plans: Free and Pro side by side, Pro on its tile, its terms under its price. The heads stand above the table: on a
   computer they are its top (and the table's own column names are hidden); on phones and tablets they stand one over
   the other, since Pro's terms need the whole width, and the table shows its column names. */
.plans .head { margin-bottom: 28px; }
.plan-heads { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 880px; margin-bottom: 28px; }
.plan-head { display: flex; flex-direction: column; min-width: 0; padding: 0 14px; }
.plan-head.pro-col { background: var(--bg2); border-radius: 22px; padding: 18px 14px 16px; }
.plan-rec { order: -1; font-size: 12px; font-weight: 600; line-height: 17px; color: var(--ink2); }
.plan-head:not(.pro-col) .plan-rec { display: none; }
.plan-name { font-size: var(--t-tile); line-height: 1.14; letter-spacing: -0.012em; margin-top: 4px; }
.plan-price { font-size: var(--t-stat); font-weight: 600; letter-spacing: -0.016em; line-height: 1.05; margin-top: 8px; white-space: nowrap; }
.plan-term { font-size: 14px; color: var(--ink2); margin-top: 6px; }
/* Pro's terms: the term, its price, its price a month; figures in columns. Every row is one line: on narrow phones the
   names get their short forms, and on the narrowest the mark of the cheapest term is left to screen readers. */
.pro-terms { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 12px; max-width: 420px; margin: 16px 0 0;
  font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.pro-terms > div { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline; padding: 5px 0; }
.pro-terms dt, .pro-terms dd { margin: 0; white-space: nowrap; }
.pro-terms dd { text-align: right; }
.term-month { color: var(--ink2); }
.plan-best { display: inline-block; margin-left: 2px; padding: 0 7px; border: 1px solid var(--line); border-radius: 980px;
  font-size: 12px; font-weight: 600; line-height: 18px; color: var(--ink2); font-variant-numeric: normal; }
.short-form { display: none; }
.plans-table { width: 100%; max-width: 880px; margin: 0; border-collapse: separate; border-spacing: 0; table-layout: fixed; text-align: left; }
.plans-table th, .plans-table td { width: 50%; padding: 14px 14px; vertical-align: top; }
.plans-table td { border-top: 1px solid var(--line); font-size: 15px; line-height: 1.38; }
.plans-table .pro-col { background: var(--bg2); }
.plans-table thead .pro-col { border-radius: 22px 22px 0 0; }
.plans-table tbody tr:last-child .pro-col { border-radius: 0 0 22px 22px; }
.plans-table tbody tr:last-child td { padding-bottom: 22px; }
.plans-table td.pro-col { border-top-color: var(--line); }
.plans-table .none { color: var(--ink3); }
.plan-col { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: -0.012em; }
.plans-note { max-width: 680px; margin: 22px 0 0; font-size: 14px; color: var(--ink2); }
.plans-note + .plans-note { margin-top: 6px; }
.plans-note a { color: var(--link); }
.plans-note a:hover { text-decoration: underline; }
.plans .cta { margin-top: 24px; justify-content: flex-start; }
.plans .assure { margin-top: 12px; }

/* Questions */
.faq { justify-content: flex-start; }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 19px; line-height: 1.3; padding: 18px 40px 18px 0; position: relative; letter-spacing: -0.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--ink2); }
.qa details[open] summary::after { content: "\2212"; }
.qa details p { color: var(--ink2); padding: 0 0 20px; max-width: 680px; font-size: 17px; }

/* Install: black, last */
.download .eyebrow { color: var(--ink2); }
.dl-copy { max-width: 640px; }
.steps { margin-top: 32px; border-top: 1px solid var(--line); }
.steps li { display: flex; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.step-n { flex: none; width: 44px; font-size: 28px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--ink2); }
.steps p { color: var(--ink2); font-size: 17px; }
.steps b { color: var(--ink); }
.download .cta { justify-content: flex-start; }
.dl-req { margin-top: 20px; max-width: 520px; }
.dl-demo { margin-top: 6px; max-width: 520px; }
.dl-demo a { color: var(--link); }
.docs { margin-top: 10px; font-size: 14px; color: var(--ink2); }
.docs a { color: var(--link); }
.docs a:hover { text-decoration: underline; }
.dl-qr { display: none; }

/* Footer */
.foot { background: var(--bg2); color: var(--ink2); font-size: 12px; line-height: 1.5; padding: 40px 0 28px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot-h { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.foot-col li { margin-top: 6px; }
.foot-col a { color: var(--ink2); }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 739px) {
  /* Two columns on a phone; the fifth, the legal documents (the longest names in the footer), takes the whole row. */
  .foot-col:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 20px; }
.foot-bar .logo { font-size: 15px; }
.foot-tag { flex: 1 1 200px; }
.foot-tools { display: flex; align-items: center; gap: 4px; }
.foot-tools .lang { font-size: 12px; }
.copy { margin-top: 12px; }
.copy a { color: var(--ink2); }
/* Cookie settings: brings back the question about Yandex Metrica. Like the theme button it needs JavaScript. */
.cookies { display: none; font: inherit; font-size: 12px; color: var(--ink2); background: none; border: 0; border-radius: 8px;
  padding: 6px 8px; cursor: pointer; }
.cookies:hover { color: var(--ink); }
.js .foot .cookies { display: inline-block; }

/* The question about Yandex Metrica (plan 64): at the bottom of the window until it is answered. It stands after the
   footer and sticks to the bottom edge, so at the end of the page it sits below the footer's last line, never over it.
   Hidden until the script shows it. */
.consent { position: sticky; bottom: 0; z-index: 40; background: var(--bg); color: var(--ink); border-top: 1px solid var(--line);
  padding: 12px 0; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.consent[hidden] { display: none; }
.consent-in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; }
.consent-text { flex: 1 1 320px; font-size: 14px; line-height: 1.43; color: var(--ink2); }
.consent-text a { color: var(--link); }
.consent-do { display: flex; align-items: center; gap: 24px; }
button.pill { border: 0; font-family: inherit; cursor: pointer; }
.consent-no { font: inherit; font-size: 17px; line-height: 1.18; letter-spacing: -0.01em; color: var(--link); background: none;
  border: 0; padding: 12px 0; cursor: pointer; }
.consent-no:hover { text-decoration: underline; }

/* The page for an address that doesn't exist (404.html): Russian and English, one under the other on phones. */
.lost > .wrap { display: grid; grid-template-columns: 1fr; gap: 48px; }
.lost section + section { border-top: 1px solid var(--line); padding-top: 48px; }
.lost .more { display: inline-block; margin-top: 24px; }
@media (min-width: 740px) {
  .lost > .wrap { grid-template-columns: 1fr 1fr; }
  .lost section + section { border-top: 0; padding-top: 0; border-left: 1px solid var(--line); padding-left: 48px; }
}

/* Dark: follows the system unless the visitor picked one with the button (data-theme on <html>). */
:root[data-theme="dark"] {
  --bg: #000000; --bg2: #161617; --tile: #1d1d1f; --ink: #f5f5f7; --ink2: #a1a1a6; --ink3: #86868b; --line: #424245;
  --link: #07d0ff; --btn: #07d0ff; --btn-hover: #3cdcff; --me: #ff9f5a; --phone: #2c2c2e; --phone-ring: rgba(255, 255, 255, .12);
  --shadow: none; --nav-bg: rgba(22, 22, 23, .8); --nav-line: rgba(255, 255, 255, .12);
}
:root[data-theme="dark"] body { background: #000; }
:root[data-theme="dark"] .tone-gray { --tile: #1d1d1f; }
:root[data-theme="dark"] #msproject, :root[data-theme="dark"] #office, :root[data-theme="dark"] .everyday { background: var(--bg2); }
:root[data-theme="dark"] .theme .i-moon { display: none; }
:root[data-theme="dark"] .theme .i-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --bg2: #161617; --tile: #1d1d1f; --ink: #f5f5f7; --ink2: #a1a1a6; --ink3: #86868b; --line: #424245;
    --link: #07d0ff; --btn: #07d0ff; --btn-hover: #3cdcff; --me: #ff9f5a; --phone: #2c2c2e; --phone-ring: rgba(255, 255, 255, .12);
    --shadow: none; --nav-bg: rgba(22, 22, 23, .8); --nav-line: rgba(255, 255, 255, .12);
  }
  :root:not([data-theme="light"]) body { background: #000; }
  :root:not([data-theme="light"]) .tone-gray { --tile: #1d1d1f; }
  :root:not([data-theme="light"]) #msproject, :root:not([data-theme="light"]) #office, :root:not([data-theme="light"]) .everyday { background: var(--bg2); }
  :root:not([data-theme="light"]) .theme .i-moon { display: none; }
  :root:not([data-theme="light"]) .theme .i-sun { display: block; }
}

/* Headings and pictures fade in once as they come into view (with JavaScript, where motion is welcome). */
.rv-on .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
.rv-on .rv.in { opacity: 1; transform: none; }
.rv-on:not(.rv-ok) .rv:not(.in) { animation: rv-safe 0s 4s forwards; }
@keyframes rv-safe { to { opacity: 1; transform: none; } }

/* On touch screens a swipe that stops near the edge of a screen settles on it. Soft (proximity), so it never pulls
   back from the footer or from the middle of a tall screen. */
@media (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
  .panel { scroll-snap-align: start; }
  .foot { scroll-snap-align: end; }
  /* With the question shown the page ends below the footer: that end is a resting place too. */
  .consent { scroll-snap-align: end; }
  /* The questions grow as they open: they never snap, or a long answer would pull back. */
  .faq { scroll-snap-align: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@supports (font: -apple-system-body) {
  h2, .h-chapter { letter-spacing: -0.009em; }
  h3 { letter-spacing: -0.004em; }
  .h1-brand { letter-spacing: -0.015em; }
  .h-tile, h4, .col h3, .plan-name, .cmp thead th { letter-spacing: 0.004em; }
}

/* Phones and small tablets: a screen is the part Safari leaves visible with its bars shown (svh, not vh). */
@media (max-width: 979px) {
  .panel { padding: 40px 0; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  .panel.hero, .panel.biz, .panel.site { padding-bottom: 0; }
  .panel.glance { padding-top: 32px; }
  .head { margin-bottom: 32px; }
  .eyebrow { font-size: 17px; margin-bottom: 8px; }
  /* Tall screenshots end in a fade where the screen ends. */
  .biz .pair, .plan-story .media, .site-col .crop { -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
  .plan-story .media { height: calc(var(--w) * 1.5); overflow: hidden; }
  .plan-story .story-text { order: -1; }
  .type svg { width: 96px; height: 60px; }
  .type-name { font-size: 17px; }
  .nav .logo { padding: 9px 0; }
  .signin { padding: 13px 8px; margin: -13px 8px -13px 0; }
  .pill-sm { position: relative; }
  .pill-sm::after { content: ""; position: absolute; inset: -10px -4px; }
  .more { display: inline-block; padding: 10px 0; margin: -10px 0; }
  .foot-col li { margin-top: 0; }
  .foot-col a { display: inline-block; min-width: 44px; padding: 12px 0; font-size: 14px; }
  .foot .theme { width: 44px; height: 44px; }
  .foot .lang, .foot .cookies { padding: 13px 10px; }
  .foot-bar .logo { padding: 11px 0; }
  .plans-note a, .docs a, .qa p a, .consent-text a { padding: 14px 0; }
  .copy a { padding: 16px 0; }
}
@media (max-width: 379px) {
  .lead { font-size: 17px; line-height: 1.41; margin-top: 14px; }
  .h1-product { font-size: 19px; }
  .hero-copy { padding-top: 24px; }
}
/* The smallest phones (iPhone SE, 320 px): the hero's button stays on the first screen. */
@media (max-width: 359px) {
  .h1-brand { font-size: 36px; }
  .hero .cta { margin-top: 20px; gap: 8px 28px; }
}
/* The narrowest phones (320 px): the Business/Personal table a little tighter, so its longest words still fit. */
@media (max-width: 359px) {
  .cmp { font-size: 14px; }
  .cmp th, .cmp td { padding-right: 8px; }
}
/* Pro's terms on phones narrower than 440 px: the short names («12 мес.», «выгоднее»), the long ones for screen
   readers; under 360 px the mark of the cheapest term is for screen readers only. */
@media (max-width: 439px) {
  .pro-terms .short-form { display: inline; }
  .pro-terms .long-form { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 359px) {
  .plan-best { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); padding: 0; border: 0; }
}
@media (max-width: 979px) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .tile, .site-col, .cmp, .plans-table { scroll-snap-align: start; scroll-margin-top: calc(var(--nav-h) + 16px); }
}

/* Tablets */
@media (min-width: 740px) {
  .wrap { padding: 0 40px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats li, .stats li:nth-child(2n) { padding: 26px 20px; border-left: 1px solid var(--line); }
  .stats li:first-child { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 0; }
  .duo { grid-template-columns: 1fr 1fr; gap: 20px; }
  .types { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .t-wide, .t-full { grid-column: 1 / -1; }
  .grid-2 .tile { grid-column: auto; }
  .cols4 { grid-template-columns: repeat(2, 1fr); }
  .site-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  /* Five columns: the page's four and the legal documents, whose names are the longest words in the footer. */
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr); }
  .tile { padding: 36px 32px 0; }
  .t-text-only { padding-bottom: 36px; }
  .cmp { font-size: 17px; }
  .plans-table td { font-size: 17px; padding: 11px 22px; }
  .plans-table th { padding-left: 22px; padding-right: 22px; }
  .plan-head { padding: 0 22px; }
  .plan-head.pro-col { padding: 22px 22px 18px; }
  .pro-terms { font-size: 15px; }
}

/* Desktop: every screen fills the window under the bar. */
@media (min-width: 980px) {
  .links { display: block; }
  .tools { margin-left: 22px; }
  .tools .lang { display: inline-block; margin-right: 2px; }
  .js .tools .theme { display: inline-flex; margin-right: 10px; }
  .wrap { padding: 0 48px; }
  .panel { padding: clamp(56px, 9vh, 96px) 0; }
  .head { margin-bottom: clamp(36px, 6vh, 56px); }
  .eyebrow { font-size: 21px; }

  .hero-copy { padding-top: clamp(40px, 7vh, 80px); }
  .h1-product { font-size: 28px; }
  .h1-brand { margin-top: 8px; }
  .lead { margin-top: 20px; }
  .hero-stage { margin-top: clamp(28px, 5vh, 52px); }
  .hero-stage.pair { --w: clamp(280px, 40vh, 420px); }


  .panel.spaces { padding-top: 44px; padding-bottom: 44px; }
  .spaces .head { margin-bottom: 32px; }
  .space { display: grid; grid-template-columns: 1fr 40%; grid-template-rows: auto auto auto auto auto 1fr; column-gap: 24px; min-height: 380px; }
  .space .plain li { font-size: 15px; }
  .space > :not(.crop) { grid-column: 1; }
  .space > p.eyebrow, .space > h3.h-tile { grid-column: 1 / -1; }
  .space .crop { grid-column: 2; grid-row: 3 / -1; height: auto; margin: 18px 0 0; align-self: stretch; }
  .space .crop > .phone { position: absolute; top: 8px; left: 0; width: 100%; max-width: 300px; }
  .space .more { margin-bottom: 36px; }

  .split { flex-direction: row; align-items: center; justify-content: space-between; gap: 64px; }
  .split .story-text { text-align: left; flex: 0 1 500px; }
  .biz .split { gap: 48px; }
  .biz .split .story-text { flex-basis: 660px; }
  .flip { flex-direction: row-reverse; }

  .biz .head { margin-bottom: 8px; }
  .biz .story { align-items: stretch; }
  .panel.biz { padding-top: clamp(48px, 7vh, 80px); }
  .biz .story-text { align-self: center; padding: 16px 0 24px; }
  .biz .pair { --w: clamp(220px, 29vh, 360px); margin: 24px 0 0; height: auto; overflow: hidden; align-self: stretch; flex: none; }

  .links-sec .head { display: grid; grid-template-columns: 5fr 7fr; gap: 0 48px; align-items: start; margin-bottom: 56px; }
  .links-sec .head .sub { margin-top: 6px; }

  .plan-story .media { --w: clamp(220px, 30vh, 290px); margin: 0 0 0 2%; }
  /* One phone stands in the middle of its side of the screen. */
  .plan-story .media.one { --w: clamp(240px, 33vh, 310px); margin: 0 auto; }

  /* The heads are the table's top: side by side over its two columns, Pro's tile running on into the table. */
  .plan-heads { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-bottom: 0; }
  .plan-head, .plan-head.pro-col { padding: 18px 22px 16px; }
  .plan-head.pro-col { border-radius: 22px 22px 0 0; }
  .plan-head:not(.pro-col) .plan-rec { display: block; }
  .plans-table thead th { padding: 0; }
  .plan-col { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

  .site-cols { gap: 0 48px; grid-template-rows: auto auto 1fr; }
  .site-col { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  .site-col .crop { height: auto; min-height: 280px; }
  .site-col .crop:not(.pair) > .phone { position: absolute; top: 0; left: 50%; width: clamp(240px, 33vh, 340px); transform: translateX(-50%); }
  .site-col .crop.pair { --w: clamp(220px, 31vh, 320px); height: auto; }

  .everyday .head { margin-bottom: 40px; }
  .everyday .tile .crop { flex-basis: min(250px, 30vh); }
  #everyday-reports .t-full { grid-template-columns: 2fr 3fr; min-height: min(600px, calc(100vh - var(--nav-h) - 160px)); }
  #everyday-reports .tile .pair-flat > .phone { width: min(300px, calc(50% - 8px)); }
  .panel.home { padding: clamp(40px, 6vh, 64px) 0; }
  .panel.download { padding: clamp(40px, 6vh, 72px) 0; }
  .home .tile .crop { flex-basis: min(230px, 26vh); }
  /* Personal tiles: the one with the screenshot down the left, the three of words beside it (on tablets two by two). */
  .home .t-pic { grid-row: 1 / span 3; }
  .home .t-pic .crop > .phone { width: min(280px, 72%); }
  /* Plan and budget: two tiles, each with its screen cut by the tile's edge. */
  .money .tile .crop { flex-basis: min(400px, 44vh); }
  .money .tile .crop > .phone { width: min(280px, 72%); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .t-wide { grid-column: span 2; }
  .t-full { grid-column: 1 / -1; }
  .tile .crop { flex-basis: 270px; }
  .t-wide .t-text { max-width: 600px; }
  .t-wide .crop .phone { width: 220px; }
  .t-full { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; min-height: 400px; }
  .t-full .t-text { padding-bottom: 36px; align-self: center; max-width: 440px; }
  /* The phones don't size the tile (they are cut by its edge): the text and the tile's height do. */
  .t-full .crop { height: auto; margin-top: 0; contain: size; }
  .t-full .crop .phone { width: 220px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }

  .cols4 { grid-template-columns: repeat(4, 1fr); gap: 0 40px; }
  .team .head { margin-bottom: 40px; }

  .faq-in { display: flex; align-items: flex-start; }
  .faq .head { flex: 0 0 32%; padding-right: 40px; margin: 0; }
  .qa { flex: 1; }
  /* Twelve questions, closed, still one window high. */
  .qa summary { padding-top: 14px; padding-bottom: 14px; }

  .dl-in { display: flex; align-items: center; justify-content: space-between; }
  .dl-copy { flex: 0 1 620px; }
  /* The two codes side by side, each named under it, the line on the camera once under both. */
  .dl-qr { display: block; flex: none; text-align: center; font-size: 14px; color: var(--ink2); margin-left: 48px; }
  .dl-codes { display: flex; gap: 20px; margin-bottom: 14px; }
  .dl-code img { width: clamp(148px, 12.5vw, 184px); height: auto; background: #fff; padding: 12px; border-radius: 22px; margin: 0 auto 10px; }
  .dl-code figcaption { font-size: 15px; font-weight: 600; color: var(--ink); }
}
/* Short desktop windows: everything a little smaller, so a screen still holds its idea. */
@media (min-width: 980px) and (max-height: 800px) {
  :root { --t-hero: clamp(44px, 4.6vw, 66px); --t-chapter: clamp(36px, 3.8vw, 52px); --t-story: clamp(30px, 2.9vw, 40px); }
  .panel { padding: 44px 0; }
  .panel.biz { padding-top: 32px; }
  .hero-copy { padding-top: 32px; }
  .h1-product { font-size: 24px; }
  .lead { font-size: 19px; margin-top: 14px; }
  .cta { margin-top: 20px; }
  .hero-stage { margin-top: 24px; }
  .head { margin-bottom: 32px; }
  .space { min-height: 0; padding-top: 28px; }
  .spaces .head { max-width: 1100px; margin-bottom: 24px; }
  .panel.spaces { padding: 32px 0; }
  .plain li { padding: 3px 0; }
  .space .more { margin-bottom: 24px; }
  .home .tile .crop { flex-basis: 160px; }
  .panel.home { padding: 32px 0; }
  .home .grid { gap: 16px; }
  .home .t-text-only { padding-top: 26px; padding-bottom: 26px; }
  .home .t-pic { padding-top: 26px; }
  .panel.faq, .panel.download { padding: 28px 0; }
  .qa summary { padding-top: 12px; padding-bottom: 12px; }
  .steps { margin-top: 24px; }
  .steps li { padding: 11px 0; }
  .download .assure { margin-top: 12px; }
  .dl-req { margin-top: 12px; }
}

/* The demo is for computers, as the web dashboard is (plan 58): its links show only on a screen 980 px wide or more with
   a mouse or a trackpad, and stay hidden everywhere else (phones, tablets, touch screens). Last, so nothing above wins. */
.only-desk { display: none; }
@media (min-width: 980px) and (hover: hover) and (pointer: fine) {
  .only-desk { display: revert; }
  /* Its opposite (the page for Direct, plan 60): the store buttons of the first screen, for phones and tablets. */
  .not-desk { display: none; }
}

/* Legal documents (tools/legal_pages.py, tools/legal.html): the bar and the footer of the main page around one reading
   column. Their words are versioned, so none of it is editable in /sadmin. */
.legal { padding: 40px 0 64px; }
.wrap.legal-in { max-width: 800px; }
.legal-text { color: var(--ink); font-size: 17px; line-height: 1.6; overflow-wrap: break-word; }
.legal-text h1 { font-size: clamp(30px, 8.6vw, 36px); line-height: 1.08; letter-spacing: -0.016em; }
.legal-text h2 { font-size: var(--t-tile); line-height: 1.14; letter-spacing: -0.012em; margin: 48px 0 14px;
  scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal-text h3 { font-size: var(--t-large); line-height: 1.25; letter-spacing: -0.012em; margin: 32px 0 10px;
  scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal-text p, .legal-text ul, .legal-text ol, .legal-text blockquote, .legal-table { margin: 0 0 16px; }
.legal-text ul, .legal-text ol { padding-left: 1.4em; }
.legal-text ul { list-style: disc; }
.legal-text ol { list-style: decimal; }
.legal-text li { margin: 0 0 8px; padding-left: .2em; }
.legal-text li > p { margin-bottom: 8px; }
.legal-text li > ul, .legal-text li > ol { margin: 8px 0 0; }
.legal-text li > ul { list-style: circle; }
.legal-text a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.legal-text blockquote { padding: 0 0 0 18px; border-left: 2px solid var(--line); color: var(--ink2); }
.legal-text blockquote > :last-child { margin-bottom: 0; }
/* A table wider than the screen scrolls inside its own box, never the page. */
.legal-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legal-text table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; text-align: left; }
.legal-text th, .legal-text td { text-align: left; vertical-align: top; padding: 12px 20px 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.legal-text th:last-child, .legal-text td:last-child { padding-right: 0; }
.legal-text thead th { font-weight: 600; border-bottom-color: var(--ink); }
.legal-text tbody tr:first-child td { border-top: 1px solid var(--line); }
.legal-text thead + tbody tr:first-child td { border-top: 0; }
.legal-text .al-c { text-align: center; }
.legal-text .al-r { text-align: right; }
/* The edition, and the notes around it: plain, in the secondary grey. */
.legal-text .legal-ver { color: var(--ink2); margin: 14px 0 40px; }
.legal-text .legal-note { color: var(--ink2); margin: 0 0 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.legal-text .legal-past { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink2); }
.legal-text .legal-past p { margin-bottom: 8px; }
.legal-text .legal-past ul { list-style: none; padding: 0; margin: 0; }
.legal-text .legal-past li { padding: 0; margin: 0 0 6px; }
@media (min-width: 740px) {
  .legal { padding: 56px 0 80px; }
  .legal-text h1 { font-size: var(--t-chapter); }
}
@media (min-width: 980px) {
  .legal { padding: 72px 0 96px; }
}
@media (max-width: 979px) {
  /* A link inside the text can be hit in 44 px, as everywhere on the site. */
  .legal-text a { padding: 14px 0; }
}
