/* EDigital Ordering — brand tokens (source: brand-sheet) */
:root {
  --navy: #0b1f3b;
  --navy-deep: #071526;
  --turquoise: #00c6b7;
  --turquoise-deep: #00a89c;
  --blue: #0084d6;
  --yellow: #ffc107;
  --yellow-deep: #e6ac00;
  --fog: #f4f6fb;
  --foam: #ffffff;
  --ink: #0b1f3b;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-ink: rgba(11, 31, 59, 0.65);
  --line: rgba(255, 255, 255, 0.14);
  --line-ink: rgba(11, 31, 59, 0.12);
  --danger: #e57373;
  --font: "Poppins", "Segoe UI", sans-serif;
  --radius: 1.25rem;
  --shadow: 0 24px 60px rgba(7, 21, 38, 0.45);
}

/* Marketing cover — brand tokens */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.landing {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--foam);
  background: var(--navy-deep);
}

body.landing a {
  color: inherit;
  text-decoration: none;
}

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

.lp-cover {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lp-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    var(--navy-deep)
    url("/branding/hero-lifestyle.jpg")
    center / cover
    no-repeat;
  transform: scale(1.03);
  animation: lp-zoom 18s ease-in-out alternate both;
}

.lp-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 21, 38, 0.94) 0%, rgba(7, 21, 38, 0.72) 42%, rgba(7, 21, 38, 0.28) 70%, rgba(7, 21, 38, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 21, 38, 0.45) 0%, transparent 32%, rgba(7, 21, 38, 0.82) 88%, var(--navy-deep) 100%);
}

.lp-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 0.5rem;
  flex: 0 0 auto;
  animation: lp-rise 0.7s ease both;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lp-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  padding: 5px;
  object-fit: contain;
}

.lp-brand-name {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lp-brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.12rem;
}

.lp-nav-links {
  display: none;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.lp-nav-links a:hover,
.lp-nav-links a.is-active {
  color: var(--turquoise);
}

.lp-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.lp-btn:active {
  transform: translateY(1px);
}

.lp-btn-gold,
.lp-btn-cta {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(255, 193, 7, 0.28);
}

.lp-btn-gold:hover,
.lp-btn-cta:hover {
  background: var(--yellow-deep);
}

.lp-btn-navy {
  background: var(--navy);
  color: var(--foam);
}

.lp-btn-navy:hover {
  background: #123056;
}

.lp-btn-ghost {
  background: transparent;
  color: var(--foam);
  border: 1px solid var(--line);
  padding-left: 0.3rem;
}

.lp-btn-ghost .play {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--turquoise);
  border-color: rgba(0, 198, 183, 0.55);
}

.lp-cover-main {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(1rem, 2.5vh, 1.75rem);
  padding: 0.5rem 0 0;
  min-height: 0;
}

.lp-hero-copy {
  max-width: 34rem;
  animation: lp-rise 0.85s ease 0.08s both;
}

.lp-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--foam);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lp-hero-copy h1 {
  margin: 0 0 0.65rem;
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lp-hero-copy h1 em {
  font-style: normal;
  color: var(--turquoise);
}

.lp-hero-copy > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.5;
  max-width: 30rem;
  font-weight: 400;
}

.lp-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.lp-features li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.lp-features i {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--navy);
  background: var(--turquoise);
  flex: 0 0 auto;
}

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

.lp-rail {
  display: none;
  position: absolute;
  right: 1.1rem;
  top: 42%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  letter-spacing: 0.28em;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  z-index: 3;
}

.lp-rail span {
  display: block;
  margin-bottom: 0.85rem;
  border-bottom: 2px solid var(--turquoise);
  padding-bottom: 0.55rem;
}

.lp-steps-wrap {
  width: 100%;
  animation: lp-rise 0.8s ease 0.16s both;
  margin-bottom: -0.35rem;
}

.lp-steps {
  display: grid;
  gap: 1rem;
  background: var(--foam);
  color: var(--navy);
  border-radius: var(--radius);
  padding: clamp(1rem, 2vh, 1.45rem);
  box-shadow: var(--shadow);
}

.lp-steps h2 {
  margin: 0 0 0.85rem;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  letter-spacing: -0.02em;
}

.lp-step-grid {
  display: grid;
  gap: 0.75rem;
}

.lp-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.lp-step-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  background: rgba(0, 198, 183, 0.12);
  color: var(--turquoise-deep);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.lp-step strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.lp-step span {
  color: var(--muted-ink);
  font-size: 0.82rem;
  line-height: 1.35;
}

.lp-steps-cta {
  background: var(--navy);
  color: var(--foam);
  border-radius: calc(var(--radius) - 0.35rem);
  padding: 1.1rem 1.15rem;
  display: grid;
  gap: 0.85rem;
  align-content: center;
}

.lp-steps-cta p {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  font-weight: 500;
}

.lp-trust {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  background: rgba(7, 21, 38, 0.94);
  padding: 0.95rem 0 1.1rem;
  animation: lp-rise 0.75s ease 0.22s both;
}

.lp-trust-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.lp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 500;
}

.lp-trust-item i {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 198, 183, 0.45);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--turquoise);
  flex: 0 0 auto;
}

.lp-demo {
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(0, 198, 183, 0.14), transparent 55%),
    linear-gradient(180deg, #0d2240, var(--navy-deep));
  padding: 3rem 0 4rem;
}

.lp-demo-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.lp-demo h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
}

.lp-demo > .lp-demo-inner > p {
  color: var(--muted);
  margin: 0 0 1.35rem;
}

.lp-hub-links {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.lp-hub-card {
  display: block;
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, border-color 0.2s;
}

.lp-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 198, 183, 0.45);
}

.lp-hub-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.lp-hub-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.lp-panel {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  background: rgba(0, 0, 0, 0.22);
}

.lp-panel h3 {
  margin: 0 0 0.65rem;
  font-weight: 700;
}

.lp-muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.lp-panel pre {
  margin: 0.75rem 0 0;
  white-space: pre-wrap;
  color: var(--muted);
  font-size: 0.82rem;
}

.lp-demo .lp-btn {
  margin-top: 0.75rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: min(360px, calc(100% - 2rem));
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #123056;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 40;
  color: var(--foam);
  font-family: var(--font);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  border-color: rgba(229, 115, 115, 0.5);
}

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lp-zoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.07);
  }
}

@media (min-width: 720px) {
  .lp-nav-links {
    display: flex;
  }

  .lp-step-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-hub-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .lp-rail {
    display: block;
  }

  .lp-steps {
    grid-template-columns: 1.55fr 0.9fr;
    align-items: stretch;
  }

  .lp-step-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
  }

  .lp-trust-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .lp-hub-links {
    grid-template-columns: repeat(4, 1fr);
  }

  .lp-cover-main {
    justify-content: space-between;
    padding-top: clamp(0.25rem, 2vh, 1rem);
  }

  .lp-hero-copy {
    padding-top: clamp(0.5rem, 4vh, 2.5rem);
  }
}

@media (max-height: 820px) and (min-width: 960px) {
  .lp-hero-copy h1 {
    font-size: 2.4rem;
  }

  .lp-features {
    display: none;
  }

  .lp-steps {
    padding: 1rem 1.15rem;
  }

  .lp-steps h2 {
    font-size: 1.3rem;
    margin-bottom: 0.65rem;
  }

  .lp-trust {
    padding: 0.75rem 0 0.85rem;
  }
}

@media (max-width: 959px) {
  .lp-cover {
    min-height: auto;
  }

  .lp-cover-main {
    padding: 1rem 0 0;
    justify-content: flex-start;
    gap: 1.25rem;
  }
}
