/* eventfeed.no — marketing site (iter 1) */

:root {
  --bg: #0a0c12;
  --bg-soft: #11141c;
  --bg-deep: #060810;
  --surface: #ffffff;
  --surface-soft: #f6f7fb;
  --surface-line: #e8eaf1;
  --surface-line-soft: #eef0f7;
  --fg: #0a0c12;
  --fg-soft: #4b5566;
  --fg-muted: #7a8395;
  --fg-faint: #aab2c2;
  --accent: #5469ff;
  --accent-soft: #eef0ff;
  --accent-strong: #2d3fcb;
  --accent-deep: #1c2db0;
  --success: #10b981;
  --success-soft: #d1fae5;
  --warn: #f59e0b;
  --rose: #ec4899;
  --teal: #06b6d4;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 12, 18, 0.04), 0 0 0 1px rgba(10, 12, 18, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 12, 18, 0.08), 0 0 0 1px rgba(10, 12, 18, 0.04);
  --shadow-lg: 0 24px 60px rgba(10, 12, 18, 0.16), 0 0 0 1px rgba(10, 12, 18, 0.05);
  --shadow-xl: 0 40px 80px rgba(10, 12, 18, 0.22), 0 0 0 1px rgba(10, 12, 18, 0.05);
  --shadow-accent: 0 12px 40px rgba(84, 105, 255, 0.28);
  --max: 1200px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "ss03";
}

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- Logo ---------- */
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
}
.logo .l-event { color: currentColor; }
.logo .l-feed { color: var(--accent); }
.logo .l-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  margin-left: 2px;
  transform: translateY(7px);
}
.logo-lg { font-size: 28px; }
.logo-lg .l-dot { width: 8px; height: 8px; transform: translateY(9px); }

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(232, 234, 241, 0.7);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--fg-soft);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: transparent;
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  background: #fff;
  border-bottom: 1px solid var(--surface-line);
  padding: 8px 24px 20px;
  flex-direction: column;
  gap: 4px;
  display: none;
}
.nav-mobile a {
  display: block;
  padding: 14px 8px;
  color: var(--fg);
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1px solid var(--surface-line-soft);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-burger { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.1s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: linear-gradient(180deg, #6478ff 0%, #4a5fff 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 -1px 0 rgba(0,0,0,0.1) inset,
    0 6px 16px rgba(84, 105, 255, 0.38);
}
.btn-primary:hover { background: linear-gradient(180deg, #5468ff 0%, #3a4fe6 100%); box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 -1px 0 rgba(0,0,0,0.1) inset, 0 8px 22px rgba(84, 105, 255, 0.5); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { color: var(--fg); background: transparent; }
.btn-ghost:hover { background: var(--surface-soft); }
.btn-outline {
  border: 1px solid var(--surface-line);
  background: #fff;
  color: var(--fg);
}
.btn-outline:hover { border-color: var(--fg-soft); background: var(--surface-soft); }
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 88px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(84,105,255,0.16), transparent 60%),
    radial-gradient(700px 380px at -10% 30%, rgba(16,185,129,0.10), transparent 60%),
    radial-gradient(500px 280px at 60% 90%, rgba(236, 72, 153, 0.06), transparent 60%),
    linear-gradient(180deg, #fafbff 0%, #ffffff 70%);
  z-index: -1;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,12,18,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,12,18,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 35%, transparent 75%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--surface-line);
  color: var(--fg-soft);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(10,12,18,0.04);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16,185,129,0.18); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.08); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0 0 20px;
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero p.lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--fg-soft);
  margin: 0 0 32px;
  max-width: 560px;
}
.hero p.lede strong { color: var(--fg); font-weight: 600; }
.hero-audience {
  font-size: 13.5px;
  color: var(--fg-muted);
  margin-bottom: 32px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.hero-audience strong { color: var(--fg-soft); font-weight: 600; }
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-fine {
  color: var(--fg-muted);
  font-size: 13px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-fine span { display: inline-flex; align-items: center; gap: 6px; }
.hero-fine .check {
  width: 16px; height: 16px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero p.lede { font-size: 17px; }
}

/* ---------- Hero visual: site-with-widget ---------- */
.hero-visual {
  position: relative;
  perspective: 1800px;
}
.browser-frame {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(2deg);
  transform-origin: center center;
  transition: transform 0.6s var(--ease-out);
  border: 1px solid var(--surface-line);
}
.browser-frame:hover { transform: rotateY(-2deg) rotateX(1deg); }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: #f1f3f8;
  border-bottom: 1px solid var(--surface-line);
}
.browser-bar .bd {
  width: 11px; height: 11px; border-radius: 50%;
  background: #d2d6de;
}
.browser-bar .bd.r { background: #ff5f57; }
.browser-bar .bd.y { background: #febc2e; }
.browser-bar .bd.g { background: #28c840; }
.browser-bar .url {
  margin-left: 10px;
  flex: 1;
  background: #fff;
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 11px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  border: 1px solid var(--surface-line-soft);
}
.browser-body {
  background: #fff;
  padding: 22px;
  min-height: 460px;
}
.bb-hero {
  margin-bottom: 20px;
}
.bb-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: #1a2540;
}
.bb-sub {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}
.bb-widget {
  background: #fafbff;
  border-radius: var(--radius);
  border: 1px solid var(--surface-line-soft);
  padding: 14px;
  position: relative;
}
.bbw-tag {
  position: absolute;
  top: -10px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(84,105,255,0.35);
}
.bbw-list { display: flex; flex-direction: column; gap: 6px; }
.bbw-row {
  display: grid;
  grid-template-columns: 44px 44px 1fr;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid transparent;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.bbw-row:hover {
  background: #fff;
  border-color: var(--surface-line);
}
.bbw-date {
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 4px 0;
  text-align: center;
  color: var(--accent-strong);
}
.bbw-date .d { font-size: 14px; font-weight: 800; line-height: 1; }
.bbw-date .m { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 1px; }
.bbw-img {
  width: 44px; height: 44px;
  border-radius: 6px;
}
.bbw-meta .t { font-weight: 600; font-size: 12.5px; line-height: 1.25; color: #1a2540; }
.bbw-meta .s { font-size: 10.5px; color: var(--fg-muted); margin-top: 2px; }

/* Floating badges around the browser mockup */
.float-badge {
  position: absolute;
  top: 32px;
  left: -14px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-soft);
  z-index: 2;
  border: 1px solid var(--surface-line-soft);
  animation: float 4s var(--ease-out) infinite alternate;
}
.float-badge .fb-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.2);
}
.float-badge strong { color: var(--fg); font-weight: 700; }
.float-chip {
  position: absolute;
  bottom: 24px;
  right: -16px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  border: 1px solid var(--surface-line-soft);
  animation: float 5s var(--ease-out) 1s infinite alternate;
}
.float-chip .fc-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.float-chip .fc-text {
  font-size: 11px;
  color: var(--fg-soft);
  font-weight: 500;
  line-height: 1.25;
}
@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

@media (max-width: 980px) {
  .browser-frame { transform: none; }
  .float-badge { left: 12px; top: -14px; }
  .float-chip { right: 12px; bottom: -16px; }
  .browser-body { min-height: auto; }
}
@media (max-width: 480px) {
  .float-badge { font-size: 11px; padding: 8px 11px; }
  .float-chip { padding: 8px 12px; }
  .float-chip .fc-num { font-size: 18px; }
  .float-chip .fc-text { font-size: 10px; }
}

/* ---------- Logos strip ---------- */
.logos-strip {
  padding: 36px 0;
  background: var(--surface-soft);
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
}
.logos-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.logos-col { text-align: center; }
.logos-label {
  font-size: 11px;
  color: var(--fg-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
}
.logos-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.logo-pill {
  padding: 7px 13px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid var(--surface-line);
  font-size: 12.5px;
  color: var(--fg-soft);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.logo-pill.venue {
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  color: var(--accent-strong);
  border-color: var(--accent-soft);
}

@media (max-width: 760px) {
  .logos-flex { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Section ---------- */
section { padding: 96px 0; position: relative; }
section.alt {
  background: var(--surface-soft);
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 16px;
}
.section-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.section-head p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin: 0;
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head p { font-size: 16px; }
}

/* ---------- ICP grid ---------- */
.icp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.icp {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.icp:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.icp-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 32px rgba(84,105,255,0.12);
}
.icp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.icp-icon svg { width: 22px; height: 22px; }
.icp-icon-1 { background: linear-gradient(135deg, #eef0ff, #dde2ff); color: var(--accent); }
.icp-icon-2 { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #047857; }
.icp-icon-3 { background: linear-gradient(135deg, #fde6f0, #fbcfe8); color: #be185d; }
.icp-icon-4 { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; }

.icp h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.icp p {
  margin: 0 0 14px;
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.5;
}
.icp-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.icp-bullets li {
  font-size: 13px;
  color: var(--fg-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}
.icp-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 1000px) {
  .icp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .icp-grid { grid-template-columns: 1fr; }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  position: relative;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute;
  top: -14px;
  left: 28px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(84,105,255,0.38);
}
.step h3 {
  margin: 10px 0 10px;
  font-size: 20px;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.step p {
  margin: 0 0 16px;
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.5;
}
.step-foot {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mini-pill {
  padding: 4px 10px;
  background: var(--surface-soft);
  border-radius: 999px;
  font-size: 11px;
  color: var(--fg-soft);
  font-weight: 600;
  border: 1px solid var(--surface-line);
}
.mini-pill.mono { font-family: var(--font-mono); font-size: 10.5px; }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Feature mosaic ---------- */
.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: minmax(220px, 1fr);
  gap: 16px;
}
.tile {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease);
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tile.dark {
  background: linear-gradient(155deg, #0e1220 0%, #131a30 60%, #1a2245 100%);
  color: #fff;
  border-color: transparent;
}
.tile.dark .t-body { color: rgba(255,255,255,0.7); }
.tile h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.tile .t-h-xl {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
}
.tile .t-body {
  margin: 0;
  color: var(--fg-soft);
  font-size: 14.5px;
  line-height: 1.55;
}
.tile-span-2 { grid-column: span 2; }
.tile-span-tall { grid-row: span 2; }

.kicker {
  display: inline-block;
  padding: 4px 10px;
  background: var(--surface-soft);
  color: var(--fg-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  align-self: flex-start;
}
.kicker-on-dark {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.1);
}

.chips {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto;
}
.chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--fg-soft);
  border: 1px solid var(--surface-line);
}
.tile.dark .chip {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.08);
}

/* Dashboard preview inside dark tile */
.dash-preview {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: auto;
  border: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font);
}
.dp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dp-title {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
}
.dp-pulse {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dp-pulse span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
  animation: pulse 2s var(--ease-out) infinite;
}
.dp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.dp-cell {
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 8px 10px;
}
.dp-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
}
.dp-lab {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.dp-bar-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: center;
  padding: 4px 0;
}
.dp-bar-lab {
  font-size: 10.5px;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-mono);
}
.dp-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.dp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #7e90ff);
  border-radius: 2px;
}

@media (max-width: 1000px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .tile-span-2, .tile-span-tall { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
  .mosaic { grid-template-columns: 1fr; }
  .tile .t-h-xl { font-size: 26px; }
}

/* ---------- Widget showcase (three layouts) ---------- */
.layouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.layout-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease);
}
.layout-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.layout-card-head { padding: 20px 22px 0; }
.layout-card-head h4 {
  margin: 0 0 4px;
  font-size: 17px;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.layout-card-head p { margin: 0; color: var(--fg-soft); font-size: 13px; }
.layout-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* layout: list */
.lp-list { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.lp-list .lp-row {
  display: grid;
  grid-template-columns: 36px 36px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--surface-line-soft);
  background: #fff;
}
.lp-list .lp-date {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 6px;
  text-align: center;
  padding: 4px 0;
}
.lp-list .lp-date > div { font-weight: 800; font-size: 13px; line-height: 1; }
.lp-list .lp-date span { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lp-list .lp-img {
  width: 36px; height: 36px;
  border-radius: 6px;
}
.lp-list .lp-row .meta .t { font-size: 12px; font-weight: 600; line-height: 1.2; }
.lp-list .lp-row .meta .s { font-size: 10.5px; color: var(--fg-muted); margin-top: 2px; }

/* layout: grid */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}
.lp-grid .lp-cell {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--surface-line-soft);
}
.lp-cell-img {
  height: 70px;
  position: relative;
}
.lp-cell-date {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(255,255,255,0.95);
  color: var(--fg);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}
.lp-cell-cap { padding: 6px 8px 8px; }
.lp-cell-cap .t { font-size: 11px; font-weight: 600; line-height: 1.2; }
.lp-cell-cap .s { font-size: 9.5px; color: var(--fg-muted); margin-top: 1px; }

/* layout: carousel */
.lp-car {
  display: flex; gap: 8px; width: 100%;
  overflow: hidden;
}
.lp-car .lp-tile {
  flex: 0 0 65%;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  border: 1px solid var(--surface-line-soft);
}
.lp-tile-img {
  height: 56px;
  border-radius: 6px;
  margin-bottom: 8px;
  position: relative;
}
.lp-tile-date {
  font-size: 9.5px;
  color: var(--accent-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.lp-car .lp-tile .t { font-size: 12px; font-weight: 600; line-height: 1.2; }
.lp-car .lp-tile .s { font-size: 10px; color: var(--fg-muted); margin-top: 2px; }
.lp-car-dots {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 12px;
}
.lp-car-dots span {
  width: 16px;
  height: 3px;
  background: var(--surface-line);
  border-radius: 2px;
}
.lp-car-dots span.on { background: var(--accent); width: 24px; }

/* Synthetic event imagery */
.bg-a { background: linear-gradient(135deg, #5469ff 0%, #a37bff 100%); }
.bg-b { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); }
.bg-c { background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%); }
.bg-d { background: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%); }
.bg-e { background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%); }

@media (max-width: 980px) {
  .layouts { grid-template-columns: 1fr; }
}

/* Embed code snippet wrap */
.embed-wrap {
  max-width: 760px;
  margin: 64px auto 0;
  text-align: center;
}
.embed-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 20px;
}
.embed-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
}

/* ---------- Pricing ---------- */
.pricing-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  position: relative;
}
.plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(84,105,255,0.2);
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  transform: translateY(-6px);
}
.plan.featured:hover {
  transform: translateY(-10px);
}
.plan-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #6478ff, #4a5fff);
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(84,105,255,0.4);
  white-space: nowrap;
}
.plan-pro {
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}
.plan-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.plan-tag {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 20px;
  min-height: 36px;
  line-height: 1.4;
}
.plan-tag strong { color: var(--fg); font-weight: 600; }
.plan-price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-price .currency { font-size: 16px; vertical-align: top; margin-right: 4px; opacity: 0.6; font-weight: 600; }
.plan-price .per { font-size: 13px; font-weight: 500; color: var(--fg-muted); margin-left: 6px; letter-spacing: 0; }
.plan-price .custom-price { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; color: var(--fg-soft); }
.plan-price .from-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 6px;
}
.plan-fine {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 8px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--surface-line-soft);
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--fg-soft);
  line-height: 1.45;
}
.plan ul li strong { color: var(--fg); font-weight: 700; }
.plan ul li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 4px;
  background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6 5 8.5 9.5 4' stroke='%235469ff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
}
.plan .btn { width: 100%; }

