/* ============================================================
   Karumi — landing page clone
   Design system
   ============================================================ */
:root {
  --bg: #ffffff;
  --ink: #1a1714;             /* headings / strong text */
  --ink-body: #39342d;        /* long-form paragraph text */
  --ink-soft: #6b6760;        /* secondary / supporting text */
  --ink-faint: #9a958d;       /* labels, meta, captions */
  --line: #ece6dc;
  --grid: rgba(40,30,22,.10);   /* framing grid lines */
  --accent: #b89968;          /* primary gold — richer than the editor's soft gold so CTAs still pop */
  --accent-soft: #c8b89a;     /* the editor's exact gold, for gradients */
  --amber: #c2a878;           /* warm line-art icons */
  --peach-1: #f0e6d6;         /* warm cream/sand washes (was peach) */
  --peach-2: #e3d2b8;
  --peach-3: #d8c5a4;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(26,23,20,.06), 0 4px 14px rgba(26,23,20,.05);
  --shadow-md: 0 10px 40px rgba(150,120,80,.16);
  --maxw: 1240px;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* Continuous vertical grid lines down both edges of the content column */
.page-grid {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--maxw);
  border-left: 1px solid var(--grid);
  border-right: 1px solid var(--grid);
  pointer-events: none;
  z-index: 3;
}

/* Horizontal grid rule — full-bleed, runs edge to edge across the page.
   100vw + centering lets it escape any max-width parent. */
.gridline-top { position: relative; }
.gridline-top::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: var(--grid);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -.01em;
  border: none;
  border-radius: 10px;
  padding: 9px 15px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-1px); }
