/* PureApps static site. No build step: plain CSS, system fonts only.
   Palette follows macOS: near-white ground, hairline separators, one blue accent. */

:root {
  --bg: #fbfbfd;
  --bg-alt: #f2f2f5;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-dim: #6e6e73;
  --line: rgba(0, 0, 0, .09);
  --accent: #0a84ff;
  --accent-ink: #ffffff;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.07);
  --radius: 18px;
  --nav-bg: rgba(251, 251, 253, .72);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0d;
    --bg-alt: #141417;
    --card: #17171a;
    --ink: #f5f5f7;
    --ink-dim: #9a9aa0;
    --line: rgba(255, 255, 255, .12);
    --accent: #409cff;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.45);
    --nav-bg: rgba(11, 11, 13, .72);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Helvetica Neue", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Helvetica Neue", Inter, system-ui, sans-serif;
  letter-spacing: -.022em;
  line-height: 1.1;
  margin: 0 0 .4em;
}

h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 650; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding-inline: 22px; }
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 99;
}
.skip:focus { left: 0; }

/* ---------- nav: translucent, hairline under it, like a macOS toolbar ---------- */

.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 54px; }

.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; }
.brand-mark { width: 22px; height: 22px; flex: none; display: block; }
.brand-mark.sm { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; }
.brand-name { letter-spacing: -.01em; }

.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--ink-dim); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block; text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 11px 22px; border-radius: 980px; border: 1px solid transparent;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:active { transform: scale(.975); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-sm { font-size: 13px; padding: 6px 15px; background: var(--accent); color: var(--accent-ink); }

/* ---------- hero ---------- */

.hero { padding-block: clamp(56px, 9vw, 104px) 0; text-align: center; }
.eyebrow {
  color: var(--accent); font-size: 14px; font-weight: 600;
  letter-spacing: .02em; margin-bottom: .8em;
}
.lede {
  max-width: 580px; margin: 0 auto 1.6em;
  font-size: clamp(17px, 2vw, 20px); color: var(--ink-dim);
}
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.chips {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  list-style: none; margin: 30px 0 0; padding: 0;
}
.chips li {
  font-size: 13px; color: var(--ink-dim);
  border: 1px solid var(--line); border-radius: 980px; padding: 5px 13px;
}

/* ---------- the drawn window ---------- */

.shot { margin-top: clamp(40px, 6vw, 72px); }
.win {
  max-width: 880px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); overflow: hidden;
  text-align: left;
}
.win-bar {
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 13px;
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dots .r { background: #ff5f57; } .dots .y { background: #febc2e; } .dots .g { background: #28c840; }
.win-title { font-size: 12.5px; color: var(--ink-dim); margin: 0 auto; padding-right: 46px; }

.win-body { display: flex; min-height: 260px; }
.win-side {
  width: 168px; flex: none; padding: 14px 12px;
  background: var(--bg-alt); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 9px;
}
.side-item { height: 26px; border-radius: 7px; background: var(--line); }
.side-item.is-on { background: var(--accent); opacity: .85; }
.win-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 13px; }
.row-head { height: 22px; width: 42%; border-radius: 6px; background: var(--line); }
.row { height: 54px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line); }
.row.short { width: 62%; }

@media (max-width: 560px) { .win-side { display: none; } }

/* ---------- sections ---------- */

.section { padding-block: clamp(64px, 9vw, 110px); }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section h2 { text-align: center; }
.sub {
  text-align: center; color: var(--ink-dim);
  max-width: 560px; margin: 0 auto clamp(34px, 5vw, 54px);
}
.section.alt .grid { margin-top: clamp(34px, 5vw, 54px); }

.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(214px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-dim); font-size: 15px; margin-bottom: .6em; }
.card .meta { font-size: 13px; color: var(--ink-dim); opacity: .8; margin-bottom: .9em; }
.card-soon { background: transparent; box-shadow: none; border-style: dashed; }

.ico {
  display: block; width: 46px; height: 46px; border-radius: 11px; margin-bottom: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.ico-a { background: linear-gradient(160deg, #5ac8fa, #0a84ff); }
.ico-b { background: linear-gradient(160deg, #a78bfa, #6d28d9); }
.ico-c { background: linear-gradient(160deg, #d1d1d6, #98989d); }

.req {
  text-align: center; font-size: 14px; color: var(--ink-dim);
  margin: 40px auto 0; max-width: 520px;
}
.req strong { color: var(--ink); font-weight: 600; }
.card .meta a { color: inherit; text-decoration-color: var(--line); }
.card .meta a:hover { color: var(--accent); }

.tag {
  display: inline-block; font-size: 12px; font-weight: 500;
  color: var(--ink-dim); background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 980px; padding: 3px 11px;
}

.feat h3 { margin-bottom: .4em; }
.feat p { color: var(--ink-dim); font-size: 15px; }

/* ---------- licensing ---------- */

.steps { counter-reset: s; list-style: none; margin: 0 0 34px; padding: 0; }
.steps li {
  counter-increment: s; position: relative;
  padding: 16px 0 16px 46px; border-bottom: 1px solid var(--line);
  color: var(--ink-dim); font-size: 15.5px;
}
.steps li:last-child { border-bottom: 0; }
.steps li strong { color: var(--ink); font-weight: 600; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 15px;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-size: 13px; font-weight: 600;
  display: grid; place-items: center;
}

.price {
  text-align: center; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.price-tag { font-size: 25px; font-weight: 650; letter-spacing: -.02em; margin-bottom: .3em; }
.price-note { color: var(--ink-dim); font-size: 15px; margin: 0; }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--line); padding-block: 40px 30px; }
.foot-inner { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.foot-name { font-weight: 600; margin-left: 7px; }
.foot-note { color: var(--ink-dim); font-size: 14px; margin: 9px 0 0; }
.foot-links { display: flex; gap: 20px; font-size: 14px; }
.foot-links a { color: var(--ink-dim); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.copy {
  max-width: 1060px; margin: 30px auto 0; padding-inline: 22px;
  color: var(--ink-dim); font-size: 13px;
}
