/* ═══════════════════════════════════════════════════════
   Dolphin{anty} — Marketplace Multicuenta (B2B SaaS, light)
   Aesthetic: clean B2B SaaS — warm paper + ink-navy + coral
   ═══════════════════════════════════════════════════════ */

:root {
  --bg:          #F6F6F2;
  --surface:     #FFFFFF;
  --surface-2:   #FBFAF7;
  --ink:         #181B23;
  --ink-navy:    #1B2440;
  --muted:       #5C616E;
  --muted-2:     #8A8F9C;
  --line:        rgba(24, 27, 35, 0.10);
  --line-2:      rgba(24, 27, 35, 0.16);

  --accent:      #F0552D;
  --accent-soft: #FF7A52;
  --accent-deep: #D33E18;
  --accent-tint: #FCEEE8;

  --positive:    #0E9C6B;
  --positive-tint: #E8F6F0;
  --bad:         #BE544A;

  --radius:      16px;
  --radius-sm:   11px;
  --maxw:        1180px;

  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 820px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(240, 85, 45, 0.6);
}
.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(240, 85, 45, 0.7);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ── Header ──────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 246, 242, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.header__logo { display: flex; align-items: center; }
.header__nav { display: flex; gap: 26px; }
.header__nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s ease;
}
.header__nav a:hover { color: var(--ink); }

/* ── Hero ────────────────────────────────────────────── */
.hero { padding: 76px 0 60px; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-tint);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink-navy);
  margin-bottom: 20px;
}
.hero__title-mark {
  color: var(--accent);
  white-space: normal;
}
.hero__subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero__actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero__trust {
  font-size: 13.5px;
  color: var(--muted-2);
}

/* ── Dashboard mockup ───────────────────────────────── */
.dash {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -36px rgba(27, 36, 64, 0.4), 0 2px 8px -4px rgba(27,36,64,0.1);
  overflow: hidden;
}
.dash__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.dash__dots { display: inline-flex; gap: 6px; }
.dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); display: block; }
.dash__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-navy);
}
.dash__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--positive);
  background: var(--positive-tint);
  padding: 3px 9px;
  border-radius: 999px;
}
.dash__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.dash__row:last-of-type { border-bottom: none; }
.dash__name {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-navy);
}
.dash__badges { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 6px;
}
.chip--ok { color: var(--positive); border-color: rgba(14,156,107,0.3); background: var(--positive-tint); }
.chip--team { color: var(--accent-deep); border-color: rgba(240,85,45,0.3); background: var(--accent-tint); }
.dash__row--team { background: rgba(240, 85, 45, 0.03); }
.dash__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted-2);
  flex-wrap: wrap;
}
.dash__legend { display: inline-flex; align-items: center; gap: 6px; }
.dash__legend .dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-left: 6px; }
.dot--cookies { background: var(--positive); }
.dot--proxy { background: var(--accent); }
.dot--fp { background: var(--ink-navy); }

/* ── Sections ────────────────────────────────────────── */
.section { padding: 76px 0; }
.section__head { margin-bottom: 44px; max-width: 720px; }
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(27px, 3.8vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink-navy);
}
.section__lede {
  margin-top: 14px;
  font-size: 17px;
  color: var(--muted);
}

/* ── Problems ────────────────────────────────────────── */
.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.problem-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.problem-card__icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--accent-deep);
  background: var(--accent-tint);
}
.problem-card p { font-size: 15px; color: var(--ink); margin-top: 9px; }

/* ── Use-case selector ──────────────────────────────── */
.usecases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.usecase-card {
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.usecase-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(27,36,64,0.4); }
.usecase-card__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-2);
}
.usecase-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  color: var(--ink-navy);
}
.usecase-card--active {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 18px 36px -24px rgba(240,85,45,0.45);
}
.usecase-card--active .usecase-card__tag { color: var(--accent); }

