/* Shortnut landing page */

/* General Sans by Indian Type Foundry (Fontshare, free for commercial use). If you own a
   Neue Montreal licence and have it installed or self-hosted, it is picked up first. */
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/GeneralSans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/GeneralSans-400i.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/GeneralSans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/GeneralSans-500i.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/GeneralSans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1d130e;
  --ink-2: #5f4e45;
  --ink-3: #94827a;
  --cream: #fff8f2;
  --cream-2: #fbeee3;
  --cream-3: #f4e2d3;
  --line: rgba(70, 35, 15, 0.14);
  --line-2: rgba(70, 35, 15, 0.08);
  --accent: #ef4a23;
  --accent-2: #ff7a3d;
  --sun: #ffc24a;
  --plum: #7b4ab8;
  --accent-soft: #ffd9c7;
  --sun-soft: #ffe6ad;
  --plum-soft: #e4d7f4;
  --sunset: linear-gradient(120deg, #ff453a 0%, #ff7a38 45%, #ffc14a 100%);
  --radius: 22px;
  --display: 'Neue Montreal', 'General Sans', 'Segoe UI', system-ui, sans-serif;
  --body: 'Neue Montreal', 'General Sans', 'Segoe UI', system-ui, sans-serif;
  --serif: 'Neue Montreal', 'General Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Neue Montreal', 'General Sans', 'Segoe UI', system-ui, sans-serif;
  --code: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

h2 {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.95;
}

h2 em,
h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--accent);
}

p {
  margin: 0;
}

