/* Cachet's own site (lib/sites/cachet.mjs). Graphite, the app's four colours with their meanings, the
   Gauge C. Motion explains: the gauge draws, numbers count, the disk bar splits. Reduce Motion shows
   every final state at once. */
@font-face { font-family: Bricolage; src: url(/_/BricolageGrotesque.ttf); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }

:root {
  --bg: #0E0E10; --tile: #18181B; --track: #2A2A2E; --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
  --text: #F5F5F7; --text-2: #A1A1A6; --text-3: #6E6E73;
  --blue: #0A84FF; --purple: #BF5AF2; --orange: #FF9F0A; --grey: #636366;
  --font: Bricolage, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --w: min(1200px, calc(100vw - 2 * var(--gut))); --gut: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Film grain and a light that follows the pointer, both barely there. */
body::before { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, -999px) var(--my, -999px), rgba(10, 132, 255, .06), transparent 70%); }
main, .c-top { position: relative; z-index: 1; }

.c-eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.c-eyebrow a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--line-2); } .c-eyebrow a:hover { color: var(--text); }
h1, h2, h3 { font-weight: 720; letter-spacing: -.03em; line-height: .98; text-wrap: balance; }
.c-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--blue); color: #fff;
  font: 650 15px/1 var(--font); text-decoration: none; box-shadow: 0 8px 30px -10px rgba(10, 132, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .3s var(--ease), box-shadow .3s; }
button.c-btn { border: 0; cursor: pointer; }
.c-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 36px -10px rgba(10, 132, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.store-badge img { height: 44px; width: auto; }

/* ── Header: the C mark fills with the page as you read ─────────────────────────────────────── */
.c-top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 28px; height: 68px;
  padding: 0 max(var(--gut), calc((100vw - 1200px) / 2)); transition: background .4s, box-shadow .4s; }
.c-top.solid { background: rgba(14, 14, 16, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 var(--line); }
.c-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; letter-spacing: -.02em; }
.c-mark .gauge { width: 28px; height: 28px; }
.c-top nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.c-top nav a { color: var(--text-2); text-decoration: none; transition: color .2s; } .c-top nav a:hover { color: var(--text); }
.c-top .c-btn { min-height: 38px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.js .c-top > .c-btn, .js .c-top > .store-badge { opacity: 0; translate: 0 -6px; pointer-events: none; transition: opacity .4s var(--ease), translate .4s var(--ease); }
.js .c-top.past > .c-btn, .js .c-top.past > .store-badge { opacity: 1; translate: 0 0; pointer-events: auto; }

/* ── The Gauge C ───────────────────────────────────────────────────────────────────────────── */
.gauge { display: block; overflow: visible; }
.g-seg { stroke-dasharray: 1 1; }
.js .g-hero .g-track { opacity: 0; animation: g-fade .8s .1s var(--ease) forwards; }
.js .g-hero .g-seg { stroke-dashoffset: 1; animation: g-draw 1s calc(.35s + var(--i) * .16s) var(--ease-io) forwards; }
.js .g-hero .g-dot { opacity: 0; animation: g-fade .4s calc(.35s + var(--i) * .16s + .7s) var(--ease) forwards; }
@keyframes g-draw { to { stroke-dashoffset: 0; } }
@keyframes g-fade { to { opacity: 1; } }

/* ── Hero ──────────────────────────────────────────────────────────────────────────────────── */
.c-hero { position: relative; min-height: 100svh; width: var(--w); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px); padding: 110px 0 120px; }
.c-hero h1 { font-size: clamp(46px, 6.6vw, 98px); margin: 22px 0 26px; }
.c-hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--blue) 10%, #6E9BFF 50%, var(--purple) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); max-width: 30em; }
.c-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.c-status { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--text-2); }
.c-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 159, 10, .15); animation: pulse 2.4s ease-in-out infinite; }
.c-status.live i { background: #30D158; box-shadow: 0 0 0 4px rgba(48, 209, 88, .15); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 159, 10, .05); } }
.c-price { margin-top: 22px; font-size: 14.5px; color: var(--text-2); }
.c-price span { color: var(--text-3); margin-left: 6px; }
.c-price span::before { content: "· "; }

.c-hero-gauge { position: relative; width: min(100%, 560px); aspect-ratio: 1; justify-self: center; }
.c-hero-gauge .gauge { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-glow { position: absolute; inset: 16%; border-radius: 50%; filter: blur(60px); opacity: .55;
  background: radial-gradient(circle at 70% 78%, rgba(255, 159, 10, .45), transparent 42%), radial-gradient(circle at 48% 92%, rgba(10, 132, 255, .55), transparent 46%), radial-gradient(circle at 22% 78%, rgba(191, 90, 242, .45), transparent 44%);
  animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .8; transform: scale(1.05); } }
.c-readout { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding-left: 4%; }
.c-readout b { font: 600 clamp(42px, 5.4vw, 78px)/1 var(--mono); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.c-readout b::after { content: " GB"; font-size: .42em; letter-spacing: 0; color: var(--text-2); }
.c-readout span { margin-top: 10px; font-size: 14px; color: var(--text-2); }

.c-next { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); text-decoration: none; }
.c-next i { width: 1px; height: 36px; background: linear-gradient(var(--text-3), transparent); position: relative; overflow: hidden; }
.c-next i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--text); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

