:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --panel: #ffffff;
  --panel-2: #f2f2f4;
  --border: #e7e7ec;
  --border-soft: #ededf1;
  --shading: rgba(0, 0, 0, 0.045);
  --skeleton: #dedee4;
  --text: #0d0d0f;
  --text-2: #3d3d44;
  --muted: #6e6e78;
  --accent: #ff4d2e;
  --accent-soft: rgba(255, 77, 46, 0.09);
  --accent-2: #ff7a5c;
  --green: #12a150;
  --green-soft: rgba(18, 161, 80, 0.12);
  --radius: 14px;
  --radius-sm: 9px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 120px;
}

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c9c9d1; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #b3b3bd; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s, transform 0.1s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { background: var(--panel-2); border-color: #d5d5dd; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  font-weight: 600;
}
.btn-primary:hover { background: #000; border-color: #000; }

.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }

.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-sm { padding: 7px 13px; font-size: 13px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: var(--panel-2); color: var(--text); border-color: #d5d5dd; }
.icon-btn svg { width: 17px; height: 17px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: none;
}
.nav .container {
  max-width: none;
  padding: 0 24px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
  padding: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-left: 48px;
  margin-top: 48px;
}
.brand-tag {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  line-height: 1.15;
}
.brand .logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.nav-cta { display: flex; align-items: center; gap: 26px; margin-left: auto; margin-right: 72px; }
.nav-cta .btn { font-size: 18px; }
.login-text {
  font-size: 18px;
  padding: 0;
  gap: 0;
  background: none;
  border: none;
  box-shadow: none;
  color: var(--text);
  transition: opacity 0.2s;
}
.login-text:hover { opacity: 0.8; }
.login-text::before { content: "["; }
.login-text::after { content: "]"; }
.nav-cta .btn-primary { width: 150px; padding: 12px 0; font-size: 18px; transition: opacity 0.2s; }
.nav-cta .btn-primary:hover { opacity: 0.8; background: var(--text); border-color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 0;
  text-align: center;
}
.hero .container { position: relative; z-index: 1; }
.hero-tag {
  position: relative;
  text-align: left;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 8px;
  line-height: 1.3;
}
.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 46, 0.09), transparent 65%);
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  filter: blur(10px);
  display: none;
}
.hero-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 115%;
  max-width: none;
  transform: translate(-50%, -50%) scale(1.6, 1.35);
  z-index: 0;
  pointer-events: none;
  display: none;
}
@media (min-width: 640px) {
  .hero-line { display: none; }
}

