@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/geist-mono-latin.woff2) format('woff2');
}

:root {
  color-scheme: light;

  --bg:        #fcfcfc;
  --fg:        #171717;
  --muted:     #525252;
  --faint:     #8a8a8a;
  --dim:       #a3a3a3;
  --card:      #ffffff;
  --soft:      #fafafa;
  --ring:      rgba(10, 10, 10, .08);
  --ring-2:    rgba(10, 10, 10, .13);
  --hair:      rgba(10, 10, 10, .07);
  --tick:      rgba(10, 10, 10, .28);
  --accent:    #b9d7ff;        /* brand blue, the dot in the mark */
  --accent-ink:#2563eb;        /* the same blue at a weight that reads on white */
  --ok:        #16a34a;
  --on-fg:     #ffffff;        /* type on a --fg button */
  --fg-hover:  #000000;
  --nav-bg:    rgba(252, 252, 252, .82);
  --play-bg:   rgba(252, 252, 252, .92);
  --shade:     rgba(10, 10, 10, .08);
  --shade-lg:  rgba(10, 10, 10, .18);

  --font: 'Geist', ui-sans-serif, -apple-system, 'SF Pro Text', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1024px;
  --gutter: 24px;
  --col: min(var(--wrap), 100% - var(--gutter) * 2);   /* the one column everything sits in */
  --inset: 24px;   /* copy sits this far inside the gridlines; cards run edge to edge */
  --frame-pad: 8px;   /* the gap between a product card and the outline around it */
  --r-card: 16px;
  --r-btn: 999px;

  --shadow-card: 0 0 0 1px var(--ring), 0 10px 15px -3px var(--shade),
                 0 4px 6px -4px var(--shade);
  --shadow-lg:   0 0 0 1px var(--ring), 0 25px 50px -12px var(--shade-lg);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* dark: follows the system setting */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg:        #141312;        /* the app's warm near-black */
    --fg:        #f0f2f4;
    --muted:     #a8a8a6;
    --faint:     #7a7a78;
    --dim:       #5e5e5c;
    --card:      #1c1b1a;
    --soft:      #191817;
    --ring:      rgba(255, 255, 255, .08);
    --ring-2:    rgba(255, 255, 255, .14);
    --hair:      rgba(255, 255, 255, .07);
    --tick:      rgba(255, 255, 255, .3);
    --accent-ink:#b9d7ff;
    --on-fg:     #141312;
    --fg-hover:  #ffffff;
    --nav-bg:    rgba(20, 19, 18, .8);
    --play-bg:   rgba(240, 242, 244, .92);
    --shade:     rgba(0, 0, 0, .35);
    --shade-lg:  rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.5 var(--font);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
code { font-family: var(--mono); font-size: .92em; background: var(--soft); padding: 1px 5px; border-radius: 4px; box-shadow: 0 0 0 1px var(--hair); }

.wrap { width: var(--col); margin-inline: auto; }

/* ---------- column gridlines ---------- */

/* two hairlines the full height of the viewport at the column edges; the
   section rules (.rule) run full-bleed so they cross them, with a + tick
   at each crossing */
body::before {
  content: '';
  position: fixed; top: 0; bottom: 0; left: 50%;
  width: var(--col);
  transform: translateX(-50%);
  box-sizing: border-box;
  border-left: 1px solid var(--hair);
  border-right: 1px solid var(--hair);
  pointer-events: none;
  z-index: -1;
}

.rule { position: relative; border-top: 1px solid var(--hair); }
.rule::before, .rule::after {
  content: '';
  position: absolute; top: -5px;
  width: 9px; height: 9px;
  background:
    linear-gradient(var(--tick), var(--tick)) center / 100% 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) center / 1px 100% no-repeat;
  pointer-events: none;
}
.rule::before { left: calc(50% - var(--col) / 2 - 4px); }
.rule::after  { left: calc(50% + var(--col) / 2 - 5px); }