kbd {
  font: 500 0.82em var(--mono);
  padding: 0.05em 0.45em 0.12em;
  border-radius: 6px;
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  background: #fff;
  color: var(--ink);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wrap {
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
}
.skip:focus {
  left: 10px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 15px var(--body);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn-lg {
  height: 56px;
  padding: 0 28px;
  font-size: 16px;
}
.btn-ink {
  background: var(--ink);
  color: var(--cream);
}
.btn-ink:hover {
  background: var(--accent);
}
.btn-line {
  border-color: var(--line);
  color: var(--ink);
}
.btn-line:hover {
  border-color: var(--ink);
}
.btn-cream {
  background: var(--cream);
  color: var(--ink);
}
.btn-cream:hover {
  background: #fff;
}

/* ---------- tag (section label) ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  font: 500 11.5px var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
.tag-dark {
  background: rgba(255, 248, 242, 0.06);
  border-color: rgba(255, 248, 242, 0.14);
  color: rgba(255, 248, 242, 0.75);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 242, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line-2);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 18px var(--display);
  letter-spacing: -0.03em;
}
.links {
  display: flex;
  gap: 4px;
}
.links a {
  padding: 8px 12px;
  border-radius: 8px;
  font: 500 12px var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.2s, background 0.2s;
}
.links a:hover {
  color: var(--ink);
  background: var(--cream-2);
}
.nav-cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}
.nav-gh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font: 500 14px var(--body);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s;
}
.nav-gh:hover {
  border-color: var(--ink);
}
.nav .btn {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

/* ---------- hero ---------- */
.hero {
  padding: 10px 0 0;
}
.hero-stage {
  position: relative;
  margin: 0 16px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line-2);
  overflow: hidden;
  min-height: min(860px, calc(100svh - 84px));
  display: flex;
  flex-direction: column;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(56px, 9vh, 104px) 20px 0;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 14px 0 4px;
  border-radius: 999px;
  background: var(--cream-2);
  border: 1px solid var(--line-2);
  font: 500 13.5px var(--body);
  color: var(--ink-2);
  text-decoration: none;
}
.hero-pill b {
  height: 26px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  font-size: 12.5px;
}
.hero-pill span {
  color: var(--accent);
}
.headline {
  margin: 30px 0 0;
  font-size: clamp(46px, 7.4vw, 112px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  white-space: nowrap;
}
.hw {
  display: inline-flex;
  align-items: center;
}
.h-wheel {
  width: 0.62em;
  height: 0.62em;
  margin: 0 0.01em 0 0.02em;
  color: var(--accent);
  animation: spin 14s linear infinite;
  transform: translateY(0.03em);
}
.h-wheel circle {
  fill: var(--ink);
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
.h-chip {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  width: 1.5em;
  height: 0.78em;
  border-radius: 0.1em;
  overflow: hidden;
  background: linear-gradient(180deg, #ff6a3d 0%, #ffb347 58%, #5b2c83 59%, #2d1450 100%);
  border: 0.035em solid #fff;
  transform: translateY(0.02em) rotate(-6deg);
  box-shadow: 0 0.1em 0.24em rgba(80, 25, 5, 0.22);
}
.h-thumb {
  position: absolute;
  left: 50%;
  top: 26%;
  width: 0.22em;
  height: 0.22em;
  border-radius: 50%;
  background: #fff1c1;
  transform: translateX(-50%);
}
.h-name {
  position: relative;
  margin: 0 0 0.07em 0.07em;
  padding: 0.04em 0.08em;
  border-radius: 0.04em;
  background: #2f6fde;
  color: #fff;
  font: 500 0.1em/1.2 var(--body);
  letter-spacing: 0;
}
/* The Shift keycap: sized off the headline (1em = headline size), modelled on a real
   keyboard key: raised top surface, solid depth edge underneath, icon + legend in the corners. */
.h-key {
  --depth: 0.075em;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 1.62em;
  height: 0.74em;
  padding: 0.085em 0.11em 0.075em;
  margin-bottom: var(--depth);
  border: 0;
  border-radius: 0.14em;
  background: linear-gradient(180deg, #ff7d47 0%, #f6532a 100%);
  color: #fff;
  font: 500 1em/1 var(--display);
  letter-spacing: 0;
  box-shadow:
    inset 0 0.012em 0 rgba(255, 255, 255, 0.55),
    inset 0 -0.03em 0.04em rgba(150, 30, 0, 0.18),
    0 var(--depth) 0 #b9381a,
    0 calc(var(--depth) + 0.05em) 0.16em rgba(170, 50, 15, 0.35);
  rotate: 3deg;
  transform: translateY(calc(var(--depth) * -0.5));
  transition: translate 0.08s ease-out, box-shadow 0.08s ease-out;
  cursor: default;
}
.h-key-ic {
  width: 0.25em;
  height: 0.25em;
  opacity: 0.95;
}
.h-key-lb {
  font-size: 0.215em;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.95;
}
/* Pressed: the cap travels down onto its edge. */
.h-key.is-pressed {
  translate: 0 0.06em;
  box-shadow:
    inset 0 0.012em 0 rgba(255, 255, 255, 0.45),
    inset 0 -0.03em 0.04em rgba(150, 30, 0, 0.18),
    0 0.015em 0 #b9381a,
    0 0.03em 0.06em rgba(170, 50, 15, 0.3);
}
@keyframes keypress {
  0%,
  70%,
  100% {
    translate: 0 0;
  }
  74% {
    translate: 0 0.06em;
  }
}

.hero-sub {
  margin-top: 26px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.btn-soft {
  background: var(--cream-2);
  color: var(--ink);
}
.btn-soft:hover {
  background: var(--cream-3);
}
.hero-meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-3);
}

/* fanned file cards cropped by the bottom of the stage */
.hero-fan {
  position: relative;
  flex: 1;
  min-height: 240px;
  margin-top: 48px;
}
.fc {
  --w: clamp(132px, 15vw, 210px);
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: var(--w);
  height: calc(var(--w) * 1.28);
  margin-left: calc(var(--w) / -2);
  padding: 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 40px rgba(60, 25, 10, 0.16), 0 2px 6px rgba(60, 25, 10, 0.08);
  transform-origin: 50% 120%;
  transform: translateX(var(--x)) translateY(var(--y)) rotate(var(--r));
  text-align: left;
  overflow: hidden;
}
.fc b {
  font: 500 12px var(--body);
  opacity: 0.8;
}
.fc-k {
  font: 600 13px var(--body);
  letter-spacing: 0.04em;
}
.fc-big {
  font: 500 calc(var(--w) * 0.2) / 0.92 var(--display);
  letter-spacing: -0.05em;
}
.fc-lines {
  flex: 1;
  margin: 14px 0;
  background: repeating-linear-gradient(180deg, currentColor 0 2px, transparent 2px 9px);
  opacity: 0.22;
  -webkit-mask: linear-gradient(90deg, #000 70%, transparent);
  mask: linear-gradient(90deg, #000 70%, transparent);
}
.fc-wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5%;
}
.fc-wave s {
  flex: 1;
  height: 30%;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.85;
}
.fc-wave s:nth-child(2n) {
  height: 62%;
}
.fc-wave s:nth-child(3n) {
  height: 44%;
}
.fc-wave s:nth-child(5) {
  height: 80%;
}
.fc-photo {
  flex: 1;
  margin: -16px -16px 12px;
  background: radial-gradient(circle at 50% 46%, #fff1c1 0 14%, transparent 14.5%), linear-gradient(180deg, #ff6a3d 0%, #ffb347 58%, #5b2c83 59%, #2d1450 100%);
}
.fc svg {
  width: 62%;
  height: auto;
  margin: auto;
  color: var(--accent);
}
.fc-1 {
  --x: -176%; --y: 70px; --r: -24deg;
  background: #2f6fde;
  color: #fff;
}
.fc-2 {
  --x: -118%; --y: 26px; --r: -15deg;
  background: #ffb3cf;
  color: #8a1446;
}
.fc-3 {
  --x: -59%; --y: 2px; --r: -7deg;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.fc-4 {
  --x: 0%; --y: -8px; --r: 0deg;
  z-index: 2;
  background: var(--ink);
  color: #fff;
  align-items: center;
}
.fc-5 {
  --x: 59%; --y: 2px; --r: 7deg;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.fc-6 {
  --x: 118%; --y: 26px; --r: 15deg;
  background: #ffe14d;
  color: var(--ink);
}
.fc-7 {
  --x: 176%; --y: 70px; --r: 24deg;
  background: #a6f0a0;
  color: #0e4a19;
}


/* Hero entrance: pure CSS, so the hero can never get stuck hidden waiting for a script. */
@keyframes hero-rise {
  from { opacity: 0; translate: 0 22px; }
}
@keyframes hero-rise-lg {
  from { opacity: 0; translate: 0 60px; }
}
@keyframes hero-pop {
  from { opacity: 0; scale: 0.3; rotate: -18deg; }
}
@keyframes hero-drop {
  from { opacity: 0; translate: 0 -0.6em; }
}
@keyframes hero-fan {
  from { opacity: 0; translate: 0 160px; }
}
.hero-pill { animation: hero-rise 0.7s var(--ease) both; }
.hl { animation: hero-rise-lg 1.1s var(--ease) 0.08s both; }
.hl + .hl { animation-delay: 0.18s; }
.h-chip { animation: hero-pop 0.8s cubic-bezier(0.3, 1.5, 0.5, 1) 0.35s both; }
.h-key { animation: hero-drop 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) 0.55s both, keypress 3.2s var(--ease) 1.4s infinite; }
/* With the motion script running, presses come from JS instead of the CSS loop. */
.js-motion .h-key { animation: hero-drop 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) 0.55s both; cursor: pointer; }
.hero-sub { animation: hero-rise 0.9s var(--ease) 0.5s both; }
.hero-ctas { animation: hero-rise 0.9s var(--ease) 0.58s both; }
.hero-meta { animation: hero-rise 0.9s var(--ease) 0.66s both; }
.fc { animation: hero-fan 1.1s var(--ease) both; }
.fc-4 { animation-delay: 0.7s; }
.fc-3 { animation-delay: 0.76s; }
.fc-5 { animation-delay: 0.82s; }
.fc-2 { animation-delay: 0.88s; }
.fc-6 { animation-delay: 0.94s; }
.fc-1 { animation-delay: 1s; }
.fc-7 { animation-delay: 1.06s; }

/* format proof row, Jitter-style */
.hero-proof {
  padding: 34px 0 20px;
}
.proof-line {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--ink-2);
  text-align: center;
}
.proof-line::before,
.proof-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.proof-line b {
  color: var(--ink);
  font-weight: 500;
}
.proof-row {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.proof-row li {
  font: 600 clamp(18px, 1.9vw, 24px) var(--display);
  letter-spacing: -0.03em;
  color: var(--ink-3);
}

/* ---------- how + demo ---------- */
.how {
  padding: 120px 0;
  background: var(--cream-2);
  border-block: 1px solid var(--line-2);
}
.how-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.how-copy {
  position: sticky;
  top: 100px;
}
.how-copy h2 {
  margin-bottom: 44px;
}
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.how-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.how-steps .n {
  color: var(--accent);
  padding-top: 5px;
}
.how-steps h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.how-steps p {
  color: var(--ink-2);
  font-size: 15px;
}
.try {
  margin-top: 22px;
  color: var(--ink-3);
  text-transform: none;
}

/* ---------- demo desktop ---------- */
.demo {
  position: relative;
}
.desk {
  position: relative;
  height: 520px;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, #ff5146 0%, transparent 55%), radial-gradient(90% 80% at 100% 0%, #f2a33a 0%, transparent 60%),
    radial-gradient(90% 90% at 100% 100%, #8b6ad6 0%, transparent 60%), radial-gradient(80% 80% at 0% 100%, #f26b5b 0%, transparent 60%), #f17a4b;
  box-shadow: 0 40px 90px rgba(120, 40, 10, 0.32), 0 10px 26px rgba(120, 40, 10, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  user-select: none;
  touch-action: none;
  cursor: default;
}
.desk-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}
.desk-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.desk-bar b {
  margin-left: 8px;
  font-weight: 600;
}
.desk-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(30, 12, 5, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  transition: opacity 0.3s;
  z-index: 3;
}
.desk-hint kbd {
  font: 700 12px var(--body);
  padding: 1px 6px;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
}
.files {
  position: absolute;
  inset: 34px 0 0;
}
.dfile {
  position: absolute;
  width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: grab;
  transition: opacity 0.2s;
}
.dfile.new {
  animation: pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}
.dfile .thumb {
  width: 58px;
  height: 72px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(60, 20, 5, 0.25);
  position: relative;
  overflow: hidden;
}
.dfile .thumb.doc::before {
  content: '';
  position: absolute;
  inset: 10px 9px;
  background: repeating-linear-gradient(to bottom, #c9c2be 0 2px, transparent 2px 6px);
  opacity: 0.8;
}
.dfile .thumb.img {
  width: 72px;
  height: 56px;
  margin-top: 16px;
  background: linear-gradient(180deg, #ff6a3d 0%, #ffb347 60%, #5b2c83 61%, #2d1450 100%);
  border: 3px solid #fff;
}
.dfile .thumb.img::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff1c1;
  transform: translate(-50%, -50%);
}
.dfile .thumb.vid {
  width: 76px;
  height: 52px;
  margin-top: 18px;
  background: #241a3d;
  border-radius: 8px;
}
.dfile .thumb.vid::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-35%, -50%);
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.dfile .thumb.zip {
  background: linear-gradient(135deg, #ffd36b, #ff9f45);
}
.dfile .name {
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  padding: 1px 6px;
  border-radius: 5px;
  line-height: 1.35;
  max-width: 108px;
  word-break: break-word;
}
.dfile.dragging-src {
  opacity: 0.45;
}
.dfile.drag-proxy {
  pointer-events: none;
  z-index: 20;
  cursor: grabbing;
}
.dfile.drag-proxy .name {
  background: #2f6fde;
  text-shadow: none;
}
.dfile.drag-proxy .badge {
  position: absolute;
  left: 58px;
  top: 58px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22b35e;
  color: #fff;
  font: 700 16px/22px var(--body);
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* wheel inside the demo */
.dwheel {
  position: absolute;
  width: 330px;
  height: 330px;
  transform: translate(-50%, -50%) scale(0.6) rotate(-20deg);
  opacity: 0;
  transition: opacity 0.14s, transform 0.22s cubic-bezier(0.2, 0.9, 0.25, 1.15);
  z-index: 10;
  pointer-events: none;
}
.dwheel.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0);
}
.dwheel svg {
  position: absolute;
  inset: 0;
  overflow: visible;
}
.dwheel .ring {
  fill: rgba(255, 240, 230, 0.55);
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5;
  filter: drop-shadow(0 16px 30px rgba(80, 25, 5, 0.35));
}
.dwheel .seg {
  fill: url(#dseg);
  stroke: url(#dseg);
  stroke-width: 12;
  stroke-linejoin: round;
  transform-origin: 165px 165px;
  transition: transform 0.15s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
.dwheel .seg.on {
  fill: var(--accent);
  stroke: var(--accent);
  transform: scale(1.04);
}
.dwheel .lbl {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font: 700 16px var(--display);
  color: #2a1810;
  white-space: nowrap;
  transition: color 0.12s;
}
.dwheel.tools .lbl {
  font: 700 9.5px var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dwheel .lbl.on {
  color: #fff;
}
.dwheel .lbl svg {
  position: static;
}
.dwheel .hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.dwheel .pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fffaf5, #ffe6d4);
  box-shadow: 0 4px 12px rgba(90, 40, 15, 0.18);
  font: 600 13.5px var(--body);
  color: #2a1810;
}
.dwheel .hint {
  font: 700 8.5px var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(42, 24, 16, 0.6);
}

.dtoast {
  position: absolute;
  width: 270px;
  padding: 14px 16px 14px 42px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 239, 226, 0.97), rgba(255, 222, 200, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 36px rgba(70, 30, 10, 0.3);
  z-index: 15;
  transform: translate(-50%, -50%);
  animation: pop 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.25);
}
.dtoast::before {
  content: '×';
  position: absolute;
  left: 14px;
  top: 13px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(60, 30, 15, 0.1);
  text-align: center;
  font-size: 13px;
  line-height: 17px;
  color: rgba(60, 30, 15, 0.7);
}
.dtoast b {
  display: block;
  font: 600 15px var(--display);
}
.dtoast small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 2px;
}
.dtoast .bar {
  height: 4px;
  border-radius: 4px;
  margin-top: 9px;
  background: rgba(60, 30, 15, 0.12);
  overflow: hidden;
}
.dtoast .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--sunset);
  transition: width 0.6s ease;
}

.ghost-cursor {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 2l15 11-6.5 1.2L16 21l-3 1.4-3.6-6.9L4 19z' fill='black' stroke='white' stroke-width='1.6' stroke-linejoin='round'/></svg>") no-repeat;
  transition: opacity 0.2s;
}
.ghost-cursor.on {
  opacity: 1;
}

.shift-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 25;
  display: none;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 2px solid rgba(70, 35, 15, 0.2);
  border-bottom-width: 5px;
  background: #fff;
  font: 700 15px var(--body);
  color: var(--ink);
}
.shift-btn.pressed {
  border-bottom-width: 2px;
  transform: translateY(3px);
}
@media (hover: none) {
  .shift-btn {
    display: block;
  }
  .desk-hint {
    left: 14px;
    transform: none;
  }
}


/* demo frame tweaks for the new layout */
.desk {
  height: 620px;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 30px 60px -20px rgba(120, 40, 10, 0.35), 0 0 0 1px rgba(70, 35, 15, 0.1);
}
.desk-bar i {
  margin-left: auto;
  font-style: normal;
  font-size: 10.5px;
  opacity: 0.8;
}
.desk-bar i::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #7dffa8;
  vertical-align: 1px;
}
.desk-hint kbd {
  font: 600 11.5px var(--mono);
  border: 0;
  padding: 1px 6px;
}

/* ---------- where ---------- */
.where {
  padding: 72px 0 0;
}
.where-title {
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 26px;
}
.where-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 1px solid var(--line);
}
.where-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 12px;
  font: 500 15px var(--display);
  letter-spacing: -0.02em;
  color: var(--ink-2);
  text-align: center;
}
.where-grid li + li {
  border-left: 1px solid var(--line);
}
.where-grid svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- statement ---------- */
.statement {
  padding: 130px 0 120px;
  text-align: center;
}
.big-text {
  max-width: 1060px;
  margin: 0 auto;
  font: 400 clamp(30px, 4.3vw, 58px) / 1.12 var(--display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.big-text .fade {
  color: var(--ink-3);
  opacity: 0.75;
}
.ichip {
  display: inline-grid;
  place-items: center;
  width: 1.05em;
  height: 0.82em;
  border-radius: 0.2em;
  vertical-align: -0.06em;
  margin-inline: 0.04em;
}
.ichip svg {
  width: 0.5em;
  height: 0.5em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.c-img {
  background: var(--accent-soft);
  color: var(--accent);
}
.c-pdf {
  background: var(--sun-soft);
  color: #b77300;
}
.c-vid {
  background: var(--plum-soft);
  color: var(--plum);
}
.c-aud {
  background: var(--cream-3);
  color: var(--ink-2);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 96px 0 0;
}
.stats div {
  padding: 4px 24px;
}
.stats div + div {
  border-left: 1px solid var(--line);
}
.stats dt {
  font: 300 clamp(44px, 5vw, 68px) / 1 var(--display);
  letter-spacing: -0.05em;
}
.stats dd {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}

/* ---------- section head ---------- */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: end;
  gap: 40px;
  margin-bottom: 56px;
}
.sec-side {
  color: var(--ink-2);
  font-size: 15.5px;
}
.sec-side a {
  color: var(--accent);
}

/* ---------- tools accordion ---------- */
.tools {
  padding: 40px 0 130px;
}
.acc {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.acc-item {
  --bg: var(--accent-soft);
  --fg: var(--ink);
  border-radius: 14px;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  transition: background 0.3s;
}
.a-1 {
  --bg: var(--accent);
  --fg: #fff;
}
.a-2 {
  --bg: var(--sun);
}
.a-3 {
  --bg: var(--accent-soft);
}
.a-4 {
  --bg: var(--plum-soft);
}
.a-5 {
  --bg: var(--cream-3);
}
.a-6 {
  --bg: var(--sun-soft);
}
.a-7 {
  --bg: var(--ink);
  --fg: var(--cream);
}
.acc-item summary {
  display: grid;
  grid-template-columns: 48px 1fr auto 28px;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}
.acc-item summary::-webkit-details-marker {
  display: none;
}
.acc-t {
  font: 400 clamp(22px, 2.4vw, 32px) / 1.1 var(--display);
  letter-spacing: -0.035em;
}
.acc-k {
  opacity: 0.7;
}
.acc-ico {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.8;
}
.acc-ico::before,
.acc-ico::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.acc-ico::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.acc-item[open] .acc-ico::after {
  transform: translate(-50%, -50%) rotate(0);
}
.acc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding: 10px 22px 22px 82px;
  min-height: 300px;
}
.acc-item[open] .acc-body {
  animation: rise 0.45s var(--ease);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.acc-copy p {
  max-width: 440px;
  font-size: 17px;
  line-height: 1.55;
  opacity: 0.88;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.chips span {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font: 500 12px var(--mono);
}

/* illustrations (shared) */
.ill {
  position: relative;
  height: 260px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  color: var(--ink);
}
.a-1 .ill {
  background: rgba(255, 255, 255, 0.16);
}
.a-7 .ill {
  background: rgba(255, 248, 242, 0.06);
}
.ill-arrow {
  flex: none;
  color: currentColor;
}

/* convert */
.ill-convert {
  color: #fff;
}
.f-card {
  width: 150px;
  padding: 10px 10px 12px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 36px -12px rgba(90, 20, 0, 0.45);
  transform: rotate(-4deg);
}
.f-card.is-new {
  transform: rotate(3deg) translateY(-8px);
  outline: 2px solid var(--sun);
  outline-offset: 3px;
}
.f-pic {
  height: 92px;
  border-radius: 7px;
  margin-bottom: 10px;
  background: radial-gradient(circle at 50% 42%, #fff1c1 0 12%, transparent 13%), linear-gradient(180deg, #ff6a3d 0%, #ffb347 58%, #5b2c83 59%, #2d1450 100%);
}
.f-card b {
  display: block;
  font: 500 14px var(--display);
}
.f-card small {
  font: 400 11px var(--mono);
  color: var(--ink-3);
}

/* compress */
.ill-compress {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 0 34px;
  gap: 16px;
}
.bar-row {
  display: grid;
  grid-template-columns: 64px 1fr 70px;
  align-items: center;
  gap: 14px;
}
.bar-row b {
  font: 500 15px var(--display);
  text-align: right;
}
.bar-row .bar {
  height: 30px;
  border-radius: 8px;
  background: rgba(29, 19, 14, 0.08);
  overflow: hidden;
}
.bar-row .bar i {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: var(--ink);
}
.bar-row .bar i.hot {
  background: var(--accent);
}
.acc-item[open] .bar i.hot {
  animation: shrink 1.1s var(--ease) both 0.2s;
}
@keyframes shrink {
  from {
    width: 100%;
  }
}
.saved {
  margin-top: 6px;
  font: 400 15px var(--display);
  color: var(--ink-2);
}
.saved span {
  font-size: 40px;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-right: 8px;
}

/* crop */
.ill-crop {
  flex-direction: column;
}
.crop-pic {
  position: relative;
  overflow: hidden;
  width: 250px;
  height: 160px;
  border-radius: 8px;
  background: radial-gradient(circle at 50% 42%, #fff1c1 0 9%, transparent 10%), linear-gradient(180deg, #ff6a3d 0%, #ffb347 58%, #5b2c83 59%, #2d1450 100%);
}
.crop-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 124px;
  height: 124px;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  box-shadow: 0 0 0 999px rgba(29, 19, 14, 0.5);
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 33.33% 33.33%;
  background-position: -1px -1px;
}
.crop-frame i {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0 solid #fff;
}
.crop-frame i:nth-child(1) {
  left: -5px;
  top: -5px;
  border-width: 4px 0 0 4px;
}
.crop-frame i:nth-child(2) {
  right: -5px;
  top: -5px;
  border-width: 4px 4px 0 0;
}
.crop-frame i:nth-child(3) {
  left: -5px;
  bottom: -5px;
  border-width: 0 0 4px 4px;
}
.crop-frame i:nth-child(4) {
  right: -5px;
  bottom: -5px;
  border-width: 0 4px 4px 0;
}
.ratios {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 9px;
  background: #fff;
}
.ratios span {
  padding: 4px 10px;
  border-radius: 6px;
  font: 500 12px var(--mono);
  color: var(--ink-2);
}
.ratios .on {
  background: var(--ink);
  color: #fff;
}

/* redact */
.doc {
  position: relative;
  width: 270px;
  padding: 20px 22px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 40px -16px rgba(60, 20, 90, 0.4);
}
.doc p {
  font: 400 14px var(--display);
}
.doc-h {
  font-weight: 600 !important;
  margin-bottom: 12px !important;
}
.doc .ln {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--line-2);
  color: var(--ink-3);
}
.doc .ln b {
  color: var(--ink);
  font-weight: 500;
}
.blk {
  width: 130px;
  height: 14px;
  border-radius: 2px;
  background: var(--ink);
}
.pix {
  width: 130px;
  height: 14px;
  background: conic-gradient(#b8a8cc 25%, #d9cfe6 0 50%, #b8a8cc 0 75%, #d9cfe6 0) 0 0 / 14px 14px;
}
.ring-mark {
  position: absolute;
  left: 52px;
  bottom: 14px;
  width: 104px;
  height: 36px;
  border: 2.5px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-6deg);
}

/* add background */
.ill-bg {
  background: var(--sunset) !important;
  padding: 26px;
}
.shot {
  width: 78%;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 48px -12px rgba(90, 20, 0, 0.5);
  transform: rotate(-2deg);
}
.shot-bar {
  display: flex;
  gap: 5px;
  padding: 9px 11px;
  background: var(--cream-2);
}
.shot-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream-3);
}
.shot-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}
.shot-body span {
  height: 10px;
  border-radius: 4px;
  background: var(--cream-2);
}
.shot-body span:first-child {
  width: 60%;
  height: 16px;
  background: var(--ink);
}
.shot-body span:last-child {
  width: 80%;
}

/* metadata */
.ill-meta {
  flex-direction: column;
  align-items: stretch;
  padding: 0 34px;
  gap: 16px;
}
.ill-meta ul {
  list-style: none;
  margin: 0;
  padding: 6px 16px;
  border-radius: 10px;
  background: #fff;
}
.ill-meta li {
  display: grid;
  grid-template-columns: 80px 1fr;
  padding: 9px 0;
  font: 400 14.5px var(--display);
}
.ill-meta li + li {
  border-top: 1px solid var(--line-2);
}
.ill-meta li .mono {
  color: var(--ink-3);
  padding-top: 2px;
}
.ill-meta s {
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  color: var(--ink-3);
}
.strip-pill {
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 500 12px var(--mono);
  text-transform: uppercase;
}

/* pdf */
.ill-pdf {
  color: var(--cream);
  gap: 0;
}
.pg {
  width: 74px;
  height: 98px;
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
  display: grid;
  place-items: end center;
  padding-bottom: 10px;
  font: 500 12px var(--mono);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6);
  position: relative;
}
.pg::before {
  content: '';
  position: absolute;
  inset: 14px 12px 34px;
  background: repeating-linear-gradient(to bottom, var(--cream-3) 0 3px, transparent 3px 9px);
}
.p1 {
  transform: rotate(-8deg);
}
.p2 {
  margin-left: -18px;
  transform: translateY(-8px);
}
.p3 {
  margin-left: -18px;
  transform: rotate(7deg);
}
.ill-pdf .ill-arrow {
  margin: 0 22px;
}
.pg.merged {
  width: 88px;
  height: 116px;
  background: var(--sun);
  box-shadow: 6px 6px 0 var(--accent), 12px 12px 0 var(--accent-2), 0 18px 30px -8px rgba(0, 0, 0, 0.6);
}
.pg.merged::before {
  background: repeating-linear-gradient(to bottom, rgba(29, 19, 14, 0.16) 0 3px, transparent 3px 9px);
}

/* ---------- formats ---------- */
.formats {
  padding: 120px 0;
  background: var(--cream-2);
  border-block: 1px solid var(--line-2);
}
.fmt {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.tabs {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-right: 1px solid var(--line);
  background: var(--cream);
}
.tabs button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 0;
  border-radius: 10px;
  background: none;
  font: 400 22px var(--display);
  letter-spacing: -0.03em;
  color: var(--ink-3);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.tabs button::after {
  content: '→';
  font-size: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
.tabs button:hover {
  color: var(--ink);
}
.tabs button[aria-selected='true'] {
  background: var(--ink);
  color: var(--cream);
}
.tabs button[aria-selected='true']::after {
  opacity: 1;
  transform: none;
}
.fmt-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.fmt-panel > div {
  padding: 28px 28px 36px;
}
.fmt-panel > div + div {
  border-left: 1px solid var(--line-2);
}
.fmt-panel h4 {
  margin: 0 0 18px;
  font: 500 12px var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.fmt-panel h4 b {
  color: var(--accent);
  font-weight: 500;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags span {
  padding: 6px 10px;
  border-radius: 7px;
  border: 1px solid var(--line);
  font: 500 13px var(--mono);
  color: var(--ink);
  animation: rise 0.35s var(--ease) both;
}
.tags.hot span {
  border-color: transparent;
  background: var(--accent-soft);
  color: #b3300f;
}
.tags.tool span {
  font-family: var(--body);
  font-size: 14px;
  border-color: transparent;
  background: var(--cream-2);
}

/* ---------- privacy ---------- */
.privacy {
  padding: 130px 0;
  background: var(--ink);
  color: var(--cream);
}
.privacy-h {
  font-size: clamp(48px, 8.4vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-bottom: 80px;
}
.privacy-h em {
  color: var(--accent-2);
}
.privacy-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: start;
}
.flow {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 248, 242, 0.25);
}
.flow-cap {
  position: absolute;
  top: -9px;
  left: 22px;
  padding: 0 8px;
  background: var(--ink);
  color: rgba(255, 248, 242, 0.6);
  font-size: 11px;
}
.flow-row {
  display: flex;
  align-items: center;
}
.flow-node {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 248, 242, 0.06);
  border: 1px solid rgba(255, 248, 242, 0.12);
}
.flow-node .mono {
  font-size: 10.5px;
  color: rgba(255, 248, 242, 0.5);
}
.flow-node b {
  font: 500 15px var(--display);
}
.flow-node.engine {
  align-items: center;
  text-align: center;
  padding: 18px 18px;
  background: var(--accent);
  border-color: var(--accent);
}
.flow-node.engine svg {
  color: #fff;
  animation: spin 10s linear infinite;
}
.flow-node.engine .mono {
  color: rgba(255, 255, 255, 0.8);
}
.flow-line {
  flex: 1;
  min-width: 16px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 248, 242, 0.5) 0 6px, transparent 6px 12px);
  background-size: 24px 2px;
  animation: flow 1s linear infinite;
}
@keyframes flow {
  to {
    background-position: 24px 0;
  }
}
.cloud-off {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 248, 242, 0.06);
  color: rgba(255, 248, 242, 0.7);
}
.cloud-off svg {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 248, 242, 0.14);
}
.checks li {
  display: grid;
  grid-template-columns: 44px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 248, 242, 0.14);
  font: 400 19px var(--display);
  letter-spacing: -0.02em;
}
.checks .mono {
  color: var(--accent-2);
  padding-top: 4px;
}

