/* Clipket — clipket.tech
 *
 * One stylesheet, no framework, no web fonts: the system font is San Francisco
 * on every Mac, which is the only audience, and it costs nothing to load.
 * The palette is the app's own Felt Mat skin — felt green, glass, paper and
 * amber — so the site and the app read as one thing.
 */

:root {
  --felt-950: #081a16;
  --felt-900: #0d241f;
  --felt-800: #113029;
  --felt-700: #17413a;
  --mat: #2e6f5e;
  --mat-glow: rgba(46, 111, 94, 0.55);

  --ink: #f3f7f5;
  --ink-2: rgba(243, 247, 245, 0.74);
  --ink-3: rgba(243, 247, 245, 0.52);
  --hair: rgba(255, 255, 255, 0.12);
  --hair-2: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.09);

  --amber: #f2c14e;
  --amber-2: #f7d27a;
  --amber-ink: #241a04;
  --paper: #f6f1e4;
  --paper-ink: #17160f;
  --paper-ink-2: rgba(23, 22, 15, 0.66);
  --red: #ff7a72;

  /* The demo shelf's skin. app.js swaps these for the eight real palettes. */
  --s-bg: #2e6f5e;
  --s-bg-2: #24594b;
  --s-grid: rgba(255, 255, 255, 0);
  --s-ink: #ffffff;
  --s-ink-2: rgba(255, 255, 255, 0.72);
  --s-card: rgba(255, 255, 255, 0.07);
  --s-card-line: rgba(255, 255, 255, 0.13);
  --s-sel: #faf6ea;
  --s-sel-ink: #17160f;
  --s-accent: #f2c14e;
  --s-accent-ink: #241a04;
  --s-field: rgba(0, 0, 0, 0.2);

  --radius: 20px;
  --radius-lg: 28px;
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 18px 40px -20px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--felt-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:not(.btn):hover { color: var(--amber-2); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(242, 193, 78, 0.35); }
kbd, code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.82em;
}
kbd {
  display: inline-block;
  padding: 0.08em 0.45em;
  border-radius: 6px;
  background: var(--glass-2);
  border: 1px solid var(--hair-2);
  border-bottom-width: 2px;
  color: var(--ink);
  white-space: nowrap;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
.hide-sm { }

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

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  --h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--h);
  padding: 0 20px;
  border-radius: 13px;
  font: 600 15px/1 inherit;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn--lg { --h: 52px; padding: 0 26px; font-size: 16px; border-radius: 15px; }
