/* vendora.zone — placeholder site
   Palette: white marketplace base, four eBay-family hues used as a system
   (one hue per product pillar), ink for type and primary actions. */

:root {
  --paper: #ffffff;
  --paper-2: #f4f5f7;
  --paper-3: #e9ebef;
  --ink: #101318;
  --ink-2: #5b6270;
  --ink-3: #9aa1ad;
  --line: #e3e6ec;

  --red: #e5343a;
  --blue: #1f5eff;
  --yellow: #f5b400;
  --green: #3fb950;

  --red-soft: #fff0f0;
  --blue-soft: #eef3ff;
  --yellow-soft: #fff7e0;
  --green-soft: #eefaf0;

  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;

  --shadow-float: 0 30px 80px -20px rgba(16, 19, 24, 0.28), 0 10px 24px -12px rgba(16, 19, 24, 0.18);
  --shadow-card: 0 12px 32px -14px rgba(16, 19, 24, 0.22);

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ----- language switching: both languages live in the DOM ----- */
html[data-lang="en"] [lang="de"] { display: none !important; }
html[data-lang="de"] [lang="en"] { display: none !important; }

.lang-fade { animation: langFade 420ms var(--ease-out); }
@keyframes langFade {
  0%   { opacity: 0; transform: translateY(6px); filter: blur(4px); }
  100% { opacity: 1; transform: none; filter: none; }
}

/* ----- layout helpers ----- */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-variation-settings: "opsz" 96, "wdth" 92;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variation-settings: "opsz" 48, "wdth" 90;
}
.brand .tld { color: var(--ink-3); font-weight: 500; letter-spacing: -0.02em; }

.brand-ring {
  position: relative;
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  margin: 0 0.02em;
  border-radius: 50%;
  background: conic-gradient(from 20deg, var(--red) 0 25%, var(--blue) 0 50%, var(--yellow) 0 75%, var(--green) 0 100%);
  transform: translateY(0.09em);
  animation: ringSpin 14s linear infinite;
  flex: none;
}
.brand-ring::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: var(--paper);
}
@keyframes ringSpin { to { transform: translateY(0.09em) rotate(360deg); } }

.header-right { display: flex; align-items: center; gap: 14px; }

.header-status {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
@media (min-width: 700px) { .header-status { display: inline-flex; } }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.55);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(63, 185, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0); }
}

/* language switch */
.lang-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  isolation: isolate;
}
.lang-switch::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 2px 8px rgba(16,19,24,0.14), 0 0 0 1px var(--line);
  transition: transform 380ms var(--ease-spring);
}
html[data-lang="de"] .lang-switch::before { transform: translateX(100%); }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 8px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  transition: color 200ms;
  white-space: nowrap;
}
.lang-btn[aria-pressed="true"] { color: var(--ink); }
.lang-btn .flag { width: 20px; height: 14px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(16,19,24,0.12); flex: none; }
.lang-btn:hover { color: var(--ink); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding: clamp(40px, 8vw, 96px) 0 clamp(40px, 6vw, 80px);
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 26px;
}
.hero-kicker b {
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 7.2vw, 86px);
  max-width: 11ch;
}
.hero h1 .swap-word {
  display: inline-grid;
  vertical-align: baseline;
  overflow: hidden;
  position: relative;
  height: 1em;
  line-height: 0.98;
}
.hero h1 .swap-word > span {
  grid-area: 1 / 1;
  white-space: nowrap;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 700ms var(--ease-out), opacity 400ms;
  color: var(--swap-color, var(--ink));
}
.hero h1 .swap-word > span.is-active { transform: none; opacity: 1; }
.hero h1 .swap-word > span.is-leaving { transform: translateY(-110%); opacity: 0; }

.hero-lede {
  font-size: clamp(18px, 1.5vw, 21px);
  color: var(--ink-2);
  max-width: 46ch;
  margin: 0 0 34px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 300ms var(--ease-spring), box-shadow 300ms, background 200ms, color 200ms;
  will-change: transform;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 30px -12px rgba(16,19,24,0.5);
}
.btn-primary:hover { box-shadow: 0 16px 36px -12px rgba(16,19,24,0.55); }
.btn-primary .btn-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: conic-gradient(var(--red), var(--yellow), var(--green), var(--blue), var(--red));
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--paper-2); }