/* ---------- oss ---------- */
.oss {
  padding: 130px 0;
}
.oss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.oss h2 {
  margin-bottom: 26px;
}
.lead {
  max-width: 480px;
  font-size: 17px;
  color: var(--ink-2);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.term {
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(29, 19, 14, 0.5);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 248, 242, 0.1);
}
.term-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 248, 242, 0.18);
}
.term-bar b {
  margin-left: 10px;
  font-weight: 500;
  font-size: 11px;
  color: rgba(255, 248, 242, 0.55);
}
.term pre {
  font-family: var(--code) !important;
  margin: 0;
  padding: 24px 24px 28px;
  overflow-x: auto;
  font: 400 14px/1.9 var(--mono);
}
.term .c {
  color: rgba(255, 248, 242, 0.42);
}
.term .p {
  color: var(--accent-2);
}

/* ---------- faq ---------- */
.faq-sec {
  padding: 120px 0;
  background: var(--cream-2);
  border-top: 1px solid var(--line-2);
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}
.faq-head {
  position: sticky;
  top: 100px;
  align-self: start;
}
.faq-head h2 {
  margin-bottom: 26px;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  list-style: none;
  font: 400 21px/1.3 var(--display);
  letter-spacing: -0.025em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0);
}
.faq details[open] summary {
  color: var(--accent);
}
.faq details p {
  max-width: 620px;
  padding: 0 48px 26px 0;
  color: var(--ink-2);
}

