@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap');

:root {
  --black: #000000;
  --charcoal-1: #1c1c1e;
  --charcoal-2: #2c2c2e;
  --cream: #f2eee5;
  --white: #ffffff;
  --muted: #9a9a9d;
  --hairline: rgba(255,255,255,0.12);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; max-width: 100%; overflow-x: hidden; }
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; width: 0; height: 0; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none;
}
body::-webkit-scrollbar { display: none; width: 0; height: 0; }
a { color: var(--white); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* Top logo row */
.brandbar {
  position: fixed;
  top: 28px;
  left: 24px;
  z-index: 50;
}
.brandbar img { height: 32px; display: block; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 40px;
}
.hero h1 {
  font-size: 11vw;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: 0 0 20px;
}
@media (min-width: 640px) {
  .hero h1 { font-size: 48px; }
}

.tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tag {
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--white);
  white-space: nowrap;
}

.hero p.sub {
  color: #d8d8d8;
  font-size: 16px;
  max-width: 420px;
  margin: 0 0 28px;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}
.btn-primary { background: var(--cream); color: #14120e; }
.btn-primary:hover { opacity: 0.9; }

/* Bottom hairline info bar */
.infobar {
  border-top: 1px solid var(--hairline);
  margin-top: 32px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.infobar .eyebrow { font-size: 11px; }

footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0;
  background: var(--black);
}
footer .wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer .links { display: flex; gap: 18px; font-size: 14px; }
footer .links a { color: var(--muted); text-decoration: none; }
footer .links a:hover { color: var(--white); }
footer .muted { color: var(--muted); font-size: 13px; }

/* Scroll fade-in */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

section.block { padding-top: 56px; padding-bottom: 40px; }
section.carousel-block { padding-top: 0; margin-top: -12px; }

/* Carousel */
.carousel {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 18px;
  scroll-padding-inline: 18px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-card {
  position: relative;
  flex: 0 0 44%;
  aspect-ratio: 3/5;
  border-radius: 0;
  overflow: hidden;
  scroll-snap-align: start;
  background: linear-gradient(160deg, var(--charcoal-2) 0%, var(--charcoal-1) 60%, #101011 100%);
}
.carousel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,0.75) 100%);
}
.carousel-card .cap {
  position: absolute;
  left: 12px; bottom: 12px; right: 12px;
  z-index: 2;
}
.carousel-card .cap .title {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Phone mockup carousel: manual scroll, infinite loop, no snapping */
section.phones-block { padding: 24px 0 64px; }
.phones-marquee {
  position: relative;
}
.phones-marquee .phones-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.phones-marquee .phones-scroll::-webkit-scrollbar { display: none; }
.phones-marquee .fade-edge {
  position: absolute;
  top: 0; bottom: 0;
  width: 56px;
  z-index: 3;
  pointer-events: none;
}
.phones-marquee .fade-left {
  left: 0;
  background: linear-gradient(to right, var(--black) 0%, rgba(0,0,0,0) 100%);
}
.phones-marquee .fade-right {
  right: 0;
  background: linear-gradient(to left, var(--black) 0%, rgba(0,0,0,0) 100%);
}
.phones-track {
  display: flex;
  width: max-content;
}
.phones-row {
  display: flex;
  gap: 14px;
  padding: 0 7px;
  flex-shrink: 0;
}
.phone-mock {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 711 / 1360;
}
.phone-mock .phone-screen {
  position: absolute;
  left: 6.33%;
  right: 6.33%;
  top: 2.43%;
  bottom: 2.65%;
  border-radius: 11%;
  overflow: hidden;
  background: linear-gradient(160deg, var(--charcoal-2) 0%, var(--charcoal-1) 60%, #101011 100%);
}
.phone-mock .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phone-mock .phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Copy block */
.block h2 {
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 16px;
  max-width: 520px;
}
.block p {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 0 14px;
}

/* Quote */
section.quote-block { padding-top: 48px; padding-bottom: 40px; border-top: 1px solid var(--hairline); }
.quote-block blockquote {
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 24px;
  max-width: 620px;
  line-height: 1.2;
}
.quote-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.quote-badge {
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}

/* Press marquee: slow, seamless auto-scroll, mirrors the app paywall */
.press-marquee {
  overflow: hidden;
  padding: 8px 0 16px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.press-track {
  display: flex;
  width: max-content;
  animation: press-scroll 30s linear infinite;
}
.press-marquee:hover .press-track { animation-play-state: paused; }
@keyframes press-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.press-row {
  display: flex;
  gap: 40px;
  flex: 0 0 auto;
  padding: 0 20px;
}
.press-item {
  flex: 0 0 auto;
  height: 24px;
  width: auto;
  opacity: 0.42;
  display: block;
}

/* Project type grid (charcoal placeholders until real photos land) */
section.grid-block { padding-top: 56px; padding-bottom: 8px; border-top: 1px solid var(--hairline); }
section.grid-block .eyebrow { display: block; margin-bottom: 12px; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 28px;
}
.project-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(160deg, var(--charcoal-2) 0%, var(--charcoal-1) 60%, #101011 100%);
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,0.75) 100%);
}
.project-card .ph {
  position: absolute;
  inset: 0;
}
.project-card .label {
  position: absolute;
  left: 10px; bottom: 10px; right: 10px;
  z-index: 2;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
@media (min-width: 640px) {
  .project-card .label { font-size: 14px; }
}

/* FAQ accordion */
section.faq-block { padding-top: 56px; padding-bottom: 40px; }
.faq-list { margin-top: 8px; }
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--white);
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 20px 0;
  cursor: pointer;
}
.faq-icon {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding-bottom: 20px; }
.faq-a p {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  margin: 0;
  line-height: 1.5;
}