.hero-proof {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i {
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--green-soft); color: var(--green);
  font-style: normal;
}
.hero-proof i svg { width: 11px; height: 11px; }

/* ----- the browser mock ----- */
.demo {
  position: relative;
  perspective: 1600px;
}
.demo-glow {
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  background:
    radial-gradient(40% 40% at 22% 30%, color-mix(in srgb, var(--blue) 22%, transparent), transparent 70%),
    radial-gradient(38% 38% at 80% 25%, color-mix(in srgb, var(--yellow) 26%, transparent), transparent 70%),
    radial-gradient(38% 38% at 70% 85%, color-mix(in srgb, var(--green) 22%, transparent), transparent 70%),
    radial-gradient(34% 34% at 15% 85%, color-mix(in srgb, var(--red) 18%, transparent), transparent 70%);
  filter: blur(30px);
  opacity: 0.9;
  animation: glowDrift 16s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
}

.browser {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  transform: rotateX(4deg) rotateY(-6deg);
  transform-origin: 50% 50%;
  transition: transform 900ms var(--ease-out);
}
@media (min-width: 980px) { .demo:hover .browser { transform: rotateX(0) rotateY(0); } }
@media (max-width: 979px) {
  .browser { transform: none; }
  .demo { max-width: 640px; margin-inline: auto; width: 100%; }
}

.browser-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-3); }
.browser-bar .url {
  flex: 1;
  margin-left: 10px;
  height: 26px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  color: var(--ink-3);
  gap: 8px;
}
.browser-bar .url .lock { width: 10px; height: 10px; }
.browser-bar .ext {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--ink);
  display: grid; place-items: center;
  position: relative;
}
.browser-bar .ext::after {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: conic-gradient(from 20deg, var(--red) 0 25%, var(--blue) 0 50%, var(--yellow) 0 75%, var(--green) 0 100%);
  animation: ringSpin 10s linear infinite;
}
.browser-bar .ext-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: 999px;
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 700; line-height: 15px; text-align: center;
  box-shadow: 0 0 0 2px var(--paper-2);
}

/* the fake marketplace page under the overlays */
.page {
  position: relative;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-bottom: 22px;
}
.page-search {
  height: 34px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  padding: 0 4px 0 14px;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-3);
}
.page-search .go {
  margin-left: auto;
  height: 26px; padding: 0 14px;
  border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.page-cats { display: flex; gap: 14px; font-size: 11px; color: var(--ink-2); padding-left: 4px; }
.page-cats b { color: var(--ink); font-weight: 600; }

.listings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.listing {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 8px;
  display: grid;
  gap: 6px;
  position: relative;
  background: var(--paper);
}
.listing .thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--paper-3), var(--paper-2));
  position: relative;
  overflow: hidden;
}
.listing .thumb::after {
  content: "";
  position: absolute; inset: 25%;
  border-radius: 6px;
  background: var(--paper);
  opacity: 0.8;
}
.listing .t1 { height: 7px; width: 85%; border-radius: 4px; background: var(--paper-3); }
.listing .t2 { height: 7px; width: 55%; border-radius: 4px; background: var(--paper-3); }
.listing .price { font-size: 12px; font-weight: 700; color: var(--ink); margin-top: 2px; }

