:root {
  --red: #e8352f;
  --red-2: #ff5a4f;
  --red-soft: #fdeceb;
  --ink: #131318;
  --text: #2c2c34;
  --muted: #6d6d79;
  --line: #e8e6e3;
  --bg: #fbfaf8;
  --bg-2: #f3f1ee;
  --card: #ffffff;
  --radius: 26px;
  --shadow: 0 30px 70px -20px rgba(25, 20, 15, .28);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f5f7; --text: #e2e2e7; --muted: #a3a3ae; --line: #2a2a31;
    --bg: #0e0e11; --bg-2: #151519; --card: #1a1a1f; --red-soft: #3b1715;
    --shadow: 0 30px 70px -20px rgba(0, 0, 0, .8);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
svg { display: block; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.14); }
.nav { display: flex; gap: 24px; margin-inline-start: auto; align-items: center; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.lang select { font: inherit; font-size: 13px; font-weight: 600; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
@media (max-width: 760px) { .nav a.hide-sm { display: none; } .nav { gap: 12px; } .brand { font-size: 18px; } }


/* ---------- hero ---------- */
.hero { position: relative; padding: 70px 0 0; text-align: center; overflow: hidden; overflow: clip; }
.stage { overflow: visible; }
html, body { max-width: 100%; overflow-x: clip; }
.hero::before { /* soft dot field */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 9%, transparent) 1.4px, transparent 1.6px);
  background-size: 26px 26px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.dots7 { display: inline-flex; gap: 9px; margin-bottom: 26px; position: relative; }
.dots7 i { width: 12px; height: 12px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 16%, transparent); animation: pop 2.8s ease-in-out infinite; }
.dots7 i.on { background: var(--red); box-shadow: 0 0 0 5px color-mix(in srgb, var(--red) 18%, transparent); }
.dots7 i:nth-child(2) { animation-delay: .1s } .dots7 i:nth-child(3) { animation-delay: .2s } .dots7 i:nth-child(4) { animation-delay: .3s }
.dots7 i:nth-child(5) { animation-delay: .4s } .dots7 i:nth-child(6) { animation-delay: .5s } .dots7 i:nth-child(7) { animation-delay: .6s }
@keyframes pop { 0%, 70%, 100% { transform: scale(1) } 80% { transform: scale(1.35) } }
@media (prefers-reduced-motion: reduce) { .dots7 i { animation: none } }
h1 { position: relative; font-size: clamp(42px, 6.6vw, 78px); line-height: 1.02; letter-spacing: -0.045em; margin: 0 auto 22px; font-weight: 800; color: var(--ink); max-width: 900px; }
h1 em { font-style: normal; color: var(--red); }
.lead { position: relative; font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.actions { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); padding: 11px 20px 11px 16px; border-radius: 14px; }
.store:hover { text-decoration: none; opacity: .9; }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 11px; line-height: 1.1; opacity: .8; }
.store b { display: block; font-size: 17px; line-height: 1.2; font-weight: 600; }
.ghost { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; background: var(--card); }
.ghost:hover { text-decoration: none; border-color: color-mix(in srgb, var(--ink) 30%, transparent); }

/* platform labels (as on bingr.online) */
.plats { position: relative; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 26px auto 0; }
.plats li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-align: start; }
.plats svg { width: 26px; height: 26px; flex: none; }
.plats b { display: block; font-size: 14.5px; line-height: 1.2; font-weight: 600; }
.plats small { display: block; font-size: 12px; line-height: 1.2; color: var(--muted); }
.note { position: relative; color: var(--muted); font-size: 14px; margin: 18px auto 0; }