.pricing-fine-print {
  margin-top: 32px;
  background: var(--surface-soft);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  font-size: 13px;
  color: var(--fg-soft);
}
.pricing-fine-print strong { color: var(--fg); font-weight: 700; }

/* Pricing helper / picker */
.picker {
  margin-top: 56px;
  background: linear-gradient(135deg, #0e1220 0%, #1c2540 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.picker-h {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 24px;
  text-align: center;
}
.picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.picker-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px;
}
.picker-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.picker-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
}
.picker-rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  background: rgba(84,105,255,0.18);
  border-radius: 999px;
  color: #c8d2ff;
  border: 1px solid rgba(84,105,255,0.3);
}
.picker-rec .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--fg-muted);
}

@media (max-width: 1000px) {
  .pricing-4 { grid-template-columns: repeat(2, 1fr); }
  .picker-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-fine-print { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .pricing-4 { grid-template-columns: 1fr; }
  .picker-grid { grid-template-columns: 1fr; }
}

/* ---------- Comparison ---------- */
.compare {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare th, .compare td {
  text-align: left;
  padding: 16px 22px;
  border-bottom: 1px solid var(--surface-line-soft);
}
.compare th {
  font-weight: 700;
  color: var(--fg-soft);
  font-size: 13px;
  background: var(--surface-soft);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.compare th.ours { color: var(--accent); }
.compare tr:last-child td { border-bottom: none; }
.compare td .yes { color: var(--success); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.compare td .yes::before { content: "✓"; font-size: 12px; }
.compare td .no { color: var(--fg-muted); display: inline-flex; align-items: center; gap: 4px; }
.compare td .no::before { content: "—"; }
.compare td.ours { font-weight: 600; color: var(--fg); background: rgba(84,105,255,0.04); }

@media (max-width: 640px) {
  .compare th, .compare td { padding: 12px 14px; font-size: 13px; }
}

/* ---------- Founder section ---------- */
.founder { padding: 80px 0; }
.founder-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.founder-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  right: 28px;
  font-family: var(--font-serif);
  font-size: 180px;
  font-weight: 700;
  color: var(--accent-soft);
  line-height: 1;
  pointer-events: none;
}
.founder-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
}
.founder-card blockquote {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.45;
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.005em;
  position: relative;
}
.founder-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.founder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a37bff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.founder-name { font-weight: 700; font-size: 15px; }
.founder-role { font-size: 13px; color: var(--fg-muted); }

.founder-side {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.fs-stat {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.fs-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.fs-lab {
  font-size: 12px;
  color: var(--fg-soft);
  margin-top: 6px;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-card { padding: 32px 26px; }
  .founder-card blockquote { font-size: 19px; }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.faq details:hover { border-color: var(--fg-faint); }
.faq details[open] { border-color: var(--accent); box-shadow: 0 6px 20px rgba(84,105,255,0.08); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--fg-muted);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-body { padding-top: 14px; }
.faq-body p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.6;
}
.faq-body p + p { margin-top: 10px; }
.faq-body p strong { color: var(--fg); }

/* ---------- CTA banner ---------- */
.cta-section { padding: 60px 0 80px; }
.cta-banner {
  background: linear-gradient(135deg, #0a0c1c 0%, #1a2245 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 350px at 80% 100%, rgba(84,105,255,0.32), transparent 60%),
    radial-gradient(500px 300px at 10% 0%, rgba(16,185,129,0.18), transparent 60%),
    radial-gradient(400px 250px at 50% 50%, rgba(236,72,153,0.10), transparent 60%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.06;
}
.cta-banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.cta-banner .btn-outline {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.cta-banner .btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }
.cta-fine { font-size: 13px; color: rgba(255,255,255,0.55); }

@media (max-width: 720px) {
  .cta-banner { padding: 44px 26px; }
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--surface-line);
  padding: 56px 0 36px;
  background: var(--surface-soft);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.foot-grid h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin: 0 0 14px;
  font-weight: 700;
}
.foot-tag {
  color: var(--fg-soft);
  font-size: 14px;
  margin: 14px 0 16px;
  max-width: 280px;
  line-height: 1.5;
}
.foot-addr {
  font-size: 12.5px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: var(--fg-soft); font-size: 14px; transition: color 0.15s var(--ease); }
.foot-grid a:hover { color: var(--accent); }
.foot-bottom {
  border-top: 1px solid var(--surface-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--fg-muted);
  font-size: 13px;
}
.foot-bottom a { color: var(--fg-soft); }
.foot-bottom a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ---------- Code block ---------- */
.code-block {
  background: linear-gradient(180deg, #0a0d1a 0%, #0e1320 100%);
  color: #e6e9f5;
  border-radius: var(--radius);
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  overflow-x: auto;
  position: relative;
  text-align: left;
  border: 1px solid #1a2138;
  box-shadow: 0 12px 32px rgba(10, 12, 18, 0.18);
}
.code-block pre { margin: 0; white-space: pre-wrap; }
.code-block .c-tag { color: #8aa0ff; }
.code-block .c-attr { color: #ffd479; }
.code-block .c-str { color: #b6ec90; }
.code-block .c-comment { color: rgba(255,255,255,0.4); }
.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s var(--ease);
}
.copy-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.copy-btn.copied { background: var(--success); color: #fff; border-color: transparent; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.muted { color: var(--fg-muted); }