/* Final CTA */
section.final-cta { padding-top: 48px; padding-bottom: 72px; text-align: left; }

/* Floating quote button (mirrors the fixed logo, appears after scrolling past hero) */
.float-cta {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 50;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  padding: 10px 18px;
  font-size: 13px;
}
.float-cta.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Quote / download page */
body.quote-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.quote-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 0;
}
.quote-topbar span:first-child { width: 24px; }
.quote-logo { height: 34px; display: block; }
.quote-close {
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 6px;
}
.quote-close:hover { color: var(--white); }

.quote-shell {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 24px 56px;
  text-align: center;
}

.qphones-marquee { position: relative; width: 100%; overflow: hidden; }
.qphones-marquee .fade-edge {
  position: absolute;
  top: 0; bottom: 0;
  width: 40px;
  z-index: 3;
  pointer-events: none;
}
.qphones-marquee .fade-left { left: 0; background: linear-gradient(to right, var(--black) 0%, rgba(0,0,0,0) 100%); }
.qphones-marquee .fade-right { right: 0; background: linear-gradient(to left, var(--black) 0%, rgba(0,0,0,0) 100%); }
.qphones-track {
  display: flex;
  width: max-content;
  animation: qphones-scroll 60s linear infinite;
}
@keyframes qphones-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.qphones-row {
  display: flex;
  gap: 10px;
  padding: 0 5px;
  flex: 0 0 auto;
}
.qphone-mock {
  position: relative;
  flex: 0 0 auto;
  width: 104px;
  aspect-ratio: 711 / 1360;
}
.qphone-mock .phone-screen {
  position: absolute;
  left: 6.33%;
  right: 6.33%;
  top: 2.43%;
  bottom: 2.65%;
  border-radius: 11%;
  overflow: hidden;
  background: linear-gradient(160deg, var(--charcoal-2) 0%, var(--charcoal-1) 60%, #101011 100%);
}
.qphone-mock .phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qphone-mock .phone-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

.quote-testimonial {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  max-width: 400px;
  width: 100%;
}
.quote-attrib {
  color: var(--muted);
  font-size: 13px;
  margin-top: -16px;
}

.btn.full {
  width: 100%;
  max-width: 400px;
  justify-content: center;
}
.btn-download { padding: 18px 28px; font-size: 16px; }
.apple-icon { width: 17px; height: 17px; fill: #14120e; }
@media (min-width: 640px) {
  .quote-shell { padding-top: 48px; padding-bottom: 72px; }
}

/* Doc pages (support / privacy) keep readable on black for now */
.wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.doc { padding-top: 48px; }
.doc h1 { font-size: 32px; font-weight: 700; }
.doc h2 { font-size: 19px; font-weight: 600; margin-top: 32px; }
.doc p, .doc li { color: var(--muted); font-size: 15px; }
.doc .updated { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.doc a { color: var(--cream); }