.btn--block { width: 100%; }
.btn--amber {
  background: linear-gradient(180deg, var(--amber-2), var(--amber));
  color: var(--amber-ink);
  box-shadow: 0 10px 30px -10px rgba(242, 193, 78, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--amber:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -12px rgba(242, 193, 78, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--glass { background: var(--glass-2); color: var(--ink); border-color: var(--hair-2); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hair-2); }
.btn--ghost:hover { background: var(--glass); }

/* ─── Navigation ──────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(13, 36, 31, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--hair);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { border-radius: 7px; }
.nav__links { display: flex; gap: 26px; margin-left: 12px; }
.nav__links a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: auto; display: flex; gap: 10px; }
.nav__menu { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--hair-2); background: var(--glass); cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 0 11px; }
.nav__menu span { height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s var(--ease); }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__sheet { display: none; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(600px 380px at 50% 18%, rgba(46, 111, 94, 0.75), transparent 70%),
    radial-gradient(420px 260px at 78% 30%, rgba(242, 193, 78, 0.12), transparent 70%),
    radial-gradient(500px 300px at 15% 40%, rgba(46, 111, 94, 0.35), transparent 70%);
}
.hero__copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(242, 193, 78, 0.1); border: 1px solid rgba(242, 193, 78, 0.35);
  color: var(--amber-2); text-decoration: none; font-size: 14px; font-weight: 600;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.pill-link:hover { background: rgba(242, 193, 78, 0.17); transform: translateY(-1px); color: var(--amber-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(242, 193, 78, 0.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(242, 193, 78, 0.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(242, 193, 78, 0); } }
h1, h2, h3, h4 { letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(42px, 7vw, 78px); font-weight: 800; margin-top: 26px; }
.h1-accent { background: linear-gradient(100deg, var(--amber-2) 10%, #fff3d2 50%, var(--amber) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 640px; margin: 22px auto 0; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); }
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero__meta { margin-top: 16px; font-size: 14px; color: var(--ink-3); }

/* ─── The demo desktop ────────────────────────────────────── */
.desk {
  position: relative;
  margin: 56px auto 0;
  height: 530px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--hair);
  isolation: isolate;
}
.desk__wall {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 70% 110%, rgba(242, 193, 78, 0.28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, #1f5a4b, transparent 70%),
    linear-gradient(160deg, #103a32 0%, #0e2f2a 45%, #1b4b3f 100%);
}
.desk__wall::after { /* soft hills */
  content: ""; position: absolute; inset: auto -10% -30% -10%; height: 70%;
  background: radial-gradient(60% 60% at 30% 100%, rgba(8, 26, 22, 0.8), transparent 70%), radial-gradient(50% 55% at 80% 100%, rgba(8, 26, 22, 0.7), transparent 70%);
}
.menubar {
  height: 30px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; font-size: 13px; color: rgba(255, 255, 255, 0.92);
  background: rgba(10, 28, 24, 0.45); backdrop-filter: blur(20px);
}
.menubar__left, .menubar__right { display: flex; align-items: center; gap: 18px; }
.menubar__left b { font-weight: 700; }
.menubar__right img { border-radius: 3px; }
.notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 190px; height: 30px; background: #000; border-radius: 0 0 14px 14px; z-index: 3;
}

/* Clipket's shelf */
.shelf {
  position: absolute; z-index: 2; top: 0; left: 50%;
  width: min(860px, calc(100% - 40px));
  transform: translateX(-50%);
  padding: 44px 18px 12px;
  border-radius: 0 0 28px 28px;
  color: var(--s-ink);
  background:
    linear-gradient(var(--s-grid) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, var(--s-grid) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(180deg, var(--s-bg), var(--s-bg-2));
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform-origin: top center;
  animation: shelf-drop 0.9s 0.35s var(--spring) both;
  transition: background 0.45s var(--ease), color 0.45s;
}
.shelf::before { /* diagonal sheen, as in the app */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(60deg, transparent 45%, rgba(255, 255, 255, 0.08) 62%, transparent 78%);
}
@keyframes shelf-drop {
  from { clip-path: inset(0 39% 94% 39% round 0 0 14px 14px); opacity: 0.6; }
  to { clip-path: inset(0 0 0 0 round 0 0 28px 28px); opacity: 1; }
}
.shelf__top { position: relative; display: flex; gap: 10px; align-items: center; }
.shelf__search {
  flex: 1; display: flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 12px 0 16px; border-radius: 999px;
  background: var(--s-field); border: 1px solid var(--s-card-line);
  color: var(--s-accent);
}
.shelf__search input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  font: 500 15px inherit; font-family: inherit; color: var(--s-ink);
}
.shelf__search input::placeholder { color: var(--s-ink-2); }
.shelf__search input::-webkit-search-cancel-button { display: none; }
.shelf__search kbd { background: rgba(255, 255, 255, 0.08); border-color: var(--s-card-line); color: var(--s-ink-2); font-size: 11px; }
.shelf__search:focus-within { border-color: var(--s-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--s-accent) 25%, transparent); }
.shelf__round {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--s-field); border: 1px solid var(--s-card-line); color: var(--s-ink-2);
}
.shelf__pills { display: flex; gap: 7px; margin: 12px 0 2px; overflow-x: auto; scrollbar-width: none; }
.shelf__pills::-webkit-scrollbar { display: none; }
.pill {
  flex: none; height: 30px; padding: 0 13px; border-radius: 10px; cursor: pointer;
  font: 600 13px inherit; font-family: inherit;
  color: var(--s-ink); background: color-mix(in srgb, var(--s-ink) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--s-ink) 14%, transparent);
  transition: background 0.2s, color 0.2s, transform 0.15s var(--ease);
}
.pill:hover { background: color-mix(in srgb, var(--s-ink) 13%, transparent); }
.pill.is-on { background: var(--s-accent); color: var(--s-accent-ink); border-color: transparent; }
.shelf__row {
  display: flex; gap: 10px; padding: 12px 2px 14px; margin: 0 -2px;
  overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
  min-height: 176px;
}
.shelf__row::-webkit-scrollbar { display: none; }
.shelf__foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--s-ink-2); padding: 8px 4px 0; border-top: 1px solid var(--s-card-line); }
.shelf__empty { margin: auto; color: var(--s-ink-2); font-size: 14px; }