.hero h1, .hero .lede, .hero .btn-row,
.sec h2, .sec .intro, .sec .grid,
.strip-in, .foot-cta, .foot-bar { padding-inline: var(--inset); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 10px 16px; background: var(--fg); color: var(--on-fg);
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }

/* ---------- type ---------- */

h1 {
  font-size: clamp(2.5rem, 5.6vw, 3.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h1 .dim { color: var(--dim); }
.rot { display: inline-block; transition: opacity .32s var(--ease), transform .32s var(--ease); }
.rot.is-out { opacity: 0; transform: translateY(.18em); }

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h3 {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 500; line-height: 1.35;
  letter-spacing: -0.01em;
}

.lede {
  max-width: 560px;
  margin-top: 20px;
  font-size: 17px; line-height: 1.5;
  color: var(--muted);
}
.intro {
  max-width: 640px;
  margin-top: 16px;
  font-size: 16px; line-height: 1.55;
  color: var(--muted);
}
.intro br { display: none; }
@media (min-width: 720px) { .intro br { display: initial; } }

/* ---------- icons ---------- */

.ic {
  flex: none;
  width: 16px; height: 16px;
  display: inline-block;
  background: currentColor;
  color: var(--fg);
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
}
/* the masks are painted by motion.js from the <symbol> sheet; this keeps the
   markup down to a single data attribute per icon */

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 14px;
  border-radius: var(--r-btn);
  font-size: 14px; font-weight: 500; line-height: 1;
  white-space: nowrap; cursor: pointer;
  border: 0; font-family: inherit;
  transition: background .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.btn-lg { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--fg); color: var(--on-fg); }
.btn-primary:hover { background: var(--fg-hover); }
.btn-ghost {
  background: var(--card); color: var(--fg);
  box-shadow: 0 0 0 1px var(--ring-2), 0 1px 2px var(--shade);
}
.btn-ghost:hover { background: var(--soft); }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- sign-up ---------- */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup { max-width: 460px; }
.signup-row { display: flex; align-items: center; gap: 10px; }
/* the field is a ghost button you can type in: same height, pill, type and ring */
.signup input {
  -webkit-appearance: none; appearance: none;
  flex: 1; min-width: 0; height: 42px; margin: 0; padding: 0 18px;
  border: 0; border-radius: var(--r-btn);
  background: var(--card); color: var(--fg);
  font: 500 15px/42px var(--font); letter-spacing: inherit;
  box-shadow: 0 0 0 1px var(--ring-2), 0 1px 2px var(--shade);
  transition: background .18s var(--ease), box-shadow .18s var(--ease);
}
.signup input::placeholder { color: var(--faint); opacity: 1; }
.signup input:hover { background: var(--soft); }
.signup input:focus { outline: none; background: var(--card); box-shadow: 0 0 0 1px var(--ring-2), 0 0 0 3px var(--hair); }
.signup input:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.signup-msg:empty { display: none; }
.signup-msg { margin-top: 10px; padding-left: 18px; font-size: 13px; color: var(--faint); }
.signup-msg a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.signup.is-error .signup-msg { color: #dc2626; }
.signup.is-busy button { opacity: .6; pointer-events: none; }
.signup.is-done .signup-row { display: none; }
.signup.is-done .signup-msg { margin-top: 0; padding: 11px 18px; border-radius: var(--r-btn);
  font-size: 15px; color: var(--fg); background: var(--soft); box-shadow: 0 0 0 1px var(--hair); }
.hero .signup { margin-top: 28px; padding-inline: var(--inset); max-width: calc(460px + var(--inset) * 2); }
.foot-cta .signup { flex: 1 1 360px; }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
.nav-in {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  height: 64px;
}

.lockup { display: inline-flex; align-items: center; gap: 10px; }
.mark {
  width: 22px; height: 22px; flex: none;
  background: url(assets/mark-black.svg) center / contain no-repeat;
}
/* the mono logo in the theme's ink: black on light, white on dark */
@media (prefers-color-scheme: dark) {
  .mark { background-image: url(assets/mark-white.svg); }
}
.wordmark { font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; color: var(--muted); }
.wordmark b { font-weight: 600; color: var(--fg); }


.nav-cta { display: flex; justify-content: flex-end; gap: 8px; }
.nav-cta .btn-ghost { box-shadow: 0 0 0 1px var(--ring-2); }


/* the app screenshot comes in both themes; only the matching one loads */
.shot-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .shot-dark { display: block; }
  .shot-light { display: none; }
}

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

.hero { padding: clamp(56px, 8vw, 88px) 0 0; }

.hero .btn-row { margin-top: 28px; }

/* ---------- cards ---------- */

.shot-card {
  position: relative;
  background: var(--card);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.shot-card > img, .shot-card > picture > img, .shot-card > video { width: 100%; }

figcaption {
  padding: 14px 18px;
  font-size: 14px; line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid var(--hair);
}
figcaption strong { display: block; color: var(--fg); font-weight: 500; margin-bottom: 2px; }

/* ---------- works-with strip ---------- */

.strip { margin-top: clamp(40px, 6vw, 64px); }
.strip-in {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px;
  padding: 20px 0;
}
.strip-label { font-size: 13px; color: var(--faint); }
.strip-list { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.strip-list li { font-size: 14px; font-weight: 500; color: var(--muted); }

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

.sec { padding: clamp(64px, 9vw, 96px) 0 0; }
.sec:last-of-type { padding-bottom: clamp(64px, 9vw, 96px); }

.grid {
  display: grid; gap: 32px 32px;
  margin-top: 40px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid > li p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }


/* ---------- frames ---------- */

/* the outline around a product card: a second, softer rounded surface the
   card sits inside, the way evidence.dev presents its app */
.frame {
  padding: var(--frame-pad);
  border-radius: calc(var(--r-card) + var(--frame-pad));
  background: var(--soft);
  box-shadow: 0 0 0 1px var(--hair);
}
.frame-demo { margin-top: clamp(40px, 6vw, 64px); }
.frame-app { margin-top: clamp(48px, 7vw, 72px); }

/* ---------- demo ---------- */

.demo { box-shadow: var(--shadow-lg); background: #161514; }
.demo video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; cursor: pointer; }
.demo iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px 0 14px;
  border: 0; border-radius: var(--r-btn);
  background: var(--play-bg); color: #171717;
  font: 500 15px/1 var(--font); cursor: pointer;
  box-shadow: 0 0 0 1px var(--ring), 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}
.play:hover { transform: translate(-50%, -50%) scale(1.03); }
.play svg { width: 20px; height: 20px; }
.demo.is-playing .play { opacity: 0; pointer-events: none; }

/* ---------- live app ---------- */

/* the app frame: the screenshot until demo/app.html (a 1080×617 page) has
   loaded, then that page scaled to the card */
.app-live { position: relative; aspect-ratio: 1080 / 617; overflow: hidden; background: var(--card); }
.app-live iframe {
  position: absolute; left: 0; top: 0;
  width: 1080px; height: 617px; border: 0;
  transform-origin: 0 0; transform: scale(var(--s, 1));
  opacity: 0; transition: opacity .4s var(--ease);
}
.app-live.is-live iframe { opacity: 1; }
.app-live.is-live picture { visibility: hidden; }
.app-live img { width: 100%; }
.cap-live { display: none; }
@media (min-width: 720px) {
  .cap-live { display: inline; }
  .cap-still { display: none; }
}

/* ---------- benefits ---------- */

.benefits { gap: 40px 48px; }
.benefits h3 { font-size: 18px; }
.benefits p { font-size: 16px; }


/* ---------- legal ---------- */

.legal h1, .legal .intro, .legal-body { padding-inline: var(--inset); }
.legal h1 { font-size: clamp(2.25rem, 4.6vw, 3rem); }
.legal .intro { margin-top: 12px; font-size: 14px; color: var(--faint); }
.legal-body { max-width: calc(680px + var(--inset) * 2); margin-top: 40px; }
.legal-body h2 { padding-inline: 0; margin-top: 40px; font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
.legal-body p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.legal-body p:first-child { margin-top: 0; }
.legal-body strong { font-weight: 500; color: var(--fg); }
.legal-body a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--ring-2); text-underline-offset: 3px; }
.legal-body a:hover { text-decoration-color: currentColor; }
.foot-min { padding-top: 0; }
.foot-min .foot-bar { margin-top: 0; border-top: 0; }

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

.foot { padding: clamp(64px, 9vw, 96px) 0 48px; }
.foot-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.foot-cta h2 { max-width: 480px; }

.foot-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px;
  margin-top: clamp(56px, 8vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--hair);
}
.foot-links { display: flex; gap: 22px; }
.foot-links a { font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--fg); }
.foot-bar p { font-size: 13px; color: var(--faint); }

