/* Full Snap — Clico-style neo-brutalist landing (fonts kept) */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=IBM+Plex+Mono:wght@400;500;600;700&family=Schibsted+Grotesk:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg-page: #c8bff5;
  --bg-card: #f6f3ec;
  --bg-white: #fff;
  --bg-warm: #fffdf8;
  --ink: #0a0a0a;
  --ink-secondary: #5a5a5a;
  --ink-soft: #3a352e;
  --ink-muted: #5f5a51;
  --ink-tertiary: #999;
  --border: #0a0a0a;
  --border-light: rgba(10, 10, 10, 0.12);
  --lime: #c1f04c;
  --purple: #5b5bd6;
  --purple-deep: #6b21a8;
  --orange: #f26b3a;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --frame-max: 1320px;
  --radius: 8px;
  --radius-lg: 10px;
  --shadow-1: 2px 2px 0 var(--border);
  --shadow-2: 3px 3px 0 var(--border);
  --shadow-3: 4px 4px 0 var(--border);
  --bounce: 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
em { font-style: italic; color: var(--purple); }
em.em-purple { color: var(--purple-deep); }
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(10, 10, 10, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

::selection {
  background: var(--lime);
  color: #000;
}

/* ─── Shell / frame ─── */
.page-shell {
  min-height: 100vh;
  padding: 20px 12px;
}

.site-frame {
  max-width: var(--frame-max);
  margin: 0 auto;
  background:
    linear-gradient(to right, rgba(120, 100, 80, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 100, 80, 0.1) 1px, transparent 1px),
    var(--bg-card);
  background-size: 24px 24px, 24px 24px, auto;
  border: 1.5px solid var(--border);
  overflow: clip;
  box-shadow: var(--shadow-3);
}

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
  background: var(--bg-card);
  border-bottom: 1.5px solid var(--border);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.nav-logo img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  border-radius: 6px;
  transition: color 150ms, background 150ms;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(10, 10, 10, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: var(--bg-white);
  box-shadow: var(--shadow-1);
}

.nav-menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 20px;
  background: var(--bg-card);
  border-bottom: 1.5px solid var(--border);
}

.mobile-menu:not([hidden]) { display: flex; }

.mobile-menu a {
  padding: 12px 10px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
}

.mobile-menu a:hover { background: rgba(10, 10, 10, 0.05); }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-menu-btn { display: none; }
  .mobile-menu { display: none !important; }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--bounce), box-shadow var(--bounce), background 150ms;
  cursor: pointer;
  text-decoration: none;
}

.btn-sm {
  min-height: 36px;
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  min-height: 54px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 800;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: var(--shadow-2);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--border);
}

.btn-primary:active {
  transform: translate(0, 0);
  box-shadow: 1px 1px 0 var(--border);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  font-weight: 800;
}

.btn-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--border);
}

.btn-secondary:active {
  transform: translate(0, 0);
  box-shadow: 1px 1px 0 var(--border);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: calc(100vh - 56px);
  overflow: hidden;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--ink);
}

.hero-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(120, 100, 80, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 100, 80, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-glow {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto 0;
  height: 13rem;
  z-index: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.34), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  background: var(--bg-white);
  box-shadow: var(--shadow-1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pill-badge--soft {
  background: #fbfd96;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 8vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: none;
  width: 100%;
  text-align: center;
}

.hero-title-line {
  display: block;
}

/* Rotator: full hero width so long phrases aren't clipped */
.hero-title .hero-rotate {
  position: relative;
  display: block;
  z-index: 20;
  width: 100%;
  max-width: none;
  /* room for italic overflow + blur, still tight under "Ship" */
  height: 1.12em;
  margin: 0.02em 0 0;
  padding: 0 0.1em;
  overflow: hidden;
  font-family: inherit;
  font-size: 1em;
  font-weight: inherit;
  font-style: italic;
  line-height: 1.12;
  letter-spacing: inherit;
  text-align: center;
}

.rotate-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max-content;
  max-width: min(100%, 18ch);
  margin: 0;
  padding: 0 0.15em;
  color: #4285f4;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 0.1em));
  filter: blur(3px);
  transition: opacity 380ms ease, transform 380ms ease, filter 380ms ease, color 200ms;
  pointer-events: none;
  white-space: nowrap;
  overflow: visible;
}

.rotate-item.is-active {
  opacity: 1;
  transform: translate(-50%, -50%);
  filter: none;
}

.hero-sub {
  margin-top: 22px;
  max-width: 610px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (min-width: 768px) {
  .hero-sub { font-size: 20px; }
  .hero-inner { padding: 72px 40px 96px; }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  width: 100%;
  max-width: 520px;
}

@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; max-width: min(360px, 100%); }
  .hero-cta .btn { width: 100%; }
}

