:root {
  --ink: #121417;
  --ink-soft: #525964;
  --paper: #e9eef3;
  --sheet: #f7f9fb;
  --flame: #ff6a1a;
  --flame-deep: #e45308;
  --line: rgba(18, 20, 23, 0.1);
  --max: 1100px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", "Outfit", system-ui, sans-serif;
  --nav-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flame);
}

.eyebrow.on-dark {
  color: #ffb089;
}

.lead {
  margin: 0.7rem 0 0;
  max-width: 32rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* Nav — app landing chrome */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(0.9rem, 3vw, 1.75rem);
  background: rgba(233, 238, 243, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-brand img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 10px;
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
}

/* Hero — one composition: brand + phone */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 1.5rem) 0 2.5rem;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(8, 10, 14, 0.82) 0%, rgba(8, 10, 14, 0.45) 48%, rgba(8, 10, 14, 0.78) 100%),
    url("/assets/hero-salon.jpg") center / cover no-repeat,
    radial-gradient(80% 60% at 90% 10%, rgba(255, 106, 26, 0.35), transparent 50%),
    #121417;
  animation: hero-drift 22s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.06) translate3d(-1%, -0.6%, 0);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy {
  animation: rise 0.8s ease both;
  max-width: 28rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.app-badge {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 1.15rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  animation: floaty 3.5s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.hero .tag {
  margin: 0.85rem 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  max-width: 18rem;
}

.hero-actions {
  margin-top: 1.5rem;
}

.hero-note {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}

/* App Store style CTA */
.btn.store {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 188px;
  min-height: 56px;
  padding: 0.55rem 1.2rem 0.6rem;
  border-radius: 14px;
  background: #fff;
  color: #121417;
  line-height: 1.05;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn.store:hover {
  transform: translateY(-1px);
  background: #f3f5f7;
}

.btn.store.dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 20, 23, 0.22);
}

.btn.store.dark:hover {
  background: #000;
}

.store-kicker {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.7;
}

.store-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Phone mockup */
.phone {
  display: grid;
  place-items: center;
  animation: rise 0.9s 0.1s ease both;
}

.phone-frame {
  width: min(100%, 280px);
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(160deg, #2a2e36, #0c0e12);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 18px;
  border-radius: 999px;
  background: #0c0e12;
  z-index: 2;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #1a1a1a;
}

.phone-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.phone-ui {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem 1rem 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 14, 0.88) 45%);
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}

.phone-ui img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 10px;
}

.phone-ui p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

/* Features */
.band {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--sheet);
}

.band h2,
.split h2,
.get h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.feature-row .num {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--flame);
}

.feature-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Teams */
.split {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  color: #fff;
  background:
    radial-gradient(70% 55% at 100% 0%, rgba(255, 106, 26, 0.2), transparent 55%),
    linear-gradient(160deg, #171b22 0%, #0c0e12 100%);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.split .lead {
  color: rgba(255, 255, 255, 0.68);
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.ticks li {
  position: relative;
  padding-left: 1.45rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.18);
}

/* Get app */
.get {
  padding: clamp(3rem, 6vw, 4.5rem) 0 3.5rem;
}

.get-box {
  text-align: center;
  padding: clamp(2.2rem, 5vw, 3.2rem) 1.25rem;
  border-radius: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(18, 20, 23, 0.06);
}

.get-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 20px;
  margin: 0 auto 0.85rem;
  box-shadow: 0 10px 24px rgba(18, 20, 23, 0.12);
}

.get-lockup {
  height: 56px;
  width: 56px;
  object-fit: cover;
  margin: 0 auto 1rem;
  border-radius: 14px;
}

.get .lead {
  margin: 0.7rem auto 1.4rem;
}

/* Footer */
.foot {
  padding: 1.1rem 0 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.foot-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}

.foot a {
  font-weight: 650;
  color: var(--ink);
}

.foot-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero .tag {
    max-width: 20rem;
  }

  .app-badge {
    margin-inline: auto;
  }

  .phone-frame {
    width: min(100%, 240px);
  }

  .feature-row,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .split {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .nav-brand img {
    height: 34px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 1.1rem);
  }

  .app-badge {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .app-badge,
  .hero-copy,
  .phone,
  .phone-screen > img {
    animation: none;
  }
}