/* ---------- reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
  .play span { display: none; }
  .play { padding: 0; width: 56px; justify-content: center; }
}

@media (max-width: 520px) {
  :root { --gutter: 16px; --inset: 12px; --frame-pad: 6px; }
  .btn-row .btn-lg { flex: 1; }
  .signup-row { flex-direction: column; align-items: stretch; }
  .signup input { flex: none; width: 100%; }
  .signup .btn-lg { width: 100%; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- changelog ---------- */
.log-entry { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--ring-2); }
.log-entry:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }
.log-entry time { display: block; font-size: 14px; color: var(--faint); }
.legal-body .log-entry h2 { margin-top: 6px; }
.log-entry ul { margin: 12px 0 0; padding-left: 1.2em; list-style: disc; }
.log-entry li::marker { color: var(--faint); }
.log-entry li { margin-top: 6px; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---------- pricing ---------- */
.pricing h1, .faq h2 { padding-inline: var(--inset); }
.pricing .intro { padding-inline: var(--inset); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.plan {
  display: flex; flex-direction: column;
  padding: 28px var(--inset) var(--inset);
  background: var(--card); border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.plan-best { box-shadow: 0 0 0 1px var(--accent-ink), 0 10px 15px -3px var(--shade), 0 4px 6px -4px var(--shade); }
.plan .plan-name { display: flex; align-items: center; gap: 10px; padding: 0; font-size: 16px; line-height: 1.35; letter-spacing: -0.01em; }
.plan-tag {
  padding: 3px 9px; border-radius: var(--r-btn);
  font-size: 12px; font-weight: 500; line-height: 1.3;
  color: #171717; background: var(--accent);
}
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.plan-price .amt { font-size: 48px; font-weight: 500; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.plan-price .per { font-size: 15px; color: var(--faint); }
.plan-note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.plan-btn { margin-top: 28px; width: 100%; }
.plan-incl { margin-top: 40px; padding-inline: var(--inset); }
.plan-incl ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; margin-top: 14px; }
.plan-incl li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.plan-incl li::before {
  content: ''; position: absolute; left: 2px; top: .42em;
  width: 11px; height: 6px;
  border-left: 1.5px solid var(--accent-ink); border-bottom: 1.5px solid var(--accent-ink);
  transform: rotate(-45deg);
}
.faq-list { max-width: calc(680px + var(--inset) * 2); margin: 32px 0 0; padding-inline: var(--inset); }
.faq-list div { padding: 20px 0; border-top: 1px solid var(--hair); }
.faq-list div:first-child { border-top: 0; padding-top: 0; }
.faq-list dt { font-size: 16px; font-weight: 500; }
.faq-list dd { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.faq-list a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--ring-2); text-underline-offset: 3px; }
.pricing { padding-bottom: clamp(56px, 8vw, 80px); }
.faq { padding-bottom: clamp(64px, 9vw, 96px); }
@media (max-width: 720px) {
  .plans, .plan-incl ul { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .nav-cta .btn-ghost { display: none; }
}