.orders {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  display: grid;
  gap: 8px;
  font-size: 11px;
}
.orders header { display: flex; justify-content: space-between; color: var(--ink-2); font-weight: 600; }
.order { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; color: var(--ink-2); }
.order .who { color: var(--ink); font-weight: 600; }
.order .st { padding: 2px 8px; border-radius: 999px; background: var(--paper-2); font-weight: 600; font-size: 10px; transition: background 400ms, color 400ms; }
.order .st.new { background: var(--yellow-soft); color: #8a6100; }
.order .st.ok { background: var(--green-soft); color: #1f7a2e; }
.order .st.paid { background: var(--blue-soft); color: #1a47c2; }

/* overlays that Vendora draws over the page */
.ov {
  position: absolute;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 500ms var(--ease-out), transform 640ms var(--ease-spring);
  pointer-events: none;
  will-change: transform, opacity;
  z-index: 3;
}
.ov.is-on { opacity: 1; transform: none; }
.ov.is-off { opacity: 0; transform: translateY(-10px) scale(0.98); transition-timing-function: ease-in; transition-duration: 320ms; }

.ov-card {
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 18px 44px -14px rgba(16,19,24,0.35), 0 0 0 1px var(--line);
  padding: 10px 12px;
  font-size: 12px;
  display: grid;
  gap: 6px;
  min-width: 190px;
}
.ov-card .ov-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.ov-card .ov-head .k {
  width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center;
  color: #fff;
  flex: none;
}
.ov-card .ov-head .k svg { width: 12px; height: 12px; }
.ov-card .ov-sub { color: var(--ink-2); font-size: 11px; }
.ov-card .ov-line { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 11px; }
.ov-card .ov-line .chk {
  width: 14px; height: 14px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-3); color: transparent;
  transition: background 300ms, color 300ms;
  flex: none;
}
.ov-card .ov-line .chk svg { width: 8px; height: 8px; }
.ov-card .ov-line.done .chk { background: var(--green); color: #fff; }
.ov-card .ov-line.done { color: var(--ink); }
.ov-card .ov-line .spin {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--paper-3); border-top-color: var(--blue);
  animation: spin 800ms linear infinite;
  flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ov-card .ov-line.done .spin { display: none; }
.ov-card .ov-line:not(.done) .chk { display: none; }

/* margin badge on a listing */
.ov-badge {
  top: 132px; left: calc(25% + 10px);
}
.ov-badge .tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px 5px 6px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(16,19,24,0.6);
  white-space: nowrap;
}
.ov-badge .tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.ov-badge .tag em { font-style: normal; color: rgba(255,255,255,0.7); font-weight: 500; }

/* invoice card */
.ov-invoice { right: 18px; top: 108px; }
.ov-invoice .k { background: var(--blue); }

/* chat */
.ov-chat { left: 18px; bottom: 18px; max-width: 250px; }
.ov-chat .bubble {
  border-radius: 14px;
  padding: 8px 11px;
  font-size: 12px;
  line-height: 1.35;
  max-width: 220px;
  box-shadow: 0 14px 36px -14px rgba(16,19,24,0.35), 0 0 0 1px var(--line);
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 400ms, transform 500ms var(--ease-spring);
}
.ov-chat .bubble.is-on { opacity: 1; transform: none; }
.ov-chat .bubble + .bubble { margin-top: 6px; }
.ov-chat .bubble.buyer { border-bottom-left-radius: 4px; }
.ov-chat .bubble.bot {
  margin-left: 24px;
  border-bottom-right-radius: 4px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 36px -14px rgba(63,185,80,0.6);
}
.ov-chat .bubble .who { display: block; font-size: 10px; font-weight: 700; opacity: 0.7; margin-bottom: 2px; }
.ov-chat .typing { display: inline-flex; gap: 3px; align-items: center; height: 12px; }
.ov-chat .typing i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.6; animation: typing 1s infinite; }
.ov-chat .typing i:nth-child(2) { animation-delay: 0.15s; }
.ov-chat .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-3px); } }
.ov-chat .bubble.bot .typing { display: none; }
.ov-chat .bubble.bot.is-typing .typing { display: inline-flex; }
.ov-chat .bubble.bot.is-typing .msg { display: none; }

/* tools toast */
.ov-tools { right: 18px; bottom: 18px; }
.ov-tools .k { background: var(--red); }

