/* ============================================================
   Markmez landing — calm, flat, muted indigo palette
   Plus Jakarta Sans · solid surfaces · no glow
   ============================================================ */

:root {
  /* color */
  --bg: #0c0e12;
  --surface: #1b1d23;
  --surface-2: #20232b;
  --primary: #6b7cf0;
  --primary-2: #5a6ad8;
  --brand-soft: #9fb0ff;
  --green: #5dcaa5;
  --on-surface: #f4f6fb;
  --on-variant: #8b93a7;
  --muted: #5b6377;
  --outline: rgba(255, 255, 255, 0.08);
  --outline-hover: rgba(255, 255, 255, 0.14);
  --divider: rgba(255, 255, 255, 0.07);
  --glass: var(--surface);
  --glass-hover: var(--surface-2);

  /* shape */
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;

  /* layout */
  --max: 1160px;
  --gutter: 24px;
  --section-gap: 120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* ---------- ambient backdrop (very subtle, single top wash) ---------- */
.bg-glow {
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,124,240,0.12), transparent 65%);
  z-index: -1;
  pointer-events: none;
}
.bg-glow--2 { display: none; }

/* ---------- surface card primitive (solid, flat) ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--r-lg);
}

/* ---------- chips / kickers ---------- */
.chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-soft);
  background: rgba(107, 124, 240, 0.12);
  border: 1px solid rgba(107, 124, 240, 0.22);
  padding: 6px 12px;
  border-radius: 999px;
}
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-soft);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
  color: #fff;
  background: var(--primary);
}
.btn--primary:hover { background: #7888f4; }
.btn--primary:active { transform: scale(0.99); }
.btn--ghost {
  color: var(--on-surface);
  background: var(--surface-2);
  border: 1px solid var(--outline-hover);
}
.btn--ghost:hover { background: #262932; border-color: var(--outline-hover); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand__mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: #fff;
  padding: 3px;
  object-fit: contain;
  display: block;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--on-variant); font-size: 14px; transition: color 0.15s; }
