/* Koyote site. Tokens mirror Koyote/Design/Theme.swift (enum K). */

:root {
  --ground: #F1EEEA;
  --surface: #FFFFFF;
  --ink: #24201D;
  --ink2: #6F6862;
  --ink3: #A69E97;
  --rule: rgba(36, 32, 29, .08);
  --hover: rgba(36, 32, 29, .05);
  --pressed: rgba(36, 32, 29, .09);
  --fox: #EE6B22;
  --desk: #E6E1DB;
  --mbar: rgba(255, 255, 255, .62);
  --shadow-panel: 0 1px 0 rgba(36,32,29,.04), 0 18px 50px -12px rgba(36,32,29,.22), 0 0 0 .5px rgba(36,32,29,.08);
  --shadow-soft: 0 1px 2px rgba(36,32,29,.05), 0 0 0 .5px rgba(36,32,29,.06);
  --on-ink: #F7F4F0;
  /* Fox accent for the recommended plan. Deeper than --fox so a white label clears 4.5:1 (5.2:1). */
  --fox-btn: #BC4C19;
  --on-fox: #FFFFFF;
  --fox-ink: #A8410F;
  --fox-tint: color-mix(in srgb, #EE6B22 11%, var(--surface));
  --fox-ring: color-mix(in srgb, #EE6B22 34%, transparent);
  /* Hover fill tones, one per tier */
  --fx: color-mix(in srgb, var(--ink) 6%, transparent);
  --fx-press: color-mix(in srgb, var(--ink) 11%, transparent);
  /* Demo frames: a hairline plus a soft, real drop shadow */
  --shadow-frame: inset 0 0 0 .5px var(--rule), 0 1px 2px rgba(36,32,29,.04), 0 14px 30px -16px rgba(36,32,29,.16), 0 44px 90px -48px rgba(36,32,29,.24);

  --r-panel: 20px;
  --r-card: 14px;
  --r-row: 10px;

  /* Type scale: display / title / lead / body / small. Section rhythm. */
  --fs-h1: clamp(42px, 6.4vw, 82px);
  --fs-h2: clamp(32px, 4.1vw, 50px);
  --fs-lead: clamp(17px, 1.5vw, 20px);
  --fs-body: 17px;
  --fs-small: 14px;
  --sec-pad: clamp(104px, 11vw, 152px);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Inter, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.32, 1.22, .42, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #1D1B1A;
    --surface: #2B2826;
    --ink: #F5F1EC;
    --ink2: #ADA59D;
    --ink3: #7A736C;
    --rule: rgba(245, 241, 236, .08);
    --hover: rgba(245, 241, 236, .05);
    --pressed: rgba(245, 241, 236, .09);
    --fox: #F7843C;
    --desk: #151413;
    --mbar: rgba(43, 40, 38, .72);
    --shadow-panel: 0 18px 50px -12px rgba(0,0,0,.6), 0 0 0 .5px rgba(245,241,236,.10);
    --shadow-soft: 0 0 0 .5px rgba(245,241,236,.07);
    --on-ink: #1D1B1A;
    --fox-btn: #F7843C;
    --on-fox: #1D1B1A;
    --fox-ink: #F7843C;
    --fox-tint: color-mix(in srgb, #F7843C 13%, var(--surface));
    --fox-ring: color-mix(in srgb, #F7843C 38%, transparent);
    --fx: color-mix(in srgb, var(--ink) 7%, transparent);
    --fx-press: color-mix(in srgb, var(--ink) 12%, transparent);
    --shadow-frame: inset 0 0 0 .5px rgba(245,241,236,.09), 0 1px 0 rgba(0,0,0,.3), 0 18px 40px -18px rgba(0,0,0,.55), 0 50px 100px -50px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #1D1B1A;
  --surface: #2B2826;
  --ink: #F5F1EC;
  --ink2: #ADA59D;
  --ink3: #7A736C;
  --rule: rgba(245, 241, 236, .08);
  --hover: rgba(245, 241, 236, .05);
  --pressed: rgba(245, 241, 236, .09);
  --fox: #F7843C;
  --desk: #151413;
  --mbar: rgba(43, 40, 38, .72);
  --shadow-panel: 0 18px 50px -12px rgba(0,0,0,.6), 0 0 0 .5px rgba(245,241,236,.10);
  --shadow-soft: 0 0 0 .5px rgba(245,241,236,.07);
  --on-ink: #1D1B1A;
  --fox-btn: #F7843C;
  --on-fox: #1D1B1A;
  --fox-ink: #F7843C;
  --fox-tint: color-mix(in srgb, #F7843C 13%, var(--surface));
  --fox-ring: color-mix(in srgb, #F7843C 38%, transparent);
  --fx: color-mix(in srgb, var(--ink) 7%, transparent);
  --fx-press: color-mix(in srgb, var(--ink) 12%, transparent);
  --shadow-frame: inset 0 0 0 .5px rgba(245,241,236,.09), 0 1px 0 rgba(0,0,0,.3), 0 18px 40px -18px rgba(0,0,0,.55), 0 50px 100px -50px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
kbd {
  font-family: var(--font);
  font-size: .86em;
  font-weight: 500;
  letter-spacing: .02em;
  padding: .12em .48em;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
a:focus-visible:not([class]) { border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--surface); padding: 8px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }

.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.wrap.wide { max-width: 1184px; }

/* Pills + wordmark (Wordmark in Components.swift: fox glyph tinted fox orange, wide KOYOTE) */
.pill {
  display: inline-flex; align-items: center;
  background: var(--surface);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.glyph {
  display: inline-block; flex: none;
  width: 17px; height: 11.5px;
  background: var(--fox);
  -webkit-mask: url(assets/fox-glyph.png) center / contain no-repeat;
          mask: url(assets/fox-glyph.png) center / contain no-repeat;
}
.wm-text {
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .2em;
  font-stretch: expanded;
  margin-right: -.2em;
}
.wordmark { height: 40px; padding: 0 18px; gap: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; padding: 16px 0; pointer-events: none; }
.nav-inner > * { pointer-events: auto; }
.nav-inner { position: relative; display: flex; gap: 8px; align-items: center; max-width: 1184px; margin: 0 auto; padding: 0 32px; }
.nav-links { height: 40px; padding: 0 4px; gap: 0; }
.nav-links a, .nav-cta {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  padding: 0 14px; height: 32px; display: inline-flex; align-items: center; border-radius: 999px;
}
.nav-links a { color: var(--ink2); }
.nav-cta { height: 40px; padding: 0 18px; background: var(--ink); color: var(--on-ink); box-shadow: none; }
.theme-btn {
  margin-left: auto; width: 40px; height: 40px; padding: 0; justify-content: center; color: var(--ink2);
  border: 0; cursor: pointer; font: inherit;
}
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun, .theme-btn .i-moon, .theme-btn .i-auto { display: none; }
.theme-btn[data-mode="light"] .i-sun, .theme-btn[data-mode="dark"] .i-moon, .theme-btn[data-mode="system"] .i-auto { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -.01em;
  white-space: nowrap;
}
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-white { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-fox { background: var(--fox-btn); color: var(--on-fox); font-weight: 600; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }

/* Hero */
.hero { padding: 48px 0 0; text-align: center; }
.app-icon { width: 84px; height: 84px; margin: 24px auto 32px; border-radius: 23%; clip-path: inset(3% round 21%); box-shadow: 0 10px 24px -10px rgba(36,32,29,.3); }
h1 {
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 600;
  margin: 0 auto;
  max-width: 12.5em;
  text-wrap: balance;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--ink2);
  max-width: 31em;
  margin: 24px auto 0;
  text-wrap: balance;
}
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.cta-row .btn-line { min-width: 120px; }
.fine { font-size: 13.5px; color: var(--ink2); margin: 14px 0 0; text-wrap: balance; }
.req {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  width: fit-content; max-width: 100%; margin: 28px auto 0; padding: 9px 20px 9px 14px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
}
.req .ic { width: 19px; height: 19px; color: var(--fox); stroke-width: 1.6; }
.req .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink3); }

/* Desk: a calm desktop with a real-looking menu bar */
.desk {
  position: relative;
  height: 600px;
  border-radius: 20px;
  background: var(--desk);
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  box-shadow: var(--shadow-frame);
}
.mb {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  height: 32px; padding: 0 12px 0 18px;
  background: var(--mbar);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
          backdrop-filter: blur(20px) saturate(1.5);
  font-size: 13.5px;
  box-shadow: 0 .5px 0 var(--rule);
}
.mb-left, .mb-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.mb-right { gap: 6px; }
.mb-apple { font-size: 15px; line-height: 1; }
.mb-app { font-weight: 700; }
.mb-menu { font-weight: 400; }
.mb-ic { width: 17px; height: 17px; margin: 0 5px; }
.mb-batt { width: 24px; height: 24px; }
.mb-clock { margin-left: 8px; font-variant-numeric: tabular-nums; font-weight: 500; }
.mb-koyote { display: flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; transition: background .2s; }
.mb-koyote .glyph { width: 21px; height: 14px; background: var(--ink); }
.desk .mb { zoom: 1.12; }

/* Sections */
.sec { padding: var(--sec-pad) 0 0; }
h2 {
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -.038em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
.head p, .copy p {
  font-size: 18px; line-height: 1.5; letter-spacing: -.008em; color: var(--ink2);
  margin: 20px 0 0; text-wrap: pretty;
}
.head.center { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.head.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.head.split p { margin: 0; max-width: 30em; }

/* Feature rows: text 5 / demo 7, alternating sides */
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 96px); align-items: center; }
.two.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.two.flip .copy { order: 2; }
.copy { max-width: 440px; }
.two.flip .copy { justify-self: end; }

/* Tick lists (feature rows and plans share the check) */
.ticks { list-style: none; padding: 20px 0 0; margin: 22px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--rule); }
.ticks li, .plan li { font-size: 15px; line-height: 1.45; padding-left: 26px; position: relative; color: var(--ink); }
.ticks li::before, .plan li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticks kbd { font-size: 12.5px; margin-left: 4px; }

.tile {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.tile .ic { width: 17px; height: 17px; }

/* Switch: system style, tinted ink */
.switch {
  position: relative; flex: none; display: inline-block;
  width: 40px; height: 24px; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 16%, transparent);
  transition: background .2s var(--ease);
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.18), 0 0 0 .5px rgba(0,0,0,.06);
  transition: transform .26s var(--spring), width .2s var(--ease);
}
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"]::after { transform: translateX(16px); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .switch::after { background: #F5F1EC; }
  :root:not([data-theme="light"]) .switch[aria-checked="true"]::after { background: #1D1B1A; box-shadow: none; }
}
:root[data-theme="dark"] .switch::after { background: #F5F1EC; }
:root[data-theme="dark"] .switch[aria-checked="true"]::after { background: #1D1B1A; box-shadow: none; }

/* Toasts inside demos */
.toast {
  position: absolute; z-index: 9; left: 50%; bottom: 14px;
  transform: translate(-50%, 8px); opacity: 0;
  background: var(--ink); color: var(--on-ink);
  font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 999px;
  transition: opacity .2s, transform .25s var(--ease);
  pointer-events: none; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Segmented control */
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.seg button { height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink2); }
.seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-soft); }

/* Demo frame shared by the tool demos */
.ed, .rec, .ocr, .clip {
  position: relative;
  padding: 10px; border-radius: var(--r-panel);
  background: color-mix(in srgb, var(--desk) 70%, var(--ground));
  box-shadow: var(--shadow-frame);
  min-width: 0;
}

/* ---------- The shot: a still of a checkout page, used everywhere a capture appears ----------
   Fixed light colours: it's a picture of a web page, so it doesn't follow the site theme. */
.shot { position: relative; aspect-ratio: 4 / 3; container-type: inline-size; overflow: hidden; background: #FBFAF8; }
.mock { position: absolute; inset: 0; font-size: 3.1cqw; line-height: 1.2; color: #24201D; background: #FBFAF8; user-select: none; -webkit-user-select: none; }
.mock > * { position: absolute; }
.m-top { left: 0; right: 0; top: 0; height: 9%; background: #ECE7E1; display: flex; align-items: center; gap: 1.4cqw; padding: 0 3cqw; }
.m-top i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #CFC7BF; }
.m-top span { margin-left: 3cqw; flex: 1; max-width: 50%; height: 60%; display: flex; align-items: center; padding: 0 2cqw; border-radius: 1.4cqw; background: #FBFAF8; font-size: .78em; color: #8A837C; white-space: nowrap; overflow: hidden; }
.m-h { left: 8%; top: 14.5%; font-size: 1.9em; font-weight: 700; letter-spacing: -.03em; }
.m-badge { right: 8%; top: 15.5%; height: 7%; padding: 0 2.4cqw; display: flex; align-items: center; border-radius: 99px; background: #DDF1E4; color: #1F7A47; font-size: .78em; font-weight: 700; }
.m-l { left: 8%; font-size: .82em; color: #6F6862; font-weight: 600; }
.m-l.e { top: 29.4%; } .m-l.c { top: 49.4%; }
.m-in { left: 8%; width: 84%; height: 11%; display: flex; align-items: center; padding: 0 3cqw; border-radius: 1.6cqw; background: #fff; box-shadow: inset 0 0 0 .3cqw #DDD6CF; white-space: nowrap; }
.m-in.e { top: 35%; } .m-in.c { top: 55%; }
.m-sum { left: 8%; right: 8%; top: 70%; display: flex; justify-content: space-between; padding-top: 1.6cqw; border-top: .3cqw solid #E6E1DB; color: #6F6862; }
.m-sum b { color: #24201D; }
.m-btn { left: 52%; top: 82%; width: 60%; height: 12%; display: flex; align-items: center; padding-left: 4cqw; border-radius: 1.8cqw; background: #2F6FDF; color: #fff; font-weight: 700; white-space: nowrap; }
.ann { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: #E5484D; pointer-events: none; }
.ann .a { stroke: currentColor; stroke-width: 4; fill: none; stroke-linecap: round; }
.ann .r { stroke: currentColor; stroke-width: 3.5; fill: none; }
.ann .h { fill: rgba(246, 196, 40, .45); }
.ann .b { fill: url(#px); }
.ann .t { fill: currentColor; font: 700 15px var(--font); }
.ann .st circle { fill: currentColor; }
.ann .st text { fill: #fff; font: 700 13px var(--font); text-anchor: middle; dominant-baseline: central; }

/* ---------- The flow (hero demo) ---------- */
.flow { padding-top: clamp(80px, 9vw, 120px); }
.flow .head.center { margin-bottom: 48px; }
.stage { position: absolute; left: 0; right: 0; bottom: 0; top: 36px; }
.peek { position: absolute; z-index: 0; right: 6%; bottom: 0; width: 230px; height: auto; }
.fwin {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  width: min(540px, 86%);
  border-radius: 12px; overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-panel);
  transform: translate(-50%, -50%);
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s;
}
.f-src .shot { border-radius: 12px; }
/* The selection: same box as the source window, the dimmed frame grows from its top-left corner */
.f-sel { position: absolute; z-index: 2; left: 50%; top: 50%; width: min(540px, 86%); aspect-ratio: 4 / 3; transform: translate(-50%, -50%); pointer-events: none; }
.f-sel::before {
  content: ""; position: absolute; left: -6px; top: -6px; width: 0; height: 0;
  box-shadow: 0 0 0 9999px rgba(20, 18, 16, .3), inset 0 0 0 1.5px rgba(255,255,255,.95);
  opacity: 0;
}
.sel-size {
  position: absolute; right: -6px; bottom: -34px; opacity: 0;
  font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums;
  background: rgba(20,18,16,.78); color: #fff; padding: 3px 8px; border-radius: 6px;
}
.flash { position: absolute; z-index: 3; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.f-thumb {
  position: absolute; z-index: 4; left: 18px; bottom: 18px; width: 190px;
  padding: 6px; border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: var(--shadow-panel);
  opacity: 0; transform: translateX(-240px);
}
.f-thumb .shot { border-radius: 9px; }
.f-chip {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 4px;
  height: 22px; padding: 0 9px 0 6px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font-size: 11.5px; font-weight: 600;
}
.f-chip .ic { width: 12px; height: 12px; stroke-width: 2.4; }

.flow-desk.play[data-step="1"] .f-sel::before { animation: fsel 1s var(--ease) .2s forwards; }
.flow-desk.play[data-step="1"] .sel-size { animation: fshow 1.2s linear .2s forwards; }
.flow-desk.play[data-step="1"] .flash { animation: fflash .5s ease-out 1.3s; }
.flow-desk.play[data-step="1"] .f-thumb { animation: fthumb .55s var(--spring) 1.45s forwards; }
@keyframes fsel {
  0% { width: 0; height: 0; opacity: 1; }
  85% { width: calc(100% + 12px); height: calc(100% + 12px); opacity: 1; }
  100% { width: calc(100% + 12px); height: calc(100% + 12px); opacity: 0; }
}
@keyframes fshow { 0%, 20% { opacity: 0; } 30%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fflash { 0% { opacity: .75; } 100% { opacity: 0; } }
@keyframes fthumb { from { opacity: 0; transform: translateX(-240px); } to { opacity: 1; transform: none; } }

/* Editor window */
.f-ed { width: min(580px, 90%); background: var(--ground); }
.f-ed-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px; }
.f-tools { display: inline-flex; gap: 2px; height: 34px; padding: 0 4px; align-items: center; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft); }
.f-tools i { width: 28px; height: 26px; display: grid; place-items: center; border-radius: 999px; color: var(--ink2); }
.f-tools i.on { background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); }
.f-tools .ic { width: 15px; height: 15px; }
.f-done { height: 30px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 13px; font-weight: 600; }
.f-ed-canvas { padding: 0 14px 14px; }
.f-ed-canvas .shot { border-radius: 8px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.3), 0 0 0 .5px rgba(0,0,0,.08); }

/* Chat window */
.f-chat { width: min(440px, 90%); }
.f-chat-head { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.f-chat-head span { color: var(--ink2); font-size: 12.5px; }
.f-msgs { display: grid; gap: 14px; padding: 14px 16px 6px; }
.f-msg { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; }
.f-msg > div { flex: 1; min-width: 0; }
.f-msg > div > b { font-size: 13px; }
.f-msg > div > p { margin: 2px 0 0; }
.av { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: #fff; }
.av-a { background: #2F6FDF; } .av-b { background: var(--fox-btn); color: var(--on-fox); }
.f-img { width: min(230px, 100%); margin-top: 8px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--rule); }
.f-compose { display: flex; justify-content: space-between; align-items: center; margin: 10px 12px 12px; height: 38px; padding: 0 8px 0 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--rule); font-size: 13px; color: var(--ink3); }
.f-compose kbd { font-size: 12px; }

/* Step states */
.f-ed, .f-chat { opacity: 0; visibility: hidden; transform: translate(-50%, -47%) scale(.97); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s; }
.flow-desk[data-step="2"] .f-ed, .flow-desk[data-step="3"] .f-chat { opacity: 1; visibility: visible; transform: translate(-50%, -50%); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s; }
.flow-desk[data-step="2"] .f-src { opacity: .35; transform: translate(-50%, -50%) scale(.96); }
.flow-desk[data-step="3"] .f-src { opacity: 0; transform: translate(-50%, -50%) scale(.94); }
.flow-desk:not([data-step="1"]) .f-thumb { opacity: 0; transition: opacity .2s; }
.flow-desk[data-step="2"] .mb-koyote { background: var(--pressed); }
/* Markup draws in, one mark at a time */
.f-ed .ann > * { opacity: 0; }
.flow-desk.play[data-step="2"] .f-ed .ann > * { animation: annin .4s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms + 450ms); }
.flow-desk[data-step="3"] .f-ed .ann > * { opacity: 1; }
@keyframes annin { from { opacity: 0; } to { opacity: 1; } }
.f-mine .f-img { opacity: 0; transform: translateY(6px); }
.flow-desk.play[data-step="3"] .f-mine .f-img { animation: imgin .45s var(--ease) .6s forwards; }
@keyframes imgin { to { opacity: 1; transform: none; } }
.flow-desk.play[data-step="3"] .f-compose kbd { animation: kpress .5s ease .2s; }
@keyframes kpress { 50% { background: var(--ink); color: var(--on-ink); } }

/* Step picker under the desk */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.steps button {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 16px; text-align: left;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.steps button[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow-soft); }
.steps .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.steps button[aria-selected="true"] .n { background: var(--ink); color: var(--on-ink); }
.s-t { display: grid; min-width: 0; }
.s-t b { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.s-t > span { font-size: 13.5px; color: var(--ink2); }
.s-t kbd { font-size: 11.5px; }
.prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--fox); }
.steps.auto button[aria-selected="true"] .prog { animation: prog var(--dur, 4200ms) linear forwards; }
@keyframes prog { to { width: 100%; } }

/* ---------- Four tools ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tool-card {
  display: grid; gap: 4px; align-content: start;
  padding: 18px; border-radius: var(--r-card);
  background: var(--surface); box-shadow: var(--shadow-soft);
}
.tool-card .tile { background: var(--ground); box-shadow: none; margin-bottom: 10px; }
.tool-card b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.tool-card > span:not(.tile) { font-size: 14px; color: var(--ink2); }
.tool-card kbd { justify-self: start; margin-top: 10px; font-size: 12px; background: var(--ground); box-shadow: none; }

/* ---------- Screenshot editor demo ---------- */
.ed-bar { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ed-tools { height: 42px; padding: 0 5px; gap: 2px; }
.ed-tools button { height: 32px; min-width: 34px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink2); }
.ed-tools button[aria-pressed="true"] { background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); }
.ed-tools .ic { width: 17px; height: 17px; }
.ed-tools .ed-done { color: var(--ink); font-size: 14px; font-weight: 600; padding: 0 14px; }
.ed-canvas {
  position: relative; margin-top: 10px; border-radius: 14px;
  padding: clamp(16px, 4vw, 36px);
  background: #E9DCCB;
  transition: background-color .25s ease, padding .3s var(--ease);
}
.ed-canvas[data-bg="none"] { padding: 0; background: transparent; }
.ed-canvas[data-bg="sky"] { background: #CFE0F2; }
.ed-canvas[data-bg="fox"] { background: #F4B48C; }
.ed-canvas[data-bg="ink"] { background: #2B2826; }
.ed-canvas .shot { border-radius: 10px; box-shadow: 0 12px 30px -14px rgba(0,0,0,.35), 0 0 0 .5px rgba(0,0,0,.08); cursor: crosshair; touch-action: none; }
.ed-canvas[data-bg="none"] .shot { box-shadow: 0 0 0 .5px rgba(0,0,0,.08); }
.ed-canvas[data-tool="pick"] .shot { cursor: none; }
.loupe {
  position: absolute; z-index: 4; width: 96px; height: 96px; margin: -48px 0 0 -48px;
  border-radius: 50%; pointer-events: none; display: none;
  background-color: #fff;
  background-image: linear-gradient(rgba(0,0,0,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.12) 1px, transparent 1px);
  background-size: 12px 12px; background-position: -6px -6px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 3.5px rgba(0,0,0,.2), 0 8px 20px -6px rgba(0,0,0,.35);
}
.loupe::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px rgba(0,0,0,.5); }
.loupe.on { display: block; }
.loupe-hex {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%);
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  background: rgba(20,18,16,.82); color: #fff; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.ed-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-top: 10px; padding: 0 4px; }
.bgs { display: flex; align-items: center; gap: 7px; }
.bgs-label { font-size: 13px; color: var(--ink2); margin-right: 3px; }
.bgs button { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.bgs [data-bg="none"] { background: var(--surface) linear-gradient(135deg, transparent 46%, #E5484D 46%, #E5484D 54%, transparent 54%); }
.bgs [data-bg="sand"] { background: #E9DCCB; }
.bgs [data-bg="sky"] { background: #CFE0F2; }
.bgs [data-bg="fox"] { background: #F4B48C; }
.bgs [data-bg="ink"] { background: #2B2826; }
.bgs button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ground), 0 0 0 3.5px var(--ink); }
.ed-hint { font-size: 13px; color: var(--ink2); }

/* ---------- Recording demo ---------- */
.rec-screen { position: relative; aspect-ratio: 16 / 10.5; border-radius: 14px; background: var(--desk); overflow: hidden; }
.rec-screen::after { content: ""; position: absolute; inset: 6px; border-radius: 10px; border: 1.5px dashed color-mix(in srgb, #E5484D 70%, transparent); pointer-events: none; }
.rec-bar {
  position: absolute; z-index: 4; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 12px;
  border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft);
  font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.rec-bar .ic { width: 15px; height: 15px; color: var(--ink2); }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: #E5484D; }
.rec.live .rec-dot { animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.rec-time { min-width: 2.6em; }
.rec-sep { width: 1px; height: 14px; background: var(--rule); }
.rec-win {
  position: absolute; z-index: 1; left: 50%; top: 57%; transform: translate(-50%, -50%);
  width: 62%; border-radius: 10px; overflow: hidden;
  background: var(--surface); box-shadow: 0 10px 30px -10px rgba(36,32,29,.28), 0 0 0 .5px var(--rule);
}
.win-bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-bottom: 1px solid var(--rule); }
.win-bar i { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.win-bar span { font-size: 11px; font-weight: 600; color: var(--ink2); margin-left: 6px; }
.rec-rows { padding: 4px 14px 14px; }
.rec-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 13px; font-weight: 500; white-space: nowrap; }
.rec-row .switch { transform: scale(.8); transform-origin: right center; }
.rec-save { display: inline-flex; margin-top: 12px; padding: 6px 13px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 12.5px; font-weight: 600; transition: background-color .2s; }
.rec-save.done { background: #1F9E5A; color: #fff; }
.cam { position: absolute; z-index: 3; right: 18px; bottom: 18px; width: 17%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #3E4652; box-shadow: 0 0 0 3px #fff, 0 8px 20px -8px rgba(0,0,0,.4); }
.cam-head { position: absolute; left: 50%; top: 22%; width: 36%; height: 36%; border-radius: 50%; background: #E2BC9C; transform: translateX(-50%); }
.cam-body { position: absolute; left: 50%; top: 62%; width: 74%; height: 60%; border-radius: 50% 50% 0 0; background: #D9622A; transform: translateX(-50%); }
.keys { position: absolute; z-index: 4; left: 50%; bottom: 18px; transform: translate(-50%, 6px); display: flex; gap: 4px; opacity: 0; transition: opacity .2s, transform .25s var(--ease); }
.keys.on { opacity: 1; transform: translate(-50%, 0); }
.keys span { min-width: 30px; height: 30px; padding: 0 9px; display: grid; place-items: center; border-radius: 8px; background: rgba(20,18,16,.8); color: #fff; font-size: 15px; font-weight: 600; }
.cursor { position: absolute; z-index: 5; left: 30%; top: 70%; width: 22px; height: 22px; margin: -3px 0 0 -5px; fill: #1A1816; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; transition: left .75s var(--ease), top .75s var(--ease); }
.ring { position: absolute; z-index: 4; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2.5px solid var(--fox); pointer-events: none; animation: ring .6s ease-out forwards; }
@keyframes ring { from { transform: scale(.35); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.rec-foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 10px; }
.rec-stop { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft); font-size: 14px; font-weight: 600; }
.rec-stop .sq { width: 11px; height: 11px; border-radius: 3px; background: #E5484D; }
.rec-stop[aria-pressed="true"] .sq { border-radius: 50%; }
.trim { position: relative; height: 36px; border-radius: 8px; overflow: hidden; touch-action: none; }
.trim-strip { position: absolute; inset: 0; display: flex; gap: 2px; }
.trim-strip i { flex: 1; background: var(--surface); position: relative; }
.trim-strip i::after { content: ""; position: absolute; left: 22%; right: 22%; top: 30%; bottom: 22%; border-radius: 2px; background: var(--desk); }
.trim-sel { position: absolute; top: 0; bottom: 0; left: 8%; right: 12%; border-radius: 8px; box-shadow: inset 0 0 0 2.5px var(--fox), 0 0 0 999px color-mix(in srgb, var(--ground) 62%, transparent); }
.trim-h { position: absolute; top: 0; bottom: 0; width: 12px; background: var(--fox); cursor: ew-resize; touch-action: none; }
.trim-h.l { left: 0; border-radius: 8px 0 0 8px; } .trim-h.r { right: 0; border-radius: 0 8px 8px 0; }
.trim-h::after { content: ""; position: absolute; left: 50%; top: 30%; bottom: 30%; width: 2px; margin-left: -1px; border-radius: 1px; background: rgba(255,255,255,.85); }
.rec-note { margin: 10px 4px 0; font-size: 13.5px; color: var(--ink2); font-variant-numeric: tabular-nums; }

/* ---------- Text from screen demo ---------- */
.ocr-src { position: relative; margin-top: 10px; padding: 18px; border-radius: 14px; background: var(--desk); min-height: 196px; display: grid; place-items: center; }
.ocr-img { width: 100%; padding: 16px 18px; border-radius: 8px; background: #FBFAF8; color: #2A2522; user-select: none; -webkit-user-select: none; box-shadow: 0 0 0 .5px rgba(0,0,0,.08); font-size: 14.5px; line-height: 1.45; }
.ocr-img h4 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.01em; }
.ocr-img p { margin: 0; }
.ocr-img table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ocr-img th { text-align: left; font-size: 12.5px; color: #6F6862; font-weight: 600; padding: 0 0 6px; }
.ocr-img td { padding: 5px 0; border-top: 1px solid #E6E1DB; }
.ocr-img .qr-wrap { display: flex; align-items: center; gap: 16px; }
.ocr-img .qr { width: 96px; height: 96px; flex: none; shape-rendering: crispEdges; }
.ocr-sel { position: absolute; left: 12px; right: 12px; top: 12px; bottom: 12px; border-radius: 6px; background: rgba(238, 107, 34, .08); box-shadow: inset 0 0 0 1.5px var(--fox); clip-path: inset(0 100% 100% 0); opacity: 0; }
.ocr.scan .ocr-sel { animation: osel .9s var(--ease) forwards; }
@keyframes osel { 0% { opacity: 1; clip-path: inset(0 100% 100% 0); } 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
.ocr-out { position: relative; margin-top: 10px; padding: 14px 16px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-soft); min-height: 168px; transition: opacity .3s, transform .35s var(--ease); }
.ocr.scan .ocr-out { opacity: 0; transform: translateY(6px); transition: none; }
.o-label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink2); font-weight: 500; margin-bottom: 10px; }
.o-label .ic { width: 13px; height: 13px; stroke-width: 2.2; color: #1F9E5A; }
.o-text { margin: 0; font: inherit; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; }
.o-grid { display: grid; grid-template-columns: 26px repeat(3, minmax(0, 1fr)); font-size: 13px; font-variant-numeric: tabular-nums; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.o-grid > span { padding: 5px 8px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-grid .hd { background: color-mix(in srgb, var(--ink) 4%, transparent); color: var(--ink2); font-size: 11.5px; text-align: center; padding: 3px; }
.o-link { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.o-url { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--ground); font-size: 14px; font-weight: 500; }
.o-url .ic { width: 15px; height: 15px; color: var(--ink2); }

/* ---------- Clipboard demo ---------- */
.clip-top { display: flex; gap: 6px; }
.clip-title { height: 38px; padding: 0 16px; font-size: 14.5px; font-weight: 600; }
.clip-search { flex: 1; height: 38px; padding: 0 14px; gap: 8px; color: var(--ink2); min-width: 0; }
.clip-search .ic { width: 15px; height: 15px; }
.clip-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 14.5px; color: var(--ink); }
.clip-search input::placeholder { color: var(--ink3); }
.clip-search:focus-within { box-shadow: var(--shadow-soft), 0 0 0 2px color-mix(in srgb, var(--ink) 22%, transparent); }
.clip-tabs { display: flex; gap: 4px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.clip-tabs::-webkit-scrollbar { display: none; }
.clip-tabs button { flex: none; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink2); }
.clip-tabs button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-soft); }
.clip-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; min-height: 352px; align-content: start; }
.clip-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 9px 12px; border-radius: 12px; background: var(--surface);
  text-align: left; box-shadow: var(--shadow-soft);
}
.clip-prev { width: 36px; height: 36px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--ground); color: var(--ink2); overflow: hidden; }
.clip-prev .ic { width: 16px; height: 16px; }
.clip-prev.img { position: relative; background: #ECE7E1; }
.clip-prev.img::before { content: ""; position: absolute; left: 6px; right: 6px; top: 7px; height: 4px; border-radius: 2px; background: #CFC7BF; }
.clip-prev.img::after { content: ""; position: absolute; left: 6px; right: 12px; top: 15px; bottom: 7px; border-radius: 3px; background: #2F6FDF; }
.clip-main { flex: 1; min-width: 0; display: grid; }
.clip-text { font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip-meta { font-size: 12.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip-key { font-size: 12px; color: var(--ink2); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px; flex: none; }
.clip-key .ic { width: 13px; height: 13px; color: var(--fox-ink); }
.clip-note { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--rule); font-size: 13px; color: var(--ink2); }
.clip-note .ic { width: 15px; height: 15px; }
.empty { padding: 40px 12px; text-align: center; color: var(--ink2); font-size: 14px; }
.clip-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 9px 12px 9px 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-soft); font-size: 14px; font-weight: 500; }

/* ---------- Private ---------- */
.priv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.priv { padding: 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-soft); }
.priv .tile { background: var(--ground); box-shadow: none; }
.priv .tile .ic { color: var(--fox-ink); }
.priv h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.priv p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink2); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; align-items: stretch; max-width: 780px; margin: 0 auto; }
.plan {
  display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--r-panel);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.plan.main { background: var(--surface); box-shadow: inset 0 0 0 1px var(--fox-ring), 0 1px 2px rgba(36,32,29,.04), 0 24px 48px -28px rgba(36,32,29,.22); padding: 32px 32px 30px; margin: -8px 0; }
.plan.main .chip { background: var(--fox-tint); color: var(--fox-ink); }
.plan.main li::before { background: var(--fox-ink); }
.plan h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; margin: 0; letter-spacing: -.01em; color: var(--ink2); }
.plan.main h3 { color: var(--ink); }
.chip { font-size: 11.5px; font-weight: 600; color: var(--ink2); padding: 3px 9px; border-radius: 999px; background: var(--ground); letter-spacing: 0; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.amt { font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan.main .amt { font-size: 56px; }
.price s { font-size: 18px; color: var(--ink2); }
.per { font-size: 14.5px; color: var(--ink2); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan .btn { width: 100%; }
.plans-foot { text-align: center; color: var(--ink2); font-size: 14.5px; margin: 32px 0 0; }

/* The two-app comparison: factual, quiet, below the plans */
.compare { max-width: 780px; margin: 96px auto 0; }
.compare-head h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.compare-head p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink2); }
.cmp { margin-top: 16px; padding: 4px 0; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--rule); }
.cmp-row { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; align-items: center; padding: 11px 20px; font-size: 14.5px; }
.cmp-row + .cmp-row { border-top: 1px solid var(--rule); }
.cmp-row > span { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cmp-row > span:nth-child(2) { color: var(--ink2); }
.cmp-row > span:nth-child(3) { color: var(--ink); font-weight: 500; }
.cmp-row .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.cmp-row > span:nth-child(3) .ic { color: var(--fox-ink); }
.cmp-h { font-size: 12.5px; font-weight: 600; }
.cmp-h > span:nth-child(2), .cmp-h > span:nth-child(3) { color: var(--ink2); font-weight: 600; }
.cmp-note { margin: 12px 0 0; font-size: 12.5px; color: var(--ink3); }

/* FAQ: two columns of questions */
.faq .head.center { margin-bottom: 40px; }
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.qa { background: var(--surface); border-radius: var(--r-panel); box-shadow: var(--shadow-soft); padding: 6px 0; }
details { position: relative; }
details + details::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--rule); }
summary {
  list-style: none; cursor: pointer; position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 16.5px; font-weight: 500; letter-spacing: -.012em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 13px; height: 13px;
  background: var(--ink3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease);
}
summary::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 4px 8px; border-radius: 14px;
  background: var(--fx); opacity: 0; transition: opacity .12s ease;
}
details[open] summary::after { transform: rotate(45deg); }
summary:focus-visible { outline-offset: -4px; border-radius: 16px; }
summary:focus-visible::before { opacity: 1; }
summary:active::before { opacity: 1; background: var(--fx-press); }
details p { margin: -6px 24px 22px; color: var(--ink2); font-size: 15.5px; line-height: 1.55; }

/* Footer: one band, flat (no shadows), ending in the menu bar strip and the sign-off */
.foot { position: relative; isolation: isolate; overflow: clip; padding: 120px 0 0; }
.foot-band {
  background: var(--desk);
  border-top: 1px solid var(--rule);
  padding-top: clamp(64px, 8vw, 104px);
  overflow: clip;
}
.foot .wrap { position: relative; }
.foot-cta {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end;
  padding-bottom: clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--rule);
}
.foot-title { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -.035em; font-weight: 650; margin: 0; }
.foot-sub { margin: 0 0 22px; color: var(--ink2); font-size: 16.5px; line-height: 1.5; max-width: 26em; }
.foot-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding: 56px 0 64px;
}
.wordmark-plain { display: inline-flex; align-items: center; gap: 8px; height: 24px; }
.foot-brand p { margin: 16px 0 14px; max-width: 22em; color: var(--ink2); font-size: 15px; line-height: 1.5; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: 14.5px; }
.foot-col h3 { margin: 4px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.foot-col a { color: var(--ink); }
.foot-meta { color: var(--ink3); font-size: 13px; margin-top: 4px; }
.foot-bar {
  border-radius: 10px; box-shadow: none; border: 1px solid var(--rule);
  background: var(--mbar); font-size: 13px;
}
.foot-bar .glyph { width: 19px; height: 13px; background: var(--ink); margin: 0 4px; }
.foot-bar .mb-left { gap: 14px; }
.foot-bar .mb-right { gap: 12px; }
.foot-bar .mb-menu { color: var(--ink2); }
.foot-top { color: var(--ink2); padding: 0 4px; }
/* The sign-off: a huge KOYOTE resting on the bottom edge, the fox sitting on the E. Nothing here moves. */
.foot-giant { position: relative; margin-top: clamp(72px, 10vw, 140px); height: clamp(46px, 13.1vw, 198px); user-select: none; pointer-events: none; }
.giant-word {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  font-size: clamp(56px, 16.4vw, 250px); line-height: .74; font-weight: 800;
  letter-spacing: .1em; font-stretch: expanded; white-space: nowrap;
  color: color-mix(in srgb, var(--ink) 8%, var(--desk));
}
.giant-e { position: relative; display: inline-block; letter-spacing: 0; }
.base-probe { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.giant-fox {
  position: absolute; top: 0; left: 50%;
  width: .52em; aspect-ratio: 1458 / 986;
  color: var(--fox); transform: translate(-50%, -82%);
}

/* ---------------------------------------------------------------
   Interaction.
   Hover is a colour change and nothing else, everywhere except the
   orange main buttons (Download free trial, Buy Koyote): their label
   steps aside a hair, a small arrow slides in, and the button has a
   magnetic pull of up to 3px toward the cursor, set from pointermove
   in app.js (--tx/--ty, --lx/--ly). The fox never moves.
---------------------------------------------------------------- */
:is(.nav-links a, .theme-btn, .nav .wordmark, .ed-tools button, .seg button, .btn, .nav-cta, .steps button, .tool-card,
    .clip-item, .clip-tabs button, .rec-stop, .bgs button, .foot-col a, .foot-top) {
  -webkit-tap-highlight-color: transparent;
  transition: background-color .12s ease, color .12s ease, box-shadow .12s ease, transform .2s cubic-bezier(.2, .8, .2, 1);
}
@media (hover: hover) {
  .nav-links a:hover, .theme-btn:hover { color: var(--ink); }
  .ed-tools button:hover { background-color: var(--fx); color: var(--ink); }
  .seg button[aria-checked="false"]:hover, .clip-tabs button[aria-checked="false"]:hover { color: var(--ink); background-color: color-mix(in srgb, var(--ink) 4%, transparent); }
  .steps button[aria-selected="false"]:hover { background-color: var(--fx); }
  .nav .wordmark:hover, .clip-item:hover, .tool-card:hover, .rec-stop:hover { background-color: color-mix(in srgb, var(--surface) 95%, var(--ink)); }
  .btn-white:hover { background-color: color-mix(in srgb, var(--surface) 94%, var(--ink)); }
  .btn-line:hover { background-color: var(--fx); }
  .nav-cta:hover { background-color: color-mix(in srgb, var(--ink) 86%, var(--ground)); }
  .switch:hover { background-color: color-mix(in srgb, var(--ink) 24%, transparent); }
  .switch[aria-checked="true"]:hover { background-color: color-mix(in srgb, var(--ink) 86%, var(--ground)); }
  summary:hover::before { opacity: 1; }
  summary:hover::after { background: var(--ink2); }
  .foot-col a:hover { color: var(--fox-ink); }
  .foot-top:hover { color: var(--ink); }
}
:is(.ed-tools button):active { background-color: var(--fx-press); }
:is(.nav-links a, .theme-btn, .nav .wordmark, .ed-tools button, .seg button, .nav-cta, .btn:not(.btn-fox), .steps button,
    .clip-tabs button, .rec-stop):active { transform: scale(.985); transition-duration: .08s; }
.clip-item:active { transform: scale(.99); transition-duration: .08s; }
.switch:active::after { width: 24px; }
.switch[aria-checked="true"]:active::after { transform: translateX(12px); }

/* Theme toggle: the new icon turns in */
.theme-btn svg { animation: theme-in .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes theme-in { from { opacity: 0; transform: rotate(-40deg) scale(.8); } }

/* Main buttons: label steps aside, arrow slides in after it */
.btn-main .lbl { position: relative; display: inline-block; transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
.btn-main .arr {
  position: absolute; left: calc(100% + 6px); top: 50%;
  width: 12px; height: 12px; margin-top: -6px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: translateX(-5px);
  transition: opacity .2s ease, transform .38s cubic-bezier(.2, .8, .2, 1);
}
@media (hover: hover) {
  .btn-main:hover .arr { opacity: 1; transform: none; }
  .btn-fox:hover { background-color: color-mix(in srgb, var(--fox-btn) 92%, #3A1200); }
}
.btn-main:focus-visible .lbl { transform: translateX(-8px); }
.btn-main:focus-visible .arr { opacity: 1; transform: none; }

/* Orange signature: magnetic pull */
.btn-fox.btn-main {
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--ps, 1));
  transition: background-color .12s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.btn-fox.btn-main.pulling { transition: background-color .12s ease, transform .16s ease-out; }
.btn-fox.btn-main .lbl { transform: translate(var(--lx, 0px), var(--ly, 0px)); }
@media (hover: hover) { .btn-fox.btn-main:hover .lbl { transform: translate(calc(var(--lx, 0px) - 8px), var(--ly, 0px)); } }
.btn-fox.btn-main:active { --ps: .985; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(.985); }

.clip-item:focus-visible, .steps button:focus-visible, .tool-card:focus-visible { outline-offset: -2px; }

@media (prefers-reduced-motion: reduce) {
  .btn-main .lbl, .btn-fox.btn-main .lbl { transform: none !important; }
  .btn-main .arr { transform: none !important; }
  .btn-fox.btn-main { transform: none !important; }
}

/* ---------- Edge fox: an oversized fox hanging from the top-left corner ---------- */
.edge { position: absolute; pointer-events: none; user-select: none; overflow: clip; z-index: -1; }
.edge-mark { display: block; aspect-ratio: 1458 / 986; height: auto; color: color-mix(in srgb, var(--ink) 4.5%, var(--ground)); }
.edge-top { left: 0; top: 0; width: 100%; height: min(60vw, 640px); }
.edge-top .edge-mark {
  --w: clamp(280px, 34vw, 560px);
  position: absolute; width: var(--w); top: 0; left: calc(var(--w) * -.2);
  transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 980px) {
  .two, .two.flip { grid-template-columns: 1fr; gap: 36px; }
  .two.flip .copy { justify-self: start; order: 0; }
  .copy { max-width: 560px; }
  .head.split { grid-template-columns: 1fr; gap: 14px; }
  .tool-grid, .priv-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan.main { margin: 0; }
  .faq-cols { grid-template-columns: 1fr; gap: 0; }
  .faq-cols .qa:first-child { border-radius: var(--r-panel) var(--r-panel) 0 0; padding-bottom: 0; }
  .faq-cols .qa + .qa { border-radius: 0 0 var(--r-panel) var(--r-panel); padding-top: 0; position: relative; }
  .faq-cols .qa + .qa details:first-child::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--rule); }
  .mb-menu:nth-of-type(n+4) { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .mb-menu { display: none; }
  .flow-desk { height: 470px; }
  .peek { width: 150px; }
  .f-thumb { width: 130px; left: 12px; bottom: 12px; }
  .f-chip { top: 9px; right: 9px; }
  .steps { gap: 6px; }
  .steps button { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .s-t > span { display: none; }
}
@media (max-width: 640px) {
  .wrap, .nav-inner { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding-top: 16px; }
  .app-icon { width: 72px; height: 72px; margin: 20px auto 22px; }
  .lead { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .req { flex-direction: column; gap: 2px; border-radius: 18px; padding: 12px 22px; }
  .req .dot { display: none; }
  .flow-desk { height: 400px; border-radius: 16px; }
  .fwin, .f-sel { width: 88%; }
  .f-ed, .f-chat { width: 92%; }
  .f-ed-bar { padding: 6px; }
  .f-tools i { width: 24px; }
  .f-tools i:nth-child(n+4) { display: none; }
  .f-ed-canvas { padding: 0 8px 8px; }
  .f-msgs { padding: 10px 12px 4px; gap: 10px; }
  .f-img { width: 150px; }
  .f-chat-head { padding: 10px 12px; }
  .f-compose { margin: 8px 10px 10px; height: 34px; }
  .mb { padding: 0 6px 0 12px; }
  .mb-left { gap: 12px; }
  .hide-sm, .mb-batt { display: none; }
  .mb-clock { margin-left: 2px; }
  .sec { padding-top: 96px; }
  h2 { letter-spacing: -.032em; }
  .head.center, .head.split { margin-bottom: 32px; }
  .head p, .copy p { font-size: 16.5px; }
  .tool-card { padding: 14px; }
  .tool-card b { font-size: 15px; }
  .priv-grid { grid-template-columns: 1fr; }
  .ed, .rec, .ocr, .clip { padding: 8px; border-radius: 18px; }
  .ed-tools { height: 38px; }
  .ed-tools { padding: 0 3px; }
  .ed-tools button { min-width: 28px; padding: 0 5px; height: 30px; }
  .ed-tools .ed-done { padding: 0 10px; }
  .ed-tools .ic { width: 16px; height: 16px; }
  .rec-bar { top: 10px; height: 28px; gap: 7px; padding: 0 10px; font-size: 12px; }
  .rec-bar .ic { width: 13px; height: 13px; }
  .rec-screen { aspect-ratio: 16 / 12.5; }
  .rec-win { width: 74%; top: 56%; }
  .rec-rows { padding: 2px 10px 10px; }
  .rec-row { padding: 5px 0; font-size: 11.5px; }
  .rec-save { margin-top: 8px; font-size: 11px; padding: 4px 10px; }
  .cam { right: 12px; bottom: 12px; width: 18%; }
  .keys { bottom: 12px; }
  .keys span { min-width: 24px; height: 24px; font-size: 13px; padding: 0 7px; }
  .rec-foot { grid-template-columns: 1fr auto; }
  .trim { grid-column: 1 / -1; order: -1; }
  .ocr-src { padding: 12px; min-height: 180px; }
  .ocr-img { padding: 12px 14px; font-size: 13.5px; }
  .ocr-img .qr { width: 80px; height: 80px; }
  .o-grid { font-size: 12px; }
  .o-grid > span { padding: 4px 6px; }
  .compare { margin-top: 72px; }
  .cmp-h { display: none !important; }
  .cmp-row { grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 12px 16px; font-size: 14px; }
  .cmp-row > span:first-child { grid-column: 1 / -1; font-weight: 600; }
  .cmp-row > span[data-l] { flex-direction: column; align-items: flex-start; gap: 2px; }
  .cmp-row > span[data-l]::before { content: attr(data-l); font-size: 11.5px; font-weight: 500; color: var(--ink3); }
  summary { font-size: 16px; padding: 18px 20px; }
  details p { margin: -6px 20px 20px; }
  .foot-cta { grid-template-columns: 1fr; gap: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding: 52px 2px 44px; }
  .foot-bar .mb-app { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
