/* markenist.com landing page. Same brand as the app: violet tile, coral dot, Manrope headings, DM Sans text. */
:root {
  --primary: #5b3df5; --primary-deep: #4325c9; --primary-soft: #efebff; --coral: #ff6b4a;
  --ink: #141b2d; --text: #3b4458; --muted: #667085; --line: #e6e8f0; --bg: #ffffff; --tint: #f7f6fc;
  --radius: 18px; --shadow: 0 24px 60px -24px rgba(40, 24, 140, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .brand span { font-family: 'Manrope', 'DM Sans', system-ui, sans-serif; color: var(--ink); letter-spacing: -0.02em; }
a { color: inherit; }
img { display: block; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 15.5px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .toggle button:focus-visible, summary:focus-visible, .top-nav a:focus-visible { outline: 3px solid rgba(91, 61, 245, .35); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(91, 61, 245, .7); }
.btn-primary:hover { background: var(--primary-deep); }
.btn-ghost { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: #cfd3e0; }
.btn-light { background: #fff; color: var(--primary-deep); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.top.scrolled { border-bottom-color: var(--line); }
.top-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand span { font-size: 21px; font-weight: 800; }
.top-nav { display: flex; gap: 26px; margin-left: 12px; }
.top-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); }
.top-nav a:hover { color: var(--primary); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.link-quiet { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.link-quiet:hover { color: var(--primary); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background: radial-gradient(900px 480px at 85% 10%, #efe9ff 0%, rgba(239, 233, 255, 0) 70%), radial-gradient(600px 360px at 0% 100%, #fff1ec 0%, rgba(255, 241, 236, 0) 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 74, .16); }
.hero h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.06; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--primary); }
.lead { margin: 22px 0 0; font-size: 19px; color: var(--text); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 9px; height: 5px; border-left: 2px solid #12a15d; border-bottom: 2px solid #12a15d; transform: rotate(-45deg) translateY(-2px); }

/* Product mock built in CSS: no screenshots to go stale. */
.hero-visual { position: relative; min-height: 560px; }
.mock { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--ink); }
.mock-chip { padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 12px; }
.mock-time { color: var(--muted); font-weight: 500; }
.mock-main { top: 0; left: 4%; right: 8%; }
.mock-post { display: grid; grid-template-columns: 150px 1fr; gap: 16px; margin-top: 16px; }
.mock-img { aspect-ratio: 4 / 5; border-radius: 12px; padding: 12px; display: flex; align-items: flex-end; background: linear-gradient(160deg, #6d4dff 0%, #4325c9 60%, #2a1890 100%); position: relative; overflow: hidden; }
.mock-img::before { content: ''; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); top: 12px; right: 12px; }
.mock-img span { position: relative; color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 14px; line-height: 1.2; }
.mock-body strong { display: block; color: var(--ink); font-size: 15px; }
.mock-body p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.mock-tags { display: flex; gap: 6px; margin-top: 12px; }
.mock-tags span { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #f2f4f7; color: #475467; }
.mock-actions { display: flex; gap: 8px; margin-top: 16px; }
.mock-btn { flex: 1; text-align: center; padding: 9px 0; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); }
.mock-btn.ok { background: var(--primary); border-color: var(--primary); color: #fff; }
.mock-chart { width: 250px; bottom: 0; left: 0; }
.mock-up { color: #12a15d; font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin-top: 14px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: #dcd4ff; }
.bars i:last-child, .bars i:nth-last-child(2) { background: var(--primary); }
.mock-chat { width: 260px; bottom: 28px; right: 0; }
.bubble { margin: 10px 0 0; padding: 8px 12px; border-radius: 14px; font-size: 13.5px; max-width: 88%; width: fit-content; }
.bubble.in { background: #f2f4f7; color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.out { margin-left: auto; background: #dcf8c6; color: #0f3d20; border-bottom-right-radius: 4px; }

/* Integrations strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; align-items: center; gap: 28px; padding: 20px 0; flex-wrap: wrap; }
.strip-inner > span { font-size: 14px; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.strip li { font-family: 'Manrope', sans-serif; font-weight: 700; color: #475467; font-size: 15.5px; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2, .control-copy h2, .cta h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 800; }
.section-head p:not(.eyebrow) { margin: 16px 0 0; font-size: 17.5px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.feature:hover { border-color: #d6cdfd; box-shadow: 0 14px 34px -22px rgba(40, 24, 140, .35); }
.f-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.f-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 18px 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800; }
.steps h3 { margin: 18px 0 8px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

.control { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.control-copy p:not(.eyebrow) { margin: 16px 0 0; font-size: 17.5px; color: var(--muted); }
.control-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.control-list li { display: grid; gap: 4px; padding: 20px 22px 20px 58px; border: 1px solid var(--line); border-radius: 16px; position: relative; }
.control-list li::before { content: ''; position: absolute; left: 22px; top: 23px; width: 20px; height: 20px; border-radius: 50%; background: #e7f6ee; }
.control-list li::after { content: ''; position: absolute; left: 28px; top: 29px; width: 8px; height: 4px; border-left: 2px solid #12a15d; border-bottom: 2px solid #12a15d; transform: rotate(-45deg); }
.control-list strong { color: var(--ink); font-size: 16.5px; }
.control-list span { color: var(--muted); font-size: 15px; }

/* Pricing */
.toggle { display: inline-flex; margin-top: 26px; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.toggle button { height: 40px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; }
.toggle button.active { background: var(--ink); color: #fff; }
.toggle em { font-style: normal; margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: #e7f6ee; color: #11683d; font-size: 12px; }
.toggle button.active em { background: rgba(255, 255, 255, .16); color: #b9f3d3; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.plan.highlight { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -13px; left: 26px; padding: 4px 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 700; }
.plan h3 { margin: 0; font-size: 21px; }
.plan .aud { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; }
.price .amount { font-family: 'Manrope', sans-serif; font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.price .per { color: var(--muted); }
.save { min-height: 22px; margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.plan ul { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 9px; font-size: 15px; flex: 1; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before { content: ''; position: absolute; left: 3px; top: 7px; width: 10px; height: 5px; border-left: 2px solid #12a15d; border-bottom: 2px solid #12a15d; transform: rotate(-45deg); }
.plan li.no { color: #98a2b3; }
.plan li.no::before { border: 0; width: 10px; height: 2px; top: 11px; background: #c4c9d4; transform: none; }
.plan .btn { width: 100%; }
.plans-note { margin: 26px auto 0; max-width: 680px; text-align: center; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-wrap .section-head { margin-bottom: 32px; }
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; color: var(--ink); font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 500; color: var(--primary); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* Closing call to action */
.cta { padding: 0 0 96px; }
.cta-inner { padding: 64px 32px; border-radius: 28px; text-align: center; background: radial-gradient(500px 260px at 90% 0%, rgba(255, 107, 74, .35), rgba(255, 107, 74, 0) 70%), linear-gradient(135deg, #5b3df5 0%, #3a1fb8 100%); }
.cta h2 { color: #fff; }
.cta p { margin: 12px 0 28px; color: rgba(255, 255, 255, .82); font-size: 18px; }

.foot { border-top: 1px solid var(--line); padding: 40px 0; background: #fff; }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot p { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-start; }
.foot nav a { text-decoration: none; font-size: 14.5px; color: var(--text); }
.foot nav a:hover { color: var(--primary); }

@media (max-width: 1020px) {
  .top-nav { display: none; }
  .hero-grid, .control { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 560px; max-width: 560px; width: 100%; margin: 0 auto; }
  .features, .plans { grid-template-columns: 1fr 1fr; }
  .plans .plan:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .top-actions { gap: 14px; }
  .top-inner { gap: 12px; }
  .brand span { font-size: 19px; }
  .brand img { width: 26px; height: 26px; }
  .top .btn-sm { padding: 0 13px; }
  .hero { padding: 44px 0 60px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-visual { min-height: 0; display: grid; gap: 14px; }
  .mock { position: static; width: auto; }
  .mock-post { grid-template-columns: 110px 1fr; }
  .mock-chart, .mock-chat { display: none; }
  .features, .steps, .plans { grid-template-columns: 1fr; }
  .plans .plan:last-child { grid-column: auto; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .toggle { width: 100%; }
  .toggle button { flex: 1; padding: 0 8px; }
  .toggle em { display: none; }
  .cta { padding-bottom: 68px; }
  .cta-inner { padding: 48px 22px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature { transition: none; }
}
