/* ============================================================
   MARK — Landing page styles (ported from Figma "Website — Landing")
   Reuses Elva Lab tokens from ../style.css (:root)
   ============================================================ */

:root {
  --l-bg:        #0A0A0C;
  --l-white:     #F0EDF8;
  --l-dim:       #C4BDD9;
  --l-body:      #B8B0CC;
  --l-muted:     #8E88A0;
  --l-faint:     #7A7390;
  --l-accent:    #C792FF;
  --l-accent-2:  #A855F7;
  --l-card:      rgba(255,255,255,0.035);
  --l-card-line: rgba(255,255,255,0.10);
  --l-hairline:  rgba(255,255,255,0.08);
  --l-maxw:      1120px;
}

/* Scoped reset (this page loads only mark-landing.css) */
.mark-landing, .mark-landing *, .mark-landing *::before, .mark-landing *::after { box-sizing: border-box; }
body.mark-landing { margin: 0; }
.mark-landing a { color: inherit; text-decoration: none; }
.mark-landing :where(h1, h2, h3, h4, h5, p) { margin: 0; }
.mark-landing :where(ul) { margin: 0; padding: 0; list-style: none; }
.mark-landing img { max-width: 100%; }
html { scroll-behavior: smooth; }

.mark-landing {
  background: var(--l-bg);
  color: var(--l-white);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient violet aura, fixed behind everything */
.l-aura {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 82% 8%,  rgba(168,85,247,0.20), transparent 60%),
    radial-gradient(50% 35% at 15% 26%, rgba(107,33,168,0.14), transparent 60%),
    radial-gradient(55% 30% at 85% 52%, rgba(107,33,168,0.12), transparent 60%),
    radial-gradient(55% 30% at 12% 68%, rgba(168,85,247,0.11), transparent 60%),
    radial-gradient(70% 26% at 50% 96%, rgba(168,85,247,0.12), transparent 60%),
    var(--l-bg);
}
.mark-landing main, .mark-landing .l-nav, .mark-landing .l-footer { position: relative; z-index: 1; }

/* ---------- Nav ---------- */
.l-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,12,0.55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--l-hairline);
}
.l-nav-inner {
  max-width: var(--l-maxw); margin: 0 auto; padding: 0 28px; height: 66px;
  display: flex; align-items: center; justify-content: space-between;
}
.l-logo {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: 1.19rem; letter-spacing: -0.025em; color: var(--l-white);
}
.l-nav-links { display: flex; align-items: center; gap: 26px; }
.l-nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--l-faint); transition: color .18s; }
.l-nav-links a:hover { color: var(--l-white); }
.l-nav-cta {
  padding: 8px 15px; border-radius: 10px; background: var(--l-white); color: var(--l-bg);
  font-size: 0.8125rem; font-weight: 600; transition: transform .18s, box-shadow .18s;
}
.l-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(199,146,255,0.5); }

/* ---------- Shared bits ---------- */
.l-eyebrow {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--l-accent); margin: 0;
}
.l-title {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.08; color: var(--l-white);
  font-size: clamp(2rem, 4.4vw, 2.75rem); margin: 0;
}
.l-body { font-size: 1.0625rem; line-height: 1.7; color: var(--l-body); margin: 0; }
.l-note { font-size: 0.875rem; line-height: 1.5; color: var(--l-muted); margin: 0; }
.l-section { max-width: var(--l-maxw); margin: 0 auto; padding: 84px 28px; }

/* Mark Plus pill */
.plus-pill {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  padding: 6px 13px 6px 11px; border-radius: 100px;
  background: rgba(168,85,247,0.12); border: 1px solid rgba(168,85,247,0.30);
}
.plus-pill::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #E9D5FF, #A855F7 60%, #6B21A8);
}
.plus-pill span { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--l-accent); }

