/* CanJar marketing site — layout and motion after the Origin Financial
   pattern (midnight canvas, whisper-weight serif display with an italic
   lead word, mono uppercase labels, flat chromatic tiles, glass nav, atmospheric
   2.5s reveals); palette and type are CanJar's (ink / paper / amber, Fraunces,
   Inter, Roboto Mono). Zero JavaScript: reveals are scroll-driven CSS. */
:root {
  --ink: #08140e;          /* canvas */
  --abyss: #070908;        /* stacked sections */
  --graphite: #121513;     /* elevated cards (neutral charcoal) */
  --steel: #1a3126;        /* hover / pressed */
  --fog: #6f7a72;          /* muted */
  --ash: #a9b3a8;          /* body */
  --cloud: #e8e3d6;        /* soft heading */
  --paper: #f2ece0;        /* primary text + action fill */
  --amber: #d98a1f;
  --amber-2: #e8a53f;
  --moss: #2e6247;
  --sage: #9ab2a0;
  --display: 'Fraunces', Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'Roboto Mono', ui-monospace, Menlo, monospace;
  --atmos: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --r-ui: 8px; --r-card: 16px; --r-tile: 30px;
  --shadow: rgba(0, 0, 0, 0.2) 0px 18px 20px 0px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: clip; color: var(--paper); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0; color: var(--paper); }
h1, h2 { letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; }
h1 { font-size: clamp(3.2rem, 8.5vw, 6rem); line-height: 0.92; }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 0.95; }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.375rem); line-height: 1.02; }
p { margin: 0; }
.mono { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.lead { color: var(--ash); font-weight: 300; font-size: 18px; line-height: 1.5; max-width: 40rem; }
.lead strong { color: var(--paper); font-weight: 400; }
.eyebrow { color: var(--ash); margin-bottom: 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
[id] { scroll-margin-top: 90px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r-ui); background: var(--paper); color: #000;
  font-size: 12px; letter-spacing: 0.12em; white-space: nowrap; transition: background-color 0.2s ease, opacity 0.2s ease; }
.btn:hover { background: #fff; }
.btn i { font-style: normal; }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid var(--paper); }
.btn-ghost:hover { background: rgba(242, 236, 224, 0.1); }
.badge { display: inline-block; padding: 6px 12px; border-radius: 9999px; background: rgba(242, 236, 224, 0.14); border: 1px solid rgba(242, 236, 224, 0.5); color: var(--paper); font-size: 11px; }

/* ---------- glass nav ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 24px;
  background: rgba(8, 20, 14, 0.35); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid rgba(242, 236, 224, 0.06); }
.brand { display: inline-flex; }
.nav { display: none; gap: 28px; justify-self: center; }
.nav a { color: var(--paper); opacity: 0.85; transition: opacity 0.2s ease; }
.nav a:hover { opacity: 1; }
.top-right { display: flex; gap: 22px; align-items: center; justify-self: end; }
.top-link { color: var(--paper); opacity: 0.85; display: none; }
@media (min-width: 820px) { .nav { display: flex; } .top-link { display: inline; } }
/* Narrow desktops: tighter nav, and "Open CanJar" alone covers log-in. */
@media (min-width: 820px) and (max-width: 1099px) { .nav { gap: 16px; } .top-link { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; text-align: center; overflow: hidden; padding: 120px 20px 60px; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) brightness(0.72) contrast(1.05); }
.hero-scrim { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 62% 22%, rgba(217, 138, 31, 0.12), transparent 70%),
  linear-gradient(180deg, rgba(8, 20, 14, 0.55) 0%, rgba(8, 20, 14, 0.25) 35%, rgba(8, 20, 14, 0.6) 70%, var(--ink) 100%); }
