/* OBAVO site, new style (2026-11-15, canvas «OBAVO — сайт, новый стиль»): the shared base.
   White paper, near-black ink, soft grey surfaces, hairline cards, pill buttons. One typeface for everything, Manrope,
   as in the iPhone and Mac apps (2026-11-16: a digital product reads better without serifs). Sizes come from one scale:
   a subheading is about half its heading, body text 16. The brand orange only marks small things (a gift, a live dot).
   One file per component: hero.css, ribbon.css + ribbon.js, hub.css, sections.css. */
:root {
  --paper: #ffffff;
  --canvas: #f5f5f5;
  --soft: #fafafa;
  --ink: #333333;  /* a softer black (Vladimir, 2026-11-18 was #0a0a0a; 2026-11-19 #232323 still too hard) */
  --ink-soft: #333333;
  --muted: #737373;
  --quiet: #8f8f8f;
  --hair: #e5e5e5;
  --orange: #F5800F;
  --navy: #0B2242;
  /* Manrope has Latin and Cyrillic; Chinese, Japanese and Arabic fall back to the system's own sans */
  --sans: Manrope, system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans', 'Noto Sans Arabic', Roboto, sans-serif;
  --display: var(--sans);
  /* The type scale: a heading, its subheading at about half, then text */
  --fs-h1: clamp(38px, min(5.4vw, 7.6vh), 76px);
  --fs-lead: clamp(19px, min(2.7vw, 3.8vh), 36px);
  --fs-h2: clamp(30px, 3.6vw, 48px);
  --fs-h3: clamp(18px, 1.8vw, 22px);
  --fs-body: 16px;
  --fs-note: 14px;
  --card-shadow: 0 0 0 1px rgba(23,23,23,.06), 0 1px 3px rgba(0,0,0,.08), 0 1px 2px -1px rgba(0,0,0,.08);
  --lift-shadow: 0 0 0 1px rgba(23,23,23,.06), 0 1px 3px rgba(0,0,0,.08), 0 12px 32px -12px rgba(0,0,0,.12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Headlines: bold and tight, 1.1 line height; a two-part headline has its first part grey and the second ink */
.display { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.quiet { color: var(--quiet); }
.muted { color: var(--muted); }
[lang=ar] .display, [lang=zh] .display, [lang=ja] .display { letter-spacing: 0; }

/* Buttons: pills. Filled ink for the main action, white with a hairline beside it */
.pill { height: 48px; padding: 0 22px; border: 0; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
.pill[hidden] { display: none; } /* a pill the page hides until it applies (site/mac-download.js) */
  font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; }
.pill-ink { background: var(--ink); color: #fafafa; }
.pill-ink:hover { background: #262626; }
.pill-line { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--hair); }
.pill-line:hover { background: var(--soft); }
.pill-sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* Cards: white, 24px corners, a hairline and a whisper of shadow; an inner grey tray for controls */
.card { border-radius: 24px; background: var(--paper); box-shadow: var(--card-shadow); }
.tray { border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px #efefef; }
.cap { font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.gift { flex: none; color: var(--orange); }
