:root {
  --black: #1a1a1a;
  --coal: #222222;
  --graphite: #333333;
  --gray: #999999;
  --white: #ffffff;
  --brand: #ff7a1a;
  --brand-hover: #ff9a45;
  --line: rgba(255, 255, 255, 0.09);
  --line-brand: rgba(255, 122, 26, 0.35);
  --danger: #ff5a5a;
  --ok: #3ddc84;
  --radius: 16px;
  --font: "DM Sans", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--white);
  font: 400 16px/1.6 var(--font);
  overflow-x: hidden;
}

a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  font-family: var(--mono);
  background: rgba(255, 122, 26, 0.14);
  color: var(--brand-hover);
  padding: 2px 8px;
  border-radius: 6px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(26, 26, 26, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.logo span { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--white); }
.logo em { font-style: normal; color: var(--brand); }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--gray); font-weight: 500; }
.nav-links a { color: var(--gray); }
.nav-links a:hover { color: var(--white); }

/* ---------- Buttons (Pelando-style pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out, transform 0.15s ease;
}
.btn-brand { background-color: var(--brand); color: var(--white); }
.btn-brand:hover { background-color: var(--brand-hover); }
.btn-lg { height: 56px; padding: 0 32px; font-size: 17px; }
.btn-block { width: 100%; }
@media (min-width: 1024px) { .btn-block { width: auto; min-width: 276px; } }

/* ---------- Layout ---------- */
.hero-inner, .section, .cta-final, .foot {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.6);
  animation: ping 1.8s infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 12px rgba(255, 122, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; color: var(--white); }
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.03; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
h3 { font-size: 21px; }

.lead { max-width: 52ch; color: var(--gray); margin: 20px 0 28px; font-size: 18px; }

/* ---------- Hero ---------- */
.hero { background-color: var(--black); overflow: hidden; }
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 64px;
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 48px;
    min-height: calc(100vh - 73px);
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: left;
  }
}

.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
@media (min-width: 1024px) {
  .hero-copy { align-items: flex-start; max-width: 560px; width: auto; }
}

.type-wrap { display: inline-block; }
.type { color: var(--brand); }
.type-caret { color: var(--brand); animation: blink 1s steps(1) infinite; font-weight: 400; }
@keyframes blink { 50% { opacity: 0; } }

.fine { margin-top: 18px; color: var(--gray); font-size: 13.5px; }

/* ---------- Phone mockup (real video, looping like a gif) ---------- */
.phone-stage { width: 100%; max-width: 280px; margin: 0 auto; flex-shrink: 0; }
@media (min-width: 1024px) { .phone-stage { width: 300px; max-width: none; margin: 0; } }

.phone-shell {
  position: relative;
  background: #0b0b0b;
  border-radius: 46px;
  padding: 14px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    0 0 0 1px var(--line);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 384 / 848;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}
.phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 20px;
  background: #0b0b0b;
  border-radius: 999px;
  z-index: 2;
}

.phone-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 0;
  cursor: pointer;
}
.phone-play.show { display: flex; }
.phone-play svg {
  width: 56px;
  height: 56px;
  padding: 16px;
  background: var(--brand);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.phone-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px auto 0;
  background: var(--coal);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  width: fit-content;
}
.phone-tag .pulse { width: 6px; height: 6px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0 8px; }
.section-head { margin-bottom: 44px; max-width: 720px; }

.brag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.brag {
  background: var(--coal);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.brag:hover { border-color: var(--line-brand); transform: translateY(-4px); }
.brag-icon { font-size: 26px; display: block; margin-bottom: 12px; }
.brag h3 { font-size: 17px; margin-bottom: 8px; }
.brag p { color: var(--gray); font-size: 13.5px; line-height: 1.5; }

.faq { display: grid; gap: 10px; }
.faq-item { background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { font-style: normal; color: var(--brand); font-size: 20px; font-weight: 400; }
.faq-item[open] summary i { transform: rotate(45deg); display: inline-block; }
.faq-item p { color: var(--gray); padding-bottom: 20px; font-size: 14.5px; max-width: 64ch; }

.cta-final {
  margin: 96px auto 24px;
  text-align: center;
  padding: 64px 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--coal);
}
.cta-final .lead { margin-inline: auto; }
.cta-final .kicker { justify-content: center; }

.foot {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-block: 28px 40px;
  color: var(--gray);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.foot a { font-weight: 600; }

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: none;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(26, 26, 26, 0.95) 30%);
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .brag-grid { grid-template-columns: repeat(2, 1fr); }
  .nav .btn-brand { display: none; }
  .dock { display: block; }
}

@media (max-width: 420px) {
  .phone-stage { max-width: 240px; }
  .brag-grid { grid-template-columns: 1fr; }
}