.hero-copy { position: relative; width: 100%; min-width: 0; max-width: 780px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero h1 { color: #fff; }
.hero .lead { max-width: 34rem; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tagline { color: var(--ash); font-weight: 300; }

/* Hero example questions: grow with wrapping as the text types and backspaces. */
.prompt { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(100%, 600px); height: 72px; padding: 0 12px 0 28px; border-radius: 9999px;
  background: rgba(8, 20, 14, 0.55); border: 1px solid rgba(242, 236, 224, 0.14); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: var(--shadow); text-align: left; }
.prompt-text { color: var(--paper); font-weight: 300; font-size: 17px; line-height: 24px; min-height: 24px; min-width: 0; flex: 1; }
.prompt.is-typing .typed::after { content: ''; display: inline-block; width: 1px; height: 1em; margin-left: 2px; background: currentColor; vertical-align: -0.12em; animation: caret 1s step-end infinite; }
.prompt.is-paused .typed::after { animation-play-state: paused; }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 600px) {
  .prompt { height: var(--prompt-height, auto); min-height: 72px; padding: 11px 12px 11px 22px; gap: 12px; transition: height 200ms ease; }
  .prompt-text { font-size: 16px; line-height: 22px; min-height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .prompt { transition: none; } }
.prompt-go { flex: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(242, 236, 224, 0.2); border: 1px solid rgba(242, 236, 224, 0.35); display: grid; place-items: center; color: #fff; font-size: 20px; }
.laurels { list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 24px 40px; flex-wrap: wrap; justify-content: center; }
.laurels li { position: relative; padding: 0 48px; color: var(--paper); line-height: 1.5; min-height: 80px; display: flex; align-items: center; }
.laurels li .mono { font-size: 10px; letter-spacing: 0.18em; display: inline-block; }
.laurels li::before, .laurels li::after { content: ''; position: absolute; top: 50%; width: 38px; height: 80px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 44 96%22%3E%3Cg fill=%22%23f2ece0%22 stroke=%22%23f2ece0%22%3E%3Cpath d=%22M26.1,81.1 L23.9,79.2 L21.8,77.2 L19.8,75.0 L18.0,72.7 L16.4,70.3 L14.9,67.7 L13.6,65.1 L12.5,62.4 L11.6,59.6 L10.9,56.7 L10.4,53.8 L10.1,50.9 L10.0,48.0 L10.1,45.1 L10.4,42.2 L10.9,39.3 L11.6,36.4 L12.5,33.6 L13.6,30.9 L14.9,28.3 L16.4,25.7 L18.0,23.3 L19.8,21.0 L21.8,18.8 L23.9,16.8%22 fill=%22none%22 stroke-width=%221.3%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M22.8,78.2 Q27.7,80.8 30.9,76.3 Q26.1,73.8 22.8,78.2Z M22.8,78.2 Q18.5,81.6 21.2,86.4 Q25.6,83.0 22.8,78.2Z M16.8,70.9 Q21.4,74.5 26.0,70.9 Q21.4,67.3 16.8,70.9Z M16.8,70.9 Q11.6,73.6 13.0,79.3 Q18.2,76.5 16.8,70.9Z M12.5,62.4 Q16.7,67.0 22.4,64.6 Q18.3,60.0 12.5,62.4Z M12.5,62.4 Q6.6,64.2 6.4,70.4 Q12.4,68.6 12.5,62.4Z M10.3,53.1 Q13.7,58.8 20.2,57.9 Q16.8,52.3 10.3,53.1Z M10.3,53.1 Q3.8,53.9 1.9,60.2 Q8.4,59.4 10.3,53.1Z M10.2,43.6 Q11.9,49.6 18.1,50.0 Q16.4,44.0 10.2,43.6Z M10.2,43.6 Q4.1,42.7 1.2,48.2 Q7.4,49.1 10.2,43.6Z M12.3,34.3 Q12.3,40.2 18.0,41.6 Q18.0,35.7 12.3,34.3Z M12.3,34.3 Q7.0,31.9 3.4,36.5 Q8.7,38.9 12.3,34.3Z M16.4,25.7 Q14.9,31.0 19.9,33.3 Q21.4,28.0 16.4,25.7Z M16.4,25.7 Q12.2,22.2 8.1,25.9 Q12.3,29.4 16.4,25.7Z M22.3,18.3 Q19.6,22.7 23.9,25.5 Q26.6,21.2 22.3,18.3Z M22.3,18.3 Q19.4,14.0 15.1,16.8 Q17.9,21.0 22.3,18.3Z%22 stroke-width=%220.4%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%2223.0%22 cy=%2217.8%22 r=%221.6%22 stroke=%22none%22/%3E%3Ccircle cx=%2226.5%22 cy=%2219.8%22 r=%221.3%22 stroke=%22none%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; opacity: 0.92; }
.laurels li::before { left: 0; }
.laurels li::after { right: 0; transform: translateY(-50%) scaleX(-1); }

/* ---------- atmospheric reveals ---------- */
.rise { animation: rise 2.5s var(--atmos) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal 1s var(--atmos) both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
    .tilt { animation: untilt linear both; animation-timeline: view(); animation-range: entry 10% cover 55%; }
    @keyframes untilt { from { transform: perspective(1600px) rotateX(24deg) rotateY(-22deg) rotateZ(9deg) translateY(40px); } to { transform: perspective(1600px) rotateX(6deg) rotateY(-8deg) rotateZ(2deg); } }
  }
}
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } .prompt .typed::after { display: none; } }

/* ---------- sections ---------- */
.sec { padding: 100px 20px 0; }
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: 44px; }
.sec-head .lead { text-align: center; }
.spark { margin-bottom: -4px; }

