/* ===== Apppiggy — Shared App Shell =====================
   Used by index.html, host.html, dashboard.html.
   Customize.js overrides --bg, --acid, --pink, --radius-lg, etc.
   ======================================================= */

:root {
  /* apppiggy brand tokens */
  --bg: #f6f3ec;        /* paper */
  --bg-2: #ece6d6;      /* paper-2 / cards */
  --paper: #e2dac6;     /* paper-3 */
  --ink: #141414;
  --ink-2: #2a2620;
  --ink-3: #6a6256;     /* mute */
  --ink-4: #9a9176;     /* light mute */
  --line-soft: #e4ddcd;
  --acid: #2ecc71;      /* grass — live / success accents */
  --acid-deep: #1f9d5e;
  --pink: #ff5a7a;      /* rose — primary accent */
  --pink-2: #ffd6e0;
  --pink-deep: #c0395a;
  --radius: 12px;
  --radius-lg: 18px;
  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-sans: "Bricolage Grotesque", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-italic: "Instrument Serif", serif;
  --f-display-weight: 800;
}

/* Italic accent words use Instrument Serif (brand accent face) */
.h-headline .it, .h-sec-title .it, .h-step h3 em, .h-tier .nm em,
.h-cta-block h2 em, .h-faq-q em, em.it, .it em {
  font-family: var(--f-italic); font-weight: 400; font-style: italic;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  transition: background-color .25s ease, color .25s ease;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

.mono { font-family: var(--f-mono); }

/* ============ NAV =========================================== */
.h-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .25s ease;
}
.h-nav.is-scrolled { border-bottom-color: rgba(10,9,7,0.08); }
.h-nav-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.h-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 22px; letter-spacing: -0.025em;
  color: var(--ink);
}
.h-brand-mark {
  width: 30px; height: 30px;
  color: var(--ink);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.h-brand-mark svg { width: 30px; height: 30px; display: block; }
.h-brand-mark .snout-hole { fill: var(--bg); }

.h-nav-links {
  display: flex; gap: 30px;
  font-size: 15.5px; font-weight: 500;
  justify-self: center;
}
.h-nav-links a {
  color: var(--ink);
  transition: opacity .15s;
  position: relative;
}
.h-nav-links a:hover { opacity: 0.55; }
.h-nav-links a.is-active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--ink);
  border-radius: 2px;
}

.h-nav-cta { display: flex; gap: 10px; justify-self: end; align-items: center; }

.h-btn {
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .15s ease;
  border: 1.5px solid transparent;
  font-family: inherit;
}
.h-btn-ghost {
  border-color: rgba(10,9,7,0.18);
  background: transparent; color: var(--ink);
}
.h-btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.h-btn-dark {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}
.h-btn-dark:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgba(0,0,0,0.3); }
.h-btn-icon {
  width: 42px; padding: 0;
  border-radius: 50%;
  height: 42px;
  background: transparent;
  border-color: rgba(10,9,7,0.14);
  color: var(--ink);
}
.h-btn-icon:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ============ HERO ========================================== */
.h-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 32px 80px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}

.h-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 32px;
}
.h-eyebrow .live-dot {
  width: 9px; height: 9px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--acid) 55%, transparent);
  animation: hPulse 1.8s infinite;
}
@keyframes hPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--acid) 55%, transparent); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.h-headline {
  font-family: var(--f-display);
  font-weight: var(--f-display-weight);
  font-size: clamp(56px, 8.4vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 36px;
  color: var(--ink);
}
.h-headline .it {
  display: inline-block;
  font-style: italic;
  color: var(--ink-4);
  font-weight: 400;
  margin-left: 0.18em;
}

.h-lede {
  font-size: 19px;
  line-height: 1.5;
  max-width: 32ch;
  color: var(--ink);
  margin: 0 0 36px;
  font-weight: 400;
}

.h-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.h-cta-row .h-btn-dark {
  height: 60px; padding: 0 30px;
  font-size: 17px;
  border-radius: 14px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.08), 0 12px 28px -10px rgba(0,0,0,0.3);
}
.h-cta-row .h-btn-ghost {
  height: 60px; padding: 0 26px;
  font-size: 17px;
  border-radius: 14px;
  background: transparent;
  border-color: rgba(10,9,7,0.18);
}
.h-cta-row .h-btn-ghost:hover { background: rgba(10,9,7,0.04); color: var(--ink); border-color: rgba(10,9,7,0.3); }

.h-checks {
  display: flex; flex-wrap: wrap; gap: 22px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-3);
}
.h-checks span { display: inline-flex; align-items: center; gap: 6px; }
.h-checks .sep { color: rgba(10,9,7,0.2); margin: 0 -8px; }

/* ----- HERO CARD --------------------------------------------- */
.h-card {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  aspect-ratio: 1 / 0.95;
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.h-card-label {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--ink) 55%, transparent);
  align-self: flex-end;
}