.nav__links a:hover { color: var(--on-surface); }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding-top: 90px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .chip { margin-bottom: 24px; }
.hero__title {
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.hero__sub {
  margin-top: 22px;
  font-size: 18px;
  color: var(--on-variant);
  max-width: 56ch;
}
.nowrap { white-space: nowrap; }
.hero__cta {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__cta--center { margin-top: 26px; }
.cta-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  font-family: inherit;
}

/* social proof */
.hero__proof {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
  color: var(--on-variant);
}
.hero__proof strong { color: var(--on-surface); }
.hero__proof--center { margin-top: 18px; }
.dot { color: var(--muted); }
.stars { color: #ffcf5c; letter-spacing: 2px; position: relative; }
.stars--sm { font-size: 13px; letter-spacing: 1px; }
.stars__half {
  background: linear-gradient(90deg, #ffcf5c 50%, rgba(255,207,92,0.25) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- product window mockup ---------- */
.window {
  margin-top: 60px;
  width: 100%;
  max-width: 980px;
  border-radius: var(--r-lg);
  border: 1px solid var(--outline);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--outline);
  background: rgba(0,0,0,0.2);
}
.window__dot { width: 11px; height: 11px; border-radius: 50%; background: #3a3a48; }
.window__dot:nth-child(1) { background: #ff5f57; }
.window__dot:nth-child(2) { background: #febc2e; }
.window__dot:nth-child(3) { background: #28c840; }
.window__url {
  margin-left: 14px;
  font-family: inherit;
  font-size: 12px;
  color: var(--muted);
}

.window__img {
  display: block;
  width: 100%;
  height: auto;
}

.window__screen {
  background: #14161c;
  padding: 36px;
  min-height: 360px;
  text-align: left;
}
.nt__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.nt__clock { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.nt__search {
  flex: 0 1 320px;
  margin-left: 24px;
  padding: 11px 16px;
  border-radius: var(--r-md);
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--outline);
  color: var(--muted);
  font-size: 14px;
}
.nt__boards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.board {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--outline);
  border-radius: var(--r-md);
  padding: 16px;
  backdrop-filter: blur(12px);
}
.board__head {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--on-surface);
}
.board__head span {
  font-family: inherit;
  font-size: 11px;
  color: var(--muted);
}
.board__link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--on-variant);
  padding: 6px 0;
}
.fav { width: 16px; height: 16px; border-radius: 5px; flex: none; }
.fav--a { background: #5e6ad2; }
.fav--b { background: #f24e1e; }
.fav--c { background: #6e7681; }
.fav--d { background: #e3e1f0; }
.fav--e { background: #ff7a59; }
.board__note {
  margin-top: 8px;
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  border-left: 2px solid var(--primary);
  padding-left: 10px;
}
.board__shot {
  height: 56px;
  border-radius: var(--r-sm);
  margin-bottom: 8px;
}
.board__shot--1 { background: linear-gradient(120deg, #ff8a5c, #ffd16b); }
.board__shot--2 { background: linear-gradient(120deg, #6c6cff, #b07bff); }

/* ---------- trust strip ---------- */
.strip {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0.8;
}
.strip__label {
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.strip__logos { display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; }
.strip__logos span { font-weight: 600; font-size: 17px; color: var(--on-variant); }

/* ---------- generic section ---------- */
.section { padding-top: var(--section-gap); }
.section__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.section__head h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section__head p { color: var(--on-variant); font-size: 17px; }

/* ---------- steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step { padding: 28px; }
.step__num {
  font-family: inherit;
  font-size: 13px;
  color: var(--primary);
}
.step h3 { margin: 14px 0 8px; font-size: 19px; font-weight: 600; }
.step p { color: var(--on-variant); font-size: 15px; }

/* ---------- features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--outline-hover);
  background: var(--glass-hover);
  transform: translateY(-3px);
}
.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(107, 124, 240, 0.12);
  border: 1px solid rgba(107, 124, 240, 0.22);
  color: var(--brand-soft);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { color: var(--on-variant); font-size: 14px; line-height: 1.55; }

/* ---------- bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.bento__card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.bento__card:hover {
  border-color: var(--outline-hover);
  background: var(--glass-hover);
  transform: translateY(-3px);
}
.bento__card--wide { grid-column: span 2; }
.bento__card h3 { margin: 10px 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.bento__card p { color: var(--on-variant); font-size: 15px; max-width: 52ch; }

.card-visual {
  margin-top: 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--outline);
  background: rgba(0,0,0,0.2);
  min-height: 120px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.card-visual--boards { gap: 14px; }
.mini-board {
  flex: 1;
  height: 84px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--outline);
}
.mini-board:nth-child(2) { background: rgba(108,108,255,0.18); border-color: rgba(108,108,255,0.4); }
.card-visual--save { flex-direction: column; align-items: flex-start; }
.save-pill {
  font-family: inherit;
  font-size: 12px;
  color: var(--primary);
  background: rgba(108,108,255,0.15);
  border: 1px solid rgba(108,108,255,0.3);
  padding: 6px 12px;
  border-radius: 8px;
}
.save-row { width: 100%; height: 12px; border-radius: 6px; background: rgba(255,255,255,0.06); }
.save-row:last-child { width: 65%; }
.card-visual--theme {
  background: linear-gradient(120deg, #ff8a5c, #6c6cff 60%, #b07bff);
  border: none;
}
.card-visual--privacy { flex-wrap: wrap; }
.lock { font-size: 24px; }
.privacy-tag {
  font-family: inherit;
  font-size: 12px;
  color: var(--on-variant);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--outline);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { font-size: 16px; line-height: 1.55; color: var(--on-surface); }
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--on-variant);
  margin-top: auto;
}
.avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.avatar--a { background: linear-gradient(135deg, #6c6cff, #b07bff); }
.avatar--b { background: linear-gradient(135deg, #ff8a5c, #ffd16b); }
.avatar--c { background: linear-gradient(135deg, #28c840, #6cffd1); }

/* ---------- pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 22px;
  justify-content: center;
  align-items: stretch;
}
.plan { padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan--featured {
  border-color: rgba(107, 124, 240, 0.45);
  background: var(--surface);
}
.plan__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-soft);
  background: #23262f;
  border: 1px solid rgba(107, 124, 240, 0.45);
  padding: 5px 14px;
  border-radius: 999px;
}
.plan__name { font-size: 16px; font-weight: 600; color: var(--on-variant); }
.plan__price { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; margin-top: 8px; }
.plan__strike { font-size: 22px; font-weight: 500; color: var(--muted); text-decoration: line-through; }
.plan__tag {
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.plan__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.plan__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--on-variant);
}
.plan__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.plan__list strong { color: var(--on-surface); }
.plan a { margin-top: auto; }
.plan a.plan__secondary { margin-top: 14px; font-size: 14px; }
.plan__guarantee { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.plans--single { grid-template-columns: minmax(0, 440px); }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { padding: 0 24px; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding-bottom: 20px; color: var(--on-variant); font-size: 15px; }

/* ---------- final cta ---------- */
.finalcta {
  margin-top: var(--section-gap);
  text-align: center;
  padding: 64px 32px;
  background: var(--surface);
  border-color: var(--outline);
}
.finalcta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.02em; }
.finalcta p { color: var(--on-variant); margin-top: 12px; font-size: 17px; }
.finalcta .hero__proof { justify-content: center; }

/* ---------- footer ---------- */
.footer {
  margin-top: 100px;
  border-top: 1px solid var(--outline);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.footer__links { display: flex; gap: 24px; }
.footer__links a:hover { color: var(--on-surface); }
.footer__mail { color: var(--muted); }
.footer__mail:hover { color: var(--on-surface); }

/* ============================================================
   Legal pages (/privacy, /terms)
   ============================================================ */
.legal { max-width: 760px; margin: 0 auto; padding-top: 56px; }
.legal h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.legal__updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal p { color: var(--on-variant); font-size: 15px; line-height: 1.7; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: none; margin: 14px 0; display: flex; flex-direction: column; gap: 10px; }
.legal li {
  position: relative;
  padding-left: 20px;
  color: var(--on-variant);
  font-size: 15px;
  line-height: 1.6;
}
.legal li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.legal a { color: var(--brand-soft); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--on-surface); }

/* ============================================================
   Buy page (/buy)
   ============================================================ */
.nav__back { color: var(--on-variant); font-size: 14px; transition: color 0.15s; }
.nav__back:hover { color: var(--on-surface); }
.nav__back { color: var(--on-variant); font-size: 14px; transition: color 0.15s; }
.nav__back:hover { color: var(--on-surface); }

.buy-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
  padding-top: 72px;
  padding-bottom: 40px;
}
.buy-hero__copy .chip { margin-bottom: 20px; }
.buy-hero__title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.buy-hero__sub { margin-top: 18px; font-size: 17px; color: var(--on-variant); max-width: 50ch; }

.ticks { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--on-surface);
  white-space: nowrap;
}
.ticks li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--green); font-weight: 700;
}
.secure {
  margin-top: 26px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
  font-family: inherit;
}

/* personalized stats row */
.buy-stats {
  display: flex;
  margin-top: 30px;
  padding: 18px 10px;
}
.buy-stats__item {
  flex: 1;
  text-align: center;
  padding: 0 10px;
  border-right: 1px solid var(--outline);
}
.buy-stats__item:last-child { border-right: none; }
.buy-stats__num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.buy-stats__label {
  font-family: inherit;
  font-size: 12px;
  color: var(--muted);
}

.buy-includes {
  margin-top: 34px;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 14px;
  color: var(--on-variant);
}

/* purchase card */
.buy-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 24px;
  border-radius: 18px;
}
.buy-card__head { display: flex; align-items: center; justify-content: space-between; }
.buy-card__name { font-weight: 600; font-size: 16px; }
.buy-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-soft);
  background: rgba(107, 124, 240, 0.13);
  padding: 4px 12px;
  border-radius: 999px;
}
.buy-card__rule { border: none; border-top: 1px solid var(--divider); margin: 22px 0; }
.buy-card__pricewrap { text-align: center; }
.buy-card__price { font-size: 54px; }
.buy-card__label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.buy-card__green { color: var(--green); font-size: 14px; margin-top: 8px; margin-bottom: 24px; }
.buy-card__secure {
  text-align: center;
  font-family: inherit;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.buy-card__reassure { font-size: 13px; line-height: 1.55; color: var(--on-variant); }
.buy-card__reassure strong { color: var(--on-surface); }
.ico-lock { vertical-align: -1px; margin-right: 3px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  :root { --section-gap: 80px; }
  .nav__links { display: none; }
  .steps, .quotes, .nt__boards { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  .plans { grid-template-columns: 1fr; }
  .nt__top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nt__search { margin-left: 0; flex-basis: auto; width: 100%; }
  .window__screen { padding: 22px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .buy-hero { grid-template-columns: 1fr; gap: 32px; }
  .buy-card { position: static; top: auto; }
  .hero__br, .brk { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
