/* Calendar Restore — site styles. Colors from the app icon (#F24D47 → #C72133) and the deep plum
   of the App Store screenshots. */
:root {
  --red: #e2373d;
  --red-light: #f24d47;
  --red-dark: #c72133;
  --plum: #2a0f1f;
  --plum-2: #4a1220;
  --bg: #ffffff;
  --surface: #f6f3f4;
  --text: #1d1d1f;
  --muted: #6e6a6c;
  --line: #e6dfe1;
  --link: #c72133;
  --radius: 18px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141013;
    --surface: #1f181c;
    --text: #f5f2f3;
    --muted: #a99fa3;
    --line: #34292e;
    --link: #ff6b6b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
}
a { color: var(--link); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--red-dark) 0%, var(--plum-2) 55%, var(--plum) 100%); color: #fff; overflow: hidden; }
.hero .wrap { padding-top: 72px; padding-bottom: 0; text-align: center; }
.hero .icon { width: 112px; height: 112px; margin: 0 auto 22px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -0.03em; }
.hero p.lead { font-size: clamp(18px, 2.4vw, 22px); color: rgba(255,255,255,.86); max-width: 680px; margin: 0 auto 28px; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  color: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 15px; text-decoration: none; }
.hero .meta { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.7); }
.hero .shot { margin: 48px auto -6px; max-width: 980px; }

/* Sections */
section.block { padding: 84px 0; }
section.block.alt { background: var(--surface); }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; }
.section-lead { color: var(--muted); font-size: 19px; max-width: 700px; margin: 0 0 40px; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: 1.25fr 1fr; }
.split.reverse .text { order: 2; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.block:not(.alt) .card { background: var(--surface); }
.card h3 { margin: 12px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark)); }
.dot svg { width: 22px; height: 22px; }
ul.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
ul.ticks li { padding-left: 28px; position: relative; margin: 10px 0; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark)); }
.note { color: var(--muted); font-size: 15px; }

/* Documents (support, privacy) */
.doc-hero { background: linear-gradient(135deg, var(--red-dark) 0%, var(--plum-2) 60%, var(--plum) 100%); color: #fff; }
.doc-hero .wrap { padding: 56px 24px 48px; }
.doc-hero h1 { margin: 0 0 8px; font-size: clamp(32px, 5vw, 46px); letter-spacing: -0.02em; }
.doc-hero p { margin: 0; color: rgba(255,255,255,.85); font-size: 19px; }
.doc-hero.with-shot { overflow: hidden; }
.doc-hero.with-shot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 36px; align-items: end; padding-bottom: 0; }
.doc-hero.with-shot .text { padding-bottom: 56px; align-self: center; }
.doc-hero.with-shot .shot { margin-bottom: -8px; }
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.doc h2 { font-size: 26px; margin: 40px 0 10px; }
.doc h2:first-child { margin-top: 0; }
.doc li { margin: 6px 0; }

/* Form */
form.support { display: grid; gap: 16px; margin-top: 20px; }
form.support label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
form.support .opt { font-weight: 400; color: var(--muted); }
form.support input, form.support textarea {
  font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; width: 100%; }