/* Product film: user-initiated playback keeps sound intentional. */
.trailer-sec { padding: clamp(48px, 6vw, 80px) 0; background: var(--ink); border-bottom: 1px solid rgba(242, 236, 224, 0.14); }
.trailer-caption { margin-bottom: 18px; color: var(--ash); text-align: center; text-wrap: balance; font-size: 11px; line-height: 1.8; }
.trailer-video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border: 1px solid rgba(242, 236, 224, 0.14); border-radius: var(--r-card); }

/* App Store badge: Apple's official artwork, never altered (no opacity or
   filter changes); hover and focus are shown on the link around it. */
.store-badge { display: inline-flex; align-items: center; border-radius: 9px; outline: 1px solid transparent; outline-offset: 3px; transition: outline-color 0.2s ease; }
.store-badge:hover { outline-color: rgba(242, 236, 224, 0.5); }
.store-badge img { display: block; height: 42px; width: auto; }
.store-badge-lg img { height: 54px; }
.ctas { align-items: center; }

/* native app: copy | three phones */
.ios-sec { position: relative; overflow: hidden; padding: clamp(80px, 9vw, 120px) 0; background: radial-gradient(70% 60% at 75% 45%, rgba(46, 98, 71, 0.32), transparent 70%), var(--abyss); border-bottom: 1px solid rgba(242, 236, 224, 0.14); }
.ios-layout { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .ios-layout { grid-template-columns: minmax(320px, 0.9fr) 1.1fr; gap: 48px; } }
.ios-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ios-copy .eyebrow { color: var(--amber-2); margin: 0; }
.ios-copy .ticks { width: 100%; max-width: 30rem; }
.ios-ctas { margin: 6px 0 0; }
.ios-note { margin: 0; color: var(--fog); font-size: 13.5px; max-width: 30rem; }
.ios-phones { position: relative; display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: center; width: min(560px, 100%); margin: 0 auto; }
.ios-phones .device { border-radius: 36px; padding: 7px; }
.ios-phones .device img { border-radius: 30px; height: auto; }
.ios-main { position: relative; z-index: 2; }
.ios-side { z-index: 1; opacity: 0.88; }
.ios-left { transform: translateX(14%) rotate(-6deg) scale(0.94); }
.ios-right { transform: translateX(-14%) rotate(6deg) scale(0.94); }
@media (max-width: 520px) { .ios-phones .device { border-radius: 26px; padding: 5px; } .ios-phones .device img { border-radius: 22px; } }

/* tilted phone */
.phone-sec { padding: 110px 0 0; background: var(--abyss); text-align: center; }
.device-stage { margin: 48px auto 0; width: min(420px, 78vw); perspective: 1600px; }
.device { border-radius: 52px; padding: 10px; background: #0a0d0b; border: 1px solid #2a2f2c; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), inset 0 0 0 2px #151a17, 0 0 90px -20px rgba(217, 138, 31, 0.25); }
.device img, .device video { border-radius: 42px; width: 100%; }
.tilt { transform: perspective(1600px) rotateX(6deg) rotateY(-8deg) rotateZ(2deg); }

/* card grids */
.cards-3 { display: grid; gap: 12px; }
.cards-2 { display: grid; gap: 12px; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-2 { grid-template-columns: repeat(2, 1fr); } }

/* photo-backed feature cards (Track everything) */
.photo-card { position: relative; overflow: hidden; border-radius: var(--r-tile); min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.photo-card .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: saturate(0.85) brightness(0.8); }
.photo-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 20, 14, 0.15), rgba(8, 20, 14, 0.9) 78%); }
.photo-card .widget { margin: 26px 26px 0; }
.card-copy { padding: 22px 26px 30px; }
.card-copy h3 { font-family: var(--sans); font-weight: 500; font-size: 16px; color: var(--paper); margin-bottom: 6px; }
.card-copy p { color: var(--ash); font-size: 14px; line-height: 1.6; }