.h-files {
  position: absolute;
  left: 50%; top: 48%;
  transform: translate(-50%, -50%);
  width: 70%;
  max-width: 460px;
}
.h-file {
  position: absolute;
  left: 0; right: 0;
  height: 56px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.04);
  display: flex; align-items: center;
  padding: 0 14px 0 12px;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 14px;
  color: #0A0907;
}
.h-file .htmltag {
  background: #0A0907; color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 4px 8px; border-radius: 6px;
  letter-spacing: 0.04em;
}
.h-file .check {
  margin-left: auto;
  color: rgba(10,9,7,0.45);
  font-size: 16px;
}
.h-file-1 { top: -8px; left: -36px; right: 32px; transform: rotate(-3.5deg); opacity: 0.55; }
.h-file-2 { top: 22px; left: -14px; right: 18px; transform: rotate(-1.4deg); opacity: 0.8; }
.h-file-3 { top: 0; left: 6px; right: 0; transform: rotate(1.4deg); z-index: 3; }

.h-arrow {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  color: rgba(10,9,7,0.5);
  font-weight: 300;
}
[data-theme="dark"] .h-arrow { color: rgba(255,255,255,0.5); }

.h-url {
  margin-top: auto;
  background: #0A0907;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 15px;
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.35);
}
.h-url .pink-dot { width: 9px; height: 9px; background: var(--pink); border-radius: 50%; }
.h-url .dim { color: rgba(255,255,255,0.5); }
.h-url .live {
  margin-left: auto;
  color: var(--acid);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 6px;
}
.h-url .live::before {
  content: ""; width: 7px; height: 7px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--acid);
}

.h-card.is-over .h-files { transform: translate(-50%, -55%) scale(1.04); transition: transform .25s; }
.h-card.is-deployed .h-files .h-file { opacity: 0; transform: translate(0, -40px) rotate(0deg); transition: all .5s ease; }
.h-card.is-deployed .h-card-preview { opacity: 1; }
.h-card-preview {
  position: absolute;
  inset: 70px 28px 90px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transition: opacity .4s ease;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.3);
}
.h-card-preview iframe { width: 100%; height: 100%; border: 0; }

/* ============ FEATURE STRIP ================================== */
.h-strip {
  background: var(--bg-2);
  border-top: 1px solid rgba(10,9,7,0.06);
  border-bottom: 1px solid rgba(10,9,7,0.06);
}
.h-strip-grid {
  max-width: 1440px; margin: 0 auto;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.h-feat {
  padding: 8px 28px;
  border-right: 1px solid rgba(10,9,7,0.08);
}
.h-feat:last-child { border-right: 0; }
.h-feat:first-child { padding-left: 0; }
.h-feat .ic { font-size: 22px; line-height: 1; margin-bottom: 6px; }
.h-feat h4 { font-size: 16px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.01em; }
.h-feat p { font-size: 14px; line-height: 1.5; color: var(--ink-3); margin: 0; }

/* ============ SECTION HEAD ================================== */
.h-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 32px;
}
.h-sec-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: end;
}
.h-sec-num {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 18px;
}
.h-sec-title {
  font-family: var(--f-display);
  font-weight: var(--f-display-weight);
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
}
.h-sec-title .it { color: var(--ink-4); font-style: italic; }
.h-sec-lede {
  font-size: 19px; line-height: 1.55; color: var(--ink-2);
  max-width: 44ch;
  margin: 0;
}

/* ============ STEPS ========================================= */
.h-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h-step {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  min-height: 340px;
  display: flex; flex-direction: column;
}
.h-step .num {
  font-family: var(--f-display); font-style: italic;
  font-size: 84px; line-height: 1; color: var(--ink);
  margin: 0 0 24px;
}
.h-step h3 {
  font-family: var(--f-display); font-weight: var(--f-display-weight);
  font-size: 36px; line-height: 1.02; letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.h-step h3 em { font-style: italic; color: var(--ink-4); }
.h-step p {
  color: var(--ink-2);
  font-size: 15.5px; line-height: 1.55;
  margin: 0 0 24px;
  max-width: 32ch;
}
.h-step-art {
  margin-top: auto;
  background: var(--bg);
  border-radius: 14px;
  padding: 16px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-2);
  min-height: 80px;
  display: flex; align-items: center;
}
.step-drag {
  border: 2px dashed rgba(10,9,7,0.2);
  background: transparent;
  color: rgba(10,9,7,0.5);
  text-align: center;
  justify-content: center;
  padding: 22px;
}
[data-theme="dark"] .step-drag { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.5); }