.hero-float-card {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  display: none;
}

@media (min-width: 960px) {
  .hero-float-card { display: block; }
}

.hero-float-card--a {
  left: 3%;
  bottom: 12%;
  --r: -6deg;
  animation: float 5.5s ease-in-out infinite;
}

.hero-float-card--b {
  right: 5%;
  top: 26%;
  --r: 6deg;
  animation: float 4.8s ease-in-out infinite reverse;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (min-width: 960px) {
  .hero-float-card--b { display: flex; }
}

.mock-popup {
  width: 200px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg-white);
  box-shadow: var(--shadow-3);
  padding: 14px;
  text-align: left;
}

.mock-popup-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mock-popup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 600;
}

.mock-popup-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  border: 1.5px solid var(--border);
}

.float-keys {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-white);
  box-shadow: 4px 4px 0 var(--border);
}

.float-key {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #f6f3ec;
  box-shadow: 2px 2px 0 var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.float-key--lime {
  background: var(--lime);
}

.float-key-plus {
  font-weight: 800;
  font-size: 14px;
  color: var(--ink-secondary);
}

.float-keys-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  box-shadow: 1px 1px 0 var(--border);
}

.hero-orb {
  position: absolute;
  right: 4%;
  bottom: 6%;
  z-index: 12;
  display: none;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--lime);
  box-shadow: var(--shadow-3);
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  transition: transform var(--bounce), box-shadow var(--bounce);
}

.hero-orb:hover {
  transform: rotate(8deg) scale(1.05);
  box-shadow: 6px 6px 0 var(--border);
}

.hero-orb img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  position: relative;
  z-index: 1;
}

.hero-orb-ring {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1.5px dashed rgba(10, 10, 10, 0.35);
  animation: spin 12s linear infinite;
}

@media (min-width: 960px) {
  .hero-orb { display: flex; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, -6deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, -6deg)); }
}

@keyframes spin {
  to { transform: rotate(1turn); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@keyframes marquee-reverse {
  0% { transform: translateX(-33.333%); }
  100% { transform: translateX(0); }
}

/* ─── Sections ─── */
.section {
  position: relative;
  border-bottom: 1.5px solid var(--border);
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--bg-card);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-inner--narrow { max-width: 760px; }

@media (min-width: 768px) {
  .section-inner { padding: 0 40px; }
}

.section-head {
  margin-bottom: 40px;
  max-width: 720px;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--ink);
}

.section-head p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 560px;
}

@media (min-width: 640px) {
  .section-head p { font-size: 18px; }
}

.section-head a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-head a:hover { color: var(--purple); }

/* ─── How ─── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

@media (min-width: 900px) {
  .how-grid {
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 32px;
  }
}

.how-list {
  display: none;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 900px) {
  .how-list { display: flex; }
}

.how-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: background 160ms, border-color 160ms, box-shadow 160ms;
}

.how-item:hover {
  background: rgba(10, 10, 10, 0.03);
}

.how-item.is-active {
  border-color: var(--border);
  background: var(--bg-white);
  box-shadow: var(--shadow-2);
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg-warm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.how-item.is-active .how-num {
  background: var(--lime);
}

.how-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.how-copy strong {
  font-size: 14px;
  font-weight: 800;
}

.how-copy span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-secondary);
}

.how-stage { width: 100%; }

.browser-mock {
  width: 100%;
  max-width: 930px;
  margin-left: auto;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--bg-white);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .browser-mock { aspect-ratio: 16 / 10; }
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg-card);
}

.mock-dots { display: flex; gap: 5px; }
.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
}
.mock-dots span:nth-child(1) { background: #ff6b6b; }
.mock-dots span:nth-child(2) { background: #ffd93d; }
.mock-dots span:nth-child(3) { background: #6bcb77; }

.mock-url {
  flex: 1;
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  background: var(--bg-white);
  color: var(--ink-tertiary);
  font-size: 11px;
  font-family: var(--font-mono);
}

.mock-body {
  position: relative;
  flex: 1;
  min-height: 180px;
  background:
    linear-gradient(to right, rgba(160, 100, 40, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(160, 100, 40, 0.08) 1px, transparent 1px),
    #fbf8f1;
  background-size: 24px 24px, 24px 24px, auto;
}

.mock-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.mock-panel.is-active {
  opacity: 1;
  pointer-events: auto;
}

.how-mobile-copy {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-secondary);
  text-align: center;
}

@media (min-width: 900px) {
  .how-mobile-copy { display: none; }
}

/* mock visuals */
.stitch-visual {
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stitch-strip {
  height: 48px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: var(--bg-white);
  box-shadow: var(--shadow-1);
  animation: float 2.4s ease-in-out infinite;
}

.stitch-strip.s1 { background: linear-gradient(90deg, #daf5f0, #fff); }
.stitch-strip.s2 { background: linear-gradient(90deg, #fbfd96, #fff); animation-delay: 0.15s; }
.stitch-strip.s3 { background: linear-gradient(90deg, #c1f04c, #fff); animation-delay: 0.3s; }

.stitch-label {
  margin-top: 8px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.annotate-visual {
  position: relative;
  width: min(100%, 420px);
  height: 200px;
}

.annotate-page {
  position: absolute;
  inset: 10px 20px 40px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: var(--bg-white);
  box-shadow: var(--shadow-2);
}

.annotate-mark {
  position: absolute;
  border: 2px solid var(--border);
  pointer-events: none;
}

.annotate-mark.pen {
  left: 18%;
  top: 28%;
  width: 90px;
  height: 3px;
  background: #f26b3a;
  transform: rotate(-12deg);
}

.annotate-mark.hi {
  left: 30%;
  top: 48%;
  width: 120px;
  height: 18px;
  background: rgba(193, 240, 76, 0.65);
  border: 0;
}

.annotate-mark.box {
  right: 18%;
  top: 30%;
  width: 70px;
  height: 50px;
  border-color: var(--purple);
  background: transparent;
}

.annotate-toolbar {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg-white);
  box-shadow: var(--shadow-1);
}

.annotate-toolbar .tool {
  min-width: 36px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.annotate-toolbar .tool.is-on {
  background: var(--lime);
  border: 1.5px solid var(--border);
}

.export-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.export-file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--bg-white);
  box-shadow: var(--shadow-2);
  min-width: min(100%, 300px);
}

.export-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.export-file strong { display: block; font-size: 14px; }
.export-file span { font-size: 12px; color: var(--ink-secondary); }

.sites-visual {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 420px;
}

.sites-visual span {
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 99px;
  background: var(--bg-white);
  box-shadow: var(--shadow-1);
  font-size: 13px;
  font-weight: 700;
}

.local-visual {
  text-align: center;
  max-width: 320px;
}

.local-visual .lock {
  font-size: 40px;
  margin-bottom: 12px;
}

.local-visual p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.flow-visual {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
}

.flow-visual span:not(.arrow) {
  padding: 8px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg-white);
  box-shadow: var(--shadow-1);
}

.flow-visual .arrow {
  color: var(--purple);
  font-family: var(--font-sans);
  font-weight: 800;
}

/* ─── Marquee ─── */
.marquee-section {
  overflow: hidden;
  border-bottom: 1.5px solid var(--border);
  padding: 20px 0 24px;
  background: var(--bg-card);
}

.marquee-label {
  margin-bottom: 14px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.marquee-row {
  position: relative;
  padding: 6px 0;
}

.marquee-fade {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 8%;
}

.marquee-fade--l {
  left: 0;
  background: linear-gradient(to right, var(--bg-card), transparent);
}

.marquee-fade--r {
  right: 0;
  background: linear-gradient(to left, var(--bg-card), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: marquee 40s linear infinite;
}

.marquee-track--reverse {
  animation-name: marquee-reverse;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  background: var(--bg-white);
  box-shadow: 1px 1px 0 var(--border);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* ─── Quotes ─── */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .quote-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .quote-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.quote-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  transform: rotate(var(--r, 0deg));
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.quote-card:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 6px 6px 0 var(--border);
}

.quote-card .stars {
  color: #eab308;
  letter-spacing: 1px;
  font-size: 14px;
}

.quote-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink);
  flex: 1;
}

.quote-card footer {
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.quote-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.quote-card span {
  font-size: 11px;
  color: var(--ink-secondary);
}

.trust-line {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-secondary);
}

/* ─── Privacy / community cards ─── */
.privacy-grid,
.community-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .privacy-grid { grid-template-columns: repeat(3, 1fr); }
  .community-grid { grid-template-columns: repeat(3, 1fr); }
}

.info-card,
.community-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-3);
  padding: 24px;
  transition: transform var(--bounce), box-shadow var(--bounce);
}

.info-card:hover,
.community-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--border);
}