.usecases__example {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--accent-tint);
  border: 1px solid rgba(240,85,45,0.2);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.usecases__example-icon { flex: 0 0 auto; color: var(--accent-deep); margin-top: 1px; }
.usecases__example p { font-size: 15.5px; color: var(--ink); }

/* ── Solution ────────────────────────────────────────── */
.solution__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.solution-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.solution-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.solution-card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--ink-navy);
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.solution-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18.5px;
  color: var(--ink-navy);
  margin-bottom: 8px;
}
.solution-card__text { font-size: 14.5px; color: var(--muted); }

/* ── Workflow ────────────────────────────────────────── */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.flow-diagram__node {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-navy);
  background: var(--surface);
  border: 1px solid var(--line-2);
  padding: 11px 18px;
  border-radius: 999px;
}
.flow-diagram__node--accent {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.flow-diagram__arrow { color: var(--accent); font-weight: 700; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: s;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.step__n {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: var(--ink-navy);
  border-radius: 8px;
  margin-bottom: 14px;
}
.step p { font-size: 14px; color: var(--ink); }

/* ── Comparison ──────────────────────────────────────── */
.compare__table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare__col {
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.compare__col--bad { background: var(--surface); }
.compare__col--good { background: var(--ink-navy); border-color: var(--ink-navy); }
.compare__col-head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.compare__col--bad .compare__col-head { color: var(--muted); }
.compare__col--good .compare__col-head { color: #fff; border-bottom-color: rgba(255,255,255,0.14); }
.compare__col ul { list-style: none; }
.compare__col li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.4;
}
.compare__col li:last-child { margin-bottom: 0; }
.compare__col--bad li { color: var(--muted); }
.compare__col--bad li::before {
  content: "✕";
  position: absolute;
  left: 0; top: 0;
  color: var(--bad);
  font-weight: 700;
}
.compare__col--good li { color: rgba(255,255,255,0.92); }
.compare__col--good li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: #4FE0A8;
  font-weight: 700;
}

/* ── Offer ───────────────────────────────────────────── */
.offer__card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 48px 36px;
  box-shadow: 0 30px 60px -42px rgba(27,36,64,0.4);
}
.offer__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -0.02em;
  color: var(--ink-navy);
  margin-bottom: 12px;
}
.offer__text { font-size: 17px; color: var(--muted); max-width: 460px; margin: 0 auto 26px; }
.offer__sales {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
  background: var(--accent-tint);
  border: 1px solid rgba(240,85,45,0.2);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.offer__sales-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-navy);
  margin-bottom: 4px;
}
.offer__sales-text { font-size: 14.5px; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────── */
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq__item[open] { border-color: var(--line-2); }
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-navy);
  cursor: pointer;
  list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__chevron { flex: 0 0 auto; color: var(--accent); transition: transform .25s ease; }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 22px 20px; }
.faq__answer p { font-size: 15px; color: var(--muted); }

/* ── Final CTA ───────────────────────────────────────── */
.cta-final__card {
  text-align: center;
  background: var(--ink-navy);
  border-radius: 24px;
  padding: 56px 40px;
}
.cta-final__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
}
.cta-final__text { font-size: 17.5px; color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto 28px; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 13px; color: var(--muted-2); }

/* ── Scroll reveal ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .dash { max-width: 460px; }
  .problems__grid,
  .solution__grid { grid-template-columns: repeat(2, 1fr); }
  .usecases__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .header__nav { display: none; }
  .section { padding: 56px 0; }
  .hero { padding: 52px 0 40px; }
  .problems__grid,
  .solution__grid,
  .usecases__grid,
  .steps,
  .compare__table { grid-template-columns: 1fr; }
  .flow-diagram { flex-direction: column; }
  .flow-diagram__arrow { transform: rotate(90deg); }
  .offer__sales { flex-direction: column; text-align: center; }
  .footer__inner { flex-direction: column; text-align: center; }
  .cta-final__card { padding: 42px 24px; }
}