.hero-discs {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 72px);
  width: 100%;
  margin-top: 24px;
  padding: 10px 0 70px;
  pointer-events: none;
  user-select: none;
}
.hero-disc {
  position: relative;
  flex-shrink: 0;
}
.disc {
  position: relative;
  border-radius: 50%;
  background-color: #0b0b10;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.12) inset,
    0 2px 6px rgba(255, 255, 255, 0.05) inset;
  will-change: transform;
}
.disc-1 { background-image: url("../assets/discs/disc-1.svg"); }
.disc-2 { background-image: url("../assets/discs/disc-2.svg"); }
.disc-3 { background-image: url("../assets/discs/disc-3.svg"); }
.disc-4 { background-image: url("../assets/discs/disc-4.svg"); }
.disc-lg { width: 292px; height: 292px; }
.disc-mobile { display: none; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-fade {
  display: none;
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 180%;
  height: 240px;
  pointer-events: none;
  background: linear-gradient(to top, var(--bg) 30%, rgba(255, 255, 255, 0.6) 60%, transparent);
  filter: blur(2px);
}

@media (min-width: 768px) {
  .disc-lg { width: 392px; height: 392px; }
}
@media (min-width: 1024px) {
  .disc-lg { width: 435px; height: 435px; }
}
@media (max-width: 639px) {
  .hero-discs { margin-top: 44px; padding-bottom: 60px; }
  .disc-lg { display: none; }
  .disc-mobile { display: block; width: 300px; height: 300px; }
  .hero-fade { display: block; }
}

/* ---------- Walkthrough videos ---------- */
.hero-videos {
  position: relative;
  z-index: 1;
  max-width: 900px;
  height: 640px;
  margin: 140px auto 320px;
}
.hero-videos::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 820px;
  height: 520px;
  border-radius: 24px;
  background: radial-gradient(ellipse at center, rgba(255, 77, 46, 0.18), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

/* Desktop walkthrough: bigger, starts right, lands left */
.hero-desktop {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54%;
  aspect-ratio: 640 / 488;
  border-radius: 18px;
  object-fit: cover;
  background: var(--shading);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.4);
  animation: hero-swap-desktop 1.6s ease-in-out 0.3s forwards;
}

/* iPhone: clean portrait video, starts left, lands right */
.iphone {
  position: absolute;
  bottom: 0;
  width: 32%;
  aspect-ratio: 296 / 640;
  border-radius: 36px;
  overflow: hidden;
  background: var(--shading);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 40px 80px -32px rgba(0, 0, 0, 0.45);
  z-index: 2;
  animation: hero-swap-phone 1.6s ease-in-out 0.3s forwards;
}
.iphone video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes hero-swap-desktop {
  0%   { right: 0; }
  100% { right: 40%; }
}
@keyframes hero-swap-phone {
  0%   { left: 0; }
  100% { left: 60%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-desktop { right: 40%; animation: none; }
  .iphone { left: 60%; animation: none; }
}
@media (max-width: 639px) {
  .hero-videos {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .hero-desktop, .iphone {
    position: static;
    width: 100%;
    max-width: 320px;
  }
  .iphone { border-radius: 26px; }
  .hero-desktop { border-radius: 14px; }
}

/* ---------- Section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-2);
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
}
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 90px 24px 10px;
}
.section-head h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-weight: 700;
  max-width: 760px;
}
.section-head p { color: var(--muted); font-size: 17px; max-width: 560px; }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 112px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.25);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--panel-2);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 15px; font-weight: 600; }
.feature p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
}

/* ---------- Membership band ---------- */
.band {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding: 92px 24px;
}
.band h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 700;
  max-width: 760px;
}

/* ---------- Showcase (feature card rows) ---------- */
.showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 24px 112px;
  width: 100%;
}
.showcase-grid {
  display: flex;
  justify-content: center;
  gap: 44px;
  width: 100%;
  max-width: none;
}
.showcase-card { display: flex; flex-direction: column; gap: 16px; width: 360px; }
.showcase-media {
  width: 360px;
  height: 360px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.28);
  position: relative;
}
.showcase-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.showcase-card .showcase-title {
  min-height: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.showcase-card .showcase-sub {
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.animate-fade-in {
  animation: fade-in 0.9s ease both;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.showcase-sub a { color: var(--accent); font-weight: 500; }
.showcase-sub a:hover { text-decoration: underline; }

/* White space + [untitled] heading before ROW 2 */
.row-spacer {
  height: 160px;
}
.row2 {
  gap: 72px;
}
.row2 .showcase-card { width: 400px; }
.row2 .showcase-media {
  width: 400px;
  height: 400px;
}
.untitled-heading {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  padding: 0 0 120px;
}

/* generic demo scaffolding */
.demo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12%;
}
.demo-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 52px;
  width: 100%;
}
.demo-bars i {
  width: 4px;
  height: 12px;
  border-radius: 2px;
  background: var(--skeleton);
  animation: eq 1s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 45ms);
}
.demo-bars i.accent { background: var(--accent); }
@keyframes eq { 0%, 100% { height: 6px; } 50% { height: 24px; } }

/* organize / folders demo */
.demo-folders { gap: 10px; width: 100%; max-width: 250px; }
.demo-folder-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  padding: 12px 14px;
}
.demo-folder-card.on {
  border-color: rgba(255, 77, 46, 0.5);
  background: var(--accent-soft);
}
.demo-fdot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.demo-fname { flex: 1; height: 9px; border-radius: 5px; background: var(--skeleton); }
.demo-fcount { height: 8px; width: 26px; border-radius: 5px; background: var(--skeleton); }