/* ============ SHOWCASE / APPS ============================== */
.h-showcase { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.show-card {
  background: var(--bg-2);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.show-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -20px rgba(0,0,0,0.25); }
.show-card .shot {
  flex: 1;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}
.show-card .meta {
  padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.show-card .meta strong { font-size: 14px; font-weight: 600; }
.show-card .meta .url { font-family: var(--f-mono); font-size: 11px; color: var(--ink-4); }
.show-1 { grid-column: span 7; }
.show-2 { grid-column: span 5; }
.show-3 { grid-column: span 4; }
.show-4 { grid-column: span 4; }
.show-5 { grid-column: span 4; }

/* App gallery filters */
.h-filters {
  display: flex; gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.h-filter {
  height: 38px; padding: 0 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(10,9,7,0.18);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  transition: all .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.h-filter:hover { border-color: var(--ink); color: var(--ink); }
.h-filter .count {
  font-size: 10.5px;
  padding: 1px 6px;
  background: rgba(10,9,7,0.1);
  border-radius: 99px;
  color: var(--ink-3);
}
.h-filter.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.h-filter.on .count { background: rgba(255,255,255,0.15); color: var(--bg); }

.show-card.is-hidden { display: none; }

/* ============ PRICING ====================================== */
.h-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h-tier {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.h-tier.featured { background: var(--ink); color: var(--bg); }
.h-tier .nm {
  font-family: var(--f-display); font-size: 30px; font-weight: var(--f-display-weight);
  letter-spacing: -0.01em; margin: 0 0 6px;
}
.h-tier .nm em { font-style: italic; color: var(--acid); }
.h-tier .pr {
  font-family: var(--f-display); font-size: 64px;
  line-height: 1; letter-spacing: -0.03em; margin: 14px 0 4px;
}
.h-tier.featured .pr em { color: var(--acid); font-style: italic; }
.h-tier .per { font-size: 13px; color: var(--ink-4); }
.h-tier.featured .per { color: rgba(255,255,255,0.55); }
.h-tier .desc { font-size: 14.5px; line-height: 1.5; margin: 22px 0; color: var(--ink-2); }
.h-tier.featured .desc { color: rgba(255,255,255,0.7); }
.h-tier ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.h-tier li { font-size: 14.5px; display: flex; gap: 10px; }
.h-tier li::before { content: "✓"; color: var(--acid); font-weight: 700; }
.h-tier .badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--acid); color: #053920;
  padding: 4px 10px;
  border-radius: 99px;
  font-weight: 700;
  white-space: nowrap;
}
.h-tier .pickbtn {
  height: 52px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  background: var(--ink); color: var(--bg);
  border: 0;
  font-family: inherit;
}
.h-tier .pickbtn:hover { opacity: 0.85; }
.h-tier.featured .pickbtn { background: var(--bg); color: var(--ink); }

/* Pricing toggle (monthly/yearly) */
.h-price-toggle {
  display: inline-flex;
  background: rgba(10,9,7,0.06);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 28px;
  font-family: var(--f-mono);
  font-size: 12px;
}
.h-price-toggle button {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--ink-2);
  letter-spacing: 0.06em;
}
.h-price-toggle button.on { background: var(--ink); color: var(--bg); }
.h-price-toggle .save {
  margin-left: 6px;
  font-size: 10px;
  background: var(--acid);
  color: #053920;
  padding: 2px 6px;
  border-radius: 99px;
  font-weight: 700;
}

/* ============ BIG CTA ====================================== */
.h-cta-block {
  background: var(--ink);
  color: var(--bg);
  border-radius: 28px;
  padding: 80px 60px;
  text-align: center;
  margin: 80px auto;
  max-width: 1376px;
  position: relative;
  overflow: hidden;
}
.h-cta-block::before, .h-cta-block::after {
  content: ""; position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--acid) 35%, transparent), transparent 70%);
  pointer-events: none;
}
.h-cta-block::before { left: -60px; top: -60px; }
.h-cta-block::after { right: -60px; bottom: -60px; }
.h-cta-block h2 {
  font-family: var(--f-display);
  font-weight: var(--f-display-weight);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  position: relative;
}
.h-cta-block h2 em { color: var(--acid); font-style: italic; }
.h-cta-block p { color: rgba(255,255,255,0.7); font-size: 19px; margin: 0 0 36px; position: relative; }
.h-cta-block .h-btn-dark { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* ============ CHANGELOG ===================================== */
.h-changelog { display: flex; flex-direction: column; gap: 0; }
.h-change-row {
  display: grid;
  grid-template-columns: 140px 110px 1fr auto;
  padding: 22px 0;
  border-bottom: 1px solid rgba(10,9,7,0.08);
  gap: 22px;
  align-items: baseline;
}
[data-theme="dark"] .h-change-row { border-bottom-color: rgba(255,255,255,0.08); }
.h-change-row .date { font-family: var(--f-mono); font-size: 13px; color: var(--ink-4); }
.h-change-row .tag {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 99px;
  background: var(--bg-2); color: var(--ink);
  justify-self: start;
}
.h-change-row .tag.new { background: var(--acid); color: #053920; }
.h-change-row .tag.fix { background: #FFE4D9; color: #5C2A0A; }
.h-change-row h4 { font-size: 16px; font-weight: 600; margin: 0; }
.h-change-row p { color: var(--ink-3); font-size: 14px; margin: 4px 0 0; }
.h-change-row .ver { font-family: var(--f-mono); font-size: 12px; color: var(--ink-4); }

/* ============ FAQ ========================================== */
.h-faq { display: flex; flex-direction: column; }
.h-faq-item {
  border-bottom: 1px solid rgba(10,9,7,0.1);
  padding: 8px 0;
}
[data-theme="dark"] .h-faq-item { border-bottom-color: rgba(255,255,255,0.12); }
.h-faq-q {
  width: 100%;
  padding: 22px 0;
  text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 22px;
  font-family: var(--f-display);
  font-weight: var(--f-display-weight);
  letter-spacing: -0.01em;
  background: transparent; border: 0; cursor: pointer;
}
.h-faq-q .pm {
  font-family: var(--f-sans);
  font-size: 24px; font-weight: 300;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(10,9,7,0.06);
  display: grid; place-items: center;
  transition: transform .25s;
}
[data-theme="dark"] .h-faq-q .pm { background: rgba(255,255,255,0.08); }
.h-faq-item.open .pm { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.h-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.h-faq-item.open .h-faq-a { max-height: 360px; }
.h-faq-a p { padding: 0 0 22px; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 70ch; margin: 0; }

/* ============ FOOTER ======================================== */
.h-footer { background: var(--ink); color: var(--bg); padding: 80px 32px 40px; }
.h-footer-inner { max-width: 1440px; margin: 0 auto; }
.h-footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.h-footer .h-brand-mark { color: var(--bg); }
.h-footer .h-brand-mark .snout-hole { fill: var(--ink); }
.h-footer p { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.55; max-width: 30ch; margin: 18px 0; }
.h-footer h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
  font-weight: 500;
}
.h-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.h-footer ul a { color: rgba(255,255,255,0.85); font-size: 14px; }
.h-footer ul a:hover { color: var(--acid); }
.h-footer-bottom {
  padding-top: 50px;
  display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: 30px;
}
.h-footer-mega {
  font-family: var(--f-display); font-weight: var(--f-display-weight);
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.85; letter-spacing: -0.04em; margin: 0;
}
.h-footer-legal {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: right;
}

/* ============ TAPE / MARQUEE =============================== */
.h-tape {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid color-mix(in oklab, var(--ink) 100%, transparent);
}
.h-tape-track {
  display: flex; gap: 32px; align-items: center;
  white-space: nowrap;
  animation: hTape 36s linear infinite;
  font-family: var(--f-display);
  font-size: 32px;
  letter-spacing: -0.01em;
}
.h-tape-track em { font-style: italic; color: var(--acid); }
.h-tape-track .star { color: var(--acid); transform: translateY(-4px); display: inline-block; }
@keyframes hTape {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ TOAST ======================================== */
.h-toast-wrap {
  position: fixed; bottom: 24px; right: 90px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 99;
}
.h-toast {
  background: var(--ink); color: var(--bg);
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.4);
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  animation: hToastIn 0.3s ease;
}
.h-toast .ok {
  width: 8px; height: 8px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--acid);
}
@keyframes hToastIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ============ PRESETS / DROPZONE TRY ====================== */
.h-preset {
  background: var(--bg); border: 1px solid rgba(10,9,7,0.12);
  padding: 8px 14px; border-radius: 99px;
  font-family: var(--f-mono);
  font-size: 12px;
  cursor: pointer;
  color: var(--ink-2);
  transition: all .15s;
}
.h-preset:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .h-preset { border-color: rgba(255,255,255,0.16); }

#bigDrop.is-over { background: color-mix(in oklab, var(--acid) 15%, var(--bg-2)) !important; border-color: var(--acid) !important; border-style: solid !important; }

/* ============ RESPONSIVE =================================== */
@media (max-width: 1000px) {
  .h-nav-inner { grid-template-columns: 1fr auto; }
  .h-nav-links { display: none; }
  .h-hero { grid-template-columns: 1fr; }
  .h-sec-head { grid-template-columns: 1fr; }
  .h-strip-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; padding: 24px; }
  .h-feat { padding: 8px 18px; }
  .h-feat:nth-child(2) { border-right: 0; }
  .h-steps, .h-pricing { grid-template-columns: 1fr; }
  .h-showcase > * { grid-column: span 12 !important; }
  .h-footer-top { grid-template-columns: 1fr 1fr; }
  .h-change-row { grid-template-columns: 100px 90px 1fr; }
  .h-change-row .ver { display: none; }
}
