/* plusmark.thecloudgrid.com: Plusmark product site. Mobile first; light + dark.
   Look: the App Store art's lavender ground, a chessboard of + pads, the orange Goal Ring
   and the blue glass pad. Headings in Nunito (the store art's typeface). */
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
:root {
  --bg: #f7f6ff;
  --bg-2: #ebe9ff;
  --surface: #ffffff;
  --ink: #17161f;
  --ink-2: #4a4860;
  --ink-3: #6c6a82;
  --line: #e2e0f3;
  --orange: #f47b20;
  --orange-2: #e65a14;
  --blue: #2b8ff3;
  --blue-2: #1268d6;
  --violet: #6d64e8;
  --pink: #e04fb8;
  --green: #22b35e;
  --accent: var(--violet);
  --accent-ink: #4b40c9;
  --accent-soft: #ecebff;
  --orange-soft: #fff1e4;
  --orange-ink: #b9480c;
  --pattern: #6d64e8;
  --shadow: 0 1px 2px rgba(23, 22, 50, .05), 0 10px 28px rgba(40, 34, 110, .09);
  --radius: 20px;
  --wrap: 1140px;
  --head: "Nunito", ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0a18;
    --bg-2: #1b1536;
    --surface: #15122a;
    --ink: #f6f5ff;
    --ink-2: #cdcae6;
    --ink-3: #9d99bb;
    --line: #2a2548;
    --accent-ink: #aaa4ff;
    --accent-soft: #221d45;
    --orange-soft: #2c1a10;
    --orange-ink: #ffab6b;
    --pattern: #8f88ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(2.4rem, 8vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); font-weight: 900; }
h3 { font-size: 1.16rem; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* ── header ─────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 20; transition: box-shadow .3s, background-color .3s;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top .wrap { display: flex; align-items: center; gap: 12px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 900; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.nav { display: none; margin-left: auto; gap: 24px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 650; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.top .get { margin-left: auto; }
@media (min-width: 860px) { .nav { display: flex; } .top .get { margin-left: 10px; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 14px; border: 0;
  font: inherit; font-family: var(--head); font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 6px 18px rgba(230, 90, 20, .30);
}
.btn.ghost { color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.btn.small { min-height: 38px; padding: 0 15px; font-size: .92rem; border-radius: 11px; }

/* ── hero ───────────────────────────────────────────────── */
/* The hero is the copy and the device lineup, never taller than the screen under the header:
   the lineup takes whatever height is left and scales down to fit it. */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 26px 0 0;
  height: calc(100vh - 63px); height: calc(100svh - 63px);
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%); }
@media (max-height: 560px) { .hero { height: auto; } }
/* Short phones: the feature chips give their room to the lineup. */
@media (max-width: 600px) and (max-height: 760px) { .hero .chips { display: none; } }
.hero-copy { position: relative; z-index: 1; flex: none; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy .lead { margin-left: auto; margin-right: auto; }
.hero-copy .cta, .hero-copy .chips { justify-content: center; }
@media (min-width: 960px) { .hero { padding-top: 48px; } }
@media (min-width: 960px) and (min-height: 860px) { .hero { padding-top: 64px; } }
/* Wide screens: the headline on one line, so the lineup gets the height. */
@media (min-width: 1000px) { .hero h1 br { display: none; } .hero h1 .accent { margin-left: .22em; } }
@media (min-width: 960px) and (max-height: 820px) { .hero { padding-top: 30px; } .hero h1 { margin-top: 12px; } .hero .lead { margin-top: 12px; } .hero .cta { margin-top: 18px; } .hero .chips { margin-top: 16px; } }
@media (max-width: 420px) { .hero .pill { font-size: .76rem; padding: 5px 10px; gap: 6px; } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 22%, transparent); }
.hero h1 { margin-top: 16px; }
.accent { background: linear-gradient(120deg, var(--orange) 0%, var(--pink) 50%, var(--violet) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 16px; font-size: 1.16rem; color: var(--ink-2); max-width: 34em; }
.cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.badge img { height: 54px; width: auto; }
.badge .dark { display: none; }
@media (prefers-color-scheme: dark) { .badge .light { display: none; } .badge .dark { display: block; } }
.price-line { display: flex; flex-direction: column; gap: 2px; font-size: .92rem; color: var(--ink-3); }
.price-line b { font-family: var(--head); font-size: 1.25rem; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: .86rem; font-weight: 700; color: var(--ink-2);
  background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); }
.chips svg { width: 15px; height: 15px; color: var(--violet); }

/* + pad chessboard behind the hero (as on the App Store art), fading up from the bottom */
.plusbg { position: absolute; inset: auto 0 0 0; height: 62%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%); mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%); }
.plusbg svg { width: 100%; height: 100%; display: block; }
.plusbg rect { fill: var(--pattern); }
.plusbg rect.a { fill-opacity: .13; }
.plusbg rect.b { fill-opacity: .055; }
.plusbg path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-opacity: .9; }
@media (prefers-color-scheme: dark) { .plusbg rect.a { fill-opacity: .2; } .plusbg rect.b { fill-opacity: .09; } .plusbg path { stroke-opacity: .25; } }
.plusbg rect.on { fill: var(--orange); fill-opacity: .45; }
.page-hero .plusbg { height: 46%; }
@media (max-width: 899px) { .page-hero .plusbg { height: 30%; } }

.hero > .lineup { position: relative; z-index: 1; flex: 1 1 0; min-height: 90px; display: flex; align-items: flex-end; justify-content: center; padding-top: 22px; padding-bottom: 14px; }
.lineup img { width: auto; height: auto; max-width: min(100%, 1080px); max-height: 100%; object-fit: contain; filter: drop-shadow(0 26px 34px rgba(40, 34, 110, .22)); }
@media (max-height: 560px) { .hero > .lineup { flex: none; } }
.lineup .labels { display: none; }

/* ── the try-it counter (its own section, after the ideas) ───── */
.try { background: radial-gradient(90% 70% at 85% 30%, color-mix(in srgb, var(--blue) 10%, transparent), transparent 70%), linear-gradient(180deg, var(--bg), var(--bg-2)); }
.try-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .try-grid { grid-template-columns: 1fr 380px; gap: 64px; } .try .head { margin-bottom: 0; } }
.try-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.try-points li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); }
.try-points svg { width: 20px; height: 20px; flex: none; color: var(--blue); }
.demo { width: 100%; max-width: 380px; margin: 0 auto; }
.screen { position: relative; border-radius: 40px; padding: 22px 20px 20px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(23, 22, 50, .06), 0 30px 70px rgba(40, 34, 110, .20); overflow: hidden; }
@media (prefers-color-scheme: dark) { .screen { background: #100d22; } }
.d-top { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 800; color: var(--blue); font-size: 1.05rem; }
.d-top svg { width: 19px; height: 19px; color: var(--blue); }
.d-live { margin-top: 6px; text-align: center; }
.d-live span { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .04em; color: var(--blue); background: color-mix(in srgb, var(--blue) 14%, transparent); }
.d-num { display: block; text-align: center; font-family: var(--head); font-weight: 900; font-size: clamp(4.6rem, 22vw, 6.2rem); line-height: 1; margin-top: 8px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.d-num.bump { animation: d-bump .35s var(--spring); }
.d-num .ok { display: inline-block; width: .3em; height: .3em; vertical-align: .9em; margin-left: .04em; border-radius: 50%; background: var(--violet); color: #fff; position: relative; opacity: 0; transform: scale(.3); transition: opacity .3s, transform .45s var(--spring); }
.d-num .ok::after { content: ""; position: absolute; left: 30%; top: 22%; width: 26%; height: 44%; border: solid #fff; border-width: 0 .045em .045em 0; transform: rotate(45deg); }
.demo.done .d-num .ok { opacity: 1; transform: none; }
.d-tally { display: flex; justify-content: center; gap: 10px; margin-top: 10px; height: 30px; }
.d-tally svg { height: 30px; width: auto; overflow: visible; }
.d-tally line { stroke: var(--blue); stroke-width: 3.2; stroke-linecap: round; }
.d-tally line.off { stroke: color-mix(in srgb, var(--blue) 22%, transparent); }
.d-tally line.new { animation: d-mark .4s var(--out) both; }
.d-goal { margin-top: 6px; text-align: center; font-size: .86rem; color: var(--ink-3); font-weight: 600; min-height: 1.4em; }
.d-goal b { color: var(--ink); }
.d-row { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; }
.d-row button { font: inherit; font-size: .82rem; font-weight: 700; color: var(--ink); padding: 7px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.d-row button[disabled] { opacity: .45; cursor: default; }
.d-row button svg { width: 14px; height: 14px; }
.d-pad { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1.12; margin-top: 12px; border: 0; border-radius: 34px; cursor: pointer; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 10%, #5fb0ff 0%, var(--blue) 45%, var(--blue-2) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -10px 30px rgba(0, 40, 120, .25), 0 14px 30px color-mix(in srgb, var(--blue) 40%, transparent);
  transition: transform .4s var(--spring), border-radius .4s var(--spring); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.d-pad::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 42%); pointer-events: none; }
.d-pad.down { transform: scale(.965, .955); border-radius: 40px; transition-duration: .08s; }
.d-pad .plus { position: relative; width: 26%; aspect-ratio: 1; }
.d-pad .plus::before, .d-pad .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 99px; translate: -50% -50%; box-shadow: 0 2px 8px rgba(0, 30, 90, .25); }
.d-pad .plus::before { width: 100%; height: 15%; }
.d-pad .plus::after { width: 15%; height: 100%; }
.d-pad .rip { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.55) 0%, rgba(255,255,255,.18) 45%, rgba(255,255,255,0) 70%); animation: d-rip .7s var(--out) forwards; }
.demo-hint { margin-top: 14px; text-align: center; font-size: .9rem; color: var(--ink-3); font-weight: 600; }
.demo-hint kbd { font: inherit; font-weight: 800; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: 34%; left: 50%; width: 8px; height: 12px; border-radius: 2px; opacity: 0; animation: d-conf 1.3s var(--out) forwards; }
@keyframes d-bump { 40% { transform: scale(1.08); } }
@keyframes d-rip { from { transform: scale(.2); opacity: 1; } to { transform: scale(9); opacity: 0; } }
@keyframes d-mark { from { stroke-dasharray: 40; stroke-dashoffset: 40; } to { stroke-dasharray: 40; stroke-dashoffset: 0; } }
@keyframes d-conf { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }

/* ── sections ───────────────────────────────────────────── */
section { padding: 68px 0; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 44em; margin-bottom: 30px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 10px; }
.sub { margin-top: 12px; color: var(--ink-2); font-size: 1.08rem; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid.two, .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.band .card { background: var(--bg); box-shadow: none; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: .98rem; }
.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--c1, var(--violet)), var(--c2, #8b5cf6)); box-shadow: 0 6px 14px color-mix(in srgb, var(--c1, var(--violet)) 35%, transparent); }
.ic svg { width: 23px; height: 23px; }
.c-orange { --c1: #f7931e; --c2: #ea5a12; } .c-blue { --c1: #38a1ff; --c2: #1268d6; } .c-violet { --c1: #8b80ff; --c2: #5b4fe0; }
.c-pink { --c1: #f06bc6; --c2: #c2389b; } .c-green { --c1: #34d27b; --c2: #149a50; } .c-teal { --c1: #2fd0c5; --c2: #0f9a9a; }
.c-cyan { --c1: #3cc8f0; --c2: #0e8fc2; } .c-yellow { --c1: #ffc83a; --c2: #f0960c; } .c-brown { --c1: #c08a5c; --c2: #8c5a34; }
.c-red { --c1: #ff6b6b; --c2: #d93a3a; } .c-gray { --c1: #9ca3af; --c2: #6b7280; }
.tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 800; vertical-align: 2px; background: var(--accent-soft); color: var(--accent-ink); }

/* use-case tiles */
.uses { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.uses a { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.band .uses a { background: var(--bg); box-shadow: none; }
.uses .ic { margin: 0; flex: 0 0 46px; }
.uses b { display: block; font-family: var(--head); font-size: 1.06rem; font-weight: 800; }
.uses small { display: block; color: var(--ink-3); font-weight: 600; font-size: .86rem; line-height: 1.35; margin-top: 2px; }
.uses .go { margin-left: auto; color: var(--ink-3); font-size: 1.3rem; }

/* everywhere: widgets, Live Activity, controls, Siri */
.outside { display: grid; gap: 16px; }
@media (min-width: 760px) { .outside { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .outside { grid-template-columns: repeat(4, 1fr); } }
.mock { margin-top: 16px; border-radius: 16px; padding: 12px; background: var(--bg); border: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); }
.band .mock { background: var(--surface); }
.mock .say { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 1rem; }

/* devices */
.devices { display: grid; gap: 18px; }
@media (min-width: 900px) { .devices { grid-template-columns: 1.35fr 1fr; } }
.device { display: grid; gap: 18px; align-content: start; padding: 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.device img { margin: 0 auto; }
.device.duo img { width: min(100%, 620px); }
.device.watch .pair { display: flex; justify-content: center; gap: 10px; }
.device.watch img { width: min(44%, 170px); }
.device.ipad img { width: min(72%, 330px); }
.device.iphone img { width: min(56%, 230px); }
.device h3 { font-size: 1.4rem; }
.device p { color: var(--ink-2); margin-top: 6px; }
.device ul { margin: 12px 0 0; padding: 0; list-style: none; color: var(--ink-2); }
.device li { position: relative; padding: 5px 0 5px 22px; }
.device li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 8px; height: 8px; border-radius: 3px; background: var(--orange); }
@media (min-width: 900px) { .devices .wide { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; } }

/* screenshots */
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 16px 22px; margin: 0 -16px; scrollbar-width: thin; }
.shots figure { margin: 0; flex: 0 0 auto; width: 210px; scroll-snap-align: center; }
.shots img { border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
@media (min-width: 1140px) { .shots { margin: 0; padding: 6px 0 22px; gap: 14px; overflow: visible; } .shots figure { flex: 1 1 0; width: auto; } }

/* price + privacy */
.price-card { position: relative; overflow: hidden; border: 2px solid color-mix(in srgb, var(--orange) 55%, var(--line)); background: linear-gradient(180deg, var(--orange-soft), var(--surface) 70%); }
.price-card .big { color: var(--ink); font-family: var(--head); font-weight: 900; font-size: 3.2rem; line-height: 1; margin-top: 10px; letter-spacing: -0.02em; }
.pn-local { display: none; }
[data-storefront] .pn-local { display: inline; }
[data-storefront] .pn-us { display: none; }
.price-card .once { color: var(--ink-3); font-weight: 700; margin-top: 6px; }
.ticks { margin: 16px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 7px 0 7px 30px; border-top: 1px solid var(--line); color: var(--ink-2); }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.note { font-size: .88rem; color: var(--ink-3); margin-top: 12px; }

/* FAQ, always open (no click to read) */
.faq .qa { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq .q { font-size: 1.1rem; font-weight: 800; }
.faq .a { margin-top: 8px; color: var(--ink-2); }
.faq .a p + p, .faq .a ul { margin-top: 10px; }
.faq .a ul { padding-left: 20px; }
.faq h2.group { font-size: 1.35rem; margin: 44px 0 2px; }
.faq h2.group:first-child { margin-top: 0; }
.faq-cols { display: grid; gap: 0 48px; }
@media (min-width: 900px) { .faq-cols { grid-template-columns: 1fr 1fr; } }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.toc a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink-2); font-size: .9rem; font-weight: 650; }

/* use-case + text pages */
.page-hero { position: relative; overflow: hidden; padding: 40px 0 52px; background: linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%); border-bottom: 1px solid var(--line); }
.page-hero > .wrap { position: relative; z-index: 1; display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .page-hero > .wrap { grid-template-columns: 1.25fr .75fr; } .page-hero { padding: 56px 0 64px; } }
.page-hero h1 { font-size: clamp(2.1rem, 6.4vw, 3.3rem); }
.page-hero .shot { justify-self: center; width: min(62vw, 260px); filter: drop-shadow(0 24px 34px rgba(40, 34, 110, .25)); }
.page-hero .shot.wide { width: min(100%, 460px); }
.crumbs { font-size: .88rem; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-3); }
.steps { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { position: relative; padding: 16px 18px 16px 62px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.band .steps li { background: var(--bg); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 15px; width: 32px; height: 32px; border-radius: 11px;
  display: grid; place-items: center; font-family: var(--head); font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.steps b { color: var(--ink); }
.two-col { display: grid; gap: 30px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.setup { padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.setup h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-ink); }
.kv { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .97rem; }
.kv th, .kv td { text-align: left; vertical-align: top; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
.kv th { width: 42%; color: var(--ink-3); font-weight: 650; }
.kv td { color: var(--ink); font-weight: 700; }
.callout { display: grid; gap: 14px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--violet) 35%, transparent); }
@media (min-width: 720px) { .callout { grid-template-columns: 1fr auto; } }
.aside-note { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--orange-soft); border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent); font-size: .95rem; color: var(--ink-2); }
.doc { max-width: 760px; padding-top: 44px; padding-bottom: 20px; }
.doc h1 { font-size: clamp(2rem, 5.4vw, 2.8rem); }
.doc h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.meta { margin-top: 8px; color: var(--ink-3); font-size: .9rem; }
.contact { margin-top: 20px; padding: 18px 20px; border-radius: 18px; background: var(--orange-soft); border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent); }

/* final CTA */
.final { text-align: center; }
.final img.icon { width: 104px; height: 104px; margin: 0 auto 18px; filter: drop-shadow(0 16px 26px rgba(230, 90, 20, .35)); }
.final .cta { justify-content: center; }

/* footer */
.foot { padding: 42px 0 56px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-3); }
.foot .cols { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h3 { font-family: inherit; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 6px 0; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot p a { text-decoration: underline; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .fine { margin-top: 26px; font-size: .8rem; line-height: 1.5; }
.foot .fine p + p { margin-top: 6px; }

/* ══ Motion ═══════════════════════════════════════════════════════════════════════════
   Load: header drops in, hero copy staggers up, the counter card and the device row rise.
   Scroll: blocks reveal as they enter (site.js adds .rv / .in, staggered by --i).
   Hover (mouse) + press (touch): cards lift, icons tip, buttons nudge their arrow.
   Navigation: cross-document View Transitions (header stays, page slides).
   Reduce Motion: the same moments as gentle fades. ?noanim: none at all. */
:root { --out: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: 0 50%;
  transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--orange), var(--pink), var(--violet)); }
.top.scrolled { box-shadow: 0 8px 28px rgba(40, 34, 110, .10); }
.btn .arr { display: inline-block; margin-left: 2px; transition: transform .35s var(--spring); }
.btn, .badge, .uses a, .toc a, .card, .device, .shots img, .ic, .nav a { transition: transform .35s var(--spring), box-shadow .35s var(--out), border-color .3s, background-color .3s, color .2s, filter .2s; }
.badge { display: inline-block; border-radius: 12px; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--orange);
  transform: scaleX(0); transition: transform .35s var(--out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.btn:active, .badge:active, .uses a:active, .toc a:active { transform: scale(.96); transition-duration: .08s; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(230, 90, 20, .38); }
  .btn.ghost:hover { box-shadow: 0 10px 22px rgba(40, 34, 110, .10); border-color: var(--violet); }
  .btn:hover .arr { transform: translateX(4px); }
  .badge:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 0, 0, .18); }
  .card:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(23, 22, 50, .06), 0 24px 44px rgba(40, 34, 110, .16); border-color: color-mix(in srgb, var(--violet) 40%, var(--line)); }
  .card:hover .ic, .uses a:hover .ic { transform: rotate(-10deg) scale(1.12); }
  .uses a:hover { transform: translateY(-4px); border-color: var(--violet); box-shadow: 0 16px 30px rgba(40, 34, 110, .14); }
  .toc a:hover { transform: translateY(-2px); border-color: var(--violet); color: var(--ink); }
  .device:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(23, 22, 50, .06), 0 26px 50px rgba(40, 34, 110, .16); }
  .shots figure:hover img { transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 30px 50px rgba(40, 34, 110, .24); }
  .d-row button:hover { border-color: var(--violet); }
}
@keyframes up { from { opacity: 0; transform: translateY(24px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes drop { from { opacity: 0; transform: translateY(-100%); } }
@keyframes rise { from { opacity: 0; transform: translateY(90px) scale(.96); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 11px transparent; } }
@keyframes cell { 0%, 100% { fill-opacity: .14; } 50% { fill-opacity: .6; } }
@keyframes hint { 0%, 100% { transform: none; } 50% { transform: scale(.985); } }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(22px); } }
@view-transition { navigation: auto; }
.top { view-transition-name: site-top; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.noanim) .top { animation: drop .7s var(--out) both; }
  html:not(.noanim) .hero-copy > *, html:not(.noanim) .page-hero .copy > * { animation: up .9s var(--out) both; }
  html:not(.noanim) .hero-copy > :nth-child(2), html:not(.noanim) .page-hero .copy > :nth-child(2) { animation-delay: .08s; }
  html:not(.noanim) .hero-copy > :nth-child(3), html:not(.noanim) .page-hero .copy > :nth-child(3) { animation-delay: .16s; }
  html:not(.noanim) .hero-copy > :nth-child(4), html:not(.noanim) .page-hero .copy > :nth-child(4) { animation-delay: .24s; }
  html:not(.noanim) .hero-copy > :nth-child(5), html:not(.noanim) .page-hero .copy > :nth-child(5) { animation-delay: .32s; }
  html:not(.noanim) .hero-copy > :nth-child(6) { animation-delay: .4s; }
  html:not(.noanim) .demo:not(.used) .d-pad { animation: hint 2.6s ease-in-out 2s infinite; }
  html:not(.noanim) .lineup img { animation: rise 1.3s var(--out) .45s both; }
  html:not(.noanim) .page-hero .shot { animation: rise 1.2s var(--out) .25s both, float 7s ease-in-out 1.6s infinite; }
  html:not(.noanim) .plusbg { animation: fade 1.6s ease .2s both; }
  html:not(.noanim) .plusbg rect.on { animation: cell 4.6s ease-in-out var(--d, 0s) infinite; }
  html:not(.noanim) .dot { animation: ping 2.2s ease-out infinite; }
  .js .rv { --dl: calc(var(--i, 0) * 70ms); opacity: 0; translate: 0 30px;
    transition: opacity .9s var(--out) var(--dl), translate .9s var(--out) var(--dl), scale .9s var(--out) var(--dl),
      transform .35s var(--spring), box-shadow .35s var(--out), border-color .3s, background-color .3s, color .2s; }
  .js .shots .rv { translate: 48px 0; }
  .js .uses .rv { translate: 0 18px; scale: .97; }
  .js .rv.in { opacity: 1; translate: none; scale: none; }
  ::view-transition-old(root) { animation: vt-out .22s var(--out) both; }
  ::view-transition-new(root) { animation: vt-in .5s var(--out) both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html:not(.noanim) .hero-copy > *, html:not(.noanim) .lineup img, html:not(.noanim) .plusbg, html:not(.noanim) .page-hero .shot { animation: fade .8s ease both; }
  .js .rv { opacity: 0; transition: opacity .7s ease calc(var(--i, 0) * 50ms), border-color .3s, box-shadow .3s; }
  .js .rv.in { opacity: 1; }
  .btn:hover, .badge:hover, .card:hover, .uses a:hover, .device:hover, .shots figure:hover img { transform: none; }
  .card:hover .ic, .uses a:hover .ic { transform: none; }
  .d-num.bump, .d-pad .rip, .confetti i, .d-tally line.new { animation: none; }
  .d-pad.down { transform: none; }
}
.noanim *, .noanim *::before, .noanim *::after { animation: none !important; transition: none !important; }
.noanim .rv { opacity: 1 !important; translate: none !important; scale: none !important; }

/* From the blog: home page cards that link to blog posts */
.posts .card { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.posts .card:hover { transform: translateY(-2px); border-color: var(--accent-ink); }
.posts .card:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.posts .kick { font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.posts .card h3 { margin-top: 8px; }
.posts .more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--accent-ink); }
.posts .all { margin-top: 22px; }
@media (prefers-reduced-motion: reduce) { .posts .card { transition: none; } .posts .card:hover { transform: none; } }