/* share / who listens demo */
.demo-share { gap: 14px; }
.demo-listen {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
}
.demo-listen .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }

/* upload demo */
.demo-upload { gap: 16px; }
.demo-uploadico {
  width: 66px;
  height: 66px;
  border-radius: 19px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-uploadico svg { width: 28px; height: 28px; }
.demo-upload-rows { width: 100%; max-width: 220px; display: flex; flex-direction: column; gap: 7px; }
.demo-upload-rows i { height: 11px; border-radius: 6px; background: var(--skeleton); }
.demo-upload-rows i:nth-child(1) { width: 100%; }
.demo-upload-rows i:nth-child(2) { width: 82%; }
.demo-upload-rows i:nth-child(3) { width: 92%; }

/* offline demo */
.demo-offline { gap: 16px; }
.demo-offline-ring {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lock-pulse 3s ease-in-out infinite;
}
.demo-offline-ring svg { width: 32px; height: 32px; }

/* pitch/speed demo */
.demo-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 260px;
}
.demo-tick { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.demo-slider {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--skeleton);
}
.demo-slider-thumb {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* password demo */
.demo-password .demo-lock {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lock-pulse 2.4s ease-in-out infinite;
}
.demo-lock svg { width: 28px; height: 28px; }
.demo-pill {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  letter-spacing: 0.02em;
}
@keyframes lock-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 46, 0.14); }
  50% { box-shadow: 0 0 0 14px transparent; }
}

/* loop/trim demo */
.demo-loop { justify-content: center; gap: 10px; }
.demo-loop-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
}
.demo-region {
  position: absolute;
  top: -6px;
  bottom: -6px;
  border-radius: 8px;
  background: rgba(255, 77, 46, 0.16);
  border: 1px solid rgba(255, 77, 46, 0.5);
  pointer-events: none;
}
.demo-handles { display: flex; gap: 8px; }
.demo-handle {
  width: 34px;
  height: 7px;
  border-radius: 4px;
  background: var(--skeleton);
  position: relative;
}
.demo-handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 15px;
  border-radius: 2px;
  background: var(--muted);
}

/* snippets demo */
.demo-phone {
  width: 132px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.3);
}
.demo-story-dots { display: flex; gap: 5px; width: 100%; }
.demo-story-dots span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--skeleton);
}
.demo-story-dots span.on { background: var(--accent); }
.demo-bars.demo-bars-sm { height: 40px; }
.demo-bars.demo-bars-sm i { width: 3px; }
.demo-phone-foot {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  color: var(--accent);
}
.demo-phone-foot svg { width: 15px; height: 15px; }

/* record demo */
.demo-record { position: relative; }
.demo-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  transform: translate(-50%, -50%);
  animation: ring-pulse 2.2s ease-out infinite;
}
.demo-ring.r1 { width: 96px; height: 96px; animation-delay: 0s; }
.demo-ring.r2 { width: 96px; height: 96px; animation-delay: 0.7s; }
.demo-ring.r3 { width: 96px; height: 96px; animation-delay: 1.4s; }
@keyframes ring-pulse {
  0% { opacity: 0.9; transform: translate(-50%, -50%) scale(0.55); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); }
}
.demo-rec {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(255, 77, 46, 0.55);
  z-index: 1;
}
.demo-rec svg { width: 30px; height: 30px; }

/* versions demo */
.demo-versions { gap: 10px; width: 100%; max-width: 250px; }
.demo-ver {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-2);
  position: relative;
}
.demo-ver.on {
  border-color: rgba(255, 77, 46, 0.5);
  background: var(--accent-soft);
  color: var(--text);
}
.demo-ver.on::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
}

/* drag & drop demo */
.demo-drag { gap: 14px; }
.demo-window {
  width: 100%;
  max-width: 250px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.demo-windowbar {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--panel-2);
}
.demo-windowbar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9c9d1;
}
.demo-windowrow {
  height: 12px;
  border-radius: 6px;
  background: var(--skeleton);
  margin: 9px 10px;
}
.demo-windowrow.on { background: rgba(255, 77, 46, 0.35); }
.demo-folder {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px dashed var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: drop-bob 2.6s ease-in-out infinite;
}
.demo-folder svg { width: 26px; height: 26px; }
@keyframes drop-bob {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(6px); }
}