.btn--accent {
  background: linear-gradient(180deg, #34302a, #1a1714);
  color: #fff;
  box-shadow: 0 8px 20px rgba(40,33,24,.28);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(40,33,24,.4); }

/* Soft cream CTA (hero "Launch Demo Now") */
.btn--cream {
  background: linear-gradient(180deg, #ffffff, #f3ecdf);
  color: var(--ink);
  border: 1px solid #f0e3d4;
  box-shadow: 0 1px 0 #fff inset, 0 6px 16px rgba(176,106,62,.14);
}
.btn--cream:hover { transform: translateY(-1px); box-shadow: 0 1px 0 #fff inset, 0 10px 22px rgba(176,106,62,.20); }
.btn__ic {
  width: 16px; height: 16px; border-radius: 5px;
  background:
    radial-gradient(circle at 30% 30%, #f0e2c4, transparent 60%),
    linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 1px 3px rgba(120,95,55,.4);
}
.btn--lg { padding: 11px 18px; font-size: 13.5px; }

.dot-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.brand__mark {
  display: grid; place-items: center;
  width: 26px; height: 26px;
}
.brand__mark svg { display: block; }
.brand__name { font-size: 17px; letter-spacing: -.02em; font-weight: 500; }
.nav__links { display: flex; gap: 30px; font-size: 14px; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ink); }
.nav__toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 0; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px 5px 6px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.yc {
  display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 4px;
  background: #ff6600; color: #fff;
  font-weight: 700; font-size: 12px; font-family: var(--sans);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: -.015em;
}
.hero__sub {
  margin: 22px auto 30px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 520px;
}
.hero__note { color: var(--ink-faint); font-size: 13px; margin-top: 14px; }

/* Hero media */
.hero__media { position: relative; margin: 50px auto 0; max-width: 940px; }

.window {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--peach-1);
}
/* warm gradient frame behind the hero window */
.hero__media::before {
  content: "";
  position: absolute;
  inset: -40px -60px;
  background:
    radial-gradient(60% 80% at 20% 30%, var(--peach-1), transparent 70%),
    radial-gradient(70% 90% at 80% 60%, var(--peach-3), transparent 72%),
    linear-gradient(120deg, #f3ead9, #e0cdac);
  filter: blur(2px);
  border-radius: 40px;
  z-index: -1;
}
.window__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 16px;
  background: var(--peach-2);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff6058; } .dot.yellow { background: #ffbd2e; } .dot.green { background: #28c840; }
.window__url {
  margin-left: 12px; font-size: 12px; color: #b06a3e;
  background: rgba(255,255,255,.55); border-radius: 6px; padding: 3px 12px;
}
.window__body {
  display: grid;
  grid-template-columns: 64px 1fr 230px;
  gap: 14px;
  padding: 18px;
  min-height: 320px;
  background: linear-gradient(135deg, #fff6ee 0%, #ffe5d2 60%, #ffd0ad 100%);
}
.window__rail { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.rail-dot { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); }
.rail-line { height: 9px; border-radius: 5px; background: rgba(176,106,62,.25); }
.rail-line.short { width: 60%; }
.window__canvas {
  position: relative;
  background: rgba(255,255,255,.55);
  border-radius: 14px;
  padding: 22px;
  display: flex; align-items: flex-end;
}
.chart { display: flex; align-items: flex-end; gap: 12px; width: 100%; height: 100%; min-height: 200px; }
.bar {
  flex: 1; height: var(--h);
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  border-radius: 6px 6px 0 0;
  opacity: .92;
}
.cursor {
  position: absolute; left: 40%; top: 46%;
  width: 14px; height: 14px;
  border-left: 2px solid var(--ink); border-top: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.live-pill {
  position: absolute; top: 14px; right: 14px;
  font-size: 10px; font-weight: 700; color: var(--accent);
  background: #fff; padding: 4px 9px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.window__call { display: flex; flex-direction: column; gap: 12px; position: relative; }
.call-tile { border-radius: 12px; }
.call-tile--person {
  height: 130px;
  background: linear-gradient(160deg, #9fb6c9, #5d7689);
}
.call-tile--screen {
  height: 110px;
  background: linear-gradient(160deg, var(--accent-soft), #e23d12);
}
.connect-pill {
  font-size: 11px; color: var(--ink-soft);
  background: #fff; border-radius: 999px; padding: 6px 12px;
  box-shadow: var(--shadow-sm); text-align: center;
}

.float-card {
  position: absolute; right: -10px; top: 36%;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px;
  padding: 12px 14px; box-shadow: var(--shadow-md);
  font-size: 12px;
}
.float-card strong { display: block; font-size: 13px; }
.float-card span { color: var(--ink-faint); font-size: 11px; }
.float-card__icon { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(160deg, var(--accent-soft), var(--accent)); }
.float-card__close { border: none; background: none; font-size: 16px; color: var(--ink-faint); cursor: pointer; }

/* ---------- Logos ---------- */
.logos { padding: 64px 0; }
.logos__label { text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 30px; }
.logos__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  align-items: center;
  justify-content: center;
}
.logo {
  font-weight: 600; font-size: 19px; color: #c8c2b8;
  letter-spacing: -.02em;
  transition: color .2s ease;
}
.logo:hover { color: #8c867c; }

/* ---------- Section titles ---------- */
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.section-title--center { text-align: center; }
.accent-text { color: var(--accent); }
.kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.kicker--center { text-align: center; }

/* ---------- Intent / diagram ---------- */
.intent { padding: 70px 0; text-align: center; }
.badge-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 26px;
}
.badge-row li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: var(--shadow-sm);
}
.badge-check {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}
.diagram {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 56px;
}
.diagram__col { display: flex; flex-direction: column; gap: 16px; }
.lead-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.lead-card .pin { font-size: 16px; }
.lead-card .lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.lead-card .lines i { height: 7px; border-radius: 4px; background: rgba(176,106,62,.16); display: block; }
.lead-card .lines i.s { width: 55%; }
.lead-card--out { background: linear-gradient(135deg, #fff, #fff4ec); }
.diagram__hub { display: grid; place-items: center; }
.hub-ring {
  width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, rgba(255,90,44,.08), transparent 70%);
  border: 1px dashed rgba(255,90,44,.3);
}
.hub-core {
  width: 84px; height: 84px; border-radius: 22px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--accent-soft), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* ---------- Features ---------- */
.features { padding: 40px 0 60px; }
.features > .container:first-child { text-align: center; margin-bottom: 30px; }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px 24px;
}
.feature--reverse .feature__text { order: 2; }
.feature__text h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.18;
  letter-spacing: -.01em;
}
.feature__media {
  position: relative;
  background: var(--peach-1);
  border-radius: var(--radius-lg);
  min-height: 300px;
  padding: 26px;
  overflow: hidden;
}
.window--mini { max-width: 320px; }
.window__body--chart { min-height: 150px; grid-template-columns: 1fr; }

.chat-bubble {
  position: absolute;
  font-size: 12.5px;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  max-width: 230px;
}
.chat-bubble--in { left: 26px; bottom: 70px; background: #fff; }
.chat-bubble--out { right: 26px; bottom: 24px; background: var(--ink); color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip { font-size: 12px; background: #fff; border-radius: 999px; padding: 7px 13px; box-shadow: var(--shadow-sm); }
.brand-tile {
  width: 64px; height: 64px; border-radius: 16px; margin: 6px auto 18px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--accent-soft), var(--accent));
  color: #fff; box-shadow: var(--shadow-md);
}
.avatar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.avatar-grid span {
  aspect-ratio: 1; border-radius: 12px;
  background: linear-gradient(160deg, #cdbfae, #a98e72);
  opacity: .8;
}

/* map */
.feature__media--map { background: linear-gradient(135deg, #fff2e6, #ffcfa6); }
.map { position: relative; width: 100%; height: 300px; }
.map__grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(176,106,62,.25) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
  opacity: .5;
}
.map-pin {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px rgba(255,90,44,.2);
  transform: translate(-50%, -50%);
}
.person-card {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 9px;
  background: #fff; border-radius: 12px; padding: 8px 12px;
  box-shadow: var(--shadow-md); font-size: 12px; white-space: nowrap;
}
.person-card small { display: block; color: var(--ink-faint); font-size: 10px; }
.pc-flag { font-size: 16px; }

/* ---------- CRM ---------- */
.crm { padding: 30px 0 80px; }
.crm__inner {
  position: relative;
  background: linear-gradient(135deg, #fff6ee, #ffe0c4);
  border-radius: 28px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 60px;
  align-items: center;
  overflow: hidden;
}
.crm__title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; }
.crm__sub { color: var(--ink-soft); font-size: 15px; max-width: 360px; }
.crm__diagram { position: relative; grid-row: span 2; height: 260px; }
.crm-node {
  position: absolute;
  background: #fff; border-radius: 12px; padding: 8px 14px;
  box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 600;
}
.crm-node--brevo { left: 8%; top: 6%; }
.crm-node--sf { left: 0; top: 42%; }
.crm-node--attio { left: 10%; top: 76%; }
.crm-node--hub { left: 30%; top: 90%; }
.crm-feed { list-style: none; position: absolute; right: 0; top: 0; width: 46%; display: flex; flex-direction: column; gap: 12px; }
.crm-feed li { height: 40px; border-radius: 10px; background: linear-gradient(90deg, #fff, #fff3e8); box-shadow: var(--shadow-sm); }

/* ---------- Security ---------- */
.security { padding: 70px 0; text-align: center; }
.seals { display: flex; gap: 18px; justify-content: center; margin: 28px 0 40px; }
.seal {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: #fff;
  text-align: center; line-height: 1.1;
}
.seal--blue { background: radial-gradient(circle at 30% 30%, #3a7bd5, #1e4d8c); }
.seal--gray { background: radial-gradient(circle at 30% 30%, #cfcfcf, #8d8d8d); }
.security__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sec-card {
  height: 150px; border-radius: var(--radius-lg);
  display: grid; place-items: center;
  background: linear-gradient(135deg, #fff2e6, #ffceA0);
  font-size: 30px; color: var(--accent);
}
.sec-ic { opacity: .85; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 50px 0 80px; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.tcard {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.tcard__photo {
  height: 230px;
  background: linear-gradient(160deg, #d8c7b4, #9c8369);
}
.tcard figcaption { position: relative; padding: 18px; margin-top: -42px; }
.tcard__co {
  display: inline-block; font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(20,18,16,.55); border-radius: 6px; padding: 3px 9px;
  backdrop-filter: blur(4px); margin-bottom: 10px;
}
.tcard strong { display: block; font-size: 15px; }
.tcard small { color: var(--ink-faint); }

/* ---------- Research ---------- */
.research { padding: 0; }
.research__head { padding: 72px 24px 44px; text-align: center; }
.research__head .section-title { font-size: clamp(34px, 5vw, 54px); }
.research__sub {
  color: var(--ink-soft);
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 16px;
}
.research__rows { padding: 16px 0 40px; }
.research-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
  padding: 36px 0;
}
.research-row__icon { color: var(--amber); }
.research-row__icon svg { width: 84px; height: 84px; display: block; }
.research-row__body { max-width: 720px; }
.research-row__body .kicker { margin-bottom: 16px; }
.research-row__body p:not(.kicker) {
  color: var(--ink-body);
  font-size: 15px;
  line-height: 1.62;
  margin-bottom: 14px;
}
.research-row__body p:not(.kicker):last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 110px 0 130px;
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 1500px; height: 680px; border-radius: 50%;
  background: radial-gradient(closest-side, #ecdcbe, #ddc8a0 40%, transparent 72%);
  filter: blur(10px);
  z-index: -1;
}
.cta__title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.cta__form {
  display: inline-flex; gap: 8px; margin: 30px 0 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 6px 6px 6px 16px; box-shadow: var(--shadow-md);
}
.cta__form input { border: none; outline: none; font-size: 14px; width: 220px; background: transparent; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer__brand p { margin-top: 14px; color: var(--ink-soft); font-size: 13px; max-width: 280px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 13px; margin-bottom: 4px; }
.footer__col a { font-size: 13px; color: var(--ink-soft); }
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  display: flex; align-items: center; gap: 18px;
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-faint);
}
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: #f3f0eb; color: var(--ink-soft); font-size: 13px;
}
.footer__made { margin-left: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .feature, .crm__inner, .footer__inner { grid-template-columns: 1fr; }
  .feature--reverse .feature__text { order: 0; }
  .crm__diagram { grid-row: auto; }
  .security__cards, .testimonials__grid { grid-template-columns: 1fr; }
  .diagram { grid-template-columns: 1fr; gap: 24px; }
  .diagram__hub { order: -1; }
  .float-card { display: none; }
  .window__body { grid-template-columns: 1fr; }
  .window__rail, .window__call { display: none; }
  .footer__bottom { flex-wrap: wrap; }
  .footer__made { margin-left: 0; width: 100%; }
  .research-row { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .research-row__icon svg { width: 64px; height: 64px; }
}
