/* Mavi marketing site — aligns with app promo visuals */

:root {
  --orange: #ff8c42;
  --orange-deep: #e86f24;
  --lime: #b8e600;
  --lime-soft: #c8f031;
  --ink: #2a2218;
  --muted: #4a3f35;
  --white: #ffffff;
  --surface: rgba(255, 255, 255, 0.12);
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "DM Sans", "Inter", system-ui, sans-serif;
  --radius-lg: 28px;
  --radius-phone: 40px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--orange);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

/* Halftone + gradient sections */
.section--promo {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--orange);
  overflow: hidden;
}

.section--promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.22) 1.5px,
    transparent 1.5px
  );
  background-size: 14px 14px;
  opacity: 0.45;
  pointer-events: none;
}

.section--promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 80% 55% at 50% 45%,
      rgba(255, 200, 120, 0.35) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 40% at 10% 90%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 45% 35% at 92% 12%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.section__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

/* Typography */
.headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
  color: var(--white);
  text-align: center;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.12);
  letter-spacing: -0.02em;
}

.headline__brush {
  display: block;
  width: min(320px, 85%);
  height: 14px;
  margin: 0.35rem auto 0;
  background: linear-gradient(90deg, var(--lime-soft), var(--lime));
  border-radius: 999px;
  opacity: 0.95;
  transform: skewX(-4deg) rotate(-1deg);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.subhead {
  margin-top: 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--muted);
  font-weight: 500;
}

.subhead--light {
  color: rgba(42, 34, 24, 0.92);
}

.subhead--on-orange {
  color: rgba(42, 34, 24, 0.88);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(
    180deg,
    rgba(255, 140, 66, 0.98) 0%,
    rgba(255, 140, 66, 0.92) 100%
  );
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--white);
  letter-spacing: -0.03em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover {
  border-bottom-color: var(--lime);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  background: var(--white);
  color: var(--orange-deep) !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Two-column feature blocks */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid--reverse .feature-grid__text {
    order: 2;
  }

  .feature-grid--reverse .feature-grid__visual {
    order: 1;
  }
}

.feature-grid__text {
  text-align: center;
}

@media (min-width: 900px) {
  .feature-grid__text {
    text-align: left;
  }

  .feature-grid--reverse .feature-grid__text {
    text-align: right;
  }
}

.feature-grid .headline {
  text-align: center;
}

@media (min-width: 900px) {
  .feature-grid .headline {
    text-align: inherit;
  }

  .feature-grid__text .headline__brush {
    margin-left: 0;
    margin-right: 0;
  }

  .feature-grid--reverse .feature-grid__text .headline__brush {
    margin-left: auto;
  }
}

.feature-grid .subhead {
  margin-left: 0;
  margin-right: 0;
  max-width: 28rem;
}

@media (min-width: 900px) {
  .feature-grid .subhead {
    text-align: inherit;
  }

  .feature-grid--reverse .subhead {
    margin-left: auto;
  }
}

.phone-frame {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  filter: drop-shadow(var(--shadow-soft));
}

.phone-frame img {
  border-radius: var(--radius-phone);
  width: 100%;
}

/* Split section for two phones */
.dual-phones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

@media (min-width: 768px) {
  .dual-phones {
    grid-template-columns: 1fr 1fr;
  }
}

.dual-phones__item {
  text-align: center;
}

.dual-phones__item .phone-frame {
  max-width: 300px;
}

.dual-phones__caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

/* Hero */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.hero-cta-row .btn-cta {
  min-width: 160px;
}

/* Footer */
.site-footer {
  background: #1f130c;
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--lime-soft);
  margin: 0 0.75rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .nav-links {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .nav-links {
    gap: 0.5rem;
  }

  .nav-links a:not(.btn-cta) {
    font-size: 0.82rem;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}