/* time saved counter */
.ov-saved { right: 18px; top: 60px; }
.ov-saved .saved {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--ink); color: #fff;
  box-shadow: 0 14px 36px -14px rgba(16,19,24,0.6);
}
.ov-saved .saved b { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ov-saved .saved span { font-size: 11px; opacity: 0.7; }

/* small cursor that "clicks" */
.cursor {
  position: absolute;
  width: 18px; height: 18px;
  left: 0; top: 0;
  opacity: 0;
  z-index: 5;
  transition: transform 900ms var(--ease-out), opacity 300ms;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.cursor.is-on { opacity: 1; }
.cursor.is-click { animation: click 320ms ease-out; }
@keyframes click { 40% { scale: 0.82; } 100% { scale: 1; } }

@media (max-width: 560px) {
  .listings { grid-template-columns: repeat(3, 1fr); }
  .listing:nth-child(4) { display: none; }
  .ov-invoice { top: 96px; right: 12px; }
  .ov-chat { left: 12px; bottom: 12px; max-width: 210px; }
  .ov-chat .bubble { max-width: 190px; font-size: 11px; }
  .ov-tools { right: 12px; bottom: 12px; }
  .ov-tools .ov-card { min-width: 150px; }
  .ov-badge { top: 122px; left: calc(33% + 6px); }
  .page-cats span:nth-child(n+4) { display: none; }
}

/* =====================================================================
   TICKER
   ===================================================================== */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.tick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}
.tick i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tick b { color: var(--ink); font-weight: 600; }
.tick.c-blue i { background: var(--blue); }
.tick.c-green i { background: var(--green); }
.tick.c-yellow i { background: var(--yellow); }
.tick.c-red i { background: var(--red); }

/* =====================================================================
   PILLARS
   ===================================================================== */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4.6vw, 58px);
}
.section-head p { margin: 0; font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); max-width: 52ch; }

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) { .pillars { grid-template-columns: 1fr 1fr; } }

.pillar {
  --hue: var(--blue);
  --hue-soft: var(--blue-soft);
  position: relative;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px 30px 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 26px;
  min-height: 420px;
  transition: transform 500ms var(--ease-out), box-shadow 500ms, border-color 300ms;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: color-mix(in srgb, var(--hue) 40%, var(--line)); }
.pillar.c-blue   { --hue: var(--blue);   --hue-soft: var(--blue-soft); }
.pillar.c-green  { --hue: var(--green);  --hue-soft: var(--green-soft); }
.pillar.c-yellow { --hue: var(--yellow); --hue-soft: var(--yellow-soft); }
.pillar.c-red    { --hue: var(--red);    --hue-soft: var(--red-soft); }

.pillar-top { display: grid; gap: 12px; }
.pillar-mark {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--hue);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--hue) 70%, transparent);
}
.pillar-mark svg { width: 22px; height: 22px; }
.pillar h3 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variation-settings: "opsz" 48, "wdth" 95;
}
.pillar p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 42ch; }

.pillar-art {
  position: relative;
  border-radius: 18px 18px 0 0;
  background: var(--hue-soft);
  margin: 0 -30px 0;
  padding: 24px 30px 0;
  min-height: 170px;
  align-self: end;
  overflow: hidden;
}