.js [data-in] { opacity: 0; translate: 0 18px; animation: rise .9s calc(.15s + var(--d) * .09s) var(--ease) forwards; }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

/* ── Sections that hold still while you scroll ──────────────────────────────────────────────── */
.c-sticky { position: sticky; top: 0; min-height: 100svh; width: var(--w); margin: 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 56px; }
h2 { font-size: clamp(38px, 5.2vw, 76px); }

/* Where did it go? The disk as one bar, which turns into Cachet's colours, then zooms to them. */
.c-where { height: 300vh; }
.c-where h2 { position: relative; margin: 20px 0 48px; min-height: 2.1em; }
.c-where h2 span { position: absolute; inset: 0 auto auto 0; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.c-where h2 span:not(.on) { opacity: 0; translate: 0 14px; pointer-events: none; }
.c-bar { padding: 7px; border-radius: 22px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line), 0 30px 80px -40px rgba(0, 0, 0, .9); }
.c-bar-track { position: relative; height: clamp(46px, 6vw, 72px); border-radius: 15px; overflow: hidden; background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(255, 255, 255, .025) 7px 8px); }
.c-seg { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 6px;
  background: color-mix(in srgb, var(--c) calc(var(--mix, 0) * 100%), #3A3A3E); }
.c-seg:first-child { border-radius: 12px 6px 6px 12px; }
.c-legend { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 10px clamp(20px, 4vw, 56px); margin-top: 34px; }
.c-legend li { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid var(--c); opacity: 0; translate: 0 10px; transition: opacity .6s calc(var(--i) * .1s) var(--ease), translate .6s calc(var(--i) * .1s) var(--ease); }
.c-legend b { font: 600 clamp(26px, 3vw, 40px)/1 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.c-legend span { font-size: 14.5px; color: var(--text-2); }
.c-where-foot { margin-top: 30px; max-width: 46em; color: var(--text-2); opacity: 0; transition: opacity .6s .3s var(--ease); }
.c-where-foot b { color: var(--c); font-weight: 650; }
.c-where.done .c-legend li { opacity: 1; translate: 0 0; } .c-where.done .c-where-foot { opacity: 1; }

/* How it works: the window holds still and zooms to what each step is about. */
.c-how { height: 330vh; }
.c-how .c-sticky { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.c-how h2 { margin: 20px 0 40px; font-size: clamp(34px, 4vw, 58px); }
.c-steps { list-style: none; padding: 0; display: grid; gap: 6px; border-left: 1px solid var(--line-2); }
.c-steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 6px; padding: 16px 0 16px 22px; opacity: .38; transition: opacity .5s var(--ease); }
.c-steps li::before { content: ""; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 2px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.c-steps li.on { opacity: 1; } .c-steps li.on::before { transform: none; }
.c-steps .n { font: 600 13px/2 var(--mono); color: var(--text-3); }
.c-steps h3 { font-size: 26px; letter-spacing: -.02em; }
.c-steps p { margin-top: 6px; color: var(--text-2); font-size: 16px; max-width: 30em; }
.c-step-pic { display: none; }
.c-win { position: relative; aspect-ratio: 2360 / 1520; border-radius: 2.3% / 3.6%; overflow: hidden; background: #1C1C1E;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 120px -40px rgba(0, 0, 0, .95), 0 0 120px -30px rgba(10, 132, 255, .25); }
.c-win img { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 0 0; }
.c-how-pic .c-win img { opacity: 0; transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.c-how-pic .c-win img.on { opacity: 1; }


/* ── Shared ──────────────────────────────────────────────────────────────────────────────────── */
.c-wrap { width: var(--w); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.c-wrap .c-eyebrow + h2 { margin-top: 18px; }
.c-sub { margin-top: 20px; max-width: 34em; font-size: clamp(17px, 1.4vw, 19px); color: var(--text-2); }
.c-sub a, .c-link, .c-doc a { color: var(--text); text-decoration-color: rgba(10, 132, 255, .6); text-underline-offset: 3px; }
.c-fine { margin-top: 18px; font-size: 13.5px; color: var(--text-3); }
.mono { font-family: var(--mono); }
.tile { display: inline-grid; place-items: center; flex: none; width: var(--s); height: var(--s); border-radius: calc(var(--s) * .27);
  background: color-mix(in srgb, var(--c) 10%, var(--tile)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 28%, transparent); }
.c-item, .c-safe, .c-private, .c-film, .c-price-s, .c-faq, .c-new, .c-close { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.js [data-reveal] .c-wrap > * { opacity: 0; translate: 0 26px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js [data-reveal] .c-wrap > :nth-child(2) { transition-delay: .12s; } .js [data-reveal] .c-wrap > :nth-child(3) { transition-delay: .24s; }
.js [data-reveal].seen .c-wrap > * { opacity: 1; translate: 0 0; }

/* One item up close: pick one, read what Cachet says about it. */
.c-item .c-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.c-picker { display: grid; gap: 8px; margin-top: 36px; max-width: 420px; }
.c-picker button { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 0; cursor: pointer;
  background: transparent; color: var(--text-2); font: 550 16px var(--font); text-align: left; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, box-shadow .3s; }
.c-picker button:hover { color: var(--text); background: rgba(255, 255, 255, .03); }
.c-picker button[aria-selected="true"] { color: var(--text); background: rgba(10, 132, 255, .1); box-shadow: inset 0 0 0 1px rgba(10, 132, 255, .45); }
.c-picker em { font: 500 13px var(--mono); font-style: normal; color: var(--text-3); }
.c-cards { position: relative; }
.c-card { border-radius: 26px; padding: clamp(22px, 3vw, 36px); background: linear-gradient(180deg, #202023, #19191C); box-shadow: inset 0 0 0 1px var(--line), 0 60px 120px -50px #000, 0 0 140px -50px rgba(10, 132, 255, .35); }
.c-card.enter { animation: card-in .55s var(--ease); }
@keyframes card-in { from { opacity: 0; translate: 0 14px; scale: .985; } }
.c-card header { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.c-card h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; }
.c-card header .mono { font-size: 12.5px; color: var(--text-3); margin-top: 4px; overflow-wrap: anywhere; }
.c-card .size { font: 650 clamp(24px, 2.6vw, 34px)/1 var(--mono); letter-spacing: -.03em; }
.c-card .what { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; }
.c-card .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.c-card .facts div { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .28); }
.c-card dt { font-size: 12px; color: var(--text-3); } .c-card dd { margin-top: 4px; font-weight: 600; font-size: 15px; }
.conf { display: inline-block; padding: 2px 9px; border-radius: 999px; font: 650 13px var(--font); }
.conf.high { background: rgba(48, 209, 88, .16); color: #30D158; } .conf.medium { background: rgba(255, 159, 10, .16); color: var(--orange); } .conf.review { background: rgba(255, 255, 255, .1); color: var(--text-2); }
.c-card .removed { margin-top: 20px; color: var(--text-2); } .c-card .removed span, .c-card .why > span { display: block; font-size: 12.5px; font-weight: 650; color: var(--text-3); margin-bottom: 4px; }
.c-card .why { margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: rgba(0, 0, 0, .28); }
.c-card .why ul { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 8px; }
.c-card .why li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }

/* Put Back: an item goes to the Trash and comes back, on a loop while it's on screen. */
.c-safe .c-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.c-trash { position: relative; height: 440px; border-radius: 28px; background: radial-gradient(120% 90% at 50% 100%, rgba(10, 132, 255, .08), transparent 60%), #141416; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.t-row { position: absolute; left: 50%; top: 54px; width: min(400px, 86%); translate: -50% 0; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: 16px; background: #222225; box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -20px #000; transform-origin: 50% 50%; }
.t-row b { display: block; font-size: 16px; } .t-row em { font: 12px var(--mono); font-style: normal; color: var(--text-3); } .t-row strong { font: 650 18px var(--mono); }
.t-bin { position: absolute; left: 50%; bottom: 54px; translate: -50% 0; display: grid; justify-items: center; gap: 10px; }
.t-label { font-size: 13px; color: var(--text-3); opacity: 0; }
.t-back, .t-done { position: absolute; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font: 650 14px var(--font); opacity: 0; white-space: nowrap; }
.t-back { bottom: 178px; background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(10, 132, 255, .8); }
.t-done { top: 132px; background: rgba(48, 209, 88, .14); color: #30D158; }
.c-safe .t-row, .c-safe .t-bin .tile, .c-safe .t-label, .c-safe .t-back, .c-safe .t-done { animation: 7.5s var(--ease-io) infinite paused; }
.c-safe.in .t-row, .c-safe.in .t-bin .tile, .c-safe.in .t-label, .c-safe.in .t-back, .c-safe.in .t-done { animation-play-state: running; }
.c-safe .t-row { animation-name: t-row; } .c-safe .t-bin .tile { animation-name: t-bin; } .c-safe .t-label { animation-name: t-label; }
.c-safe .t-back { animation-name: t-back; } .c-safe .t-done { animation-name: t-done; }
@keyframes t-row { 0%, 12% { transform: none; opacity: 1; } 28% { transform: translateY(250px) scale(.22); opacity: 0; } 60% { transform: translateY(250px) scale(.22); opacity: 0; } 74%, 100% { transform: none; opacity: 1; } }
@keyframes t-bin { 0%, 24% { transform: none; } 29% { transform: scale(1.12) rotate(-4deg); } 34%, 100% { transform: none; } }
@keyframes t-label { 0%, 28% { opacity: 0; } 32%, 58% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes t-back { 0%, 38% { opacity: 0; transform: translateY(8px); } 44%, 52% { opacity: 1; transform: none; filter: none; } 55% { transform: scale(.93); filter: brightness(1.25); } 58% { transform: none; opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes t-done { 0%, 74% { opacity: 0; transform: translateY(-6px); } 80%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* The guided cleanups: sideways, moved by the page's own scroll on wide screens. */
.c-guided { height: 300vh; }
.c-guided .c-sticky { width: 100%; overflow: hidden; }
.c-guided h2 { font-size: clamp(34px, 4.4vw, 64px); max-width: 15em; margin-top: 18px; }
.c-rail { margin-top: 48px; padding: 0 max(var(--gut), calc((100vw - 1200px) / 2)); }
.c-rail-track { display: flex; gap: 22px; width: max-content; will-change: transform; }
.c-guide { width: clamp(300px, 30vw, 390px); padding: 28px; border-radius: 26px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 7%, #1C1C1F), #161618);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent); display: flex; flex-direction: column; gap: 10px; }
.c-guide h3 { margin-top: 12px; font-size: 26px; letter-spacing: -.02em; }
.c-guide .found { font: 600 14px var(--mono); color: var(--c); }
.c-guide > p:not(.found) { color: var(--text-2); font-size: 15.5px; }
.c-guide .step { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.c-guide .step span { font-size: 12px; font-weight: 650; color: var(--text-3); } .c-guide .step p { margin-top: 4px; font-size: 15px; }
.c-guide code { display: block; margin-top: 12px; padding: 11px 13px; border-radius: 10px; background: #0A0A0C; font: 13px var(--mono); color: #E5E5EA; box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; white-space: nowrap; }
.c-guided-foot { margin-top: 36px; color: var(--text-3); font-size: 14.5px; }

/* Private by design: the quiet section. */
.c-private { background: #08080A; box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); text-align: center; }
.c-private .c-wrap { display: grid; justify-items: center; }
.c-promises { list-style: none; padding: 0; margin-top: 34px; display: grid; gap: 4px; }
.c-promises li { font-size: clamp(38px, 6vw, 92px); font-weight: 730; letter-spacing: -.035em; line-height: 1.02; }
.js .c-promises li { opacity: .12; transition: opacity 1s calc(.25s + var(--i) * .35s) var(--ease); } .js .c-private.seen .c-promises li { opacity: 1; }
.c-private .c-sub { margin-left: auto; margin-right: auto; }

/* The film, with Cachet's own play button. */
.c-film-frame { position: relative; margin-top: 22px; border-radius: 26px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--line), 0 60px 140px -50px #000, 0 0 160px -60px rgba(10, 132, 255, .4); }
.c-film video { display: block; width: 100%; aspect-ratio: 16 / 9; }
.c-play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; display: grid; place-items: center;
  background: rgba(10, 132, 255, .88); box-shadow: 0 20px 60px -10px rgba(10, 132, 255, .8), 0 0 0 10px rgba(10, 132, 255, .18); transition: transform .4s var(--ease); }
.c-play:hover { transform: scale(1.06); } .c-play svg { width: 34px; height: 34px; margin-left: 4px; }

/* Price: one card says it all. */
.c-price-s h2 { font-size: clamp(34px, 4.6vw, 66px); max-width: 14em; margin-top: 18px; }
.c-plans { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; margin-top: 52px; align-items: stretch; }
.c-plan { padding: clamp(24px, 3vw, 38px); border-radius: 26px; background: #161618; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 18px; }
.c-plan.main { background: radial-gradient(120% 120% at 100% 0%, rgba(10, 132, 255, .16), transparent 55%), #19191C; box-shadow: inset 0 0 0 1px rgba(10, 132, 255, .4), 0 40px 100px -50px rgba(10, 132, 255, .5); }
.c-plan .tag { font-weight: 650; display: flex; gap: 10px; align-items: center; } .c-plan .tag span { font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); padding: 4px 8px; border-radius: 999px; background: rgba(10, 132, 255, .12); }
.c-plan .amount { font: 650 clamp(44px, 5vw, 64px)/1 var(--mono); letter-spacing: -.04em; }
.c-plan .amount em { font: 600 18px var(--font); font-style: normal; letter-spacing: 0; color: var(--blue); margin-left: 10px; }
.c-plan ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.c-plan li { display: flex; gap: 10px; align-items: center; color: var(--text-2); } .c-plan.main li { color: var(--text); }
.c-plan .c-btn, .c-plan .store-badge { margin-top: auto; align-self: flex-start; }

/* Questions, and what's new. */
.c-faq .c-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.c-faq h2 { margin-top: 18px; font-size: clamp(34px, 4vw, 56px); }
.c-qs details, .c-new details { border-bottom: 1px solid var(--line-2); }
.c-qs summary, .c-new summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; }
.c-qs summary::-webkit-details-marker, .c-new summary::-webkit-details-marker { display: none; }
.c-qs summary::after { content: "+"; font: 400 26px/1 var(--font); color: var(--text-3); transition: rotate .3s var(--ease); } .c-qs details[open] summary::after { rotate: 45deg; }
.c-qs details p { padding: 0 0 24px; color: var(--text-2); max-width: 36em; }
.c-new summary span { color: var(--text-3); font: 500 14px var(--mono); } .c-new details div { padding-bottom: 22px; color: var(--text-2); }

/* The close: the gauge gives the space back. */
.c-close { text-align: center; overflow: hidden; }
.c-close .c-wrap { display: grid; justify-items: center; }
.c-close-gauge { position: relative; width: min(300px, 70vw); aspect-ratio: 1; }
.c-close-gauge .gauge { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-close-gauge .c-readout b { font-size: clamp(36px, 4vw, 52px); }
.c-close h2 { margin-top: 30px; max-width: 13em; font-size: clamp(36px, 5vw, 72px); }
.c-close .c-actions { justify-content: center; }
.js .g-close .g-seg { stroke-dashoffset: 1; } .js .g-close .g-dot { opacity: 0; }
.js .c-close.seen .g-close .g-seg { animation: g-draw 1s calc(.3s + var(--i) * .16s) var(--ease-io) forwards; }
.js .c-close.seen .g-close .g-dot { animation: g-fade .4s calc(1s + var(--i) * .16s) var(--ease) forwards; }

/* Footer. */
.c-foot { width: var(--w); margin: 0 auto; padding: 48px 0 40px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.c-foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.c-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; } .c-foot nav a { color: var(--text-2); text-decoration: none; } .c-foot nav a:hover { color: var(--text); }
.c-foot-fine { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--text-3); }
.c-foot-fine a { color: var(--text-2); }

/* Notify and privacy pages. */
.c-doc { width: min(720px, calc(100vw - 2 * var(--gut))); margin: 0 auto; padding: 150px 0 120px; }
.c-doc h1 { margin: 22px 0 6px; font-size: clamp(38px, 5vw, 60px); }
.c-meta { color: var(--text-3); font-size: 14px; }
.c-prose h2 { font-size: 26px; margin: 40px 0 10px; } .c-prose p, .c-prose li { color: var(--text-2); } .c-prose p + p { margin-top: 12px; } .c-prose ul { padding-left: 20px; margin-top: 10px; }
.c-form { margin-top: 30px; display: grid; gap: 10px; } .c-form label { font-size: 14px; color: var(--text-2); }
.c-form .row { display: flex; gap: 10px; flex-wrap: wrap; }
.c-form input[type=email] { flex: 1 1 260px; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--tile); color: var(--text); font: 16px var(--font); box-shadow: inset 0 0 0 1px var(--line-2); }
.c-form input[type=email]:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.c-form .c-btn { min-height: 48px; } .c-form .error { color: #FF6961; } .hp { position: absolute; left: -9999px; }
.c-notify .c-link { display: inline-block; margin-top: 18px; }

/* ── Phones ────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .c-top { gap: 14px; height: 60px; } .c-top nav { display: none; } .c-top .c-btn { margin-left: auto; }
  .c-hero { grid-template-columns: 1fr; padding: 92px 0 96px; gap: 8px; }
  .c-hero-gauge { order: -1; width: min(78vw, 360px); }
  .c-hero h1 { margin: 16px 0 18px; }
  .c-actions { margin-top: 26px; }
  .c-next { display: none; }
  .c-where { height: 280vh; }
  .c-legend { grid-template-columns: 1fr 1fr 1fr; }
  .c-how { height: auto; }
  .c-how .c-sticky { position: static; display: block; min-height: 0; padding: 72px 0; }
  .c-how-pic { display: none; }
  .c-steps { border-left: 0; gap: 40px; }
  .c-steps li { opacity: 1; padding: 0; grid-template-columns: 34px 1fr; }
  .c-steps li::before { display: none; }
  .c-step-pic { display: block; grid-column: 1 / -1; margin-top: 16px; }
}
@media (max-width: 860px) {
  .c-item .c-wrap, .c-safe .c-wrap, .c-faq .c-wrap, .c-plans { grid-template-columns: 1fr; }
  .c-picker { grid-template-columns: 1fr; margin-top: 26px; }
  .c-card .facts { grid-template-columns: 1fr 1fr; }
  .c-card header { grid-template-columns: auto 1fr; } .c-card .size { grid-column: 1 / -1; }
  .c-trash { height: 380px; } .t-back { bottom: 160px; }
  .c-guided { height: auto; } .c-guided .c-sticky { position: static; min-height: 0; padding: 96px 0; }
  .c-rail { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; } .c-rail::-webkit-scrollbar { display: none; }
  .c-guide { scroll-snap-align: start; scroll-margin-left: var(--gut); width: 82vw; }
  .c-rail-track { transform: none !important; padding-right: var(--gut); }
}
@media (max-width: 480px) { .c-legend { grid-template-columns: 1fr; } .c-legend b { font-size: 30px; } }

@media (prefers-reduced-motion: reduce) {
  .js .g-hero .g-track, .js .g-hero .g-dot, .js [data-in] { opacity: 1; translate: none; animation: none; }
  .js .g-hero .g-seg, .js .g-close .g-seg { stroke-dashoffset: 0; animation: none !important; } .js .g-close .g-dot { opacity: 1; animation: none !important; }
  .c-glow, .c-status i, .c-next i::after { animation: none; }
  html { scroll-behavior: auto; }
  .c-safe .t-row, .c-safe .t-bin .tile, .c-safe .t-label, .c-safe .t-back { animation: none; }
  .c-safe .t-done { animation: none; opacity: 1; }
  .js [data-reveal] .c-wrap > *, .js .c-promises li { opacity: 1; translate: none; }
  * { transition-duration: 0s !important; }
}

/* Everywhere Cachet looks: an index of places and a page for each (lib/sites/cachet.mjs) */
.c-places { padding: 140px 0 100px; }
.c-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 600 12.5px var(--mono); color: var(--text-3); margin-bottom: 30px; }
.c-crumbs a { color: var(--text-2); text-decoration: none; }
.c-crumbs > * + *::before { content: "/"; margin-right: 10px; color: var(--grey); }
.c-places h1 { font-size: clamp(38px, 5.4vw, 72px); max-width: 16em; }
.c-place .c-eyebrow { margin-bottom: 18px; }
.c-path { margin-top: 16px; color: var(--text-2); font-size: 15px; overflow-wrap: anywhere; }
.c-place-card { margin-top: 40px; max-width: 860px; }
.c-place-card h2 { font-size: clamp(22px, 2.2vw, 28px); }
.c-place-card header .conf { align-self: start; }
.c-place-card .why p { margin-top: 6px; color: var(--text-2); }
.c-place-card pre { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, .4); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.c-answer { margin-top: 40px; max-width: 760px; }
.c-answer p { margin-top: 14px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; }
.c-answer .conf { margin-right: 6px; vertical-align: 2px; }
.c-group { margin-top: 56px; }
.c-group h2 { font-size: clamp(24px, 2.4vw, 32px); }
.c-group-sub { margin-top: 8px; color: var(--text-2); }
.c-rules { list-style: none; padding: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.c-rules a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.c-rules a:hover { background: rgba(255, 255, 255, .03); }
.c-rules .n { display: grid; gap: 2px; min-width: 0; }
.c-rules .n b { font-weight: 650; }
.c-rules .n em { font-style: normal; font-size: 12.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-rules .b { color: var(--text-2); font-size: 14.5px; white-space: nowrap; }
.c-confkey { margin-top: 72px; }
.c-confkey dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.c-confkey dl div { padding: 16px 18px; border-radius: 16px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); }
.c-confkey dd { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.c-places-cta { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: 84px; padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: linear-gradient(180deg, #202023, #19191C); box-shadow: inset 0 0 0 1px var(--line); }
.c-places-cta .cta-gauge { width: 84px; height: 84px; }
.c-places-cta-big { font-size: clamp(22px, 2.4vw, 30px); font-weight: 650; letter-spacing: -.02em; line-height: 1.15; max-width: 22em; }
.c-places-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; }
.c-source { margin-top: 26px; }
@media (max-width: 760px) {
  .c-places { padding-top: 110px; }
  .c-rules a { grid-template-columns: auto minmax(0, 1fr) auto; }
  .c-rules .b { display: none; }
  .c-confkey dl { grid-template-columns: 1fr; }
  .c-places-cta { grid-template-columns: 1fr; }
  .c-place-card .facts { grid-template-columns: 1fr 1fr; }
}