/* ---------- device composition (realistic frames from devices.css) ---------- */
.stage { position: relative; height: 640px; margin: 56px auto 0; max-width: 1120px; }
.stage .glow { position: absolute; left: 50%; top: 42%; width: 820px; height: 420px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--red) 24%, transparent), transparent); filter: blur(12px); }
.dev { position: absolute; filter: drop-shadow(0 30px 40px rgba(25, 20, 15, .28)); }
.dev .device { margin: 0; }
.dev .device-screen { overflow: hidden; background: #fff; }
/* native frame sizes: MacBook Pro 740x434, iPad Pro 560x778, iPhone 14 Pro 428x868, Watch S8 360x380 */
.dev.mac    { left: 50%; top: 0;     zoom: .96; margin-left: -385px; }
.dev.ipad   { left: 0;   top: 210px; zoom: .5; }
.dev.iphone { right: 110px; top: 160px; zoom: .5; }
.dev.watch  { right: -10px; top: 470px; zoom: .4; }
/* screens are laid out at half the native resolution and doubled, so text stays crisp */
.dev.iphone .scr { width: 195px; height: 415px; zoom: 2; }
.dev.ipad .scr   { width: 253px; height: 362px; zoom: 2; }
.dev.mac .scr    { width: 600px; height: 375px; }
.dev.watch .scr  { width: 134px; height: 162px; zoom: 2; }
@media (max-width: 1100px) { .stage { zoom: .8; } }
@media (max-width: 900px) {
  .stage { zoom: 1; height: 500px; }
  .dev.mac, .dev.ipad { display: none; }
  /* offsets are in the zoomed coordinate space (value x zoom = on screen) */
  .dev.iphone { right: auto; left: 50%; margin-left: -330px; top: 0; zoom: .52; }
  .dev.watch { right: auto; left: 50%; margin-left: 165px; top: 960px; zoom: .34; }
  .stage .glow { width: 100%; }
}

/* app screens */
.scr { background: #fff; color: #15151a; overflow: hidden; display: flex; flex-direction: column; font-size: 9px; text-align: start; }
.dev.watch .device-screen { background: #000; }
.dev.watch .scr { background: #000; color: #fff; border-radius: 0; padding: 14px 12px; font-size: 9px; }
.sbar { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 12px 6px; }
.dev.iphone .sbar { padding-top: 30px; }
.sbar b { font-size: 13px; font-weight: 800; letter-spacing: -.01em; }
.sbar span { font-size: 8.5px; color: var(--red); font-weight: 700; background: #fdeceb; border-radius: 99px; padding: 2px 8px; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); background: #f0f0f3; border-radius: 7px; padding: 2px; margin: 0 10px 6px; }
.seg span { text-align: center; font-size: 7.5px; padding: 3px 0; border-radius: 5px; color: #666; font-weight: 600; }
.seg span.on { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.wgrid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ececf0; min-height: 0; }
.wcol { display: grid; border-right: 1px solid #ececf0; min-height: 0; }
.wcol:last-child { border-right: 0; }
.wcol.l { grid-template-rows: 1fr 1fr 1fr; }
.wcol.r { grid-template-rows: 1fr 1fr .5fr .5fr; }
.dbox { border-bottom: 1px solid #ececf0; padding: 3px 4px; overflow: hidden; }
.dbox.today { background: #f3f3f6; }
.dbox h6 { margin: 0 0 3px; text-align: center; font-size: 7.5px; font-weight: 600; color: #8a8a94; }
.dbox.today h6 { color: var(--red); }
.ad { color: #fff; border-radius: 3px; padding: 1px 4px; margin-bottom: 2px; font-size: 7.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.te { font-size: 7.5px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.te i { display: inline; font-style: normal; color: #fff; border-radius: 2px; padding: 0 2px; margin-inline-end: 3px; }
.mgrid { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: auto; grid-auto-rows: 1fr; border-top: 1px solid #ececf0; min-height: 0; }
.mgrid .wd { font-size: 7px; color: #8a8a94; text-align: center; font-weight: 700; padding: 3px 0; border-bottom: 1px solid #ececf0; }
.mcell { border-bottom: 1px solid #f0f0f3; border-right: 1px solid #f5f5f7; padding: 2px; overflow: hidden; }
.mcell .n { text-align: center; font-size: 8px; font-weight: 600; margin-bottom: 2px; }
.mcell .n.t { color: #fff; background: var(--red); border-radius: 50%; width: 14px; height: 14px; line-height: 14px; margin: 0 auto 2px; }
.mcell.out { opacity: .35; }
.mcell .c { height: 9px; border-radius: 2px; margin-bottom: 1.5px; font-size: 6.5px; color: #fff; padding: 0 2px; white-space: nowrap; overflow: hidden; line-height: 9px; }
.macwin { display: flex; height: 100%; }
.macside { width: 150px; background: #f5f4f2; border-right: 1px solid #e6e4e0; padding: 26px 10px 10px; font-size: 9px; }
.macside .tl { display: flex; gap: 5px; position: absolute; margin-top: -18px; }
.macside .tl i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; } .macside .tl i:nth-child(2) { background: #febc2e } .macside .tl i:nth-child(3) { background: #28c840 }
.macside h5 { margin: 8px 0 5px; font-size: 7.5px; color: #8a8a94; text-transform: uppercase; letter-spacing: .06em; }
.macside p { margin: 0 0 5px; display: flex; align-items: center; gap: 6px; }
.macside p i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.macmain { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.wrow { background: #1c1c1f; border-radius: 9px; padding: 6px 7px; margin-bottom: 5px; border-inline-start: 3px solid var(--red); }
.wrow b { display: block; font-size: 9.5px; }
.wrow small { color: #9a9aa3; font-size: 8px; }
.dev.watch h6 { margin: 0 0 6px; font-size: 10px; color: var(--red); }

/* ---------- sections ---------- */
section { padding: 100px 0; }
.center { text-align: center; }
h2 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -0.035em; color: var(--ink); margin: 0 0 14px; line-height: 1.08; font-weight: 800; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.sub { color: var(--muted); font-size: 18px; margin: 0 auto; max-width: 620px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 18px; margin-top: 54px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.tile h3 { margin: 0 0 6px; font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile .art { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 120px; margin-top: 18px; }
.tile.w2 { grid-column: span 2; }
.tile.h2 { grid-row: span 2; }
.tile.w4 { grid-column: 1 / -1; }
.tile.w4 .wx { max-width: 640px; margin: 0 auto; }
.tile.dark { background: #141418; border-color: #141418; color: #e7e7ec; }
.tile.dark h3 { color: #fff; } .tile.dark p { color: #a7a7b2; }
.tile.red { background: linear-gradient(160deg, var(--red-2), var(--red)); border-color: transparent; color: #fff; }
.tile.red h3 { color: #fff; } .tile.red p { color: rgba(255,255,255,.88); }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile.w2, .tile.w4 { grid-column: auto; } .tile.h2 { grid-row: auto; } }

/* tile art */
.bigweek { width: 100%; max-width: 440px; height: 330px; background: #fff; border-radius: 18px; border: 1px solid #eceae6; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 18px 40px -20px rgba(0,0,0,.25); }
.bigweek .wgrid { font-size: 10px; }
.bigweek .dbox h6 { font-size: 9px; } .bigweek .ad, .bigweek .te { font-size: 9px; }
.heat { display: grid; grid-template-columns: repeat(26, 1fr); gap: 3px; width: 100%; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.heat i.l1 { background: color-mix(in srgb, var(--red) 25%, transparent); }
.heat i.l2 { background: color-mix(in srgb, var(--red) 50%, transparent); }
.heat i.l3 { background: color-mix(in srgb, var(--red) 75%, transparent); }
.heat i.l4 { background: var(--red); }
.heatkeys { display: flex; gap: 4px; align-items: center; justify-content: flex-end; font-size: 12px; color: var(--muted); margin-top: 8px; width: 100%; }
.heatkeys i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.swatch-ring { position: relative; width: 190px; height: 190px; }
.swatch-ring span { position: absolute; width: 36px; height: 36px; border-radius: 50%; left: 50%; top: 50%; margin: -18px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.swatch-ring b { position: absolute; inset: 50px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; padding: 8px; }
.drag { position: relative; width: 100%; max-width: 260px; height: 150px; }
.drag .slot { position: absolute; left: 0; right: 0; height: 40px; border: 2px dashed color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 10px; }
.drag .card-e { position: absolute; left: 14px; right: 14px; height: 40px; border-radius: 10px; background: #007aff; color: #fff; font-size: 13px; font-weight: 600; padding: 10px 12px; box-shadow: 0 16px 30px -12px rgba(0,122,255,.7); animation: lift 3.4s ease-in-out infinite; }
.drag .cursor { position: absolute; width: 22px; height: 22px; animation: lift 3.4s ease-in-out infinite; }
@keyframes lift { 0%, 15% { transform: translate(0, 0) rotate(0) } 45%, 70% { transform: translate(18px, 84px) rotate(-2deg) } 100% { transform: translate(0, 0) rotate(0) } }
@media (prefers-reduced-motion: reduce) { .drag .card-e, .drag .cursor { animation: none } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips span { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); }
.chips span.hot { background: var(--red); color: #fff; border-color: var(--red); }
.sync { width: 100%; max-width: 300px; }
.widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 280px; }
.wg { aspect-ratio: 1; border-radius: 22px; background: #fff; color: #15151a; padding: 14px; box-shadow: 0 14px 30px -16px rgba(0,0,0,.45); display: flex; flex-direction: column; }
.wg .lbl { align-self: flex-start; background: var(--red); color: #fff; font-weight: 700; font-size: 10px; letter-spacing: .04em; border-radius: 99px; padding: 2px 9px; }
.wg .num { font-size: 52px; font-weight: 800; color: var(--red); line-height: 1; margin-top: auto; letter-spacing: -.04em; }
.wg.list { font-size: 11px; gap: 6px; }
.wg.list div { border-inline-start: 3px solid; padding-inline-start: 6px; line-height: 1.25; }
.wg.list small { color: #8a8a94; display: block; font-size: 9.5px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.langs span { padding: 7px 13px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,.18); font-weight: 600; font-size: 14px; }
.wx { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: 100%; }
.wx div { text-align: center; background: var(--bg-2); border-radius: 14px; padding: 10px 4px; font-size: 12px; color: var(--muted); }
.wx svg { width: 26px; height: 26px; margin: 6px auto; color: var(--ink); }
.wx b { color: var(--ink); display: block; font-size: 14px; }

/* closing band */
.closing { padding: 0 0 100px; }
.band { position: relative; overflow: hidden; border-radius: 34px; background: #121216; color: #fff; padding: 64px 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: #b4b4bf; font-size: 18px; margin: 0 0 26px; }
.band .store { background: #fff; color: #111; }
.band .art { display: flex; justify-content: center; }
.band .dots7 i { width: 22px; height: 22px; background: #2b2b31; }
.band .dots7 i.on { background: var(--red); }
.band .dots7 { gap: 14px; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 44px 26px; } }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 0 auto 12px; max-width: 820px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: inline-end; color: var(--red); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.page { padding: 60px 0 90px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(32px, 5vw, 48px); text-align: start; margin-left: 0; }
.page p { font-size: 17px; }
.updated { color: var(--muted); font-size: 14px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }
