*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --paper: #f0ebe3;
  --paper-dark: #e6dfd4;
  --ink: #1a1a18;
  --ink-light: #4a4a45;
  --accent: #c54b2a;
  --serif: 'Playfair Display', 'Georgia', serif;
  --serif-display: 'DM Serif Display', 'Georgia', serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== LOADER ===== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-text {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(48px, 10vw, 120px);
  color: var(--paper);
  overflow: hidden;
}
.loader-text span {
  display: inline-block;
  transform: translateY(120%);
  animation: loaderUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes loaderUp {
  to { transform: translateY(0); }
}
.loader-bar {
  width: 200px; height: 2px; background: #333; border-radius: 2px; overflow: hidden;
}
.loader-bar-inner {
  height: 100%; background: var(--accent);
  animation: loaderFill 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes loaderFill { to { width: 100%; } }
.loader-bar-inner { width: 0%; }

/* ===== CURSOR FOLLOWER ===== */
.cursor-glow {
  position: fixed; left: 0; top: 0;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,75,42,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  will-change: transform;
}

/* ===== TOPBAR ===== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 40px;
  background: rgba(240, 235, 227, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26,26,24,0.1);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  transform: translateY(-100%);
  animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.8s forwards;
}
@keyframes slideDown { to { transform: translateY(0); } }
.topbar-logo { font-family: var(--serif); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: none; display: inline-flex; align-items: center; gap: 10px; }
.topbar-icon { border-radius: 7px; display: block; flex-shrink: 0; }
a.topbar-logo { color: inherit; text-decoration: none; }
.topbar-right { display: flex; gap: 24px; align-items: center; }
.topbar-right a {
  color: var(--ink); text-decoration: none; position: relative;
  transition: color 0.3s;
}
.topbar-right a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px;
  background: var(--accent); transition: width 0.3s;
}
.topbar-right a:hover::after { width: 100%; }
.topbar-right a:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  padding: 120px 40px 0; min-height: 100vh;
  perspective: 1200px;
  border-bottom: 1px solid var(--ink);
  position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(var(--ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
}
@keyframes gridShift { to { background-position: 60px 60px; } }

.hero-date-row {
  display: flex; justify-content: space-between;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 20px; color: var(--ink-light);
}
.hero-meta { margin-bottom: 20px; }
.hero-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-light); margin-bottom: 14px;
  opacity: 0; animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.9s forwards;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hero-badges span {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 6px 12px; border: 1px solid rgba(26,26,24,0.2);
  color: var(--ink-light); border-radius: 2px;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-badges span:nth-child(1) { animation-delay: 2.0s; }
.hero-badges span:nth-child(2) { animation-delay: 2.05s; }
.hero-badges span:nth-child(3) { animation-delay: 2.1s; }
.hero-badges span:nth-child(4) { animation-delay: 2.15s; }
.hero-badges span:nth-child(5) { animation-delay: 2.2s; }
.hero-date-row span {
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-date-row span:nth-child(1) { animation-delay: 1.9s; }
.hero-date-row span:nth-child(2) { animation-delay: 2.0s; }
.hero-date-row span:nth-child(3) { animation-delay: 2.1s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-masthead {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.88; letter-spacing: -0.03em;
  text-align: center; padding: 20px 0 30px;
  position: relative;
}
.hero-masthead .char {
  display: inline-block;
  opacity: 0; transform: translateY(100%) rotateX(-80deg);
  animation: charReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: bottom center;
}
@keyframes charReveal { to { opacity: 1; transform: translateY(0) rotateX(0deg); } }

.hero-masthead .line-through { position: relative; display: inline; }
.hero-masthead .line-through::after {
  content: ''; position: absolute;
  left: -5%; right: -5%; top: 52%; height: 6px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  animation: lineGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2.6s forwards;
}
@keyframes lineGrow { to { transform: scaleX(1); } }

.hero-subtitle-row {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 30px; align-items: start; padding: 20px 0 40px;
  border-top: 1px solid var(--ink);
}
.hero-subtitle-left {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 52px);
  font-weight: 900; line-height: 1.05;
}
.hero-subtitle-left .word {
  display: inline-block; overflow: hidden;
}
.hero-subtitle-left .word span {
  display: inline-block; opacity: 0; transform: translateY(100%);
  animation: wordUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes wordUp { to { opacity: 1; transform: translateY(0); } }
.hero-subtitle-center {
  font-size: 13px; line-height: 1.6; max-width: 240px;
  color: var(--ink-light); padding-top: 6px;
  opacity: 0; animation: fadeUp 0.8s ease 3s forwards;
}
.floating-store-badge {
  position: absolute;
  right: clamp(24px, 7vw, 100px);
  bottom: clamp(72px, 12vw, 140px);
  width: clamp(220px, 21vw, 330px);
  z-index: 3;
  display: block;
  opacity: 0;
  transform: translateY(26px) rotate(-3deg);
  animation: badgeFloatIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 3.15s forwards, badgeFloat 5s ease-in-out 4s infinite;
  filter: drop-shadow(0 24px 40px rgba(26,26,24,0.22));
}
.floating-store-badge img {
  display: block;
  width: 100%;
  height: auto;
}
.floating-store-badge:hover {
  filter: drop-shadow(0 30px 56px rgba(197,75,42,0.28));
}
@keyframes badgeFloatIn {
  to { opacity: 1; transform: translateY(0) rotate(-3deg); }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}
.hero-subtitle-right {
  text-align: right; font-family: var(--sans); font-size: 13px;
  line-height: 1.8; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em;
  opacity: 0; animation: fadeUp 0.8s ease 3.1s forwards;
}

/* 3D floating phone in hero */
.hero-phone-float {
  position: absolute; right: 6%; bottom: -60px;
  width: 180px; perspective: 800px;
  opacity: 0; animation: floatIn 1s cubic-bezier(0.16, 1, 0.3, 1) 2.8s forwards;
  z-index: 2;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(60px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-phone-float .phone-3d {
  transform-style: preserve-3d;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-3deg) rotateX(2deg) translateY(-15px); }
}
.hero-phone-float .phone-3d-inner {
  background: #fff; border-radius: 32px; padding: 10px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.18),
    0 0 0 1px rgba(0,0,0,0.05),
    20px 20px 60px rgba(0,0,0,0.1);
  transform-style: preserve-3d;
}
.hero-phone-float .phone-3d-inner img {
  width: 100%; border-radius: 24px; display: block;
}
.hero-phone-float .phone-shadow {
  position: absolute; bottom: -30px; left: 10%; right: 10%; height: 40px;
  background: rgba(0,0,0,0.15); border-radius: 50%;
  filter: blur(20px);
  animation: shadowFloat 6s ease-in-out infinite;
}
@keyframes shadowFloat {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(0.85); opacity: 0.3; }
}

/* ===== TORN EDGES ===== */
.torn-edge {
  width: 100%; height: 50px; background: var(--ink);
  position: relative; overflow: hidden;
}
.torn-edge::after {
  content: ''; position: absolute; bottom: -1px; left: -10px; right: -10px;
  height: 30px; background: var(--paper);
  border-radius: 80% 60% 70% 50% / 100% 100% 0% 0%;
  filter: url(#torn-filter);
}
.torn-edge-top {
  width: 100%; height: 50px; background: var(--ink);
  position: relative; overflow: hidden;
}
.torn-edge-top::before {
  content: ''; position: absolute; top: -1px; left: -10px; right: -10px;
  height: 30px; background: var(--paper);
  border-radius: 0% 0% 70% 80% / 0% 0% 100% 100%;
  filter: url(#torn-filter);
}

/* ===== SCROLL REVEAL ===== */
[data-scroll] {
  opacity: 0; transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-scroll="up"] { transform: translateY(60px); }
[data-scroll="left"] { transform: translateX(-80px); }
[data-scroll="right"] { transform: translateX(80px); }
[data-scroll="scale"] { transform: scale(0.88) rotateX(8deg); }
[data-scroll="flip"] { transform: perspective(800px) rotateY(30deg); }
[data-scroll="flip-left"] { transform: perspective(800px) rotateY(-30deg); }
[data-scroll].in-view {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) rotateX(0deg) rotateY(0deg) !important;
}

/* ===== DARK FEATURES ===== */
.dark-section {
  background: var(--ink); color: var(--paper);
  padding: 100px 40px; perspective: 1000px;
}
.features-header { text-align: center; margin-bottom: 70px; }
.features-header h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(48px, 8vw, 120px); line-height: 0.95; letter-spacing: -0.02em;
}
.features-header p { font-size: 15px; color: #a09e98; margin-top: 16px; letter-spacing: 0.03em; }
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; max-width: 1100px; margin: 0 auto;
}
.feature-card {
  border: 1px solid #333; padding: 44px 36px;
  position: relative; overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s;
  transform-style: preserve-3d;
  cursor: default;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(197,75,42,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { background: #222; transform: translateZ(10px); }
.feature-num {
  font-family: var(--serif); font-size: 11px; color: #555;
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px;
}
.feature-title {
  font-family: var(--serif); font-size: 28px; font-weight: 700;
  margin-bottom: 12px; line-height: 1.15;
}
.feature-desc { font-size: 14px; line-height: 1.6; color: #a09e98; }
.feature-tag {
  display: inline-block; background: var(--accent); color: white;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 3px 8px; border-radius: 2px; margin-left: 8px; vertical-align: middle;
}

/* ===== OVERVIEW ===== */
.overview-section {
  padding: 100px 40px;
  background: var(--paper);
  border-bottom: 1px solid rgba(26,26,24,0.1);
}
.overview-inner { max-width: 900px; margin: 0 auto; }
.overview-section h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em; margin-bottom: 32px;
}
.overview-copy p {
  font-size: 16px; line-height: 1.75; color: var(--ink-light);
  margin-bottom: 20px;
}
.quick-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 48px;
  border: 1px solid rgba(26,26,24,0.12);
}
.quick-fact {
  padding: 20px 24px; background: var(--paper-dark);
  display: flex; flex-direction: column; gap: 6px;
}
.quick-fact-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); font-weight: 700;
}
.quick-fact-value { font-size: 14px; line-height: 1.5; color: var(--ink); }

/* ===== SHARED PRODUCT SECTIONS ===== */
.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-heading h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
}
.section-heading p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-light);
  font-size: 15px;
  line-height: 1.7;
}

/* ===== WORKFLOW ===== */
.workflow-section {
  padding: 100px 40px;
  background: var(--paper-dark);
}
.workflow-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid rgba(26,26,24,0.12);
}
.workflow-card {
  min-height: 250px;
  padding: 34px 30px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.workflow-card span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
}
.workflow-card h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.05;
  margin: auto 0 14px;
}
.workflow-card p {
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.65;
}

/* ===== DEMO VIDEO ===== */
.demo-section {
  padding: 100px 40px;
  background: var(--paper-dark);
}
.demo-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr minmax(240px, 300px);
  gap: 60px; align-items: center;
}
.demo-copy h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px;
}
.demo-copy p { font-size: 15px; line-height: 1.7; color: var(--ink-light); }
.demo-video-wrap {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
  border: 1px solid rgba(26,26,24,0.08);
  background: #000;
  line-height: 0;
}
.demo-video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ===== APP SCREENS ===== */
.screens-section {
  padding: 100px 40px;
  background: var(--paper);
}
.screens-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}
.screen-card {
  min-width: 0;
  background: var(--paper-dark);
  border: 1px solid rgba(26,26,24,0.1);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.screen-card.large {
  grid-row: span 2;
}
.screen-card img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  object-position: top center;
  background: #10100f;
  border-radius: 22px;
  display: block;
}
.screen-card.large img {
  height: 640px;
}
.screen-card figcaption {
  color: var(--ink-light);
  font-size: 13px;
  line-height: 1.55;
}

/* ===== TRUST ===== */
.trust-section {
  padding: 100px 40px;
  background: var(--paper);
  border-top: 1px solid rgba(26,26,24,0.1);
}
.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.trust-grid article {
  padding: 28px;
  background: var(--paper-dark);
  border: 1px solid rgba(26,26,24,0.08);
}
.trust-grid h3 {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.trust-grid p {
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.65;
}
.trust-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-actions a,
.text-arrow-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}
.trust-actions a:hover,
.text-arrow-link:hover {
  color: var(--accent);
}

/* ===== COMMUNITY PREVIEW ===== */
.community-preview-section {
  padding: 80px 40px;
  background: #10100f;
  color: var(--paper);
  border-top: 1px solid #242422;
}
.community-preview-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.community-preview-section h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  margin: 12px 0 14px;
}
.community-preview-section p {
  max-width: 560px;
  color: #a09e98;
  font-size: 15px;
  line-height: 1.7;
}
.community-preview-section .text-arrow-link {
  color: var(--paper);
  white-space: nowrap;
}

/* ===== COMMUNITY BOARD ===== */
.community-section {
  padding: 110px 40px;
  background: #090908;
  color: var(--paper);
  border-top: 1px solid #242422;
  overflow: hidden;
}
.community-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.community-copy {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}
.section-kicker {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.community-copy h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.02em;
}
.community-copy p {
  max-width: 430px;
  color: #a09e98;
  font-size: 15px;
  line-height: 1.7;
  justify-self: end;
}
.community-board {
  background: #0d0d0c;
  border: 1px solid #2c2c2a;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 50px 110px rgba(0,0,0,0.32);
}
.community-board-top {
  min-height: 64px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid #222220;
}
.community-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.community-brand img { border-radius: 8px; }
.community-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
}
.community-tabs a,
.community-signup,
.community-primary,
.board-list button {
  color: inherit;
  text-decoration: none;
}
.community-tabs a {
  color: #85827b;
  font-size: 14px;
  padding: 23px 0 20px;
  border-bottom: 2px solid transparent;
}
.community-tabs a.active {
  color: var(--paper);
  border-color: var(--paper);
}
.community-signup,
.community-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  background: #5b3ff0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 16px 42px rgba(91,63,240,0.26);
}
.community-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 28px;
  border-bottom: 1px solid #191918;
  color: #85827b;
  font-size: 12px;
}
.community-filters span,
.feedback-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}
.status-dot.pending { background: #f5a400; }
.status-dot.planned { background: #2f6fff; }
.status-dot.progress { background: #8a4cf6; }
.status-dot.done,
.board-list span.green { background: #00d36f; }
.board-list span.red { background: #ff3f4e; }
.board-list span.blue { background: #2f6fff; }
.board-list span.orange { background: #f5a400; }
.community-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 28px;
  padding: 28px;
}
.feedback-list {
  min-width: 0;
}
.feedback-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #1e1e1c;
}
.feedback-item:first-child { padding-top: 0; }
.feedback-item:last-child { border-bottom: none; padding-bottom: 0; }
.feedback-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #242422;
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
}
.feedback-meta {
  color: #8a867e;
  font-size: 12px;
  margin-bottom: 6px;
}
.feedback-content h3 {
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 8px;
}
.feedback-content p {
  color: #aaa59d;
  font-size: 14px;
  line-height: 1.55;
  max-width: 680px;
}
.feedback-tags {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  color: #8a867e;
  font-size: 12px;
}
.vote-count {
  align-self: center;
  min-width: 42px;
  padding: 6px 10px;
  border: 1px solid #2a2a28;
  border-radius: 999px;
  color: #d8d3ca;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.vote-count::before {
  content: '^ ';
  color: #8a867e;
}
.community-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid #2c2c2a;
  border-radius: 16px;
  background: #151513;
}
.feedback-form h3 {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 2px;
}
.feedback-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #9d978f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  border: 1px solid #2c2c2a;
  border-radius: 10px;
  background: #0d0d0c;
  color: var(--paper);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  padding: 11px 12px;
  outline: none;
}
.feedback-form textarea {
  min-height: 96px;
  resize: vertical;
}
.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  border-color: var(--accent);
}
.feedback-form-status {
  min-height: 18px;
  color: #9d978f;
  font-size: 12px;
  line-height: 1.5;
}
.feedback-form-status.success { color: #00d36f; }
.feedback-form-status.error { color: #ff6b74; }
.community-primary {
  width: 100%;
  min-height: 48px;
  border: none;
  cursor: pointer;
}
.board-list {
  border: 1px solid #2c2c2a;
  border-radius: 16px;
  padding: 10px;
  background: #151513;
}
.board-list-label {
  padding: 8px 10px 10px;
  color: #77736c;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.board-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: none;
  color: #b9b4ad;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.board-list button.active {
  background: #242422;
  color: var(--paper);
}
.board-list span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b9b4ad;
  flex-shrink: 0;
}
.community-note {
  color: #96918a;
  font-size: 13px;
  line-height: 1.6;
  padding: 16px;
  border-left: 2px solid var(--accent);
  background: rgba(255,255,255,0.035);
}
.community-note strong { color: var(--paper); }
.feedback-loading,
.feedback-empty {
  color: #9d978f;
  padding: 24px 0;
  font-size: 14px;
}
.vote-count {
  cursor: pointer;
  background: transparent;
}
.vote-count:hover {
  border-color: var(--accent);
  color: var(--paper);
}

/* ===== COMMUNITY PAGE ===== */
.community-page {
  background: #090908;
}
.community-hero {
  padding: 140px 40px 64px;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: end;
  color: var(--paper);
}
.community-hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: 780px;
  margin: 16px 0 24px;
}
.community-hero p {
  color: #a09e98;
  font-size: 16px;
  line-height: 1.75;
  max-width: 620px;
}
.community-hero-panel {
  border: 1px solid #2c2c2a;
  border-radius: 18px;
  padding: 22px;
  background: #151513;
}
.community-hero-panel span {
  color: #00d36f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.community-hero-panel strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  margin: 8px 0 14px;
}
.community-hero-panel p {
  font-size: 13px;
  line-height: 1.6;
}
.community-page-section {
  padding-top: 0;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--ink); color: var(--paper);
  padding: 120px 40px; text-align: center;
  perspective: 800px; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(197,75,42,0.12) 0%, transparent 60%);
}
.cta-logo {
  width: 90px; height: 90px; border-radius: 22px;
  margin: 0 auto 30px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  animation: logoBob 4s ease-in-out infinite;
}
@keyframes logoBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
.cta-logo img { width: 100%; height: 100%; object-fit: cover; }
.cta-section h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(40px, 7vw, 100px); line-height: 0.95;
  margin-bottom: 24px; letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.cta-section > p {
  font-size: 16px; color: #a09e98; margin-bottom: 40px;
  max-width: 440px; margin-left: auto; margin-right: auto;
  line-height: 1.6; position: relative; z-index: 1;
}
.cta-actions {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-store-badge {
  display: block;
  width: clamp(230px, 24vw, 330px);
  filter: drop-shadow(0 24px 50px rgba(0,0,0,0.35));
  animation: badgeFloat 5s ease-in-out infinite;
}
.cta-store-badge img {
  display: block;
  width: 100%;
  height: auto;
}
.cta-note {
  font-size: 12px;
  line-height: 1;
  color: #8f8b84;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ===== FOOTER ===== */
.footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 40px; background: var(--ink); color: #666;
  font-size: 12px; border-top: 1px solid #333;
}
.footer a { color: #888; text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: var(--paper); }
.footer-links { display: flex; gap: 20px; }

/* ===== MAGNETIC BUTTON ===== */
.magnetic { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }

/* ===== DASHED ===== */
.dashed-divider { border: none; border-top: 2px dashed var(--ink); margin: 0 40px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .topbar {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .topbar > div:nth-child(2) { display: none; }
  .topbar-logo { font-size: 13px; }
  .topbar-right {
    flex: 1 1 100%;
    justify-content: center;
    gap: 14px 18px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  [data-scroll="left"],
  [data-scroll="right"] { transform: translateY(40px); }
  .hero { padding: 96px 20px 0; min-height: auto; }
  .hero-masthead {
    font-size: clamp(56px, 16vw, 120px);
    padding: 12px 0 24px;
  }
  .hero-badges { gap: 6px; }
  .hero-badges span { font-size: 9px; padding: 5px 10px; }
  .hero-subtitle-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px 0 32px;
  }
  .hero-subtitle-left { font-size: clamp(24px, 7vw, 40px); }
  .hero-subtitle-center { max-width: none; }
  .hero-subtitle-right { text-align: left; }
  .floating-store-badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(290px, 82vw);
    margin: 4px 0 36px;
    transform: none;
  }
  .hero-phone-float { display: none; }
  .overview-section, .demo-section { padding: 60px 20px; }
  .workflow-section,
  .screens-section,
  .trust-section,
  .community-preview-section {
    padding: 60px 20px;
  }
  .section-heading {
    text-align: left;
    margin-bottom: 28px;
  }
  .section-heading p {
    margin-left: 0;
  }
  .workflow-grid,
  .trust-grid,
  .screens-grid,
  .community-preview-inner,
  .community-hero {
    grid-template-columns: 1fr;
  }
  .workflow-card {
    min-height: 210px;
    padding: 28px 24px;
  }
  .screen-card.large {
    grid-row: auto;
  }
  .screen-card img,
  .screen-card.large img {
    height: min(560px, 120vw);
  }
  .community-preview-inner {
    gap: 24px;
    align-items: start;
  }
  .community-preview-section .text-arrow-link {
    justify-self: start;
  }
  .community-hero {
    padding: 120px 20px 44px;
    gap: 28px;
  }
  .quick-facts { grid-template-columns: 1fr; }
  .demo-inner { grid-template-columns: 1fr; gap: 32px; }
  .demo-video-wrap { max-width: min(280px, 100%); }
  .features-header { margin-bottom: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 32px 24px; }
  .feature-title { font-size: 24px; }
  .community-section { padding: 64px 20px; }
  .community-copy {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }
  .community-copy p {
    justify-self: start;
    max-width: none;
  }
  .community-board-top {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }
  .community-tabs {
    gap: 18px;
    overflow-x: auto;
  }
  .community-tabs a { padding: 0 0 12px; white-space: nowrap; }
  .community-signup { width: 100%; }
  .community-filters { padding: 14px 18px; gap: 12px; }
  .community-layout {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .feedback-item {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }
  .vote-count {
    grid-column: 2;
    justify-self: start;
  }
  .feedback-tags { flex-wrap: wrap; }
  .feedback-form { padding: 14px; }
  .dark-section, .cta-section { padding: 60px 20px; }
  .cta-section { padding: 80px 20px; }
  .cta-section h2 { font-size: clamp(36px, 10vw, 64px); }
  .loader { display: none; }
  .loader.hidden { display: none; }
  [data-scroll] {
    opacity: 1;
    transform: none !important;
    transition: none;
  }
  .floating-store-badge,
  .cta-store-badge,
  .cta-logo {
    animation: none;
  }
  .footer {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    text-align: center;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .dashed-divider { margin: 0 20px; }
  .cursor-glow { display: none; }
}

/* ===== LEGAL PAGES ===== */
.topbar-simple { transform: translateY(0); animation: none; }
.topbar-logo a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.legal-page {
  padding: 120px 40px 80px;
  max-width: 780px;
  margin: 0 auto;
}
.legal-page h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  margin-bottom: 8px;
}
.legal-date { font-size: 13px; color: var(--ink-light); margin-bottom: 32px; }
.legal-summary {
  background: var(--paper-dark);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.legal-page h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--ink);
}
.legal-page p,
.legal-page li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-light);
  margin-bottom: 16px;
}
.legal-page ul { padding-left: 24px; margin-bottom: 16px; }
.legal-page a { color: var(--accent); }
.legal-contact {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(26, 26, 24, 0.15);
}
@media (max-width: 768px) {
  .legal-page { padding: 100px 20px 60px; }
}
