/*
 * Marketing landing — Eat.
 * Dark brand canvas. Satoshi grotesk (Stripe-adjacent) for display and body.
 * Product screenshots are the visual proof.
 */

:root {
  --mkt-canvas: #071018;
  --mkt-ink: #f4f7fb;
  --mkt-muted: #9aafc2;
  --mkt-accent: #2dd4e8;
  --mkt-accent-deep: #0ea5b7;
  --mkt-glow: #1a4a62;
  --mkt-line: rgba(154, 175, 194, 0.18);
  --mkt-font: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  --mkt-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mkt-max: 68rem;
  --mkt-nav-offset: 4.75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--mkt-nav-offset);
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.mkt {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--mkt-font);
  font-weight: 400;
  background: var(--mkt-canvas);
  color: var(--mkt-ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--mkt-ink);
}

.brand-lockup__mark {
  display: block;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--mkt-accent) 18%, transparent);
}

.brand-lockup__word {
  font-family: var(--mkt-font);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-lockup--nav .brand-lockup__word {
  font-size: 1.45rem;
}

.brand-lockup--finale {
  gap: 0.85rem;
  justify-content: center;
  margin: 0 0 1.15rem;
}

.brand-lockup--finale .brand-lockup__mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
}

.brand-lockup--finale .brand-lockup__word {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
}

.brand-lockup--footer .brand-lockup__mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4rem;
}

.brand-lockup--footer .brand-lockup__word {
  font-size: 1.3rem;
}

.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--mkt-canvas) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.mkt-nav__links {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.mkt-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}

.mkt-link.is-active {
  color: var(--mkt-ink);
}

@media (min-width: 720px) {
  .mkt-nav__links {
    display: flex;
    margin-left: 1.5rem;
    margin-right: auto;
  }

  .mkt-nav__actions {
    margin-left: 0;
  }
}

.mkt-link {
  color: var(--mkt-muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 160ms var(--mkt-ease);
}

.mkt-link:hover {
  color: var(--mkt-ink);
}

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 160ms var(--mkt-ease), background 160ms var(--mkt-ease), border-color 160ms var(--mkt-ease), color 160ms var(--mkt-ease);
}

.mkt-btn--sm {
  min-height: 2.35rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  background: color-mix(in srgb, var(--mkt-ink) 8%, transparent);
  border-color: var(--mkt-line);
  color: var(--mkt-ink);
}

.mkt-btn--sm:hover {
  background: color-mix(in srgb, var(--mkt-ink) 14%, transparent);
}

.mkt-btn--primary {
  background: var(--mkt-accent);
  color: #041018;
}

.mkt-btn--primary:hover {
  background: #67e8f9;
  transform: translateY(-1px);
}

.mkt-btn--secondary {
  background: transparent;
  border-color: color-mix(in srgb, var(--mkt-accent) 45%, var(--mkt-line));
  color: var(--mkt-ink);
}

.mkt-btn--secondary:hover {
  border-color: var(--mkt-accent);
  color: var(--mkt-accent);
  transform: translateY(-1px);
}

.mkt-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.mkt-cta--center {
  justify-content: center;
}

.mkt-store-badge {
  display: inline-flex;
  line-height: 0;
  transition: transform 160ms var(--mkt-ease), opacity 160ms var(--mkt-ease);
}

.mkt-store-badge img {
  display: block;
  height: 2.5rem;
  width: auto;
}

.mkt-store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.mkt-btn--store-align {
  min-height: 2.5rem;
  padding-block: 0.45rem;
}

#download,
#top {
  scroll-margin-top: var(--mkt-nav-offset);
}

