/* Keystrip site. System fonts only; nothing is loaded from another server.
   Contrast (WCAG AA) is checked by SiteTests.testColourContrast from the tokens below.
   --surface is the glass panel over --bg, flattened, so the contrast check sees the real panel colour. */
:root {
  color-scheme: light;
  --bg: #F6F7F9;
  --surface: #ECEDF0;
  --text: #111318;
  --muted: #4A5260;
  --accent: #2F7CF6;
  --accent-text: #1A5FCC;
  --button-bg: #1C69E0;
  --button-text: #FFFFFF;
  --line: rgba(0,0,0,.08);
  --glass: rgba(0,0,0,.04);
  --header: rgba(246,247,249,.8);
  --light: inline; --dark: none;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0B0C10;
    --surface: #16171B;
    --text: #F4F4F2;
    --muted: #B4BAC5;
    --accent: #5AA2FF;
    --accent-text: #5AA2FF;
    --button-bg: #5AA2FF;
    --button-text: #0B0C10;
    --line: rgba(255,255,255,.1);
    --glass: rgba(255,255,255,.05);
    --header: rgba(11,12,16,.8);
    --light: none; --dark: inline;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B0C10;
  --surface: #16171B;
  --text: #F4F4F2;
  --muted: #B4BAC5;
  --accent: #5AA2FF;
  --accent-text: #5AA2FF;
  --button-bg: #5AA2FF;
  --button-text: #0B0C10;
  --line: rgba(255,255,255,.1);
  --glass: rgba(255,255,255,.05);
  --header: rgba(11,12,16,.8);
  --light: none; --dark: inline;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.625 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.025em; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent-text); text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; height: auto; }
