/* ==========================================================================
   TOKENS
   ========================================================================== */
:root {
  --bg:            #000000;
  --bg-elevated:   #0c0c0d;
  --bg-card:       #111113;

  --hairline:      rgba(255, 255, 255, 0.14);
  --hairline-soft: rgba(255, 255, 255, 0.08);

  --text:          #f5f5f7;
  --text-secondary:#86868b;
  --text-tertiary: #4d4d52;

  --amber:         #ffb020;
  --amber-deep:    #ff8a1e;

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    "IBM Plex Mono", monospace;

  --container: 1100px;
  --radius-lg: 34px;
  --radius-md: 20px;
  --radius-sm: 12px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   SHARED
   ========================================================================== */
main { display: block; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow--center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
}

.section-head { margin-bottom: 64px; }
.section-head--center { text-align: center; }

.accent { color: var(--amber); }

.rec-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 176, 32, 0.55);
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--text);
  color: #000;
}
.btn--primary:hover { transform: translateY(-1px); opacity: 0.86; }

.btn--ghost {
  border: 1px solid var(--hairline);
  color: var(--text);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.35); transform: translateY(-1px); }

.btn--lg { padding: 16px 32px; font-size: 16px; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--hairline-soft);
  padding: 14px 32px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease);
}
.nav__links a:hover { color: var(--text); }

.nav__cta {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  background: var(--text);
  color: #000;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); opacity: 0.86; }

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ==========================================================================
   DEVICE (signature element — phone-frame video player)
   ========================================================================== */
.device {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.02) inset;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}

.device--sm { border-radius: var(--radius-md); }

.device__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 18px;
  background: #000;
  border-radius: 100px;
  z-index: 3;
  opacity: 0.85;
}
.device--sm .device__notch { width: 44px; height: 13px; top: 10px; }

.device__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  background: rgba(0, 0, 0, 0.22);
  transition: background 0.3s var(--ease);
}
.device__play::before {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text);
  z-index: -1;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.device--sm .device__play::before { width: 44px; height: 44px; }
.device__play svg { position: relative; margin-left: 3px; }
.device__play:hover::before { transform: scale(1.08); background: var(--amber); }
.device__play:hover { background: rgba(0,0,0,0.1); }

.device__tc {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  padding: 4px 9px;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.device.is-playing .device__play { opacity: 0; pointer-events: none; }
.device.is-playing .device__notch { opacity: 0.55; }
.device.is-playing .device__tc { opacity: 1; }
.device:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.28); }

/* native video controls, shown only while playing */
.device__video::-webkit-media-controls-panel { padding-bottom: 6px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 190px 32px 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .eyebrow { }

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 820px;
}

.hero__lede {
  margin-top: 26px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}

.stars {
  color: var(--amber);
  font-size: 13px;
  letter-spacing: 2px;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease);
}
.hero__rating:hover { color: var(--text); }

.hero__player {
  margin-top: 72px;
  width: 100%;
  max-width: 340px;
}

/* ==========================================================================
   WORK
   ========================================================================== */
.work {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 32px;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .work__grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
}

/* ==========================================================================
   WHY
   ========================================================================== */
.why {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 32px;
  border-top: 1px solid var(--hairline-soft);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.why__item {
  background: var(--bg);
  padding: 44px 40px;
  transition: background 0.35s var(--ease);
}
.why__item:hover { background: var(--bg-card); }

.why__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.why__text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 380px;
}

@media (max-width: 720px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TRUSTED
   ========================================================================== */
.trusted {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 32px;
  border-top: 1px solid var(--hairline-soft);
}

.trusted__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-secondary);
}

.trusted__grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 44px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}

.trusted__figure { display: flex; flex-direction: column; }

.trusted__figure--wide {
  align-self: center;
}

.shot-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--bg-elevated);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.shot-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.28); }
.shot-card img { width: 100%; height: auto; }

.trusted__caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
  text-align: center;
}

.trusted__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.trusted__role {
  font-size: 13px;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .trusted__grid { grid-template-columns: 1fr; gap: 52px; max-width: 300px; margin: 0 auto; }
  .trusted__figure--wide { width: 100%; }
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 32px 160px;
  text-align: center;
}

.cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.cta__sub {
  margin-top: 12px;
  font-size: 18px;
  color: var(--text-secondary);
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}

.cta__email {
  display: inline-block;
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease);
}
.cta__email:hover { color: var(--text); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 32px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--hairline-soft);
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.footer__links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}
.footer__links a:hover { color: var(--text); }

.footer__copy {
  width: 100%;
  font-size: 12.5px;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 140px 20px 88px; }
  .hero__lede { font-size: 16.5px; }
  .work, .why, .trusted { padding: 64px 20px; }
  .cta { padding: 88px 20px 100px; }
  .section-head { margin-bottom: 44px; }

  .hero__actions,
  .cta__actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions .btn,
  .cta__actions .btn { width: 100%; }

  .why__item { padding: 34px 24px; }

  .footer {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .footer__links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .nav { padding: 16px 18px; }
  .nav.is-scrolled { padding: 12px 18px; }
  .nav__cta { padding: 8px 14px; font-size: 13px; }
}