/* security demo */
.demo-security { gap: 18px; }
.demo-shield {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lock-pulse 3s ease-in-out infinite;
}
.demo-shield svg { width: 40px; height: 40px; }
.demo-encrypt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .showcase { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase { padding: 16px 18px 64px; }
  .band { padding: 72px 20px; }
  .section-head { padding: 70px 20px 8px; }
}

/* ---------- Made in Brooklyn ---------- */
.brooklyn {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 6px 20px 76px;
}

/* ---------- Footer ---------- */
.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 24px 0 40px;
  pointer-events: none;
}
.footer-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0 64px;
}
.footer-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  pointer-events: auto;
}
.footer-pill-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--shading);
  border-radius: 999px;
  padding: 12px 16px;
}
.footer-pill-group a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}
.footer-pill-group a:hover { color: var(--text); }
.btn-hiring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
}
.btn-hiring:hover { background: #000; }
.footer-center {
  position: relative;
  display: none;
  pointer-events: auto;
}
@media (min-width: 1024px) {
  .footer-center { display: block; }
}
.btn-learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
}
.btn-learn:hover { color: var(--text); background: var(--shading); }
.learn-chev { width: 16px; height: 16px; transition: transform 0.2s; }
.btn-learn.open .learn-chev { transform: rotate(180deg); }
.learn-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.25);
  padding: 8px;
  display: none;
  flex-direction: column;
}
.learn-menu.open { display: flex; }
.learn-menu a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.learn-menu a:hover { background: var(--panel-2); color: var(--text); }
.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  pointer-events: auto;
}
.os-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--shading);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}
.os-btn:hover { background: rgba(0, 0, 0, 0.09); color: var(--text); }
.os-icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

@media (max-width: 767px) {
  .footer { padding: 16px 16px 24px; }
  .footer-bar { flex-direction: column-reverse; align-items: center; padding: 0; gap: 14px; }
  .footer-left { justify-content: center; }
  .footer-right { justify-content: center; }
}

/* ---------- Site footer (very bottom) ---------- */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
  padding: 24px 0;
}
.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 64px;
}
.site-footer-logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  background: none;
  padding: 0;
}
.site-footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
}
.site-footer-legal a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.site-footer-legal a:hover { color: var(--text); }