/* art: invoice */
.art-invoice .sheet {
  background: var(--paper);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -10px 30px -16px rgba(16,19,24,0.25);
  padding: 18px 20px;
  display: grid;
  gap: 10px;
  transform: translateY(0);
  transition: transform 600ms var(--ease-out);
}
.pillar:hover .art-invoice .sheet { transform: translateY(-8px); }
.art-invoice .row { display: flex; gap: 10px; align-items: center; }
.art-invoice .row .l { height: 8px; border-radius: 4px; background: var(--paper-3); flex: 1; }
.art-invoice .row .l.s { flex: 0 0 34%; }
.art-invoice .row .amt { font-size: 12px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.art-invoice .stamp {
  position: absolute; right: 34px; top: 34px;
  padding: 6px 10px;
  border: 2px solid var(--hue);
  color: var(--hue);
  border-radius: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  transform: rotate(-8deg);
  background: var(--paper);
  z-index: 2;
}
.art-invoice .head { display: flex; justify-content: space-between; align-items: center; }
.art-invoice .head b { font-size: 13px; }
.art-invoice .head span { font-size: 11px; color: var(--ink-3); }

/* art: chat */
.art-chat { display: grid; gap: 8px; align-content: end; padding-bottom: 24px; }
.art-chat .b {
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13px;
  max-width: 78%;
  background: var(--paper);
  box-shadow: 0 8px 22px -12px rgba(16,19,24,0.25);
  transform-origin: left bottom;
  opacity: 0;
  transform: scale(0.7) translateY(8px);
  transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-spring);
}
.art-chat .b.me { margin-left: auto; background: var(--hue); color: #fff; border-bottom-right-radius: 4px; transform-origin: right bottom; }
.art-chat .b.them { border-bottom-left-radius: 4px; }
.is-in .art-chat .b { opacity: 1; transform: none; }
.is-in .art-chat .b:nth-child(1) { transition-delay: 200ms; }
.is-in .art-chat .b:nth-child(2) { transition-delay: 700ms; }
.is-in .art-chat .b:nth-child(3) { transition-delay: 1200ms; }
.art-chat .b small { display: block; font-size: 10px; opacity: 0.7; margin-top: 3px; }

/* art: overlays */
.art-overlay { padding-bottom: 24px; }
.art-overlay .mini {
  border-radius: 12px;
  background: var(--paper);
  padding: 12px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  box-shadow: 0 8px 22px -12px rgba(16,19,24,0.25);
  position: relative;
  margin-top: 14px;
}
.art-overlay .mini .ph { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, var(--paper-3), var(--paper-2)); }
.art-overlay .mini .ln { height: 8px; border-radius: 4px; background: var(--paper-3); margin-bottom: 8px; }
.art-overlay .mini .ln.w60 { width: 60%; }
.art-overlay .mini .pr { font-weight: 700; font-size: 14px; }
.art-overlay .chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(16,19,24,0.6);
  animation: chipFloat 4s ease-in-out infinite;
  white-space: nowrap;
}
.art-overlay .chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--hue); }
.art-overlay .chip.a { right: 12px; top: -14px; }
.art-overlay .chip.b { left: 40px; bottom: -12px; animation-delay: -2s; }
.art-overlay .chip.c { right: 30px; bottom: 12px; animation-delay: -1s; background: var(--hue); color: var(--ink); }
.art-overlay .chip.c i { background: var(--ink); }
@keyframes chipFloat { 50% { transform: translateY(-4px); } }

/* art: tools */
.art-tools { padding-bottom: 24px; }
.art-tools .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.art-tools .tool {
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 8px 22px -12px rgba(16,19,24,0.25);
  display: grid; place-items: center;
  align-content: center;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  padding: 6px;
  gap: 4px;
  transition: transform 300ms var(--ease-spring), background 300ms, color 300ms;
}
.art-tools .tool svg { width: 18px; height: 18px; }
.art-tools .tool.on { background: var(--hue); color: #fff; }
.pillar:hover .art-tools .tool:nth-child(odd) { transform: translateY(-3px); }
.pillar:hover .art-tools .tool:nth-child(even) { transform: translateY(2px); }

/* =====================================================================
   FREE STATEMENT
   ===================================================================== */
.free {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.free::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 120%;
  background:
    radial-gradient(40% 50% at 20% 100%, color-mix(in srgb, var(--blue) 40%, transparent), transparent 70%),
    radial-gradient(40% 50% at 50% 100%, color-mix(in srgb, var(--green) 30%, transparent), transparent 70%),
    radial-gradient(40% 50% at 80% 100%, color-mix(in srgb, var(--yellow) 30%, transparent), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.free .wrap { position: relative; }
.free-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .free-grid { grid-template-columns: 1.2fr 0.8fr; gap: 64px; } }
.free h2 {
  margin: 0;
  font-size: clamp(44px, 7.6vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.free h2 .zero { position: relative; display: inline-block; }
.free h2 .zero::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 50%;
  height: 0.06em;
  background: var(--red);
  transform: rotate(-16deg);
  border-radius: 999px;
  transform-origin: center;
  scale: 0 1;
  transition: scale 1200ms var(--ease-out) 400ms;
}
.is-in.free h2 .zero::after { scale: 1 1; }
.free p { margin: 0 0 18px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,0.72); max-width: 44ch; }
.free p strong { color: #fff; font-weight: 600; }
.free-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.free-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.85); font-size: 16px; }
.free-list li i {
  flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.1);
  margin-top: 1px;
}
.free-list li i svg { width: 12px; height: 12px; }
.free-list li:nth-child(1) i { color: var(--green); }
.free-list li:nth-child(2) i { color: var(--yellow); }
.free-list li:nth-child(3) i { color: var(--blue); }

