/* ============================================================
   WebSignal marketing site — hand-owned rebuild (2026-07)
   Palette carried over from the original build:
   blue #3b82f6 (primary) · ink #111827 · body #6b7280
   borders #e5e7eb · tint #dfebf6 · success #10b981
   ============================================================ */

:root {
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --ink: #111827;
  --slate: #374151;
  --body: #6b7280;
  --muted: #9ca3af;
  --border: #e5e7eb;
  --surface: #f9fafb;
  --tint: #dfebf6;
  --success: #10b981;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 8px 24px rgba(16, 24, 40, .06);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--body);
  /* one continuous page background: light tint at the top, blending through
     the off-white and finishing white at the bottom — no section banding */
  background: linear-gradient(180deg, var(--tint) 0%, #eef4fa 18%, var(--surface) 55%, #fff 100%);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.15rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }

.eyebrow {
  display: inline-block; color: var(--blue); font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { margin-top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 600;
  font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: all .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(59, 130, 246, .35); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { border-color: var(--border); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-note { display: block; font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* ---------- nav ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 14px 0; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 22px; box-shadow: var(--shadow);
}
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a { color: var(--slate); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 9px 20px; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; font-size: 1.15rem; color: var(--ink); cursor: pointer; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 72px; text-align: center; }

/* honeycomb edge decorations — exact clusters from the original Framer build
   (stroke #DFEBF6, width 3, opacity .6) */
.hex-deco { position: relative; overflow: hidden; }
.hex-deco > .container { position: relative; z-index: 1; }
.hex-deco::before, .hex-deco::after {
  content: ""; position: absolute; width: 371px; height: 496px; top: 120px;
  background-repeat: no-repeat; background-size: contain; pointer-events: none; z-index: 0;
}
.hex-deco::before { left: -90px;
  background-image: url("data:image/svg+xml,%3Csvg width='371' height='496' viewBox='0 0 371 496' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.6'%3E%3Cpath d='M185.103 346.865V445.134L100 494.268L14.8975 445.134V346.865L100 297.731L185.103 346.865Z' stroke='%23DFEBF6' stroke-width='3'/%3E%3Cpath d='M356.103 346.865V445.134L271 494.268L185.897 445.134V346.865L271 297.731L356.103 346.865Z' stroke='%23DFEBF6' stroke-width='3'/%3E%3Cpath d='M270.103 198.865V297.134L185 346.268L99.8975 297.134V198.865L185 149.731L270.103 198.865Z' stroke='%23DFEBF6' stroke-width='3'/%3E%3Cpath d='M185.103 50.8652V149.134L100 198.268L14.8975 149.134V50.8652L100 1.73145L185.103 50.8652Z' stroke='%23DFEBF6' stroke-width='3'/%3E%3C/g%3E%3C/svg%3E");
}
.hex-deco::after { right: -90px;
  background-image: url("data:image/svg+xml,%3Csvg width='371' height='496' viewBox='0 0 371 496' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.6'%3E%3Cpath d='M185.897 346.865V445.134L271 494.268L356.103 445.134V346.865L271 297.731L185.897 346.865Z' stroke='%23DFEBF6' stroke-width='3'/%3E%3Cpath d='M14.8975 346.865V445.134L100 494.268L185.103 445.134V346.865L100 297.731L14.8975 346.865Z' stroke='%23DFEBF6' stroke-width='3'/%3E%3Cpath d='M100.897 198.865V297.134L186 346.268L271.103 297.134V198.865L186 149.731L100.897 198.865Z' stroke='%23DFEBF6' stroke-width='3'/%3E%3Cpath d='M185.897 50.8652V149.134L271 198.268L356.103 149.134V50.8652L271 1.73145L185.897 50.8652Z' stroke='%23DFEBF6' stroke-width='3'/%3E%3C/g%3E%3C/svg%3E");
}
@media (max-width: 960px) {
  .hex-deco::before { left: -220px; }
  .hex-deco::after { right: -220px; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px 7px 8px;
  font-size: .88rem; color: var(--slate); font-weight: 500; box-shadow: var(--shadow); margin-bottom: 28px;
}
.hero-badge .avatars { display: flex; }
.hero-badge .avatars img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.hero-badge .avatars img + img { margin-left: -9px; }
.hero p.sub { max-width: 620px; margin: 20px auto 32px; font-size: 1.13rem; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.hero-pills span {
  background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px;
  font-size: .88rem; color: var(--slate); font-weight: 500; box-shadow: var(--shadow);
}
.hero-shot { max-width: 920px; margin: 56px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 64px rgba(16,24,40,.18); border: 1px solid var(--border); }

/* ---------- trust strip ---------- */
.trust { padding: 36px 0; }
.trust p { text-align: center; font-size: .88rem; color: var(--muted); margin-bottom: 20px; }

/* ---------- marquee (rotating logo banners, as on the original site) ---------- */
.marquee { overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content;
  animation: marquee-scroll 28s linear infinite; padding-right: 72px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
}
.marquee-track img { height: 32px; width: auto; opacity: .7; filter: grayscale(1); flex: none; }
.marquee-track img:hover { opacity: 1; filter: none; }
.marquee.large .marquee-track { gap: 88px; animation-duration: 36s; padding-right: 88px; }
.marquee.large .marquee-track img { height: 56px; opacity: .85; filter: none; }

/* ---------- cards grid ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; }

/* ---------- feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px 0; }
.feature-row.flip .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 48px rgba(16,24,40,.14); border: 1px solid var(--border); }
.feature-copy h2 { margin-bottom: 12px; }
.feature-copy > p { margin-bottom: 20px; }
.check-list { list-style: none; }
.check-list li { display: flex; gap: 12px; margin-bottom: 16px; }
.check-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .8rem; margin-top: 2px;
}
.check-list b { color: var(--ink); display: block; font-size: 1.02rem; }
.check-list p { font-size: .93rem; }
.feature-copy .btn { margin-top: 8px; }

/* .band kept as a hook but backgrounds now come from the single page gradient */
.band { background: transparent; }

/* ---------- pricing ---------- */
.toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 40px; }
.toggle-wrap span { font-weight: 600; color: var(--slate); font-size: .95rem; }
.toggle-wrap .save { color: var(--success); font-size: .82rem; font-weight: 600; margin-left: 4px; }
.switch { position: relative; width: 52px; height: 28px; background: var(--border); border-radius: 999px; border: none; cursor: pointer; transition: background .15s; }
.switch[aria-checked="true"] { background: var(--blue); }
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  background: #fff; border-radius: 50%; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.switch[aria-checked="true"]::after { transform: translateX(24px); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow);
}
.plan.popular { border: 2px solid var(--blue); }
.plan .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .75rem; font-weight: 600;
  border-radius: 999px; padding: 4px 14px; white-space: nowrap;
}
.plan h3 { font-size: 1.05rem; margin-bottom: 6px; }
.plan .price { color: var(--ink); font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.plan .price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan .desc { font-size: .88rem; margin: 10px 0 18px; min-height: 3.4em; }
.plan ul { list-style: none; flex: 1; margin-bottom: 20px; }
.plan li { display: flex; gap: 9px; font-size: .9rem; color: var(--slate); margin-bottom: 10px; }
.plan li::before { content: "\2713"; color: var(--success); font-weight: 700; flex: none; }
.plan .btn { width: 100%; text-align: center; padding: 11px 0; }

/* ---------- reviews (testimonials + customer logo banner) ---------- */
#reviews .senja-embed { margin: 0 auto 40px; }
#reviews .trusted-line { text-align: center; font-size: .95rem; color: var(--muted); margin-bottom: 24px; }
#reviews .marquee { margin-top: 8px; }

/* ---------- faq ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--blue); flex: none; transition: transform .15s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 22px 18px; font-size: .95rem; }

/* ---------- final CTA ---------- */
.cta-band { text-align: center; }
.cta-band.hex-deco::before, .cta-band.hex-deco::after { top: 20px; }
/* hero: clusters flank the dashboard screenshot on landing. The page gradient
   starts at the same #DFEBF6 as the standard strokes, so the hero pair uses a
   deeper tint (#C0D8EE) to stay visible against it. */
.hero.hex-deco::before { top: 380px;
  background-image: url("data:image/svg+xml,%3Csvg width='371' height='496' viewBox='0 0 371 496' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.6'%3E%3Cpath d='M185.103 346.865V445.134L100 494.268L14.8975 445.134V346.865L100 297.731L185.103 346.865Z' stroke='%23C0D8EE' stroke-width='3'/%3E%3Cpath d='M356.103 346.865V445.134L271 494.268L185.897 445.134V346.865L271 297.731L356.103 346.865Z' stroke='%23C0D8EE' stroke-width='3'/%3E%3Cpath d='M270.103 198.865V297.134L185 346.268L99.8975 297.134V198.865L185 149.731L270.103 198.865Z' stroke='%23C0D8EE' stroke-width='3'/%3E%3Cpath d='M185.103 50.8652V149.134L100 198.268L14.8975 149.134V50.8652L100 1.73145L185.103 50.8652Z' stroke='%23C0D8EE' stroke-width='3'/%3E%3C/g%3E%3C/svg%3E");
}
.hero.hex-deco::after { top: 300px;
  background-image: url("data:image/svg+xml,%3Csvg width='371' height='496' viewBox='0 0 371 496' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.6'%3E%3Cpath d='M185.897 346.865V445.134L271 494.268L356.103 445.134V346.865L271 297.731L185.897 346.865Z' stroke='%23C0D8EE' stroke-width='3'/%3E%3Cpath d='M14.8975 346.865V445.134L100 494.268L185.103 445.134V346.865L100 297.731L14.8975 346.865Z' stroke='%23C0D8EE' stroke-width='3'/%3E%3Cpath d='M100.897 198.865V297.134L186 346.268L271.103 297.134V198.865L186 149.731L100.897 198.865Z' stroke='%23C0D8EE' stroke-width='3'/%3E%3Cpath d='M185.897 50.8652V149.134L271 198.268L356.103 149.134V50.8652L271 1.73145L185.897 50.8652Z' stroke='%23C0D8EE' stroke-width='3'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-band .hero-badge { margin-bottom: 22px; }
.cta-band p { max-width: 560px; margin: 14px auto 30px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-grid img { height: 30px; width: auto; margin-bottom: 14px; }
.foot-grid p { font-size: .9rem; }
.foot-grid h3 { font-size: .95rem; margin-bottom: 14px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { color: var(--body); font-size: .92rem; }
.foot-grid a:hover { color: var(--blue); }
.foot-legal { border-top: 1px solid var(--border); padding-top: 22px; text-align: center; font-size: .85rem; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .cards, .plans { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.flip .feature-media { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 52px 0; }
  .cards, .plans { grid-template-columns: 1fr; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; left: 24px; right: 24px; top: 74px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px 22px; box-shadow: var(--shadow); z-index: 60;
  }
  .hero { padding-top: 56px; }
}