@media (max-width: 767px) {
  .site-footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-footer-legal { gap: 16px; }
  .site-footer-legal a { font-size: 12px; }
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 24, 0.5);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: 100%;
  max-width: 440px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  animation: pop 0.25s ease;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.35);
}
@keyframes pop { from { transform: translateY(12px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.modal p.sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-2); font-weight: 500; margin-bottom: 7px; }
.field input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus { border-color: var(--accent); }
.modal .row { display: flex; gap: 10px; }
.modal .row .btn { flex: 1; }
.modal .alt { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.modal .alt a { color: var(--text); font-weight: 600; }
.modal .alt a:hover { text-decoration: underline; }

/* ---------- Login page ---------- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 40px 20px;
}
.safari-screen {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 480px;
}
.login-brand {
  position: fixed;
  top: 24px;
  left: 56px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.login-tagline {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: center;
  max-width: 24rem;
  margin: 20px auto 20px;
}
.nowrap { white-space: nowrap; }
.amulet-box {
  background: linear-gradient(180deg, #f0f0f4 0%, #cfcfd7 100%);
  border-radius: 20px;
  padding: 6px;
  margin: 0 auto 32px;
}
.amulet {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto;
}
.amulet-clip-mask { border-radius: 50%; }
.amulet-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.amulet-ring {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
}
.amulet-art {
  position: absolute;
  inset: 8%;
  overflow: hidden;
  border-radius: 50%;
}
.amulet-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cfcfd7;
}
.cd-mask { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.spin { animation: spin 30s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.login-actions {
  width: 100%;
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.login-oauth {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 300px;
  max-width: 100%;
  padding: 13px 18px;
  border: none;
  border-radius: 24px;
  background: var(--shading);
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.3s;
}
.login-oauth:hover { opacity: 0.8; }
.login-oauth-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.login-oauth-inner svg {
  position: absolute;
  left: 2px;
}
.login-oauth-label {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.login-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  max-width: 100%;
  padding: 13px;
  border: none;
  border-radius: 24px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}
.login-phone:hover { opacity: 0.8; }
.login-legal {
  margin-top: 48px;
  width: 300px;
  max-width: 100%;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-2);
}
.login-legal a {
  color: var(--text);
  text-decoration: underline;
  transition: opacity 0.15s;
}
.login-legal a:hover { opacity: 0.8; }
.phone-sub {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  margin: -12px 0 24px;
}
.phone-form {
  width: 300px;
  max-width: 100%;
}
.phone-back {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}
.phone-back:hover { color: var(--text); }
.phone-modal-card {
  width: 350px;
  max-width: calc(100vw - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  animation: pop 0.25s ease;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.35);
}
@media (min-width: 640px) {
  .phone-modal-card { width: 390px; }
}
.phone-modal-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 260px;
  text-align: center;
}
.phone-modal-text {
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 24px;
}
.phone-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.phone-btn-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.phone-btn-inner svg {
  position: absolute;
  left: 2px;
}
.phone-btn-spacer { flex: 1; }
.w-full { width: 100%; }
.btn.is-primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  font-weight: 600;
}
.btn.is-primary:hover { background: #000; border-color: #000; }
.btn.is-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  font-weight: 600;
}
.btn.is-secondary:hover { background: var(--bg-soft); border-color: #d5d5dd; }
.body-semibold { font-weight: 600; }
.cursor-pointer { cursor: pointer; }

/* ---------- Phone sign-in page ---------- */
.phone-card {
  width: 342px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 24px 24px;
}
.phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.phone-country {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 14px 14px;
  background: var(--shading);
  border-radius: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.phone-country:hover { opacity: 0.8; }
.phone-country-flag { font-size: 18px; line-height: 1; }
.phone-country-code { font-size: 15px; font-weight: 600; color: var(--text); }
.phone-country-chev {
  margin-left: 4px;
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.phone-field { flex: 1; margin: 0; }
.phone-field input {
  height: 54px;
  width: 100%;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-field input::placeholder { color: var(--muted); }
.phone-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.phone-field input.error {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 77, 46, 0.25);
}
.btn.is-primary:disabled { opacity: 0.55; cursor: default; }
.phone-country-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: 280px;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.35);
  z-index: 20;
  overflow: hidden;
}
.phone-country-menu.open { display: flex; }
.phone-country-search {
  margin: 10px 10px 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.phone-country-search:focus { border-color: var(--accent); }
.phone-country-list { overflow-y: auto; max-height: 260px; }
.phone-country-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border: none;
  background: none;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
}
.phone-country-menu button:hover { background: var(--bg-soft); }
.phone-opt-flag { font-size: 17px; line-height: 1; flex-shrink: 0; }
.phone-opt-code { margin-left: auto; color: var(--muted); font-size: 13px; }
.phone-card .field { width: 100%; margin: 0; }
.phone-recovery {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: opacity 0.2s;
}
.phone-recovery:hover { opacity: 0.7; }

/* ---------- Phone verify ---------- */
.verify-view { padding-top: 6px; }
.verify-amulet { margin-bottom: 26px; }
.verify-amulet .amulet { width: 210px; height: 210px; }
.verify-head { text-align: center; margin-bottom: 4px; }
.verify-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  margin: 0 0 8px;
}
.verify-sub {
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
}
.verify-view .field { width: 100%; margin: 0; }
.verify-view .field input {
  height: 54px;
  width: 100%;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.verify-view .field input::placeholder { color: var(--muted); }
.verify-view .field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.btn.is-disabled { opacity: 0.5; cursor: default; pointer-events: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .spin { animation-duration: 30s !important; }
  .reveal { opacity: 1; transform: none; }
}