/* App Store badge */
.l-badge {
  display: inline-flex; align-items: center; gap: 11px; padding: 11px 22px 11px 18px;
  border-radius: 13px; background: #000; border: 1px solid rgba(255,255,255,0.22);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.l-badge:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.42); box-shadow: 0 14px 34px -12px rgba(168,85,247,0.5); }
.l-badge svg { width: 22px; height: 26px; fill: #fff; margin-top: -2px; }
.l-badge b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.19rem; letter-spacing: -0.015em; line-height: 1.1; }
.l-badge small { display: block; font-size: 0.6875rem; font-weight: 400; }

/* ---------- Device frame ----------
   NB: use calc(px) for corner radii, NOT %, so tall phones get equal
   horizontal/vertical corners (percent radius makes egg-shaped corners). */
.device { width: var(--dw, 288px); flex-shrink: 0;
  padding: calc(var(--dw, 288px) * 0.033);
  border-radius: calc(var(--dw, 288px) * 0.153);
  background: linear-gradient(158deg, #201d29, #131019);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 44px 90px -34px rgba(0,0,0,0.85), 0 0 70px -26px rgba(168,85,247,0.35);
}
.device img { display: block; width: 100%; height: auto; border-radius: calc(var(--dw, 288px) * 0.12); }

/* Watch frame */
.watch { width: var(--ww, 190px); flex-shrink: 0;
  padding: calc(var(--ww, 190px) * 0.05);
  border-radius: calc(var(--ww, 190px) * 0.28);
  background: #141118; border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 26px 54px -18px rgba(0,0,0,0.7), 0 0 50px -22px rgba(168,85,247,0.3);
}
.watch img { display: block; width: 100%; height: auto; border-radius: calc(var(--ww, 190px) * 0.235); }

/* ---------- Hero ---------- */
.l-hero { max-width: var(--l-maxw); margin: 0 auto; padding: 48px 28px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 56px; min-height: 600px; }
.l-hero-copy { max-width: 500px; }
.l-hero-copy .l-eyebrow { margin-bottom: 24px; }
.l-h1 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: clamp(3rem, 6.4vw, 4.75rem); line-height: 1.0; letter-spacing: -0.04em;
  color: var(--l-white); margin: 0 0 26px;
}
.l-h1 em { font-style: normal; color: var(--l-accent);
  text-shadow: 0 0 40px rgba(168,85,247,0.45); }
.l-hero-sub { font-size: clamp(1rem, 1.6vw, 1.125rem); line-height: 1.65; color: var(--l-dim); max-width: 470px; margin: 0 0 34px; }
.l-hero-cta { display: flex; }
.l-hero-micro { margin: 22px 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--l-faint); max-width: 430px; }
.l-hero-legal { margin: 14px 0 0; font-size: 0.8125rem; color: var(--l-faint); }
.l-hero-legal a { color: var(--l-faint); transition: color .18s; }
.l-hero-legal a:hover { color: var(--l-dim); }
.l-hero-legal .sep { margin: 0 10px; opacity: 0.5; }
.l-hero-phone { position: relative; flex-shrink: 0; --dw: 300px; }
.l-hero-phone::before {
  content: ""; position: absolute; inset: -32% -22%; z-index: -1;
  background: radial-gradient(circle, rgba(168,85,247,0.34), transparent 62%); filter: blur(30px);
}

/* ---------- Ethos ---------- */
.l-ethos { text-align: center; }
.l-ethos .l-eyebrow { margin-bottom: 16px; }
.l-ethos .l-title { max-width: 720px; margin: 0 auto 52px; font-size: clamp(2rem, 4.6vw, 2.75rem); }
.l-ethos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; text-align: left; }
.l-ethos-card { background: var(--l-card); border: 1px solid var(--l-card-line); border-radius: 22px; padding: 30px 28px 32px;
  transition: transform .3s cubic-bezier(.22,.68,0,1.2), border-color .3s, background .3s; }