/* product-proof widgets */
.widget { border-radius: 14px; overflow: hidden; background: #0c1913; border: 1px solid rgba(242, 236, 224, 0.08); box-shadow: var(--shadow); }
.widget.tall { max-height: 520px; }
.widget.tall video { width: 100%; height: auto; }
.widget.wide { margin-top: 26px; flex: 1; min-height: 0; display: flex; }
.widget.wide video, .widget.wide img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.phone-widget { margin: 26px auto -270px; width: min(280px, 70%); border-radius: 34px; padding: 8px; background: #0a0d0b; border: 1px solid #2a2f2c; }
.phone-widget img { border-radius: 26px; }

/* chromatic tiles: the only place the accents are allowed as fills */
.chroma-card { border-radius: var(--r-tile); padding: 32px; color: #fff; overflow: hidden; display: flex; flex-direction: column; }
.chroma-card.amber { background: radial-gradient(80% 60% at 20% 0%, #f0b45a 0%, #d98a1f 45%, #7a4a0f 100%); }
.chroma-card.moss { background: radial-gradient(80% 60% at 80% 0%, #6f9d81 0%, #2e6247 45%, #10301f 100%); }
.chroma-card h3 { color: #fff; margin-bottom: 8px; }
.chroma-card > p { color: rgba(255, 255, 255, 0.82); font-weight: 300; max-width: 34rem; }
.chroma-card > p em { font-style: normal; color: #fff; font-weight: 400; }
.chroma-card .chips li { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.chroma-card .widget.tall { margin-top: 26px; max-height: 560px; }
.chroma-card .widget { border-color: rgba(255, 255, 255, 0.18); }
.chroma-card .phone-widget { background: #0a0d0b; }

/* graphite cards */
.graphite-card { border-radius: var(--r-tile); padding: 32px; background: var(--graphite); overflow: hidden; display: flex; flex-direction: column; }
.graphite-card h3 { margin-bottom: 8px; }
.graphite-card > p { color: var(--ash); font-weight: 300; max-width: 34rem; }
.graphite-card > p a { color: var(--paper); border-bottom: 1px solid rgba(242, 236, 224, 0.4); }

/* full-bleed moss band (Forecast) */
.band-moss { margin-top: 110px; padding: 90px 0 70px; background: linear-gradient(180deg, var(--ink) 0%, #143a28 28%, #2e6247 60%, #6f9d81 100%); border-radius: var(--r-tile) var(--r-tile) 0 0; }
.band-moss .lead { color: rgba(242, 236, 224, 0.82); }
.band-widget { max-width: 1000px; margin: 0 auto; border-color: rgba(255, 255, 255, 0.18); }

/* mono chips */
.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chips.left { justify-content: flex-start; margin: 14px 0 0; }
.chips li { padding: 8px 14px; border-radius: 9999px; border: 1px solid rgba(242, 236, 224, 0.35); color: var(--paper); font-size: 10px; letter-spacing: 0.18em; }

/* ---------- privacy: the journey (animated) ---------- */
.journey-sec { padding-top: 130px; }
.journey { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 60px; }
@media (min-width: 820px) { .journey { grid-template-columns: 1fr 1fr 1fr; gap: 40px; } }
.wire { position: absolute; left: 16.6%; right: 16.6%; top: 52px; height: 8px; display: none; }
@media (min-width: 820px) { .wire { display: block; } }
.wire svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wire-path { fill: none; stroke: rgba(217, 138, 31, 0.55); stroke-width: 1; stroke-dasharray: 6 8; stroke-dashoffset: 0; animation: wireflow 1.4s linear infinite; }
@keyframes wireflow { to { stroke-dashoffset: -14; } }
.packet { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--amber-2);
  box-shadow: 0 0 10px 2px rgba(232, 165, 63, 0.9), 0 0 32px 10px rgba(217, 138, 31, 0.35); animation: packet 7s cubic-bezier(0.45, 0, 0.25, 1) infinite; }
@keyframes packet {
  0% { left: 0; opacity: 0; transform: scale(0.6); }
  6% { opacity: 1; transform: scale(1); }
  40% { left: 50%; }
  50% { left: 50%; transform: scale(0.7); }
  56% { transform: scale(1); }
  90% { left: 100%; opacity: 1; }
  96%, 100% { left: 100%; opacity: 0; transform: scale(0.4); }
}
.stage { position: relative; text-align: center; padding: 0 12px; }
.stage .icon { position: relative; width: 104px; height: 104px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: #000; border: 1px solid rgba(242, 236, 224, 0.18);
  box-shadow: 0 0 60px -12px rgba(217, 138, 31, 0.35); animation: breathe 7s ease-in-out infinite; }
.stage .icon::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(217, 138, 31, 0.9); opacity: 0; animation: ring 7s ease-out infinite; }
.stage .icon svg { width: 46px; height: 46px; }
.s1 .icon, .s1 .icon::after { animation-delay: 0s; }
.s2 .icon, .s2 .icon::after { animation-delay: 2.8s; }
.s3 .icon, .s3 .icon::after { animation-delay: 6.2s; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 60px -12px rgba(217, 138, 31, 0.35); border-color: rgba(242, 236, 224, 0.18); } 6% { box-shadow: 0 0 80px -6px rgba(217, 138, 31, 0.85); border-color: rgba(232, 165, 63, 0.9); } 22% { box-shadow: 0 0 60px -12px rgba(217, 138, 31, 0.35); border-color: rgba(242, 236, 224, 0.18); } }
@keyframes ring { 0% { opacity: 0; transform: scale(1); } 4% { opacity: 0.9; } 22%, 100% { opacity: 0; transform: scale(1.55); } }
/* the shackle snaps shut as the packet passes the lock */
.shackle { transform-origin: 24px 21px; animation: shackle 7s ease-in-out infinite; }
@keyframes shackle { 0%, 36% { transform: translateY(-5px); } 46%, 100% { transform: translateY(0); } }
/* the server's strike draws when the packet arrives */
.slash { stroke-dasharray: 52; stroke-dashoffset: 52; animation: slash 7s ease-out infinite; }
@keyframes slash { 0%, 86% { stroke-dashoffset: 52; } 94%, 100% { stroke-dashoffset: 0; } }
.stage .mono { color: var(--amber); display: block; margin-bottom: 10px; }
.stage h3 { font-size: 1.7rem; margin-bottom: 10px; }
.stage p { color: rgba(242, 236, 224, 0.78); font-weight: 300; font-size: 15px; max-width: 30ch; margin: 0 auto; }
.journey-foot { margin-top: 52px; justify-content: center; }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .s2.reveal { animation-range: entry 10% entry 55%; } .s3.reveal { animation-range: entry 20% entry 65%; }
} }
@media (prefers-reduced-motion: reduce) { .packet, .wire-path, .stage .icon, .stage .icon::after, .shackle, .slash { animation: none; } .shackle { transform: none; } .slash { stroke-dashoffset: 0; } }

/* ---------- account security ---------- */
.security-layout { display: grid; gap: 40px; padding: 48px 0; border-top: 1px solid rgba(242, 236, 224, 0.18); border-bottom: 1px solid rgba(242, 236, 224, 0.18); }
.security-copy h2 { font-size: clamp(2.4rem, 4.8vw, 3.7rem); margin-bottom: 24px; }
.security-copy .eyebrow, .security-availability { color: var(--amber-2); }
.security-copy .lead { max-width: 31rem; }
.security-availability { margin: 26px 0 16px; font-size: 11px; }
.security-methods article { display: flex; align-items: flex-start; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(242, 236, 224, 0.12); }
.security-methods article:first-child { padding-top: 0; }
.security-methods svg { flex: none; width: 32px; height: 32px; color: var(--amber-2); }
.security-methods h3 { font-size: 1.6rem; line-height: 1.15; margin-bottom: 10px; }
.security-methods p { color: var(--ash); font-size: 15px; line-height: 1.6; }
.security-methods .security-note { margin-top: 20px; font-size: 13px; }
@media (min-width: 880px) { .security-layout { grid-template-columns: 1fr 1fr; gap: 72px; padding: 64px 0; } }

/* plans: free | plus on top; pro (wide) | lifetime (narrow) below */
.plan-grid { display: grid; gap: 12px; }
@media (min-width: 820px) {
  .plan-grid { grid-template-columns: repeat(6, 1fr); }
  .plan-free, .plan-plus { grid-column: span 3; }
  .plan-pro { grid-column: span 4; }
  .plan-life { grid-column: span 2; }
}
.price-row { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin: 4px 0 18px; }
.price-opt { display: flex; flex-direction: column; gap: 6px; }
.price-opt .amt { font-family: var(--display); font-weight: 300; font-size: 2.9rem; line-height: 0.9; letter-spacing: -0.02em; }
.price-opt .cad { color: var(--ash); font-size: 10px; }
.price-or { color: var(--fog); font-size: 10px; padding-bottom: 6px; }
.chroma-card .price-opt .cad, .chroma-card .price-or { color: rgba(255, 255, 255, 0.85); }
.list-cols { grid-template-columns: 1fr; }
@media (min-width: 820px) { .list-cols { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
/* plans */
.plan { display: flex; flex-direction: column; }
.plan .price { font-family: var(--display); font-weight: 300; font-size: 3.2rem; line-height: 1; letter-spacing: -0.02em; }
.plan .per { font-size: 1rem; color: var(--ash); margin-left: 2px; }
.chroma-card .per { color: rgba(255, 255, 255, 0.75); }
.chroma-card .eyebrow { color: rgba(255, 255, 255, 0.9); }
.plan .alt { margin-top: 8px; color: var(--ash); font-size: 11px; }
.chroma-card .alt { color: rgba(255, 255, 255, 0.85); }
.list { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; color: var(--ash); font-size: 14px; }
.list li { padding-left: 18px; position: relative; }
.list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.chroma-card .list { color: rgba(255, 255, 255, 0.9); }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan-wide .list { margin-bottom: 0; }

/* faq */
.faq .graphite-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.faq .graphite-card > p { font-size: 14.5px; }

/* download band */
.band-photo { position: relative; margin-top: 120px; min-height: 90vh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); place-items: end center; text-align: center; padding: 100px 20px 0; }
.band-photo .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.55); }
.band-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(8, 20, 14, 0.2) 40%, rgba(8, 20, 14, 0.75) 100%); }
.band-copy { position: relative; width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.band-copy h2 { color: #fff; }
.band-copy .device { width: min(340px, 74vw); margin-top: 24px; margin-bottom: -14vh; }

/* footer */
footer { padding: 90px 20px 40px; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(242, 236, 224, 0.1); padding-top: 40px; }
@media (max-width: 759px) {
  .foot-grid { grid-template-areas: 'brand product' 'canjar product' 'maker product'; align-items: start; }
  .foot-grid > :nth-child(1) { grid-area: brand; }
  .foot-grid > :nth-child(2) { grid-area: product; }
  .foot-grid > :nth-child(3) { grid-area: canjar; }
  .foot-grid > :nth-child(4) { grid-area: maker; }
}
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-grid a { display: block; color: var(--ash); font-size: 14px; padding: 4px 0; transition: color 0.2s ease; }
.foot-grid a:hover { color: var(--paper); }
.wordmark { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: -0.01em; }
.wordmark .jar { color: var(--amber); }
.foot-tag { color: var(--ash); font-weight: 300; margin-top: 4px; }
.legal { margin-top: 40px; color: var(--fog); font-size: 10px; line-height: 2; letter-spacing: 0.06em; text-transform: none; font-weight: 400; }
.legal + .legal { margin-top: 8px; }


/* ---------- full-bleed video bands: the app floats straight on the footage ---------- */
.band { position: relative; margin-top: 110px; padding: 110px 0 100px; overflow: hidden; isolation: isolate; }
.band + .band { margin-top: 0; padding-top: 60px; }
.band:has(+ .band) { padding-bottom: 200px; }
/* adjacent bands meet footage-to-footage: only a short fade each side of the seam */
.band:has(+ .band) .band-scrim { background: linear-gradient(180deg, var(--ink) 0%, rgba(8, 20, 14, 0.35) 12%, rgba(8, 20, 14, 0.35) 94%, var(--ink) 100%); }
.band + .band .band-scrim { background: linear-gradient(180deg, var(--ink) 0%, rgba(8, 20, 14, 0.35) 6%, rgba(8, 20, 14, 0.35) 88%, var(--ink) 100%); }
.band:has(+ .band) + .band .band-scrim, .band + .band:has(+ .band) .band-scrim { background: linear-gradient(180deg, var(--ink) 0%, rgba(8, 20, 14, 0.35) 6%, rgba(8, 20, 14, 0.35) 94%, var(--ink) 100%); }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(0.85) brightness(0.7) contrast(1.05); }
.band .band-scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(8, 20, 14, 0.35) 12%, rgba(8, 20, 14, 0.35) 88%, var(--ink) 100%); }
.band .lead { color: rgba(242, 236, 224, 0.82); }
.floats { display: grid; gap: 28px; align-items: end; }
.floats.three { grid-template-columns: 1fr; }
@media (min-width: 820px) { .floats.three { grid-template-columns: 0.9fr 1.3fr 0.9fr; } }
.float { margin: 0; }
.float > video, .float > img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(242, 236, 224, 0.06); }
.float.phone > img { width: min(300px, 80%); margin: 0 auto; border-radius: 34px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 8px #0a0d0b, 0 0 0 9px #2a2f2c; }
.float figcaption { padding: 18px 4px 0; color: var(--ash); font-size: 14px; line-height: 1.6; max-width: 34rem; }
.float figcaption b { display: block; color: var(--paper); font-weight: 500; font-size: 16px; margin-bottom: 4px; }
.float.wide > video { max-width: 100%; }
.insights-row { grid-template-columns: 1fr; }
@media (min-width: 820px) { .insights-row { grid-template-columns: 2fr 1fr; align-items: end; } }
.shelf-grid { grid-template-columns: 1fr; row-gap: 56px; }
@media (min-width: 820px) { .shelf-grid { grid-template-columns: 1fr 1fr; } }
.law-clip { max-width: 1000px; margin: 0 auto; }
.ask-row { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .ask-row { grid-template-columns: 1.2fr 0.8fr; } }
.ask-copy h3 { margin-bottom: 8px; }
.ask-copy p { color: rgba(242, 236, 224, 0.8); font-weight: 300; margin-bottom: 26px; max-width: 30rem; }
.ask-copy p em { font-style: normal; color: var(--paper); font-weight: 400; }
.ask-clip { max-width: 1000px; margin: 56px auto 0; }
.ask-clip figcaption { padding: 14px 4px 0; letter-spacing: 0.16em; color: rgba(242, 236, 224, 0.62); font-size: 11px; }
.ask-phone > video, .ask-phone > img { width: min(300px, 80%); margin: 0 auto; border-radius: 34px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 8px #0a0d0b, 0 0 0 9px #2a2f2c; }
.band-photo .band-bg { z-index: 0; }
.band-photo .band-scrim, .band-photo .band-copy { z-index: 1; }

/* ---------- explained screenshot: script header + copy | one big clip ---------- */
.sec-h { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 14px; margin: 0 0 40px; padding-bottom: 12px; border-bottom: 1px solid rgba(242, 236, 224, 0.22); position: relative; }
.sec-h::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 64px; height: 2px; background: var(--amber); box-shadow: 0 0 12px rgba(217, 138, 31, 0.6); }
.sec-h .n { font: 500 11px var(--mono); letter-spacing: 0.16em; color: var(--amber); }
.sec-h .script { font-family: 'Caveat', 'Bradley Hand', cursive; font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; color: var(--paper); }
.sec-h .blurb { font: 300 14px var(--sans); color: rgba(242, 236, 224, 0.72); justify-self: end; text-align: right; max-width: 48ch; margin: 0; }
@media (max-width: 640px) { .sec-h { grid-template-columns: auto 1fr; } .sec-h .blurb { grid-column: 1 / -1; justify-self: start; text-align: left; } }
.feature-row { display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .feature-row { grid-template-columns: minmax(300px, 380px) 1fr; gap: 44px; } }
.feature-row h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 12px; }
.feature-row .copy > p { color: rgba(242, 236, 224, 0.78); font-size: 15px; margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; color: rgba(242, 236, 224, 0.9); font-size: 14.5px; }
.ticks li { padding: 8px 0 8px 22px; position: relative; border-top: 1px solid rgba(242, 236, 224, 0.13); }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.feature-row .float figcaption { padding: 14px 4px 0; letter-spacing: 0.16em; color: rgba(242, 236, 224, 0.62); font-size: 11px; }

/* ---------- pro card: a thin amber light circling the edge ---------- */
@property --orbit { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.plan-pro { position: relative; overflow: visible; }
.plan-pro::after { content: ''; position: absolute; inset: -2px; padding: 2px; border-radius: calc(var(--r-tile) + 2px); pointer-events: none;
  background: conic-gradient(from var(--orbit), transparent 0deg, transparent 235deg, rgba(232, 165, 63, 0.35) 285deg, rgba(240, 190, 90, 1) 330deg, transparent 360deg);
  /* keep only the ring: paint everything, subtract the content box */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: orbit 6s linear infinite; }
@keyframes orbit { to { --orbit: 360deg; } }
@media (prefers-reduced-motion: reduce) { .plan-pro::after { animation: none; opacity: 0.4; } }

/* ---------- scroll-scrubbed entrances: Plans and Fair questions only ----------
   Cards animate while they scroll into view (animation-timeline: view()).
   Browsers without scroll-driven animations show the finished state. */
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  @keyframes in-right { from { opacity: 0; transform: translateX(min(38vw, 420px)); } to { opacity: 1; transform: none; } }
  @keyframes in-left  { from { opacity: 0; transform: translateX(max(-38vw, -420px)); } to { opacity: 1; transform: none; } }
  @keyframes in-up    { from { opacity: 0; transform: translateY(min(22vh, 180px)); } to { opacity: 1; transform: none; } }
  @keyframes in-up-far{ from { opacity: 0; transform: translateY(min(40vh, 360px)); } to { opacity: 1; transform: none; } }
  @keyframes in-scale { from { opacity: 0; transform: translateY(80px) scale(0.9); } to { opacity: 1; transform: none; } }

  .plan, #faq .graphite-card {
    animation-duration: 1s; animation-timing-function: var(--atmos); animation-fill-mode: both;
    animation-timeline: view(); animation-range: entry 0% entry 60%;
  }
  /* Plans: Free from the left, Plus from the right, Pro scales up, Lifetime rises */
  .plan-free { animation-name: in-left; }
  .plan-plus { animation-name: in-right; }
  .plan-pro { animation-name: in-scale; animation-range: entry 0% entry 70%; }
  .plan-life { animation-name: in-up-far; animation-range: entry 0% entry 70%; }
  /* FAQ: cards float up in a cascade */
  #faq .graphite-card { animation-name: in-up; }
  #faq .graphite-card:nth-child(3n+2) { animation-range: entry 8% entry 68%; }
  #faq .graphite-card:nth-child(3n) { animation-range: entry 16% entry 76%; }
} }

/* ---------- legal pages (terms.html, privacy.html) ---------- */
.legal-main { max-width: 760px; margin: 0 auto; padding: 130px 20px 0; }
.legal-main h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 0.98; margin: 6px 0 18px; }
.legal-main .lead { margin-bottom: 8px; }
.legal-meta { color: var(--fog); margin: 18px 0 0; font-size: 11px; }
.legal-draft { margin: 28px 0 8px; padding: 16px 18px; border-radius: var(--r-ui); border: 1px solid rgba(217, 138, 31, 0.6); background: rgba(217, 138, 31, 0.1); color: var(--paper); font-size: 14px; line-height: 1.6; }
.legal-draft strong { color: var(--amber-2); font-weight: 500; }
.legal-toc { margin: 36px 0 0; padding: 22px 26px; border-radius: var(--r-card); background: var(--graphite); }
.legal-toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2 220px; column-gap: 28px; color: var(--ash); font-size: 14px; line-height: 1.9; }
.legal-toc a { color: var(--ash); }
.legal-toc a:hover { color: var(--paper); }
.legal-body section { padding-top: 46px; }
.legal-body h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.05; margin-bottom: 16px; }
.legal-body h3 { font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1.4; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: var(--ash); font-weight: 300; font-size: 16px; line-height: 1.7; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 10px 0 0; padding-left: 20px; }
.legal-body li + li { margin-top: 6px; }
.legal-body strong { color: var(--paper); font-weight: 400; }
.legal-body a { color: var(--paper); border-bottom: 1px solid rgba(242, 236, 224, 0.4); }
.legal-body code { font-family: var(--mono); font-size: 13px; color: var(--cloud); }
.ph { font-family: var(--mono); font-size: 0.86em; color: #1a1205; background: var(--amber-2); padding: 1px 6px; border-radius: 4px; white-space: normal; }
.legal-home { margin-top: 56px; }