kbd { font: inherit; font-size: .9em; padding: 0 .35em; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.for-light { display: var(--light); }
.for-dark { display: var(--dark); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 60; padding: 8px 16px; border-radius: 10px; background: var(--button-bg); color: var(--button-text); font-weight: 600; }
.skip:focus { top: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.bar { max-width: 72rem; margin: 0 auto; padding: 10px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.brand { display: flex; align-items: center; border-radius: 8px; }
.brand img { width: 99px; height: 36px; }
.links { order: 3; width: 100%; display: flex; justify-content: center; gap: 24px; margin: 0; padding: 0; list-style: none; font-size: .875rem; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--text); }
@media (min-width: 640px) { .links { order: 0; width: auto; } }

/* Buttons */
.button { display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 600; text-align: center; text-decoration: none; color: var(--text); transition: opacity .15s, background-color .15s; }
.button.small { padding: 6px 16px; font-size: .875rem; }
.button.primary { background: var(--button-bg); color: var(--button-text); }
.button.primary:hover { opacity: .9; }
.button.outline { border: 1px solid rgba(127,127,127,.4); background: var(--glass); }
.button.glass:hover, .button.outline:hover { background: var(--line); }
.glass, .price-card { background: var(--glass); border: 1px solid var(--line); border-radius: 24px; }

/* Sections */
main > section { max-width: 72rem; margin: 0 auto; padding: 80px 20px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
main > section.hero { border-top: 0; padding: 64px 12px 64px; text-align: center; }
h2 { font-size: 1.875rem; max-width: 36rem; margin-top: 8px; }
.eyebrow { font-size: .875rem; font-weight: 600; color: var(--accent-text); }
.center { text-align: center; }
.center h2 { margin-left: auto; margin-right: auto; }
@media (min-width: 640px) {
  main > section { padding: 112px 20px; }
  main > section.hero { padding: 96px 20px; }
  h2 { font-size: 2.25rem; }
}

/* Hero */
.hero h1 { max-width: 48rem; margin: 0 auto; padding: 0 8px; font-size: 2.25rem; }
.lede { max-width: 42rem; margin: 24px auto 0; padding: 0 8px; color: var(--muted); font-size: 1.0625rem; text-wrap: pretty; }
.lede strong { color: var(--text); font-weight: 600; }
.cta { margin: 36px auto 0; padding: 0 8px; display: flex; flex-direction: column; gap: 12px; justify-content: center; max-width: 24rem; }
.requirements { max-width: 36rem; margin: 20px auto 0; padding: 0 8px; font-size: .875rem; color: var(--muted); text-wrap: pretty; }
@media (min-width: 640px) {
  .hero h1 { font-size: 3.75rem; line-height: 1.05; }
  .lede { font-size: 1.125rem; }
  .cta { flex-direction: row; max-width: none; }
}

/* A generic laptop screen: dark in both schemes, with a notch and the strip under it. */
.device { max-width: 64rem; margin: 56px auto 0; padding: 8px 8px 0; border-radius: 28px 28px 0 0; background: #050507; border: 1px solid rgba(255,255,255,.1); border-bottom: 0; box-shadow: 0 40px 120px -40px rgba(90,162,255,.25), inset 0 1px rgba(255,255,255,.06); }
.screen { position: relative; height: 16rem; overflow: hidden; border-radius: 20px 20px 0 0; text-align: left;
  background: radial-gradient(120% 80% at 50% -10%, rgba(90,162,255,.1), transparent 60%), #0E1016;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.menubar { height: 28px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.6); }
.menubar > span { display: flex; gap: 16px; }
.menubar b { color: rgba(255,255,255,.8); font-weight: 600; }
.menubar .wide { display: none; }
.notch { position: absolute; top: 0; left: 50%; width: 7rem; height: 28px; transform: translateX(-50%); background: #000; border-radius: 0 0 16px 16px; }
.strip { position: absolute; top: 36px; left: 12px; right: 12px; max-width: 640px; margin: 0 auto; padding: 8px; border-radius: 16px;
  background: rgba(22,24,30,.72); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 50px -12px rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  transform-origin: center top; transition: transform .42s cubic-bezier(.2,.8,.2,1), opacity .32s; }
.strip.is-tucked { opacity: 0; transform: translateY(-18px) scaleY(.85); }
.strip .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.key .ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.strip ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.key { height: 52px; display: flex; flex-direction: column; gap: 3px; align-items: center; justify-content: center; padding: 0 8px; border-radius: 12px; text-align: center; font-size: 12px; font-weight: 500; line-height: 1.25;
  color: #F4F4F2; background: linear-gradient(rgba(255,255,255,.11), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px rgba(255,255,255,.1); }
@media (min-width: 640px) {
  .device { padding: 12px 12px 0; border-radius: 40px 40px 0 0; }
  .screen { height: 20rem; border-radius: 30px 30px 0 0; }
  .menubar { height: 32px; padding: 0 20px; font-size: 12px; }
  .menubar .wide { display: flex; gap: 16px; }
  .notch { width: 11rem; height: 32px; }
  .strip { top: 44px; left: 20px; right: 20px; border-radius: 20px; }
  .strip ul { grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .key { height: 56px; font-size: 13px; }
}
.mock-note { margin: 12px auto 0; text-align: center; font-size: .8125rem; color: var(--muted); }
.switcher { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.switcher button { font: inherit; font-size: .875rem; font-weight: 500; padding: 6px 16px; border: 0; border-radius: 999px; cursor: pointer; background: var(--glass); color: var(--muted); transition: background-color .15s, color .15s; }
.switcher button:hover { color: var(--text); }
.switcher button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.download-facts { margin-top: 12px; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.plan .download-facts { text-align: center; }

/* Theme swatches: restyle the drawn strip with the app's StripTheme styles (dark palettes, as the screen is dark). */
.themes { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 4px 2px; }
.swatch { min-width: 64px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; border-radius: 12px; background: none; color: var(--muted); font: inherit; font-size: .75rem; font-weight: 500; line-height: 1.2; cursor: pointer; }
.swatch:hover, .swatch[aria-pressed="true"] { color: var(--text); }
.swatch .dot { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(127,127,127,.4); box-shadow: 0 0 0 2px var(--bg); transition: box-shadow .15s; }
.swatch[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.swatch[data-look="tinted"] .dot { background: linear-gradient(135deg, #284262, #101C2D); }
.swatch[data-look="clear"] .dot { background: linear-gradient(135deg, #4A525E, #000); }
.swatch[data-look="solid"] .dot { background: #1D3048; }
.swatch[data-look="night"] .dot { background: radial-gradient(circle, #7CF5C4 0 4px, #0B0B10 5px); }
.pro { padding: 1px 6px; border-radius: 999px; background: rgba(90,162,255,.15); color: var(--accent-text); font-size: .625rem; font-weight: 600; }
.strip[data-look="tinted"] { background: rgba(16,28,45,.62); border-color: rgba(131,188,255,.22); }
.strip[data-look="clear"] { background: rgba(0,0,0,.45); border-color: rgba(124,133,148,.55); }
.strip[data-look="clear"] .key { background: #262B33; border-color: #4A525E; color: #FFFFFF; }
.strip[data-look="solid"], .strip[data-look="night"] { -webkit-backdrop-filter: none; backdrop-filter: none; }
.strip[data-look="solid"] { background: #101C2D; border-color: #3A4D66; }
.strip[data-look="solid"] .key { background: #1D3048; border-color: #2E4461; color: #F4F8FF; box-shadow: none; }
.strip[data-look="night"] { background: #0B0B10; border-color: #34344A; }
.strip[data-look="night"] .key { background: #16161F; border-color: #2A2A3A; color: #7CF5C4; box-shadow: none; font-family: ui-monospace, Menlo, monospace; }

/* How it works */
.steps { margin: 48px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.steps li { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.steps h3 { font-size: 1.125rem; }
.steps p, .rows p, .facts p { color: var(--muted); }
.num { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(90,162,255,.15); color: var(--accent-text); font-size: .875rem; font-weight: 600; }
.also { margin-top: 32px; max-width: 42rem; color: var(--muted); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Features (bento) */
.bento { margin: 48px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.bento li { padding: 28px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.bento h3 { font-size: 1.125rem; }
.bento h3 .badge { margin-left: 6px; vertical-align: 2px; }
.bento p { color: var(--muted); }
.bento img { width: 100%; height: auto; margin-top: auto; border-radius: 12px; border: 1px solid var(--line); }
@media (min-width: 768px) {
  .bento { grid-template-columns: 1fr 1fr; }
}

/* Which apps work */
.split { display: grid; gap: 40px; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { position: relative; padding: 24px 24px 24px 48px; }
.rows li + li { border-top: 1px solid var(--line); }
.rows li::before { content: ""; position: absolute; left: 24px; top: 33px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.rows li.dim::before { background: var(--muted); }
.rows h3 { font-size: 1rem; }
.rows p { margin-top: 4px; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1.3fr; gap: 64px; } }

/* Privacy */
.facts { margin: 48px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.facts li { padding: 28px; }
.facts svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.facts h3 { margin: 16px 0 8px; font-size: 1.125rem; }
@media (min-width: 768px) { .facts { grid-template-columns: 1fr 1fr; } }

/* Pricing */
.plans { max-width: 56rem; margin: 48px auto 0; display: grid; gap: 16px; }
.plan, .price-card { padding: 28px; display: flex; flex-direction: column; }
.price-card { border-color: rgba(90,162,255,.55); }
.plan h3, .price-card h3 { font-size: 1.125rem; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { padding: 4px 12px; border-radius: 999px; background: rgba(90,162,255,.15); color: var(--accent-text); font-size: .75rem; font-weight: 600; }
.amount { margin-top: 12px; color: var(--muted); }
.figure { margin-right: 6px; font-size: 2.25rem; font-weight: 600; letter-spacing: -.025em; color: var(--text); }
.note { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.ticks { margin: 28px 0 32px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: .9375rem; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 6px; border: solid var(--accent-text); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.ticks li.lead { font-weight: 600; }
.plan .button, .price-card .button { margin-top: auto; }
.terms { max-width: 42rem; margin: 32px auto 0; text-align: center; font-size: .875rem; color: var(--muted); text-wrap: pretty; }
.terms.small { margin-top: 12px; font-size: .8125rem; }
@media (min-width: 640px) { .plan, .price-card { padding: 32px; } }
@media (min-width: 768px) { .plans { grid-template-columns: 1fr 1fr; } }

/* FAQ */
#faq { max-width: 48rem; }
.faq { margin-top: 40px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 500; list-style: none; border-radius: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--muted); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px; color: var(--muted); }
.faq a { overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); max-width: 72rem; margin: 0 auto; padding: 48px 20px; font-size: .875rem; color: var(--muted); }
.footer-grid { display: flex; flex-direction: column; gap: 32px; }
.footer-name { font-weight: 600; color: var(--text); margin-bottom: 8px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--muted); overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--text); }
.site-footer .small { margin-top: 32px; font-size: .75rem; }
@media (min-width: 768px) { .footer-grid { flex-direction: row; justify-content: space-between; align-items: flex-start; } }

/* Text pages: terms, privacy, refunds, install guide, 404 */
.doc { max-width: 46rem; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: 2.25rem; margin-bottom: 24px; }
.doc h2 { font-size: 1.375rem; margin: 40px 0 12px; max-width: none; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc li { margin-bottom: 6px; }
.doc blockquote { margin: 0 0 24px; padding: 12px 20px; background: var(--glass); border: 1px solid var(--line); border-radius: 16px; color: var(--muted); }
.doc blockquote p { margin: 0; }
.doc img { margin: 8px 0; border-radius: 12px; border: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip, .button, .switcher button, .swatch .dot, .faq summary::after { transition: none; }
}

/* Launch price (LicenseConfig.launchEndsAt). Shown by default, so it shows with JS off;
   the inline script adds .launch-over after the end date and the regular price returns. */
.launch-over .launch-only, .banner-dismissed .launch-banner { display: none; }
.was { text-decoration: none; }
html:not(.launch-over) .was { text-decoration: line-through; color: var(--muted); font-weight: 400; }
html:not(.launch-over) .figure .was { font-size: .6em; }
.launch-banner { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; background: var(--button-bg); color: var(--button-text); font-size: .875rem; line-height: 1.4; }
.launch-banner p { margin: 0 auto; text-align: center; text-wrap: balance; }
.launch-banner a { color: inherit; font-weight: 600; }
.launch-banner button { flex: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.launch-banner button:hover { background: rgba(127,127,127,.2); }
.launch-banner :focus-visible { outline-color: var(--button-text); }
.badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.badge.special { background: var(--button-bg); color: var(--button-text); }
.savings { margin-top: 4px; font-size: .875rem; font-weight: 600; color: var(--accent-text); }
.launch-note { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.price-card .launch-note { margin-top: 0; }

/* Footer: community icon links */
.footer-social { display: flex; gap: 14px; margin-top: 10px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; color: inherit; opacity: .75; }
.footer-social a:hover, .footer-social a:focus-visible { opacity: 1; }
.footer-social a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Pricing: community invite under the plans */
.community-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px 20px; max-width: 56rem; margin: 48px auto 0; padding: 24px; border: 1px solid rgba(88,101,242,.35); border-radius: 20px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(88,101,242,.22), transparent 60%), var(--glass, rgba(127,127,127,.06)); box-shadow: 0 24px 60px -30px rgba(88,101,242,.45); }
.community-badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #fff; background: linear-gradient(145deg, #6b77f5, #4752c4); box-shadow: inset 0 1px rgba(255,255,255,.25), 0 8px 20px -8px rgba(88,101,242,.8); }
.community-text h3 { margin: 0 0 6px; font-size: 1.125rem; }
.community-text p { margin: 0; max-width: 34rem; color: var(--muted); text-wrap: pretty; }
.community-button { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: #5865f2; box-shadow: 0 8px 24px -10px rgba(88,101,242,.9); }
.community-button:hover { background: #4752c4; }
.community-button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (min-width: 760px) {
  .community-cta { grid-template-columns: auto 1fr auto; padding: 28px 32px; }
  .community-button { grid-column: auto; white-space: nowrap; }
}