.l-ethos-card:hover { transform: translateY(-4px); border-color: rgba(168,85,247,0.30); background: rgba(168,85,247,0.05); }
.l-ethos-glyph { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: rgba(168,85,247,0.12); border: 1px solid rgba(168,85,247,0.30); color: var(--l-accent); margin-bottom: 20px; }
.l-ethos-glyph svg { width: 22px; height: 22px; }
.l-ethos-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.19rem; font-weight: 700; color: var(--l-white); margin: 0 0 9px; }
.l-ethos-card p { font-size: 0.9rem; line-height: 1.72; color: var(--l-muted); margin: 0; }

/* ---------- Feature (2-col) ---------- */
.l-feature { display: flex; align-items: center; justify-content: center; gap: 100px; }
.l-feature.reverse { flex-direction: row-reverse; }
.l-feature-copy { max-width: 452px; display: flex; flex-direction: column; gap: 18px; }
.l-feature-copy .l-title { font-size: clamp(1.9rem, 3.8vw, 2.5rem); }

/* ---------- Pulse ---------- */
.l-pulse { text-align: center; }
.l-pulse-head { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.l-pulse-head .l-title { font-size: clamp(2rem, 4.8vw, 2.75rem); }
.l-pulse-head .l-body { max-width: 640px; }
.l-pulse-phones { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin: 50px 0 44px; }
.l-pulse-item { display: flex; flex-direction: column; align-items: center; gap: 14px; position: relative; }
.l-pulse-item .device { --dw: 196px; }
.l-pulse-item::before {
  content: ""; position: absolute; top: 14%; left: 50%; width: 150%; padding-bottom: 150%;
  transform: translate(-50%,0); z-index: -1;
  background: radial-gradient(circle, rgba(168,85,247,0.20), transparent 60%); filter: blur(30px);
}
.l-pulse-cap { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--l-faint); }
.l-color-legend { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 24px; }
.l-swatch { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; color: var(--l-dim); }
.l-swatch i { width: 14px; height: 14px; border-radius: 50%; }
.l-swatch.violet i { background: #C792FF; box-shadow: 0 0 10px #C792FF; }
.l-swatch.gold   i { background: #F0C24B; box-shadow: 0 0 10px #F0C24B; }
.l-swatch.red    i { background: #FF5D6C; box-shadow: 0 0 10px #FF5D6C; }
.l-swatch.blue   i { background: #5DA9FF; box-shadow: 0 0 10px #5DA9FF; }

/* ---------- Mark Plus ---------- */
.l-plus { display: flex; align-items: center; justify-content: center; gap: 80px; }
.l-plus .device { --dw: 292px; }
.l-plan-card { width: 640px; max-width: 100%; background: #13111E; border: 1px solid var(--l-card-line); border-radius: 24px; padding: 40px; }
.l-plan-card .l-eyebrow { margin-bottom: 22px; }
.l-plan-card .l-title { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 20px; }
.l-plan-card .l-body { font-size: 0.97rem; margin-bottom: 24px; }
.l-plan-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-bottom: 24px; }
.l-plan-list h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; margin: 0 0 14px; }
.l-plan-list.free h4 { color: var(--l-muted); }
.l-plan-list.plus h4 { color: var(--l-accent); }
.l-plan-list ul { display: flex; flex-direction: column; gap: 13px; }
.l-plan-list li { display: flex; gap: 9px; font-size: 0.875rem; line-height: 1.4; }
.l-plan-list.free li { color: var(--l-body); }
.l-plan-list.plus li { color: #EDE9F7; }
.l-plan-list li svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.l-plan-list.free li svg { color: #6E6785; }
.l-plan-list.plus li svg { color: var(--l-accent); }
.l-plan-div { height: 1px; background: rgba(255,255,255,0.09); margin: 0 0 22px; }
.l-plan-price { font-size: 1rem; font-weight: 600; color: var(--l-white); margin: 0 0 10px; }
.l-plan-free { font-size: 0.875rem; color: var(--l-muted); margin: 0 0 22px; }

/* ---------- Watch ---------- */
.l-watch { display: flex; align-items: center; justify-content: center; gap: 96px; }
.l-watch-row { display: flex; gap: 26px; }
.l-watch-copy { max-width: 430px; display: flex; flex-direction: column; gap: 18px; }
.l-watch-copy .l-title { font-size: clamp(1.9rem, 3.6vw, 2.4rem); }

/* ---------- Gallery ---------- */
.l-gallery { text-align: center; }
.l-gallery .l-eyebrow { margin-bottom: 16px; }
.l-gallery .l-title { margin-bottom: 50px; }
.l-gallery-strip { display: flex; gap: 20px; overflow-x: auto; padding: 6px 28px 12px; justify-content: safe center;
  scrollbar-width: none; scroll-snap-type: x mandatory; }
.l-gallery-strip::-webkit-scrollbar { display: none; }
.l-gallery-strip .device { --dw: 154px; scroll-snap-align: center; }

/* ---------- Final CTA ---------- */
.l-final { text-align: center; padding: 96px 28px 104px; }
.l-final-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.l-final-orb { position: relative; width: 300px; height: 240px; display: flex; align-items: center; justify-content: center; }
.l-final-orb::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.42), transparent 60%); filter: blur(40px); }
.l-final-orb img { position: relative; width: 232px; height: 232px; object-fit: contain; mix-blend-mode: screen; }
.l-final .l-title { font-size: clamp(2.4rem, 6vw, 3.25rem); letter-spacing: -0.035em; }
.l-final-sub { font-size: clamp(1rem, 1.8vw, 1.125rem); line-height: 1.6; color: var(--l-dim); max-width: 540px; margin: 0; }

/* ---------- Footer ---------- */
.l-footer { border-top: 1px solid var(--l-hairline); background: rgba(6,5,9,0.6); padding: 56px 28px 32px; }
.l-footer-grid { max-width: var(--l-maxw); margin: 0 auto 44px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.l-footer .l-logo { display: block; margin-bottom: 8px; }
.l-footer-tag { font-size: 0.875rem; color: var(--l-faint); margin: 0 0 14px; }
.l-footer-dev { font-size: 0.8125rem; font-weight: 500; color: var(--l-accent); transition: color .18s; }
.l-footer-dev:hover { color: var(--l-white); }
.l-footer-col h5 { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--l-dim); margin: 0 0 12px; }
.l-footer-col { display: flex; flex-direction: column; gap: 8px; }
.l-footer-col a { font-size: 0.875rem; color: var(--l-faint); transition: color .18s; }
.l-footer-col a:hover { color: var(--l-white); }
.l-footer-bottom { max-width: var(--l-maxw); margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--l-hairline); }
.l-footer-bottom p { font-size: 0.8rem; color: var(--l-faint); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .l-hero { flex-direction: column-reverse; text-align: center; gap: 44px; padding-top: 24px; min-height: 0; }
  .l-hero-copy { max-width: 560px; }
  .l-hero-copy .l-eyebrow { display: inline-block; }
  .l-hero-sub { margin-left: auto; margin-right: auto; }
  .l-hero-cta { justify-content: center; }
  .l-hero-micro, .l-hero-legal { margin-left: auto; margin-right: auto; }
  .l-feature, .l-feature.reverse { flex-direction: column; gap: 44px; text-align: center; }
  .l-feature-copy { align-items: center; max-width: 500px; }
  .plus-pill { align-self: center; }
  .l-plus { flex-direction: column; gap: 44px; }
  .l-watch { flex-direction: column; gap: 44px; }
  .l-watch-copy { align-items: center; text-align: center; }
}
@media (max-width: 620px) {
  .l-section { padding: 60px 20px; }
  .l-nav-inner { padding: 0 20px; }
  .l-nav-links { gap: 14px; }
  .l-nav-links a:not(.l-nav-cta) { display: none; }
  .l-hero { padding: 16px 20px 40px; }
  .l-hero-phone { --dw: 260px; }
  .l-plan-lists { grid-template-columns: 1fr; gap: 20px; }
  .l-plan-card { padding: 28px 22px; }
  .l-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .l-footer-brand { grid-column: 1 / -1; }
  .l-gallery-strip { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