/* ---------- final ---------- */
.final {
  padding: 24px 0 0;
}
.final-card {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 80px);
  border-radius: 28px;
  background: var(--accent);
  color: #fff;
}
.final-wheel {
  position: absolute;
  right: -12%;
  top: 50%;
  width: min(68vw, 720px);
  height: min(68vw, 720px);
  translate: 0 -50%;
  color: var(--accent-2);
  animation: spin 40s linear infinite;
}
.final-card > :not(.final-wheel) {
  position: relative;
}
.final-k {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 22px;
}
.final h2 {
  font-size: clamp(52px, 9vw, 136px);
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.final h2 em {
  color: var(--sun);
}
.final-sub {
  max-width: 400px;
  margin: 28px 0 32px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
}
.fine {
  margin-top: 18px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- footer ---------- */
.footer {
  padding: 56px 0 0;
  overflow: hidden;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
}
.footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer nav a {
  font: 500 12px var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
}
.footer nav a:hover {
  color: var(--accent);
}
.wordmark {
  margin: 0 0 -0.2em;
  font: 500 clamp(80px, 23.5vw, 340px) / 1 var(--display);
  letter-spacing: -0.07em;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
  user-select: none;
}

/* ---------- motion (fx.js) ---------- */
html.lenis,
html.lenis body {
  height: auto;
}
html.lenis {
  scroll-behavior: auto;
}
.lenis.lenis-stopped {
  overflow: clip;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.js-motion .h-wheel,
.js-motion .final-wheel,
.js-motion .acc-item[open] .acc-body,
.js-motion .acc-item[open] .bar i.hot,
.js-motion .tags span {
  animation: none;
}
.js-motion .big-text .fade {
  color: inherit;
  opacity: 1;
}
.js-motion .h-key {
  cursor: pointer;
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0.06em 0.14em;
  margin: -0.06em -0.06em -0.14em;
}
.wi {
  display: inline-block;
  will-change: transform;
}
.big-text .w {
  overflow: visible;
}

.tabs {
  position: relative;
}
.tabs button {
  position: relative;
  z-index: 1;
}
.tab-ind {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  border-radius: 10px;
  background: var(--ink);
  pointer-events: none;
}
.js-motion .tabs button[aria-selected='true'] {
  background: transparent;
}

.term .ln {
  display: block;
}
.term .caret {
  display: inline-block;
  width: 8px;
  height: 16px;
  margin-left: 2px;
  vertical-align: -3px;
  background: var(--accent-2);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.wordmark .lt {
  display: inline-block;
}

.nav {
  will-change: transform;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .links {
    display: none;
  }
  .nav-inner {
    grid-template-columns: 1fr auto;
  }
  .how-grid,
  .faq-grid,
  .oss-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .how-copy,
  .faq-head {
    position: static;
  }
  .where-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .where-grid li:nth-child(4) {
    border-left: 0;
  }
  .where-grid li:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
  .sec-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .hero-stage {
    margin: 0 8px;
    border-radius: 22px;
    min-height: 0;
  }
  .headline {
    font-size: clamp(34px, 10.4vw, 64px);
  }
  .hl {
    flex-wrap: wrap;
    white-space: normal;
    gap: 0.16em 0.2em;
  }
  .h-name {
    display: none;
  }
  .br-d,
  .hero-pill span {
    display: none;
  }
  .hero-pill {
    white-space: nowrap;
  }
  .hero-sub {
    font-size: 16px;
  }
  .hero-ctas {
    width: 100%;
    flex-direction: column;
  }
  .hero-ctas .btn {
    justify-content: center;
  }
  .hero-fan {
    min-height: 190px;
    margin-top: 36px;
  }
  .fc {
    --w: 112px;
    padding: 11px;
  }
  .fc-1,
  .fc-7 {
    display: none;
  }
  .fc b {
    font-size: 10.5px;
  }
  .proof-row {
    justify-content: center;
  }
  .how,
  .formats,
  .privacy,
  .oss,
  .faq-sec {
    padding: 80px 0;
  }
  .desk {
    height: 520px;
  }
  .statement {
    padding: 90px 0 80px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 56px;
    row-gap: 32px;
  }
  .stats div:nth-child(3) {
    border-left: 0;
  }
  .where-grid {
    grid-template-columns: 1fr 1fr;
  }
  .where-grid li:nth-child(n) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .where-grid li:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .where-grid li:nth-child(-n + 2) {
    border-top: 0;
  }
  .acc-item summary {
    grid-template-columns: 30px 1fr 24px;
    padding: 16px;
  }
  .acc-k {
    display: none;
  }
  .acc-body {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 16px 16px;
    min-height: 0;
  }
  .ill {
    height: 230px;
  }
  .ill-compress,
  .ill-meta {
    padding: 0 18px;
  }
  .f-card {
    width: 118px;
  }
  .f-pic {
    height: 70px;
  }
  .fmt {
    grid-template-columns: 1fr;
  }
  .tabs {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .tabs button {
    flex: none;
    font-size: 17px;
    padding: 10px 14px;
  }
  .tabs button::after {
    display: none;
  }
  .fmt-panel {
    grid-template-columns: 1fr;
  }
  .fmt-panel > div + div {
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }
  .flow-row {
    flex-direction: column;
    align-items: stretch;
  }
  .flow-line {
    width: 2px;
    height: 22px;
    min-width: 0;
    flex: none;
    align-self: center;
    background: repeating-linear-gradient(180deg, rgba(255, 248, 242, 0.5) 0 6px, transparent 6px 12px);
    animation: none;
  }
  .checks li {
    font-size: 17px;
  }
  .faq summary {
    font-size: 18px;
  }
  .final-wheel {
    right: -40%;
    width: 120vw;
    height: 120vw;
  }
  .nav-gh span {
    display: none;
  }
  .nav-gh {
    width: 38px;
    padding: 0;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- install dialog (after Download) ---------- */
.install {
  width: min(560px, calc(100% - 32px));
  padding: 32px 32px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(60, 20, 5, 0.3);
}
.install::backdrop {
  background: rgba(29, 19, 14, 0.45);
  backdrop-filter: blur(3px);
}
.install[open] {
  animation: install-in 0.28s var(--ease);
}
@keyframes install-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
}
.install-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.install-k {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.install h2 {
  margin: 0 0 20px;
  font: 600 26px/1.15 var(--display);
  letter-spacing: -0.02em;
}
.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.install-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.install-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--cream);
  font: 600 13px var(--mono);
}
.install-steps b {
  color: var(--ink);
  font-weight: 600;
}
.install-steps code,
.install-steps kbd {
  font: 500 13px var(--mono);
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--cream-2);
  border: 1px solid var(--line-2);
}
.install-retry {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--ink-3);
}
.install-retry a {
  color: var(--ink);
}
@media (max-width: 600px) {
  .install { padding: 26px 20px 20px; }
  .install h2 { font-size: 22px; }
}
