:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --text: #15181f;
  --muted: #5d6676;
  --faint: #8a93a3;
  --line: #e4e7ec;
  --accent: #0a66e0;
  --accent-text: #ffffff;
  --card: #ffffff;
  --brass: #b98a45;
  --live: #22b07d;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 32px -12px rgba(16, 24, 40, .18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1116;
    --bg-soft: #161921;
    --text: #eef0f4;
    --muted: #a3abba;
    --faint: #7a8394;
    --line: #262a35;
    --accent: #3b8cff;
    --card: #171a22;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; letter-spacing: -0.02em; margin: 0; }

.shell { width: min(1080px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.masthead { border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.wordmark { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 17px; }
.wordmark:hover { text-decoration: none; }
.masthead nav { display: flex; gap: 22px; font-size: 14px; }
.masthead nav a { color: var(--muted); }
.masthead nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 12px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  border: 1px solid var(--line); color: var(--text); background: var(--card);
}
.button:hover { text-decoration: none; border-color: var(--faint); }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.button.primary:hover { filter: brightness(1.07); }
.button svg { width: 18px; height: 18px; }

/* Hero */
.hero { text-align: center; padding: 64px 0 32px; }
.hero-icon { width: 112px; height: 112px; margin: 0 auto 22px; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.06; font-weight: 700; }
.hero-description { color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); max-width: 640px; margin: 18px auto 28px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fineprint { color: var(--faint); font-size: 13px; margin-top: 14px; }

/* Product shot: a slice of desktop with the menu bar and the popover under the icon */
.stage {
  margin: 28px auto 0;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 0%, #f2c58a 0%, transparent 55%),
    radial-gradient(90% 90% at 0% 100%, #3d5fa8 0%, transparent 60%),
    linear-gradient(160deg, #6f86b8, #2a3350 70%);
  box-shadow: var(--shadow);
  position: relative;
  max-width: 1080px;
  padding-bottom: 56px;
  /* popover width and its distance from the right edge; the menu bar icon sits above its middle */
  --pw: min(560px, 68%);
  --pr: 7%;
}
.menubar {
  position: relative;
  height: 30px; display: flex; align-items: center; justify-content: flex-end; gap: 16px;
  padding: 0 16px; font-size: 13px; color: #fff;
  background: rgba(20, 24, 34, .38); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.menubar span { opacity: .92; }
.menubar .menu-icon {
  position: absolute; top: 4px; right: calc(var(--pr) + var(--pw) / 2 - 13px);
  width: 26px; height: 22px; border-radius: 5px; display: grid; place-items: center; background: rgba(255, 255, 255, .22);
}
.menubar svg { width: 17px; height: 17px; }
.popover {
  width: var(--pw); margin: 10px var(--pr) 0 auto;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .5), 0 24px 60px -10px rgba(0, 0, 0, .55);
}

/* Sections */
section { padding: 72px 0 0; }
.section-title { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; text-align: center; }
.section-lead { text-align: center; color: var(--muted); max-width: 620px; margin: 12px auto 36px; font-size: 18px; }

.sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.sources li { background: var(--bg-soft); border-radius: 16px; padding: 22px; }
.sources h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.sources p { margin: 0; color: var(--muted); font-size: 15px; }
.badge { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.badge svg { width: 17px; height: 17px; }
.b-printer { background: #f08a2c; }
.b-ha { background: #18bcf2; }
.b-ip { background: #6b5cf0; }
.b-iphone { background: #2f6fe0; }
.b-mac { background: #22a06b; }
.b-snap { background: #e0457b; }

.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.feature h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: 17px; margin: 0 0 14px; }
.feature ul { padding: 0; margin: 0; list-style: none; color: var(--muted); }
.feature li { padding: 6px 0 6px 26px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.shot { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }

.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
.points strong { display: block; font-size: 16px; margin-bottom: 4px; }
.points span { color: var(--muted); font-size: 15px; }

/* Pricing */
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  border: 1px solid var(--line); border-radius: 22px; padding: 34px 28px 28px; background: var(--card); box-shadow: var(--shadow);
}
.price { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 26px; color: var(--muted); text-align: left; display: inline-block; }
.price-card li { padding: 4px 0 4px 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--live); font-weight: 700; }
.price-card .actions { flex-direction: column; }
.price-card .button { width: 100%; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }
code { font: 14px ui-monospace, "SF Mono", Menlo, monospace; background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; }

/* Text pages */
.page { max-width: 720px; padding: 56px 0 24px; }
.page h1 { font-size: 40px; margin-bottom: 8px; }
.page h2 { font-size: 21px; margin: 34px 0 8px; letter-spacing: -0.01em; }
.page p, .page li { color: var(--muted); }
.page .updated { color: var(--faint); font-size: 14px; }

/* Footer */
footer { margin-top: 96px; }
.footer-inner { border-top: 1px solid var(--line); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--faint); flex-wrap: wrap; }
.footer-inner a { color: var(--faint); }
.footer-inner a:hover { color: var(--text); text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.maker strong { color: var(--muted); font-weight: 600; }
.footer-social { display: flex; gap: 4px; }
.footer-social a { width: 30px; height: 30px; display: grid; place-items: center; }
.footer-social svg { width: 16px; height: 16px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .sources { grid-template-columns: 1fr 1fr; }
  .points { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 40px; }
  .hero-icon { width: 88px; height: 88px; }
  .masthead nav a.hide-small { display: none; }
  .sources, .points { grid-template-columns: 1fr; }
  .stage { padding-bottom: 16px; --pw: calc(100% - 24px); --pr: 12px; }
  .menubar span.hide-small { display: none; }
  .actions .button { width: 100%; }
}