.mkt-text-link {
  color: var(--mkt-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.mkt-text-link:hover {
  color: #67e8f9;
}

.mkt-section__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin: 1.5rem 0 0;
}

.mkt-section__inner--wide {
  max-width: 48rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Interior page hero —— */
.mkt-page-hero {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.mkt-eyebrow {
  margin: 0 0 0.85rem;
  color: var(--mkt-accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mkt-page-hero__title {
  margin: 0 0 1rem;
  font-family: var(--mkt-font);
  font-weight: 300;
  font-size: clamp(2.25rem, 5.8vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.mkt-page-hero__lead {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--mkt-muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

/* —— Features —— */
.mkt-feature-list {
  display: grid;
  gap: 1px;
  max-width: var(--mkt-max);
  margin: 0 auto clamp(2rem, 6vw, 4rem);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: var(--mkt-line);
  border: 1px solid var(--mkt-line);
  border-radius: 1.25rem;
  overflow: hidden;
}

.mkt-feature {
  padding: 1.5rem 1.35rem;
  background: var(--mkt-canvas);
}

.mkt-feature__title {
  margin: 0 0 0.55rem;
  font-family: var(--mkt-font);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.mkt-feature__body {
  margin: 0;
  color: var(--mkt-muted);
  line-height: 1.55;
}

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

/* —— Compare —— */
.mkt-table-wrap {
  max-width: var(--mkt-max);
  margin: 2rem auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mkt-table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.mkt-table th,
.mkt-table td {
  padding: 0.95rem 0.85rem;
  border-bottom: 1px solid var(--mkt-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.4;
}

.mkt-table thead th {
  color: var(--mkt-ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: color-mix(in srgb, var(--mkt-glow) 35%, var(--mkt-canvas));
}

.mkt-table thead th:first-child,
.mkt-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--mkt-canvas) 94%, #0c2233);
  min-width: 8.5rem;
}

.mkt-table thead th:first-child {
  background: color-mix(in srgb, var(--mkt-glow) 35%, var(--mkt-canvas));
}

.mkt-table thead th:nth-child(2),
.mkt-table tbody td:nth-child(2) {
  color: var(--mkt-ink);
  background: color-mix(in srgb, var(--mkt-accent) 8%, transparent);
}

.mkt-table tbody th {
  color: var(--mkt-ink);
  font-weight: 700;
}

.mkt-table td {
  color: var(--mkt-muted);
}

.mkt-table__yes {
  color: color-mix(in srgb, var(--mkt-ink) 88%, var(--mkt-accent));
  font-weight: 600;
}

.mkt-compare-points {
  display: grid;
  gap: 1rem;
  max-width: var(--mkt-max);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.mkt-compare-card {
  padding: 1.35rem 1.25rem;
  border-top: 1px solid var(--mkt-line);
}

.mkt-compare-card__title {
  margin: 0 0 0.55rem;
  font-family: var(--mkt-font);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.mkt-compare-card__body {
  margin: 0;
  color: var(--mkt-muted);
  line-height: 1.55;
}

@media (min-width: 900px) {
  .mkt-compare-points {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
}

/* —— Hero: one composition —— */
.mkt-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 2rem;
  align-items: end;
  min-height: calc(100dvh - 3.75rem);
  padding: clamp(1.75rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 2.5rem) 0;
  overflow: hidden;
}

.mkt-hero__atmosphere {
  position: absolute;
  inset: -30% -15% auto -15%;
  height: 85%;
  z-index: -1;
  background:
    radial-gradient(42% 55% at 78% 28%, color-mix(in srgb, var(--mkt-accent) 32%, transparent), transparent 68%),
    radial-gradient(50% 60% at 18% 40%, color-mix(in srgb, var(--mkt-glow) 95%, transparent), transparent 70%),
    radial-gradient(30% 40% at 48% 8%, color-mix(in srgb, #38bdf8 16%, transparent), transparent 70%),
    linear-gradient(180deg, #0a1c2c 0%, var(--mkt-canvas) 78%);
  animation: mkt-atmosphere 14s var(--mkt-ease) infinite alternate;
}

@keyframes mkt-atmosphere {
  from {
    transform: scale(1) translate3d(0, 0, 0);
    filter: hue-rotate(0deg);
  }
  to {
    transform: scale(1.06) translate3d(-1.5%, 1%, 0);
    filter: hue-rotate(12deg);
  }
}

.mkt-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding-bottom: 0.5rem;
  animation: mkt-rise 900ms var(--mkt-ease) 80ms both;
}

.mkt-hero__title {
  margin: 0 0 1rem;
  font-family: var(--mkt-font);
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--mkt-ink);
}

.mkt-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 500;
  color: var(--mkt-muted);
  line-height: 1.55;
}

.mkt-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  margin-inline: -1.25rem;
  animation: mkt-phone-in 1100ms var(--mkt-ease) 160ms both;
}

.mkt-hero__glow {
  position: absolute;
  inset: 8% 12% 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--mkt-accent) 35%, transparent), transparent 68%);
  filter: blur(28px);
  animation: mkt-glow-pulse 6s var(--mkt-ease) infinite alternate;
}

.mkt-phone {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  border-radius: 1.75rem 1.75rem 0 0;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--mkt-ink) 10%, transparent),
    0 30px 80px rgba(0, 0, 0, 0.45);
  animation: mkt-float 7s var(--mkt-ease) 1.2s infinite alternate;
}

.mkt-phone--video {
  background: #050d1a;
  object-fit: cover;
  object-position: top center;
}

.mkt-phone--inline {
  border-radius: 1.75rem;
  width: min(100%, 20rem);
  animation: none;
  margin-inline: auto;
}

@keyframes mkt-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes mkt-phone-in {
  from {
    opacity: 0;
    transform: translate3d(0, 2.5rem, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes mkt-float {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -0.65rem, 0);
  }
}

@keyframes mkt-glow-pulse {
  from {
    opacity: 0.7;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

@media (min-width: 900px) {
  .mkt-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 1.5rem 2.5rem;
    padding-bottom: 2rem;
  }

  .mkt-hero__visual {
    margin-inline: 0;
    justify-content: end;
    align-self: end;
    height: 100%;
    min-height: 36rem;
  }

  .mkt-hero__glow {
    inset: 5% 0 10% 10%;
  }

  .mkt-phone {
    width: min(100%, 26rem);
    max-height: calc(100dvh - 5rem);
    object-fit: cover;
    object-position: top center;
    border-radius: 1.85rem 1.85rem 0 0;
  }
}

/* —— Benefit sections —— */
.mkt-section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 2.5rem);
}

.mkt-section__inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.mkt-section__title {
  margin: 0 0 1rem;
  font-family: var(--mkt-font);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.mkt-section__body {
  margin: 0;
  font-size: 1.08rem;
  color: var(--mkt-muted);
  line-height: 1.6;
}

.mkt-section__body--wide {
  max-width: 36rem;
  margin-inline: auto;
}

.mkt-section__body em {
  font-family: var(--mkt-font);
  font-style: italic;
  font-weight: 400;
  color: var(--mkt-ink);
}

.mkt-section--split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: var(--mkt-max);
  margin-inline: auto;
}

.mkt-section--band {
  background:
    radial-gradient(80% 100% at 50% 0%, color-mix(in srgb, var(--mkt-glow) 55%, transparent), transparent 70%);
  border-block: 1px solid var(--mkt-line);
}

.mkt-section--contrast {
  background: linear-gradient(180deg, color-mix(in srgb, var(--mkt-accent-deep) 12%, var(--mkt-canvas)), var(--mkt-canvas));
}

@media (min-width: 900px) {
  .mkt-section--split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .mkt-section--reverse .mkt-section__text {
    order: 2;
  }

  .mkt-section--reverse .mkt-section__media {
    order: 1;
  }
}

/* —— Finale —— */
.mkt-finale {
  padding: clamp(4.5rem, 12vw, 8rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 100%, color-mix(in srgb, var(--mkt-accent) 18%, transparent), transparent 70%);
}

.mkt-finale__title {
  margin: 0 0 0.75rem;
  font-family: var(--mkt-font);
  font-weight: 300;
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
  letter-spacing: -0.04em;
}

.mkt-finale__lead {
  margin: 0 0 1.75rem;
  color: var(--mkt-muted);
}

.mkt-finale .mkt-cta {
  justify-content: center;
}

/* —— Footer —— */
.mkt-footer {
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--mkt-line);
}

.mkt-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--mkt-max);
  margin: 0 auto 1rem;
}

.mkt-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.mkt-page-hero--about {
  max-width: 38rem;
  text-align: left;
  margin-inline: auto;
  padding-bottom: 1.5rem;
}

.mkt-page-hero--about .mkt-page-hero__lead {
  margin-inline: 0;
  font-size: 1.15rem;
}

.mkt-about-person,
.mkt-about-company {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
}

.mkt-about-person {
  padding-top: 1rem;
  border-top: 1px solid var(--mkt-line);
}

.mkt-about-person__name {
  margin: 0 0 0.35rem;
  font-family: var(--mkt-font);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.5vw, 2.15rem);
  letter-spacing: -0.035em;
}

.mkt-about-person__role {
  margin: 0 0 1rem;
  color: var(--mkt-accent);
  font-size: 0.98rem;
  font-weight: 700;
}

.mkt-about-person__bio,
.mkt-about-company__body {
  margin: 0 0 1rem;
  color: var(--mkt-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.mkt-about-company__name {
  margin: 0 0 0.75rem;
  font-family: var(--mkt-font);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.mkt-about-company__body:last-child {
  margin-bottom: 0;
}

.mkt-footer__fine {
  max-width: var(--mkt-max);
  margin: 0 auto;
  color: color-mix(in srgb, var(--mkt-muted) 75%, transparent);
  font-size: 0.85rem;
}
