:root {
  --blue: #0b84d6; --blue-2: #0a6fb5; --blue-dark-bg: #2e9be6; --grey: #6b7280; --grey-2: #575e6a;
  --ink: #0e1115; --text: #1b2026; --muted: #5d6773; --line: #e3e7ec; --soft: #f4f6f8; --paper: #fff;
  --green: #3ddc6a; --green-deep: #15803d;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; color: #111418; }
h1 { font-size: clamp(34px, 4.2vw, 52px); margin: 18px 0 10px; font-weight: 750; }
h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 34px 0 10px; font-weight: 700; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 19px; color: #3d4652; }
.hidden { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px;
  border-radius: 6px; border: 0; font: 600 17px var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: var(--blue-2); }
.btn-grey { background: var(--grey); }
.btn-grey:hover { background: var(--grey-2); }
.btn.big { min-height: 56px; font-size: 19px; padding: 0 26px; }
.btn small { font-weight: 400; opacity: .8; font-size: 13px; }
.btn.wide { width: 100%; }
.link { display: inline-block; margin-top: 10px; font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.os { display: inline-flex; gap: 4px; }
.os svg { width: 18px; height: 18px; }

/* announcement */
.banner { background: #0a6fb5; color: #fff; }
.banner-in { display: flex; align-items: center; gap: 16px; padding: 12px 24px; }
.banner p { margin: 0; flex: 1; font-size: 16px; }
.banner a { color: #fff; font-weight: 700; }
.banner-x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.banner-x:hover { background: rgba(255, 255, 255, .28); }

/* navigation */
.nav { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.home .nav { background: rgba(17, 20, 24, .82); border-bottom-color: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.nav-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand.small img { height: 40px; }
.links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.links > a, .drop > button { font: 700 15px var(--font); letter-spacing: .03em; text-transform: uppercase; color: #1b2026;
  text-decoration: none; background: none; border: 0; padding: 10px 12px; cursor: pointer; border-radius: 6px; }
.home .links > a, .home .drop > button { color: #fff; }
.links > a:hover, .drop > button:hover, .links > a.on { color: var(--blue); }
.home .links > a:hover, .home .drop > button:hover { color: var(--blue-dark-bg); }
.drop { position: relative; }
.drop > button::after { content: ""; display: inline-block; margin-left: 6px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.menu { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.drop:hover .menu, .drop.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 11px 14px; color: #1b2026; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 6px; }
.menu a:hover { background: var(--soft); color: var(--blue); }
.links > a.donate { min-height: 44px; margin-left: 10px; text-transform: none; letter-spacing: 0; color: #fff !important; font-size: 17px;
  background: var(--blue); padding: 0 20px; }
.links > a.donate:hover { background: var(--blue-2); color: #fff; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; margin: 5px 0; background: #1b2026; border-radius: 2px; }
.home .menu-btn span { background: #fff; }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(180deg, rgba(10, 16, 14, .78), rgba(10, 16, 14, .86)), url(/img/hero-bg.jpg) center / cover; }
.traces { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; padding: 40px 24px 34px; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); color: #fff; margin: 0; font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 4px 30px rgba(0, 0, 0, .4); }
.tagline { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; margin: 4px 0 2px; color: #fff; }
.hero-sub { color: #c9d3ce; font-size: 18px; margin: 0 auto; max-width: 680px; }
.hero hr { width: min(900px, 90%); border: 0; border-top: 1px solid rgba(255, 255, 255, .22); margin: 18px auto 22px; }
.cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-fine { color: #aab6b0; font-size: 15px; margin: 18px 0 0; }

/* home: features + side column */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); }
.feat:first-child { border-top: 0; padding-top: 0; }
.feat.flip .feat-text { order: 2; }
.feat h2 { margin-top: 0; font-size: clamp(26px, 2.8vw, 36px); }
.feat p { color: #3e4a46; font-size: 18px; margin: 0; }
.shot { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid #d9dfdc; box-shadow: 0 16px 40px rgba(16, 30, 24, .14); background: #1e1f22; }
.shot img, .shot video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.side-h { font-size: 28px; margin: 0 0 14px; }
.posts { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.post { display: block; padding: 16px 20px; text-decoration: none; color: var(--text); border-top: 1px solid var(--line); }
.post:first-child { border-top: 0; }
.post b { display: block; font-size: 18px; font-weight: 600; color: #1b2026; }
.post span { color: var(--muted); font-size: 15px; }
.post:hover b { color: var(--blue); }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 24px; background: var(--soft); }
.support { margin-top: 28px; }
.support h3 { margin: 6px 0 8px; font-size: 21px; }
.support p { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.support .btn { width: 100%; }
.support .link { display: block; text-align: center; }
.heart { color: #e5484d; }
.heart svg { width: 26px; height: 26px; }
.band { background: #0f1814; color: #fff; }
.band-in { display: flex; align-items: center; gap: 32px; justify-content: space-between; padding: 44px 24px; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0 0 6px; }
.band p { color: #b8c4be; margin: 0; max-width: 720px; }
.sponsors-strip { text-align: center; padding: 56px 24px 72px; }
.sponsors-strip h2 { margin-top: 0; }
.sponsors-strip p { color: var(--muted); }
.logos { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.slot { display: flex; align-items: center; justify-content: center; width: 220px; height: 96px; border: 2px dashed #cdd5d1; border-radius: 10px; color: #8b9692; text-decoration: none; font-weight: 600; }
.slot:hover { border-color: var(--blue); color: var(--blue); }

/* inner pages */
.narrow-page { max-width: 1060px; padding-bottom: 72px; }
.crumbs { margin-top: 18px; background: #eef0f0; border-radius: 4px; padding: 14px 20px; font-size: 17px; color: #444; }
.crumbs a { color: #444; text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs i { font-style: normal; color: #888; margin: 0 6px; }
.lead-h { margin-top: 6px; }
.os-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 40px; }
.tile.off { opacity: .55; cursor: default; }
.tile.off:hover { transform: none; border-color: #e1e4e3; background: #f6f7f7; }
.tile.off:hover svg { color: #4a4a4a; }
.tile small { font-size: 14px; color: var(--muted); margin-top: -14px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; height: 250px; background: #f6f7f7;
  border: 1px solid #e1e4e3; color: #333; text-decoration: none; font-size: 22px; transition: background .15s, border-color .15s, transform .15s; }
.tile svg { width: 100px; height: 100px; color: #4a4a4a; }
.tile:hover { background: #fff; border-color: var(--blue); transform: translateY(-2px); }
.tile:hover svg { color: var(--blue); }
.note h2 { font-size: 24px; }
.note p { color: #3e4a46; }
.os-page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-bottom: 72px; }
.os-main h2 { font-size: 30px; margin-top: 30px; }
.dl-box { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; border: 1px solid #dfe5f5; background: #f1f5ff; border-radius: 8px; padding: 24px; margin: 14px 0; }
.dl-box .dl { width: min(460px, 100%); justify-content: flex-start; gap: 14px; min-height: 66px; padding: 12px 22px; text-align: left; }
.dl svg { width: 24px; height: 24px; }
.dl-t { display: flex; flex-direction: column; line-height: 1.25; }
.dl-t b { font-size: 18px; font-weight: 650; }
.dl-t small { font-size: 13.5px; font-weight: 400; opacity: .85; }
.dl.dl-off { background: #8f98a3; cursor: default; pointer-events: none; }
.dl-note { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.os-side { padding-top: 18px; }
.os-side h2 { font-size: 30px; margin: 0 0 12px; }
.plat { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.plat a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #1b2026; text-decoration: none; border-top: 1px solid var(--line); font-size: 18px; }
.plat a:first-child { border-top: 0; }
.plat a svg { width: 20px; height: 20px; }
.plat a.on { background: var(--blue); color: #fff; }
.plat a:not(.on):hover { background: var(--soft); }

/* pricing */
.period { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 26px auto; flex-wrap: wrap; }
.seg { border: 1px solid var(--line); background: #fff; padding: 9px 22px; font: 600 15px var(--font); color: var(--muted); cursor: pointer; }
.seg:first-child { border-radius: 8px 0 0 8px; }
.seg:nth-child(2) { border-radius: 0 8px 8px 0; margin-left: -5px; }
.seg.on { background: #111418; border-color: #111418; color: #fff; }
.save { color: var(--green-deep); font-weight: 700; font-size: 14px; margin-left: 12px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; padding: 26px 22px; background: #fff; }
.plan.hl { border: 2px solid var(--blue); box-shadow: 0 18px 44px rgba(11, 132, 214, .14); }
.badge { position: absolute; top: -12px; left: 22px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 21px; }
.tag { color: var(--muted); font-size: 15px; min-height: 48px; margin: 6px 0 14px; }
.price { font-size: clamp(28px, 2.7vw, 38px); font-weight: 800; line-height: 1; white-space: nowrap; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.billed { color: var(--muted); font-size: 14px; min-height: 44px; margin: 8px 0 16px; }
.plan .btn { width: 100%; margin-bottom: 18px; white-space: nowrap; font-size: 16px; }
.plan .btn-outline { background: #fff; color: #1b2026; border: 1px solid #c9d1cd; }
.plan .btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.plan ul { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); }
.plan li { position: relative; padding-left: 24px; margin: 7px 0; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green-deep); font-weight: 800; }
.loading { grid-column: 1 / -1; text-align: center; color: var(--muted); }
.compare { margin: 28px 0; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.compare summary { cursor: pointer; padding: 18px 0; font-weight: 650; }
.table-wrap { overflow-x: auto; padding-bottom: 18px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.compare th, .compare td { padding: 9px 8px; border-top: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare td.y { color: var(--green-deep); font-weight: 800; }
.compare td.n { color: #b8c1bc; }

/* blog, docs, about */
.blog-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.blog-item a h2 { margin: 0; color: #111418; }
.blog-item a:hover h2 { color: var(--blue); }
.blog-item a { text-decoration: none; }
.date { color: var(--muted); margin: 6px 0 10px; font-size: 15px; }
.post-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-bottom: 72px; }
.post-page .side { padding-top: 92px; }
.prose { max-width: 760px; }
.prose p, .prose li { color: #34413c; }
.prose figure { margin: 22px 0; border-radius: 10px; overflow: hidden; border: 1px solid #dde3e0; }
.prose details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.prose summary { cursor: pointer; padding: 12px 0; font-weight: 650; }
.toc { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.toc a { padding: 6px 14px; color: #3e4a46; text-decoration: none; font-size: 16px; }
.toc a:hover { color: var(--blue); border-left: 2px solid var(--blue); margin-left: -2px; }
.legal .updated { color: var(--muted); }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; color: #34413c; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green-deep); font-weight: 800; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tier { border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.tier:first-child { border-color: #c8b46a; background: #fffbea; }
.tier h3 { margin: 0 0 8px; }
.tier p { margin: 0; color: var(--muted); font-size: 15px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0; }

/* donate */
.donate-page { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; padding-bottom: 80px; align-items: start; }
.donate-form { margin-top: 18px; background: #fff; box-shadow: 0 20px 50px rgba(16, 30, 24, .10); }
.donate-form h2 { margin: 0 0 16px; font-size: 24px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: block; text-align: center; padding: 12px 6px; border: 1px solid #cfd6d3; border-radius: 8px; font-weight: 700; cursor: pointer; }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid rgba(11, 132, 214, .35); }
.field { display: block; font-weight: 600; font-size: 15px; margin: 12px 0; }
.field input, .field textarea { display: block; width: 100%; margin-top: 6px; font: 16px var(--font); padding: 11px 12px; border: 1px solid #cfd6d3; border-radius: 8px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 132, 214, .15); }
.donate-form .btn { margin-top: 8px; }

/* footer */
.foot { background: #111418; color: #9fada6; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 48px 24px 28px; }
.foot-grid b { display: block; color: #fff; margin-bottom: 8px; }
.foot-grid a { display: block; color: #9fada6; text-decoration: none; margin: 5px 0; }
.foot-grid a:hover { color: #fff; }
.foot .brand { color: #fff; font-size: 17px; }
.foot-grid a.brand { display: flex; margin: 0 0 6px; }
.foot-end { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 24px 28px; border-top: 1px solid #1f2b25; }
.foot-end a { color: #9fada6; }

@media (max-width: 1080px) {
  .home-grid, .os-page, .post-page, .donate-page { grid-template-columns: 1fr; }
  .post-page .side, .os-side { padding-top: 0; }
  .plans, .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1120px) {
  .menu-btn { display: block; }
  .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
    max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav.open .links { display: flex; }
  .home .links > a, .home .drop > button { color: #1b2026; }
  .links > a, .drop > button { text-align: left; width: 100%; padding: 12px 8px; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
  .drop.open .menu { display: block; }
  .links > a.donate { margin: 10px 0 0; justify-content: center; }
}
@media (max-width: 900px) {
  .feat, .feat.flip { grid-template-columns: 1fr; }
  .feat.flip .feat-text { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-in { padding: 64px 16px 56px; }
  .cta .btn { width: 100%; }
  .os-tiles, .plans, .tiers { grid-template-columns: 1fr; }
  .tile { height: 180px; }
  .tile svg { width: 72px; height: 72px; }
  .foot-grid { grid-template-columns: 1fr; }
  .banner p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* device frames: the app in a Mac laptop or a Windows laptop */
.device { margin: 0; padding: 0 6%; filter: drop-shadow(0 24px 40px rgba(16, 30, 24, .22)); }
.lid { background: #0d0f12; border-radius: 16px 16px 4px 4px; padding: 2.6% 2.6% 3%; position: relative; }
.device.mac .lid { border: 1px solid #2c3036; }
.device.mac .lid::before { content: ""; position: absolute; top: .9%; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #1d2228; box-shadow: inset 0 0 0 2px #2b3138; }
.device.win .lid { background: #1a1c20; border-radius: 10px 10px 3px 3px; padding: 2% 2% 2.6%; border: 1px solid #33363c; }
.screen { position: relative; overflow: hidden; border-radius: 4px; background: #1e1f22; }
.pic img, .pic video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8.8; object-fit: cover; }
.wbar { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; font-size: 11px; color: #9da0a8; background: #2b2d30; border-bottom: 1px solid #393b40; }
.light-app .wbar { background: #ececec; color: #555; border-bottom-color: #d5d5d5; }
.wbar b { flex: 1; text-align: center; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wbar.mac i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; flex: none; }
.wbar.mac i:nth-child(2) { background: #febc2e; } .wbar.mac i:nth-child(3) { background: #28c840; }
.wbar.mac b { margin-right: 40px; }
.wbar.win { padding: 0 0 0 10px; gap: 0; }
.wbar.win b { text-align: left; }
.wbar.win span { width: 34px; text-align: center; font-size: 11px; line-height: 22px; }
.wbar.win span.x:hover { background: #e81123; color: #fff; }
.taskbar { display: flex; justify-content: center; gap: 8px; height: 20px; align-items: center; background: rgba(32, 34, 38, .96); border-top: 1px solid #34373d; }
.light-app .taskbar { background: rgba(243, 243, 243, .96); border-top-color: #dcdcdc; }
.taskbar i { width: 12px; height: 12px; border-radius: 3px; background: #5b6170; }
.taskbar i.start { background: linear-gradient(135deg, #3b9cff, #1f6fe0); }
.taskbar i.lit { background: #3ddc6a; box-shadow: 0 6px 0 -4px #9fb3a7; }
.base { height: 0; margin: 0 -6%; position: relative; }
.device.mac .base { height: 16px; background: linear-gradient(#d9dce0, #a9adb3 70%, #8d9197); border-radius: 0 0 14px 14px / 0 0 10px 10px; }
.device.mac .base::before { content: ""; position: absolute; top: 0; left: 50%; width: 18%; height: 6px; margin-left: -9%; background: #b7bbc1; border-radius: 0 0 8px 8px; }
.device.win .base { height: 13px; background: linear-gradient(#3a3d43, #24262a); border-radius: 0 0 10px 10px; margin: 0 -5%; }
.device.win .base::before { content: ""; position: absolute; top: 0; left: 50%; width: 14%; height: 4px; margin-left: -7%; background: #4a4e55; border-radius: 0 0 6px 6px; }
.render { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid #e3e7ec; background: #eef0f2; position: relative; box-shadow: 0 16px 40px rgba(16, 30, 24, .12); }
.render figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 13px; color: #59625e; background: rgba(255, 255, 255, .8); padding: 3px 10px; border-radius: 999px; }
.theme-switch { display: flex; align-items: center; gap: 4px; justify-content: flex-end; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.theme-switch span { margin-right: 8px; }
.theme-switch button, .cur-switch button { border: 1px solid var(--line); background: #fff; padding: 6px 14px; font: 600 14px var(--font); color: var(--muted); cursor: pointer; }
.theme-switch button:first-of-type, .cur-switch button:first-child { border-radius: 8px 0 0 8px; }
.theme-switch button:last-child, .cur-switch button:last-child { border-radius: 0 8px 8px 0; margin-left: -5px; }
.theme-switch button.on, .cur-switch button.on { background: #111418; border-color: #111418; color: #fff; }
.cur-switch { display: inline-flex; margin-left: 18px; }
.feat .device, .feat .render { min-width: 0; }

/* App Builder (coming soon) */
.builder { background: linear-gradient(135deg, #0f1814, #13261c); color: #fff; overflow: hidden; }
.builder-in { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: center; padding: 56px 24px; }
.builder h2 { color: #fff; font-size: clamp(30px, 3.4vw, 42px); margin: 10px 0 12px; }
.builder p { color: #c3cec8; font-size: 18px; }
.soon { display: inline-block; background: rgba(61, 220, 106, .16); color: var(--green); border: 1px solid rgba(61, 220, 106, .4); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.ticks.light li { color: #d5ded9; }
.ticks.light li::before { color: var(--green); }
.phone { width: 300px; margin: 0 auto; border-radius: 42px; padding: 12px; background: #050607; box-shadow: 0 0 0 2px #2a2e33, 0 30px 70px rgba(0, 0, 0, .5); }
.phone-in { position: relative; border-radius: 32px; background: #f2f4f6; padding: 38px 14px 18px; color: #1b2026; min-height: 560px; }
.notch { position: absolute; top: 10px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: #050607; border-radius: 14px; }
.app-top { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 4px 12px; }
.app-top b { font-size: 20px; }
.online { font-size: 11px; color: var(--green-deep); font-weight: 700; }
.w { background: #fff; border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(16, 30, 24, .06); display: block; font-size: 13px; color: #59625e; }
.w small { display: block; color: #1b2026; font-weight: 700; font-size: 14px; margin-top: 4px; }
.w-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gauge { text-align: center; }
.gauge svg { width: 100%; height: auto; }
.g-bg, .g-val { fill: none; stroke-width: 10; stroke-linecap: round; }
.g-bg { stroke: #e6eae8; } .g-val { stroke: #f08c2e; }
.gauge b { display: block; margin-top: -18px; font-size: 18px; color: #1b2026; }
.toggle { width: 46px; height: 26px; border-radius: 13px; background: #cfd6d3; position: relative; margin-top: 8px; }
.toggle i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.toggle.on { background: var(--green-deep); } .toggle.on i { left: 23px; }
.slider { height: 8px; border-radius: 4px; background: #e6eae8; margin-top: 10px; }
.slider i { display: block; height: 100%; border-radius: 4px; background: var(--blue); }
.chart { width: 100%; height: 60px; margin-top: 6px; }
.chart polyline { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linejoin: round; }
.btn-w { border: 0; font: 700 14px var(--font); color: #1b2026; cursor: default; text-align: center; padding: 16px; }
.btn-w.on { background: var(--blue); color: #fff; }

/* account page */
.account-page { padding-bottom: 72px; }
.acc-signin { display: flex; justify-content: center; padding: 40px 0; }
.acc-box { width: min(440px, 100%); background: #fff; box-shadow: 0 20px 50px rgba(16, 30, 24, .10); }
.acc-box h1 { font-size: 32px; margin-top: 0; }
.acc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 22px; background: #f1f4f3; border-radius: 10px; }
.acc-tabs button { font: 600 15px var(--font); padding: 9px 8px; border: 0; border-radius: 7px; background: none; color: #56615d; cursor: pointer; }
.acc-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16, 30, 24, .12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 14px 0 18px; line-height: 1.4; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.acc-start { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--blue-soft, #eef7fd); border: 1px solid #cfe6f7; margin-top: 10px; }
.acc-start h2 { margin: 4px 0; font-size: 24px; }
.acc-start p { margin: 4px 0 0; max-width: 620px; }
.acc-msg { min-height: 22px; font-size: 15px; margin: 10px 0 0; }
.acc-msg.err { color: #c0392b; } .acc-msg.ok { color: var(--green-deep); }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc-head h1 { margin-bottom: 0; }
.acc-plan { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff; margin-top: 10px; }
.acc-plan h2 { margin: 4px 0; font-size: 32px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.acc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.acc-grid .card { background: #fff; }
.acc-grid h3 { margin: 0 0 4px; }
.big { font-size: 34px; font-weight: 800; margin: 0; }
.pack-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pack-row .btn { min-height: 38px; font-size: 15px; padding: 0 14px; }
.dev { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.dev:first-child { border-top: 0; }
.dev span { color: var(--muted); font-size: 14px; display: block; }
.dev button { border: 1px solid #d4dad7; background: #fff; border-radius: 6px; padding: 6px 12px; font: 600 14px var(--font); cursor: pointer; color: #b42318; }
.table-card { padding: 8px 20px; background: #fff; }
.pay-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pay-table td, .pay-table th { padding: 10px 6px; border-top: 1px solid var(--line); text-align: left; }
.pay-table tr:first-child td, .pay-table tr:first-child th { border-top: 0; }
.pay-table .num { text-align: right; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pill.ok { background: #e3f6e9; color: var(--green-deep); } .pill.wait { background: #fff4d6; color: #8a6100; } .pill.bad { background: #fde7e7; color: #b42318; }
.renew-form { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: end; margin-top: 12px; }
.renew-form select, .renew-form input { font: 16px var(--font); padding: 10px 12px; border: 1px solid #cfd6d3; border-radius: 8px; width: 100%; }
.plans .plan .btn[disabled] { opacity: .5; cursor: default; }
@media (max-width: 1080px) { .builder-in { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .acc-grid, .renew-form { grid-template-columns: 1fr; } .cur-switch { margin: 10px 0 0; } }

.robot-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; padding: 8px 24px 64px; }
.robot-art { display: flex; justify-content: center; }
.robot-shot { margin: 0; width: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); background: #eef0f2; }
.robot-shot img { display: block; width: 100%; height: auto; }
.robot-shot figcaption { font-size: 12px; color: #59625e; padding: 8px 14px; background: #f4f6f7; }
@media (max-width: 1080px) { .robot-in { grid-template-columns: 1fr; } .robot-art { order: 2; } }
.steps-list { padding-left: 22px; color: #34413c; }
.steps-list li { margin: 8px 0; padding-left: 4px; }

/* sponsors: one line of logos that scrolls by itself (two copies of the row loop without a jump) */
.marquee { overflow: hidden; margin-top: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 14px; padding-right: 14px; }
.marquee .slot { flex: none; width: 150px; height: 60px; font-size: 14px; border-width: 1.5px; }
.marquee .slot img { max-width: 80%; max-height: 70%; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .marquee-group[aria-hidden] { display: none; }
}
.dots { display: none; }
.foot .short { display: none; }

/* phones: rows that swipe sideways and side-by-side columns instead of long stacks */
@media (max-width: 700px) {
  .swipe, .plans { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; margin: 0 -16px;
    padding: 4px 16px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .swipe::-webkit-scrollbar, .plans::-webkit-scrollbar { display: none; }
  .swipe > *, .plans > .plan { flex: 0 0 86%; min-width: 0; scroll-snap-align: start; }
  .plans > .loading { flex: 1 0 100%; }
  .dots { display: flex; justify-content: center; gap: 7px; margin: 12px 0 2px; }
  .dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #c9d1cd; cursor: pointer; transition: width .2s, background .2s; }
  .dots button.on { width: 22px; background: var(--blue); }
  .home-grid { padding-top: 22px; padding-bottom: 28px; gap: 26px; }
  .home-grid > *, .os-page > *, .post-page > * { min-width: 0; }
  .theme-switch { margin-bottom: 10px; }
  .feat-row .feat, .feat-row .feat.flip { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 12px; padding: 12px;
    border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .feat-row .feat:first-child { padding-top: 12px; border-top: 1px solid var(--line); }
  .feat-row .feat > :not(.feat-text) { order: -1; }
  .feat-row .feat h2 { font-size: 20px; margin: 0 0 6px; }
  .feat-row .feat p { font-size: 15px; line-height: 1.5; }
  .side-h { font-size: 22px; margin-bottom: 10px; }
  .post { padding: 11px 14px; }
  .post b { font-size: 16px; }
  .post span { font-size: 13px; }
  .support { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; padding: 16px; margin-top: 20px; }
  .support .heart { display: none; }
  .support h3, .support p { grid-column: 1 / -1; margin: 0; }
  .support h3 { font-size: 18px; }
  .support p { font-size: 14.5px; }
  .support .btn { width: auto; }
  .support .link { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: #fff;
    text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
  .builder-in { padding: 34px 16px 26px; gap: 22px; }
  .robot-in { padding: 0 16px 34px; gap: 18px; }
  .builder h2 { font-size: 28px; margin: 0 0 8px; }
  .builder p { font-size: 15.5px; }
  .builder .ticks li { font-size: 14.5px; margin: 6px 0; }
  .phone { zoom: .8; }
  .sponsors-strip { padding: 32px 16px 36px; }
  .sponsors-strip p { font-size: 15px; margin: 0; }
  .marquee { margin-top: 16px; }
  .marquee .slot { width: 118px; height: 48px; font-size: 13px; }
}
@media (max-width: 600px) {
  .hero-in { padding: 34px 16px 28px; }
  .hero hr { margin: 14px auto 18px; }
  .cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta .btn { width: auto; padding-left: 8px; padding-right: 8px; font-size: 15px; }
  .cta .big { grid-column: 1 / -1; order: -1; }
  .hero-fine { font-size: 13px; margin-top: 14px; }
  .os-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 28px; }
  .tile { height: 116px; gap: 10px; font-size: 15px; }
  .tile svg { width: 40px; height: 40px; }
  .tile small { margin-top: -6px; font-size: 12px; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tier { padding: 12px; }
  .tier h3 { font-size: 16px; margin-bottom: 4px; }
  .tier p { font-size: 13.5px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; padding: 28px 16px 14px; font-size: 14px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-grid > div:first-child p { margin: 6px 0 0; }
  .foot-grid a { margin: 4px 0; }
  .foot .long { display: none; }
  .foot .short { display: inline; }
  .foot-end { padding: 14px 16px 22px; font-size: 13px; }
}