form.support textarea { min-height: 150px; resize: vertical; }
form.support input:focus, form.support textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button.send { justify-self: start; font: inherit; font-weight: 650; color: #fff; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark)); border-radius: 999px; padding: 12px 28px; }
button.send[disabled] { opacity: .6; cursor: default; }
.form-status { font-weight: 600; }
.form-status.ok { color: #1f8a4c; }
.form-status.err { color: var(--red); }
.hours { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Interactive demo — always dark, like the app screenshots */
.demo-hint { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: flex-start; justify-content: space-between; margin: -16px 0 18px; color: var(--muted); font-size: 15px; }
#demo { position: relative; }
.demo-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.demo-steps li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); background: var(--bg); }
.demo-steps li i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: var(--text); font-style: normal; font-weight: 700; font-size: 12px; }
.demo-steps li.now { color: var(--text); border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.demo-steps li.now i { background: linear-gradient(135deg, var(--red-light), var(--red-dark)); color: #fff; }
.demo-steps li.done i { background: #30a14e; color: #fff; }
.demo-steps li.done span { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.demo-steps li.finish { color: #fff; background: #30a14e; border-color: #30a14e; padding-left: 14px; font-weight: 600; }
.demo-dock { display: flex; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: -14px auto 0; position: relative; z-index: 2; padding: 8px 10px; border-radius: 20px;
  background: color-mix(in srgb, #2a2a2c 88%, transparent); border: 1px solid #48484a; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.demo-dock button { position: relative; display: grid; justify-items: center; gap: 4px; min-width: 96px; padding: 4px 8px 8px; font: inherit; font-size: 12px; font-weight: 600; color: #d1d1d6; background: none; border: 0; border-radius: 12px; cursor: pointer; }
.demo-dock button:hover { background: rgba(255,255,255,.08); }
.demo-dock button img, .demo-dock .cal-icon { width: 42px; height: 42px; transition: transform .15s; }
.demo-dock button:hover img, .demo-dock button:hover .cal-icon { transform: translateY(-3px); }
.demo-dock button.on::after { content: ""; position: absolute; bottom: 1px; width: 4px; height: 4px; border-radius: 50%; background: #d1d1d6; }
.cal-icon { display: grid; grid-template-rows: 13px 1fr; border-radius: 10px; background: #fff; color: #1d1d1f; overflow: hidden; font-size: 22px; font-weight: 500; line-height: 1; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.cal-icon b { display: grid; place-items: center; background: #ff3b30; color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .04em; }
.cal-icon { padding-bottom: 3px; align-items: center; }
.demo-bubble { position: absolute; z-index: 50; max-width: 270px; padding: 13px 17px; border-radius: 22px; background: #fff; color: #1d1d1f; font-size: 15px; font-weight: 600; line-height: 1.35;
  box-shadow: 0 14px 36px rgba(42,15,31,.35), 0 0 0 1px rgba(0,0,0,.06); pointer-events: none; animation: bubble-in .2s ease-out; }
.demo-bubble::before, .demo-bubble::after { content: ""; position: absolute; left: var(--tail, 50%); border-radius: 50%; background: #fff; box-shadow: 0 4px 10px rgba(42,15,31,.25); }
.demo-bubble::before { width: 14px; height: 14px; bottom: -11px; translate: -50% 0; }
.demo-bubble::after { width: 8px; height: 8px; bottom: -22px; translate: -30% 0; }
.demo-bubble.below::before { bottom: auto; top: -11px; }
.demo-bubble.below::after { bottom: auto; top: -22px; }
.demo-bubble[hidden] { display: none; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(6px) scale(.96); } }
.demo-reset { font: inherit; font-size: 14px; font-weight: 600; color: var(--link); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.demo-window { --line-d: #333; z-index: 1; display: grid; grid-template-columns: 200px minmax(0, 1fr); background: #1e1e1e; color: #ececec; border: 1px solid #3a3a3a; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(42,15,31,.28), 0 2px 8px rgba(0,0,0,.2); font-size: 13px; line-height: 1.3; position: relative; }
.demo-window.sb-hidden { grid-template-columns: minmax(0, 1fr); }
.demo-window.sb-hidden .demo-cals { display: none; }
.demo-main { min-width: 0; display: flex; flex-direction: column; }
.demo-cals { display: flex; flex-direction: column; background: #282828; border-right: 1px solid #111; padding: 0 10px 10px; min-width: 0; }
.demo-cals-top { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 4px; }
.demo-sb-btn { display: grid; place-items: center; width: 30px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: none; color: #a1a1a6; cursor: pointer; }
.demo-sb-btn:hover { background: #3a3a3c; color: #fff; }
.demo-sb-btn svg { width: 19px; height: 15px; }
.demo-add { display: grid; place-items: center; width: 28px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: none; color: #d1d1d6; cursor: pointer; }
.demo-add:hover { background: #3a3a3c; color: #fff; }
.demo-add svg { width: 15px; height: 15px; }
.app-restore .demo-add, .app-calendar .demo-search, .app-calendar .demo-side, .app-calendar .demo-filter { display: none; }
.app-calendar .demo-body { grid-template-columns: minmax(0, 1fr); }
.app-calendar .demo-col { cursor: copy; }
.demo-window.slide-l .demo-main { animation: slide-l .35s ease-out; }
.demo-window.slide-r .demo-main { animation: slide-r .35s ease-out; }
@keyframes slide-l { from { transform: translateX(48px); opacity: .2; } }
@keyframes slide-r { from { transform: translateX(-48px); opacity: .2; } }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: #ff453a; z-index: 3; pointer-events: none; }
.now-line::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #ff453a; }
.ev.draft { pointer-events: none; outline: 1.5px solid var(--c); z-index: 2; }
.ev.added-flash { animation: demo-restored 1.6s ease-out; }
.demo-titlebar .demo-lights, .demo-titlebar .demo-sb-btn { display: none; }
.demo-window.sb-hidden .demo-titlebar .demo-lights, .demo-window.sb-hidden .demo-titlebar .demo-sb-btn { display: flex; }
.demo-window.sb-hidden .demo-titlebar .demo-sb-btn { display: grid; }
.demo-cal-list { padding-bottom: 12px; }
.cl-group { font-size: 11.5px; font-weight: 650; color: #8e8e93; margin: 10px 4px 4px; }
.cl-group:first-child { margin-top: 2px; }
.cl-row { display: flex; align-items: center; gap: 8px; width: 100%; padding: 4px; font: inherit; font-size: 13.5px; color: #d1d1d6; background: none; border: 0; border-radius: 6px; cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-row:hover { background: #333335; }
.cl-row i { flex: none; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; background: var(--c); border: 1.5px solid var(--c); }
.cl-row[aria-checked="false"] i { background: transparent; }
.cl-row[aria-checked="false"] { color: #8e8e93; }
.cl-row svg { width: 10px; height: 10px; }
.demo-filter { margin-top: auto; background: #1e1e1e; border: 1px solid #3a3a3a; border-radius: 10px; padding: 10px 11px; }
.demo-filter h5 { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 14px; }
.demo-filter h5 svg { width: 16px; height: 16px; }
.demo-filter .fl-head { color: #8e8e93; font-size: 11px; margin: 4px 0 1px; }
.demo-filter hr { border: 0; border-top: 1px solid #3a3a3a; margin: 6px 0; }
.demo-titlebar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; background: #2a2a2a; border-bottom: 1px solid #111; }
.demo-lights { display: flex; gap: 7px; }
.demo-lights i { width: 12px; height: 12px; border-radius: 50%; background: #4a4a4a; }
.demo-title { font-weight: 650; font-size: 14px; white-space: nowrap; color: #a1a1a6; }
.demo-search { margin-left: auto; position: relative; width: min(260px, 45%); }
.demo-search input { width: 100%; font: inherit; color: #ececec; background: #1e1e1e; border: 1px solid #3c3c3c; border-radius: 7px; padding: 5px 10px 5px 28px; }
.demo-search input:focus { outline: 2px solid #e2373d; outline-offset: 0; border-color: transparent; }
.demo-search svg { position: absolute; left: 9px; top: 50%; translate: 0 -50%; width: 13px; height: 13px; color: #8e8e93; }
.demo-results { position: absolute; right: 0; top: calc(100% + 6px); width: max(100%, 300px); background: #2c2c2e; border: 1px solid #48484a; border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.45); padding: 6px; z-index: 20; }
.demo-results button { display: block; width: 100%; text-align: left; font: inherit; color: #ececec; background: none; border: 0; border-radius: 6px; padding: 7px 9px; cursor: pointer; }
.demo-results button:hover, .demo-results button:focus-visible { background: #3a3a3c; outline: none; }
.demo-results small { display: block; color: #a1a1a6; margin-top: 2px; }
.demo-results .none { padding: 8px 9px; color: #a1a1a6; }
.demo-body { display: grid; grid-template-columns: minmax(0, 1fr) 236px; position: relative; }
.demo-cal { overflow-x: auto; }
.demo-cal-inner { min-width: 560px; }
.demo-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px 6px; }
.demo-toolbar strong { font-size: 17px; }
.demo-seg { display: flex; background: #2c2c2e; border-radius: 7px; padding: 2px; }
.demo-seg button { font: inherit; padding: 3px 11px; border: 0; border-radius: 5px; background: none; color: #d1d1d6; cursor: pointer; }
.demo-seg button.on { background: #5a5a5e; color: #fff; }
.demo-seg button:disabled { color: #6e6e73; cursor: default; }
.demo-nav { display: flex; align-items: center; background: #3a3a3c; border-radius: 6px; color: #d1d1d6; }
.demo-nav span { padding: 2px 8px; }
.demo-days, .demo-grid { display: grid; grid-template-columns: 46px repeat(var(--days, 7), 1fr); }
.demo-days { border-bottom: 1px solid var(--line-d); padding-bottom: 6px; }
.demo-days div { text-align: center; color: #c7c7cc; }
.demo-days b { font-weight: 600; color: #fff; }
.demo-days .today b { background: #e2373d; border-radius: 999px; padding: 1px 6px; }
.demo-hours div { height: 44px; text-align: right; padding-right: 7px; font-size: 10.5px; color: #8e8e93; translate: 0 -6px; }
.demo-col { position: relative; border-left: 1px solid #2c2c2c; background-image: linear-gradient(var(--line-d) 1px, transparent 1px); background-size: 100% 44px; }
.ev { position: absolute; left: 3px; right: 3px; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; border-radius: 5px; padding: 3px 6px; text-align: left; font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; overflow: hidden;
  background: color-mix(in srgb, var(--c) 26%, #1e1e1e); border: 0; border-left: 3px solid var(--c); color: color-mix(in srgb, var(--c) 55%, #fff); }
.ev em { display: block; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev span { display: block; font-weight: 400; opacity: .85; white-space: nowrap; }
.ev svg { width: 10px; height: 10px; vertical-align: -1px; margin-right: 3px; }
.ev:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.ev.deleted { background: rgba(255,69,58,.07); border: 1.5px dashed #ff453a; color: #ff6961; animation: demo-pulse 2.4s ease-in-out infinite; }
.demo-window.used .ev.deleted { animation: none; }
.ev.ghost { background: rgba(142,142,147,.06); border: 1.5px dashed #8e8e93; color: #b0b0b5; z-index: 1; }
.ev .tag { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .02em; padding: 0 4px; border-radius: 4px; margin-left: 4px; vertical-align: 1px; opacity: 1; }
.ev .tag.new { background: rgba(76,195,107,.25); color: #7ee29a; }
.ev .tag.moved { background: rgba(255,159,10,.22); color: #ffb340; }
.ev.restored { animation: demo-restored 1.6s ease-out; }
@keyframes demo-pulse { 50% { box-shadow: 0 0 0 4px rgba(255,69,58,.18); } }
@keyframes demo-restored { 0% { box-shadow: 0 0 0 0 rgba(76,195,107,.9); } 100% { box-shadow: 0 0 0 14px rgba(76,195,107,0); } }
.fl-row { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 7px; padding: 2.5px 0; cursor: pointer; font-size: 13px; }
.fl-row svg { width: 15px; height: 15px; }
.fl-row.off span { color: #8e8e93; }
.fl-row.off svg { filter: grayscale(1) brightness(.8); }
.fl-row em { font-style: normal; color: #8e8e93; font-weight: 600; margin-left: 4px; }
.fl-row em.deleted { color: #ff453a; } .fl-row em.changed { color: #ff9f0a; } .fl-row em.added { color: #30d158; }
input.switch { appearance: none; -webkit-appearance: none; width: 28px; height: 17px; border-radius: 999px; background: #48484a; position: relative; cursor: pointer; margin: 0; transition: background .15s; }
input.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #e5e5ea; transition: translate .15s; }
input.switch:checked { background: #0a84ff; }
input.switch:checked::after { translate: 11px 0; background: #fff; }
input.switch:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.demo-tl { display: grid; }
.tl-row { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 10px 30px; align-items: center; gap: 6px; height: 26px; padding: 0; font: inherit; color: #a1a1a6; background: none; border: 0; cursor: pointer; text-align: right; }
.tl-label { font-weight: 600; font-size: 13px; color: #a1a1a6; white-space: nowrap; }
.tl-row.major .tl-label { color: #d1d1d6; }
.tl-dot { width: 6px; height: 6px; border-radius: 50%; justify-self: center; }
.tl-dot.red { background: #ff453a; } .tl-dot.orange { background: #ff9f0a; }
.tl-tick { height: 2px; width: 14px; justify-self: end; background: #8e8e93; border-radius: 2px; }
.tl-row.major .tl-tick { width: 28px; background: #d1d1d6; }
.tl-row:hover .tl-tick, .tl-row.on .tl-tick { width: 28px; background: #fff; }
.tl-cap { display: none; position: absolute; right: 48px; top: 50%; translate: 0 -50%; z-index: 2; background: #3a3a3c; border-radius: 7px; padding: 4px 8px; white-space: nowrap; color: #f2f2f7; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.tl-cap small { display: block; font-size: 11px; font-weight: 500; }
.tl-cap .d { color: #ff6961; } .tl-cap .c { color: #ffb340; } .tl-cap .s { color: #8e8e93; }
.tl-row.on .tl-cap, .tl-row:hover .tl-cap, .tl-row:focus-visible .tl-cap { display: block; }
.demo-tl:hover .tl-row.on:not(:hover) .tl-cap { display: none; }
.tl-row.on .tl-dot { box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.tl-row:focus-visible { outline: none; }
.tl-week { position: relative; background: #2e2e30; box-shadow: inset 3px 0 #5a5a5e; border-radius: 4px; padding-top: 22px; margin-top: 6px; }
.tl-viewing { position: absolute; top: 4px; left: 8px; font-size: 11.5px; font-weight: 600; color: #a1a1a6; }
.demo-snaps { display: none; }
.demo-side { background: #232323; border-left: 1px solid var(--line-d); padding: 12px 12px 14px; }
.demo-side h4 { margin: 0; font-size: 13.5px; }
.demo-side p { margin: 2px 0 12px; font-size: 11px; color: #8e8e93; }

.demo-snap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; text-align: right; font: inherit; color: #d1d1d6; background: none; border: 0; border-radius: 8px; padding: 7px 8px; cursor: pointer; }
.demo-snap:hover { background: #2e2e30; }
.demo-snap.on { background: #3a3a3c; color: #fff; }
.demo-snap i { width: 7px; height: 7px; border-radius: 50%; background: #ff453a; }
.demo-snap.on i { box-shadow: 0 0 0 3px rgba(255,69,58,.3); }
.demo-snap small { display: block; font-size: 10.5px; margin-top: 2px; }
.demo-snap .d { color: #ff6961; } .demo-snap .c { color: #ffb340; } .demo-snap .s { color: #8e8e93; }
.demo-now { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding-top: 10px; color: #ff9f0a; font-weight: 650; font-size: 13px; }
.demo-now::after { content: ""; width: 34px; height: 3px; border-radius: 2px; background: #ff9f0a; }
.demo-pop { position: absolute; z-index: 15; width: 280px; background: #3a3a3c; border: 1px solid #545456; border-radius: 12px; padding: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.5); }
.demo-pop h5 { margin: 0 24px 4px 0; font-size: 15px; }
.demo-pop .close { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: none; color: #a1a1a6; font-size: 17px; cursor: pointer; }
.demo-pop .close:hover { background: #48484a; color: #fff; }
.demo-pop .row { color: #d1d1d6; margin: 2px 0; }
.demo-pop .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.demo-pop hr { border: 0; border-top: 1px solid #545456; margin: 10px 0; }
.demo-pop .status { font-weight: 600; margin-bottom: 8px; }
.demo-pop .status.d { color: #ff6961; } .demo-pop .status.c { color: #ffb340; } .demo-pop .status.a { color: #7ee29a; } .demo-pop .status.u { color: #a1a1a6; }
.demo-pop label { display: block; color: #d1d1d6; margin-bottom: 5px; }
.demo-pop select { width: 100%; font: inherit; color: #fff; background: #2c2c2e; border: 1px solid #545456; border-radius: 7px; padding: 6px 8px; margin-bottom: 10px; }
.demo-pop input.title { width: 100%; font: inherit; font-size: 15px; font-weight: 600; color: #fff; background: #2c2c2e; border: 1px solid #545456; border-radius: 7px; padding: 7px 9px; margin: 2px 0 8px; }
.demo-pop input.title:focus { outline: 2px solid #0a84ff; outline-offset: 0; border-color: transparent; }
.demo-pop .go.danger { background: rgba(255,69,58,.16); color: #ff6961; border: 1px solid rgba(255,69,58,.5); }
.demo-pop .go { width: 100%; font: inherit; font-weight: 650; color: #fff; background: linear-gradient(135deg, #f24d47, #c72133); border: 0; border-radius: 8px; padding: 8px; cursor: pointer; }
.demo-pop .fine { font-size: 11px; color: #a1a1a6; margin: 9px 0 0; }
.demo-toast { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; z-index: 25; max-width: calc(100% - 24px); text-align: center; background: #2c2c2e; border: 1px solid #4cc36b; color: #fff; border-radius: 16px;
  padding: 8px 16px; font-weight: 600; width: max-content; box-shadow: 0 10px 26px rgba(0,0,0,.45); transition: opacity .3s; }
.demo-toast button { font: inherit; font-weight: 700; color: #6cb6ff; background: none; border: 0; padding: 0 0 0 6px; cursor: pointer; }
.demo-toast button:hover { text-decoration: underline; }
.demo-toast[hidden] { display: block; opacity: 0; pointer-events: none; }
.demo-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

@media (max-width: 900px) {
  .demo-window { grid-template-columns: minmax(0, 1fr); }
  .demo-cals { position: absolute; z-index: 30; top: 0; bottom: 0; left: 0; width: 230px; box-shadow: 12px 0 30px rgba(0,0,0,.5); }
  .demo-body { grid-template-columns: minmax(0, 1fr); }
  .demo-side { order: -1; border-left: 0; border-bottom: 1px solid var(--line-d); }
  .demo-tl { display: none; }
  .demo-snaps { display: flex; overflow-x: auto; gap: 6px; }
  .demo-snap { flex: 0 0 auto; text-align: left; grid-template-columns: auto 1fr; }
  .demo-snap i { order: -1; }
  .demo-now { display: none; }
  .app-restore .demo-title { display: none; }
  .demo-search { width: 100%; }
}

@media (max-width: 820px) {
  .doc-hero.with-shot .wrap { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .doc-hero.with-shot .text { padding-bottom: 0; }
  .doc-hero.with-shot .shot { max-width: 420px; justify-self: center; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .text { order: 0; }
  .features { grid-template-columns: 1fr; }
  section.block { padding: 60px 0; }
  .nav { gap: 16px; }
}

@media (max-width: 520px) {
  .demo-steps li:not(.now):not(.finish) { display: none; }
  .nav { gap: 14px; }
  .nav a:first-child { display: none; }
}
@media (max-width: 430px) {
  .brand { font-size: 0; gap: 0; }
}