.info-card h3,
.community-card strong {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  display: block;
}

.info-card p,
.community-card span {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-secondary);
  display: block;
}

.community-card em {
  display: inline-block;
  margin-top: 16px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.policy-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-secondary);
}

/* ─── FAQ ─── */
.faq-box {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1.5px solid var(--border-light);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  transition: background 150ms;
}

.faq-q:hover { background: rgba(10, 10, 10, 0.03); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  transition: transform 200ms ease, background 200ms;
}

.faq-item.is-open .faq-icon {
  background: var(--lime);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease, padding 280ms ease;
  padding: 0 18px;
}

.faq-item.is-open .faq-a {
  max-height: 240px;
  padding: 0 18px 18px;
}

.faq-a p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-secondary);
}

/* ─── Final CTA ─── */
.cta-final {
  text-align: center;
  background:
    linear-gradient(to right, rgba(120, 100, 80, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 100, 80, 0.1) 1px, transparent 1px),
    #fbf8f1;
  background-size: 24px 24px, 24px 24px, auto;
}

.cta-final .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-final h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 20px 0 16px;
  max-width: 14ch;
}

.cta-final > .section-inner > p,
.cta-final p.reveal:not(.install-hint) {
  max-width: 480px;
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 8px;
}

.keys {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.key {
  min-width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg-white);
  box-shadow: var(--shadow-2);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.key-plus {
  font-weight: 800;
  color: var(--ink-secondary);
}

.install-hint {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-secondary);
  letter-spacing: 0.02em;
}

/* ─── Footer ─── */
.footer {
  background: var(--bg-card);
  border-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 28px;
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1.8fr;
    padding: 56px 40px 32px;
  }
}

.footer-brand p {
  margin-top: 12px;
  max-width: 28ch;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer-cols h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-cols a {
  display: block;
  font-size: 13px;
  color: var(--ink-secondary);
  margin-bottom: 8px;
  transition: color 150ms;
}

.footer-cols a:hover { color: var(--ink); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  border-top: 1.5px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

@media (min-width: 768px) {
  .footer-bottom { padding: 16px 40px 28px; }
}

/* ─── Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .marquee-track,
  .marquee-track--reverse,
  .hero-orb-ring,
  .hero-float-card,
  .stitch-strip {
    animation: none !important;
  }
  .btn:hover,
  .btn:active {
    transform: none;
  }
}

/* ─── Privacy page ─── */
.page-privacy .section {
  min-height: 60vh;
}

.prose {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prose p + p { margin-top: 16px; }

.prose a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