.card {
  --tilt: 0deg;
  position: relative; flex: none; width: 150px; height: 150px;
  border-radius: 16px; padding: 12px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 4px;
  font: inherit; color: var(--s-ink);
  background: var(--s-card); border: 1px solid var(--s-card-line);
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--s-card) 100%, rgba(255, 255, 255, 0.06)); }
.card.is-sel {
  background: var(--s-sel); color: var(--s-sel-ink); border: 2px solid var(--s-accent);
  box-shadow: 0 0 24px -4px color-mix(in srgb, var(--s-accent) 60%, transparent);
}
.card.is-new { animation: card-in 0.6s var(--spring) both; }
@keyframes card-in { from { transform: translateY(-14px) scale(0.85); opacity: 0; } to { transform: none; opacity: 1; } }
.card__title { font-size: 13px; font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.card__title.mono { font: 500 11.5px/1.45 ui-monospace, "SF Mono", Menlo, monospace; }
.card__sub { font-size: 11.5px; opacity: 0.66; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 11px; opacity: 0.72; }
.card__badge { background: var(--s-accent); color: var(--s-accent-ink); font: 700 11px/1 inherit; font-family: inherit; padding: 4px 6px; border-radius: 6px; opacity: 1; }
.card--image { padding: 0; }
.card--image .card__art { position: absolute; inset: 0; background: linear-gradient(160deg, #ffb36b 0%, #f2716b 35%, #7a3f8f 70%, #2b2357 100%); }
.card--image .card__art::after { content: ""; position: absolute; left: 50%; top: 58%; width: 46px; height: 46px; border-radius: 50%; transform: translate(-50%, -50%); background: #ffe1a1; box-shadow: 0 0 40px 12px rgba(255, 210, 140, 0.6); }
.card--image .card__foot, .card--color .card__foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 11px 9px; color: #fff; opacity: 1; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); }
.card--color { padding: 0; }
.card--color .card__art { position: absolute; inset: 0; }
.card--color .card__hex { position: absolute; left: 10px; bottom: 34px; font: 700 11px ui-monospace, monospace; background: rgba(0, 0, 0, 0.55); color: #fff; padding: 3px 7px; border-radius: 99px; }

.app-dot { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 5px; background: var(--c); color: #fff; font: 800 9.5px/1 -apple-system, system-ui, sans-serif; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); flex: none; }
.card__foot { gap: 6px; }
.card__badge { display: none; }
.card:hover .card__badge, .card.is-sel .card__badge { display: inline-block; }
.card:hover .card__time, .card.is-sel .card__time { display: none; }

/* The skins section's own preview: the same shelf, standing still */
.shelf--static {
  position: relative; top: auto; left: auto; transform: none; animation: none;
  width: 100%; max-width: 720px; margin: 44px auto 0; padding: 16px 16px 6px; border-radius: 26px;
}
.shelf--static .shelf__ph { color: var(--s-ink-2); font-size: 15px; font-weight: 500; }
.shelf__row--static { overflow: hidden; justify-content: center; }
.shelf__row--static .card { cursor: default; }

/* The Notes window pastes land in */
.notes {
  position: absolute; z-index: 1; right: 6%; bottom: 7%;
  width: min(360px, 44%); border-radius: 14px; overflow: hidden;
  background: rgba(30, 30, 28, 0.82); backdrop-filter: blur(24px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.notes__bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; background: rgba(255, 255, 255, 0.05); font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.notes__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.notes__bar i:nth-child(2) { background: #febc2e; }
.notes__bar i:nth-child(3) { background: #28c840; }
.notes__bar span { margin-left: 8px; }
.notes__body { padding: 14px 16px 16px; min-height: 130px; max-height: 200px; overflow-y: auto; font-size: 14px; color: rgba(255, 255, 255, 0.9); }
.notes__body p { margin: 0 0 6px; }
.notes__title { font-weight: 700; font-size: 16px; }
.notes__placeholder { color: rgba(255, 255, 255, 0.4); font-style: italic; }
.notes__line { animation: type-in 0.5s var(--ease) both; }
.notes__line .caret { display: inline-block; width: 2px; height: 1em; background: var(--amber); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes type-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }

.toast {
  position: absolute; left: 50%; bottom: 22px; z-index: 5; transform: translate(-50%, 0);
  padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600;
  background: rgba(15, 15, 14, 0.85); backdrop-filter: blur(16px); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: toast 2.2s var(--ease) both;
}
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 10px); } 12%, 82% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -6px); } }

/* Stickers */
.stickers { margin-top: 30px; text-align: center; }
.stickers__label { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.stickers__label span { color: var(--amber-2); font-weight: 700; }
.stickers__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.sticker {
  --tilt: 0deg;
  position: relative; max-width: 220px; padding: 14px 16px 14px; border: 0; cursor: pointer; text-align: left;
  font: 600 14.5px/1.4 inherit; font-family: inherit; color: var(--paper-ink);
  background: var(--paper); border-radius: 12px;
  transform: rotate(var(--tilt));
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12), 0 18px 30px -16px rgba(0, 0, 0, 0.65);
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
}
.sticker::before { /* tape */
  content: ""; position: absolute; top: -9px; left: 50%; width: 46px; height: 18px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(255, 245, 210, 0.55); border-radius: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.sticker:hover { transform: rotate(0deg) translateY(-5px) scale(1.04); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1), 0 26px 40px -16px rgba(0, 0, 0, 0.7); }
.sticker:active { transform: scale(0.97); }
.sticker.is-copied { animation: copied 0.5s var(--spring); }
@keyframes copied { 40% { transform: rotate(0) scale(0.92); } }
.sticker__kind { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-ink-2); }
.sticker code { font-size: 13px; background: rgba(23, 22, 15, 0.06); padding: 2px 5px; border-radius: 5px; }
.sticker--color { padding-left: 54px; }
.sticker .swatch { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; background: #f2c14e; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.sticker--image { padding-left: 64px; }
.sticker .photo { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(160deg, #ffb36b, #f2716b 40%, #7a3f8f 75%, #2b2357); }
.flyer { position: fixed; z-index: 90; pointer-events: none; border-radius: 12px; background: var(--paper); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6); transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), width 0.7s var(--ease), height 0.7s var(--ease); }

/* ─── Sections ────────────────────────────────────────────── */
.section { padding: 120px 0; position: relative; }
.section--band { background: linear-gradient(180deg, var(--felt-950), var(--felt-900)); border-block: 1px solid var(--hair); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; }
.section__lede { margin: 18px auto 0; max-width: 620px; color: var(--ink-2); font-size: 18.5px; }

.feature { display: grid; grid-template-columns: 1fr 1.08fr; gap: 72px; align-items: center; margin-bottom: 110px; }
.feature--flip .feature__copy { order: 2; }
.feature h3 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 750; margin-bottom: 16px; }
.feature p { color: var(--ink-2); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(242, 193, 78, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%23f2c14e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.ticks--lg li { font-size: 16.5px; color: var(--ink); }

.feature__art {
  position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(120% 90% at 30% 0%, #1d5547, #0f2c26 70%);
  box-shadow: 0 0 0 1px var(--hair), var(--shadow-lg);
}

/* Art: notch */
.art-notch {
  display: flex; flex-direction: column; align-items: center; min-height: 0; padding-bottom: 40px;
  /* A strip of desktop under the menu bar, so the shelf hangs from something. */
  background:
    linear-gradient(rgba(10, 28, 24, 0.55), rgba(10, 28, 24, 0.55)) top / 100% 26px no-repeat,
    radial-gradient(120% 90% at 30% 0%, #1d5547, #0f2c26 70%);
}
.mini-notch { width: 150px; height: 26px; background: #000; border-radius: 0 0 12px 12px; z-index: 1; }
.mini-shelf {
  margin-top: -26px; padding: 44px 16px 18px; width: 88%; display: flex; gap: 10px; justify-content: center;
  background: linear-gradient(180deg, #2e6f5e, #24594b); border-radius: 0 0 24px 24px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
  animation: mini-drop 4.5s var(--ease) infinite;
}
@keyframes mini-drop { 0%, 8% { clip-path: inset(0 40% 85% 40% round 0 0 12px 12px); } 22%, 80% { clip-path: inset(0 0 0 0 round 0 0 24px 24px); } 95%, 100% { clip-path: inset(0 40% 85% 40% round 0 0 12px 12px); } }
.mini-card { position: relative; width: 104px; height: 104px; border-radius: 13px; padding: 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; }
.mini-card b { font-weight: 650; line-height: 1.25; }
.mini-card i { display: block; height: 6px; border-radius: 3px; background: currentColor; opacity: 0.18; }
.mini-card i + i { width: 70%; }
.mini-card kbd { position: absolute; right: 8px; bottom: 8px; font-size: 10px; padding: 1px 5px; }
.mini-card.is-paper { background: var(--paper); color: var(--paper-ink); border: 2px solid var(--amber); }
.mini-card.is-paper kbd { background: var(--amber); color: var(--amber-ink); border-color: transparent; }
.mini-card.is-img { background: linear-gradient(160deg, #ffb36b, #f2716b 40%, #7a3f8f 75%, #2b2357); }
.mini-swatch { margin-top: auto; height: 34px; border-radius: 8px; background: #5b8cff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }

/* Art: library */
.art-library { display: grid; place-items: center; padding: 28px; }
.lib { width: 100%; height: 320px; display: grid; grid-template-columns: 0.8fr 1.3fr 1fr; gap: 10px; font-size: 11.5px; }
.lib__side { border-radius: 14px; padding: 12px 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: 5px; }
.lib__side b { font-size: 14px; margin-bottom: 6px; }
.lib__side small { color: var(--ink-3); margin-top: 8px; }
.lib__side span { display: flex; justify-content: space-between; padding: 5px 7px; border-radius: 7px; color: var(--ink-2); }
.lib__side span.is-on { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.lib__side em { font-style: normal; color: var(--ink-3); }
.lib__main { display: flex; flex-direction: column; gap: 8px; }
.lib__search { padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--hair); color: var(--ink-3); display: flex; justify-content: space-between; }
.lib__search kbd { font-size: 9.5px; }
.lib__card { flex: 1; border-radius: 12px; padding: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: 6px; }
.lib__card b { font-weight: 650; }
.lib__card i { display: block; height: 6px; border-radius: 3px; background: currentColor; opacity: 0.16; }
.lib__card i + i { width: 60%; }
.lib__card.is-paper { background: var(--paper); color: var(--paper-ink); border: 2px solid var(--amber); box-shadow: 0 0 22px -6px rgba(242, 193, 78, 0.6); }
.lib__inspect { border-radius: 14px; padding: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: 8px; }
.lib__preview { flex: 0 0 86px; border-radius: 10px; padding: 10px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--hair); font-size: 14px; font-weight: 650; }
.lib__btns { display: flex; gap: 6px; }
.lib__btns span { flex: 1; text-align: center; padding: 6px 0; border-radius: 8px; border: 1px solid var(--hair-2); }
.lib__btns .is-amber { background: var(--amber); color: var(--amber-ink); border-color: transparent; font-weight: 700; }
.lib__inspect i { display: block; height: 6px; border-radius: 3px; background: currentColor; opacity: 0.14; }

/* Art: OCR */
.art-ocr { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 30px; }
.ocr__search { width: 82%; padding: 12px 16px 12px 40px; border-radius: 999px; background: rgba(0, 0, 0, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='%23f2c14e' stroke-width='2.2'/%3E%3Cpath d='m16 16 4.5 4.5' stroke='%23f2c14e' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") 14px center/17px no-repeat; border: 1px solid var(--amber); font-weight: 600; }
.ocr__shot { width: 82%; padding: 18px; border-radius: 14px; background: #f7f7f5; color: #222; display: grid; gap: 9px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7); transform: rotate(-1.5deg); }
.ocr__line { height: 8px; border-radius: 4px; background: #ddd; }
.ocr__line.short { width: 45%; } .ocr__line.mid { width: 70%; }
.ocr__hit { font-weight: 650; font-size: 15px; }
.ocr__hit mark { background: rgba(242, 193, 78, 0.55); border-radius: 4px; padding: 0 3px; animation: hl 3s ease-in-out infinite; }
@keyframes hl { 0%, 100% { background: rgba(242, 193, 78, 0.25); } 50% { background: rgba(242, 193, 78, 0.7); } }
.ocr__tag { font-size: 12.5px; font-weight: 600; color: var(--amber-2); background: rgba(242, 193, 78, 0.12); padding: 5px 11px; border-radius: 99px; border: 1px solid rgba(242, 193, 78, 0.3); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  padding: 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--hair);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.tile:hover { transform: translateY(-4px); background: var(--glass-2); border-color: var(--hair-2); }
.tile__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(242, 193, 78, 0.13); color: var(--amber); font-size: 20px; margin-bottom: 16px; }
.tile h4 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* Privacy */
.privacy { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.privacy h2 { margin-bottom: 22px; }
.privacy p { color: var(--ink-2); }
.privacy__small { font-size: 15px; color: var(--ink-3) !important; border-left: 2px solid var(--amber); padding-left: 14px; }
.meters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.meter { padding: 26px 22px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--hair); }
.meter__n { display: block; font-size: 46px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--amber-2); }
.meter__l { color: var(--ink-2); font-size: 15px; }

/* Skins */
.skin-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.skin-picker button {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 8px; border-radius: 14px; cursor: pointer;
  font: 600 15px inherit; font-family: inherit; color: var(--ink);
  background: var(--glass); border: 1px solid var(--hair);
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}
.skin-picker button:hover { transform: translateY(-2px); background: var(--glass-2); }
.skin-picker button[aria-checked="true"] { border-color: var(--amber); background: rgba(242, 193, 78, 0.1); }
.chip { width: 30px; height: 30px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.chip--felt { background: linear-gradient(135deg, #2e6f5e 50%, #faf6ea 50%); }
.chip--glass { background: linear-gradient(135deg, #3b3b42, #1c1c20); }
.chip--dark { background: #0c0c0e; }
.chip--light { background: #fbfbfd; }
.chip--graph { background: #fcfcf7 linear-gradient(rgba(74, 123, 200, 0.4) 1px, transparent 1px) 0 0/7px 7px; }
.chip--peg { background: radial-gradient(circle, rgba(107, 79, 42, 0.5) 1.4px, transparent 1.8px) 0 0/8px 8px, #ddc996; }
.chip--term { background: #000; box-shadow: inset 0 0 0 1px #33ff66; }
.chip--dusk { background: linear-gradient(135deg, #3b1c6b, #e2683c); }

/* Pricing */
.notice { max-width: 720px; margin: 0 auto 24px; padding: 14px 18px; border-radius: 14px; background: rgba(242, 193, 78, 0.12); border: 1px solid rgba(242, 193, 78, 0.35); color: var(--amber-2); text-align: center; }
.price-card {
  max-width: 760px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--hair-2); box-shadow: var(--shadow-lg);
}
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--hair); }
.rung { position: relative; padding: 22px 18px 20px; text-align: center; display: grid; gap: 3px; color: var(--ink-3); transition: background 0.3s; }
.rung + .rung { border-left: 1px solid var(--hair); }
.rung__name { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.rung__price { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-2); }
.rung__who { font-size: 13.5px; }
.rung__left { font-size: 12.5px; font-weight: 600; min-height: 1.2em; }
.rung.is-current { background: rgba(242, 193, 78, 0.1); color: var(--amber-2); }
.rung.is-current .rung__price { color: var(--amber-2); }
.rung.is-current::after { content: "Now"; position: absolute; top: 10px; right: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: var(--amber); color: var(--amber-ink); padding: 3px 7px; border-radius: 99px; }
.rung.is-sold-out .rung__price { text-decoration: line-through; opacity: 0.55; }
.rung.is-sold-out::after { content: "Sold out"; position: absolute; top: 10px; right: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--hair-2); padding: 2px 7px; border-radius: 99px; }
.price-card__body { padding: 34px 40px 36px; display: grid; gap: 24px; }
.price-card__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-card__now { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-card__was { font-size: 24px; color: var(--ink-3); }
.price-card__once { font-size: 16px; color: var(--ink-2); }
.progress__bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.progress__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--amber-2)); transition: width 1.2s var(--ease); }
.progress__label { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.price-card__ctas { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.price-card__fine { margin: 0; text-align: center; font-size: 13.5px; color: var(--ink-3); }

/* FAQ */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
details { border-radius: 16px; background: var(--glass); border: 1px solid var(--hair); transition: background 0.25s, border-color 0.25s; }
details[open] { background: var(--glass-2); border-color: var(--hair-2); }
summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 650; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(45deg); transition: transform 0.3s var(--ease), margin 0.3s; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); animation: faq-open 0.35s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } }

/* Final CTA */
.cta-final { text-align: center; }
.cta-final__icon { margin: 0 auto 26px; border-radius: 22px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); }

/* Footer */
.footer { border-top: 1px solid var(--hair); padding: 56px 0 32px; background: var(--felt-950); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand p { color: var(--ink-3); margin: 12px 0 0; font-size: 15px; }
.footer__cols { display: flex; gap: 72px; }
.footer__cols h5 { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.footer__cols a { display: block; text-decoration: none; color: var(--ink-2); font-size: 15px; margin-bottom: 10px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hair); color: var(--ink-3); font-size: 13.5px; }

/* Plain pages: changelog, legal, thanks */
.page { padding: 72px 0 110px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); margin: 0 0 12px; }
.page .lede { margin: 0 0 40px; text-align: left; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; }
.prose a { color: var(--amber-2); }
.release { padding: 28px 0; border-bottom: 1px solid var(--hair); }
.release h2 { font-size: 26px; margin: 0; }
.release .meta { color: var(--ink-3); font-size: 14px; margin: 6px 0 14px; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 64px; border-radius: 16px; background: var(--glass); border: 1px solid var(--hair); color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--amber-ink); font-weight: 800; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: flex; }
  .nav__sheet { display: grid; gap: 4px; max-height: 0; overflow: hidden; padding: 0 24px; transition: max-height 0.4s var(--ease), padding 0.4s var(--ease); background: rgba(13, 36, 31, 0.96); backdrop-filter: blur(18px); }
  .nav__sheet a:not(.btn) { padding: 12px 0; text-decoration: none; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--hair); }
  .nav__sheet .btn { margin: 14px 0 6px; }
  .nav.is-open .nav__sheet { max-height: 520px; padding: 8px 24px 20px; }
  .nav.is-open { background: rgba(13, 36, 31, 0.96); }
  .feature, .privacy { grid-template-columns: 1fr; gap: 40px; }
  .feature--flip .feature__copy { order: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .notes { display: none; }
  .desk { height: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 40px; }
  .hero__ctas .btn { width: 100%; }
  .hide-sm { display: none; }
  .desk { height: 390px; border-radius: 22px; margin-top: 40px; }
  .shelf { width: calc(100% - 16px); padding: 40px 10px 10px; }
  .shelf__round { display: none; }
  .card { width: 128px; height: 128px; }
  .notch { width: 120px; }
  .grid { grid-template-columns: 1fr; gap: 10px; }
  .tile { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; padding: 16px 18px; }
  .tile__icon { grid-row: span 2; width: 38px; height: 38px; margin-bottom: 0; }
  .tile h4 { font-size: 16.5px; margin-bottom: 3px; }
  .tile p { font-size: 14.5px; }
  .section { padding: 84px 0; }
  .feature { margin-bottom: 72px; }
  .feature__art { min-height: 300px; }
  .feature__art.art-notch { min-height: 0; padding-bottom: 28px; }
  .mini-shelf { width: 92%; padding: 40px 12px 14px; gap: 8px; }
  .mini-card { flex: 1 1 0; min-width: 0; width: auto; height: auto; aspect-ratio: 1; max-width: 104px; }
  .lib { grid-template-columns: 1fr 1.4fr; height: 280px; }
  .lib__inspect { display: none; }
  .meters { grid-template-columns: 1fr 1fr; }
  .meter__n { font-size: 36px; }
  .rung { padding: 34px 6px 14px; }
  .rung__name { font-size: 10.5px; letter-spacing: 0.08em; }
  .rung__price { font-size: 20px; }
  .rung__who, .rung__left { font-size: 11.5px; line-height: 1.3; }
  .rung.is-current::after, .rung.is-sold-out::after { top: 9px; right: auto; left: 50%; transform: translateX(-50%); font-size: 9.5px; white-space: nowrap; }
  .price-card__body { padding: 26px 22px 28px; }
  .price-card__now { font-size: 52px; }
  .price-card__ctas { grid-template-columns: 1fr; }
  .footer__cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 20px; }
  .sticker { max-width: 46%; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