/* =====================================================================
   WAITLIST / SOON
   ===================================================================== */
.soon { text-align: center; }
.soon .section-head { margin-inline: auto; text-align: center; }
.soon .section-head p { margin-inline: auto; }
.soon-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}
.soon-form input {
  flex: 1 1 260px;
  height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 200ms, box-shadow 200ms;
}
.soon-form input::placeholder { color: var(--ink-3); }
.soon-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(16,19,24,0.08); }
.soon-form .btn { height: 56px; }
.soon-note { margin: 18px 0 0; font-size: 14px; color: var(--ink-3); }
.soon-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

.roadmap {
  margin: clamp(48px, 6vw, 80px) auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 820px;
  text-align: left;
  border-top: 1px solid var(--line);
}
.road {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 560px) { .road { grid-template-columns: 1fr; gap: 6px; } }
.road .when { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.road .when i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-3); flex: none; }
.road.now .when i { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.road.next .when i { background: var(--yellow); }
.road .what { color: var(--ink-2); font-size: 16px; }
.road .what b { color: var(--ink); font-weight: 600; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 34px;
  background: var(--paper-2);
  font-size: 14px;
  color: var(--ink-2);
}
.footer-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: start; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--ink); font-weight: 600; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { margin-top: 22px; font-size: 13px; color: var(--ink-3); max-width: 72ch; }
.footer-legal p { margin: 0 0 6px; }

/* =====================================================================
   LEGAL PAGE
   ===================================================================== */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 120px); }
.legal h1 { margin: 0 0 12px; font-size: clamp(40px, 6vw, 72px); }
.legal .legal-intro { color: var(--ink-2); font-size: 18px; max-width: 60ch; margin: 0 0 clamp(36px, 5vw, 56px); }
.legal-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .legal-grid { grid-template-columns: 1fr 1fr; } }
.legal-block {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 28px;
  background: var(--paper);
  display: grid;
  gap: 14px;
  align-content: start;
}
.legal-block.wide { grid-column: 1 / -1; }
.legal-block h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 32, "wdth" 96;
}
.legal-block dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: 15px; }
.legal-block dt { color: var(--ink-3); }
.legal-block dd { margin: 0; color: var(--ink); }
.legal-block p { margin: 0; font-size: 15px; color: var(--ink-2); }
.legal-block a { color: var(--blue); }
.legal-block a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-block .people { display: grid; gap: 14px; }
@media (min-width: 520px) { .legal-block .people { grid-template-columns: 1fr 1fr; } }
.legal-block .person { font-size: 15px; line-height: 1.5; }
.legal-block .person b { display: block; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font-weight: 600; color: var(--ink-2); }
.back-link:hover { color: var(--ink); }
.back-link svg { width: 16px; height: 16px; }
@media (max-width: 520px) { .legal-block dl { grid-template-columns: 1fr; gap: 2px 0; } .legal-block dt { margin-top: 8px; } }

/* =====================================================================
   REVEAL ON SCROLL (one subtle pass per section)
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .browser { transform: none; }
  .ov, .ov-chat .bubble { opacity: 1; transform: none; }
  .art-chat .b { opacity: 1; transform: none; }
  .free h2 .zero::after { scale: 1 1; }
  .ticker-track { animation: none; }
  .cursor { display: none; }
}
