@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-700.woff2') format('woff2'); }
/* ==========================================================================
   Emailfy — shared tokens (from live site) + all variations
   ========================================================================== */

:root {
  /* Pulled directly from emailfy.de */
  --bg: hsl(260, 87%, 3%);           /* deep violet-black */
  --bg-2: hsl(260, 40%, 6%);
  --bg-3: hsl(240, 10%, 10%);
  --fg: hsl(40, 6%, 95%);            /* warm off-white */
  --fg-dim: hsl(40, 6%, 72%);
  --fg-mute: hsl(40, 6%, 50%);
  --accent: hsl(121, 95%, 76%);      /* electric mint */
  --accent-ink: hsl(0, 0%, 5%);
  --accent-deep: hsl(121, 60%, 30%);
  --line: hsl(240, 4%, 18%);
  --line-2: hsl(240, 4%, 26%);
  --card: hsl(240, 4%, 10%);
  --card-2: hsl(240, 4%, 14%);

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-mono: 'SF Mono', ui-monospace, monospace;

  --container: 1280px;
  --container-narrow: 980px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* Reusable selection */
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.eyebrow--center { justify-content: center; }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ---------- CTA button ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--font-sans);
}
.cta--sm { padding: 10px 18px; font-size: 14px; }
.cta--md { padding: 14px 24px; font-size: 15px; }
.cta--lg { padding: 18px 30px; font-size: 16px; }
.cta--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.cta--primary:hover {
  background: var(--fg);
  transform: translateY(-1px);
}
.cta--secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-2);
}
.cta--secondary:hover { border-color: var(--fg); }
.cta--ghost {
  background: transparent;
  color: var(--fg-dim);
  padding-left: 0; padding-right: 0;
}
.cta--ghost:hover { color: var(--accent); }
.cta__arrow {
  display: inline-block;
  transition: transform 0.15s ease;
}
.cta:hover .cta__arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 24px;
  transition: all 0.2s ease;
}
.nav--scrolled { padding: 10px 24px; }
.nav--scrolled .nav__inner {
  background: rgba(10, 5, 20, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 14px 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px;
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex; gap: 28px;
  font-size: 14px; color: var(--fg-dim);
}
.nav__links a:hover { color: var(--fg); }
@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: inline-flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee linear infinite;
  padding-right: 56px;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* ---------- FAQ ---------- */
.faq__row {
  border-top: 1px solid var(--line);
  transition: background 0.2s ease;
}
.faq__row:last-child { border-bottom: 1px solid var(--line); }
.faq__row--open { background: rgba(255,255,255,0.015); }
.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.05em;
}
.faq__toggle {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--accent);
  font-weight: 300;
  width: 32px; text-align: center;
}
.faq__a {
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-width: 780px;
  padding-left: 54px;
}
.faq__a p {
  padding: 0 0 28px 0;
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  padding: 80px 24px 40px;
  border-top: 1px solid var(--line);
  margin-top: 120px;
}
.footer__top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
}
.footer__brand { max-width: 420px; }
.footer__desc { color: var(--fg-dim); margin-bottom: 20px; }
.footer__email { color: var(--accent); font-family: var(--font-mono); font-size: 14px; }
.footer__links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--fg-dim);
  align-items: center;
  justify-content: flex-end;
}
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--fg-mute);
  font-size: 13px;
  font-family: var(--font-mono);
}
.footer__bottom a:hover { color: var(--fg); }
@media (max-width: 720px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; }
}

/* ---------- Tweaks panel ---------- */
.tweaks {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 200;
  width: 280px;
  background: rgba(14, 8, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 18px;
  color: var(--fg);
  font-size: 13px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  display: none;
}
.tweaks--open { display: block; }
.tweaks__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweaks__group { margin-bottom: 16px; }
.tweaks__label {
  font-size: 12px;
  color: var(--fg-dim);
  margin-bottom: 8px;
}
.tweaks__pills {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tweaks__pill {
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--fg-dim);
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font-mono);
}
.tweaks__pill--active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

/* ==========================================================================
   V1 — Editorial Ticker
   ========================================================================== */
.v1 { padding-top: 0; }

.v1-hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 24px 80px;
  overflow: hidden;
}
.v1-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(121, 255, 140, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(121, 255, 140, 0.04), transparent 60%);
  pointer-events: none;
}
.v1-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  pointer-events: none;
  -webkit-mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.v1-hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
.v1-hero__eyebrow-row {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 48px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
}
.v1-hero__rotator {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px;
}
.v1-hero__rotator button {
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  transition: all 0.15s;
}
.v1-hero__rotator button.active {
  background: var(--accent);
  color: var(--accent-ink);
}
.v1-hero__title {
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin-bottom: 40px;
  text-wrap: balance;
}
.v1-hero__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.v1-hero__sub {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--fg-dim);
  max-width: 620px;
  margin-bottom: 48px;
  line-height: 1.55;
}
.v1-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.v1-hero__stats {
  position: absolute;
  bottom: 60px;
  right: 24px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  text-align: right;
}
.v1-stat__n {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg);
  font-family: var(--font-display);
  font-style: italic;
}
.v1-stat__l {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
}
@media (max-width: 900px) {
  .v1-hero__stats { display: none; }
}

.v1-ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-dim);
}
.v1-ticker__item {
  display: inline-flex; align-items: center; gap: 14px;
}
.v1-ticker__item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

.v1-section {
  padding: 120px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.v1-section__head {
  margin-bottom: 80px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.v1-section__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
}
.v1-section__meta .eyebrow {
  color: var(--fg);
}
.v1-section__meta-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.v1-section__meta-count span {
  color: var(--accent);
}
.v1-section__body {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 80px;
  align-items: end;
}
.v1-section__title {
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: balance;
  max-width: 1100px;
}
.v1-section__title:only-child {
  grid-column: 1 / -1;
  max-width: 1400px;
}
.v1-section__sub {
  color: var(--fg-dim);
  font-size: 16px;
  max-width: 420px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .v1-section__body { grid-template-columns: 1fr; gap: 24px; }
}

.v1-section[id], .v2-section[id], .v3-section[id] { scroll-margin-top: 0; }
@media (max-width: 820px) {
  .v1-section[id], .v2-section[id], .v3-section[id] { scroll-margin-top: 16px; }
}

/* Problem grid */
.v1-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.v1-problem__cell {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.v1-problem__cell:last-child { border-right: none; }
.v1-problem__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}
.v1-problem__t {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.v1-problem__d {
  color: var(--fg-dim);
  line-height: 1.6;
}
.v1-problem__kicker {
  margin-top: 120px;
  font-size: clamp(26px, 3vw, 40px);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 900px;
  line-height: 1.2;
}
@media (min-width: 1200px) {
  .v1-problem__kicker {
    max-width: none;
    white-space: nowrap;
  }
}
.v1-section:has(> .v1-problem__kicker) { padding-bottom: 0; }
@media (max-width: 820px) {
  .v1-problem__grid { grid-template-columns: 1fr; }
  .v1-problem__cell { border-right: none; border-bottom: 1px solid var(--line); }
}

/* Services cards */
.v1-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.v1-service {
  background: var(--bg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  transition: background 0.2s;
}
.v1-service:hover { background: var(--bg-2); }
.v1-service__n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.v1-service__t {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.v1-service__d { color: var(--fg-dim); line-height: 1.6; font-size: 15px; }
@media (max-width: 900px) {
  .v1-services__grid { grid-template-columns: 1fr; }
}

/* Klaviyo */
.v1-klav {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 120px 24px;
}
.v1-klav__inner { max-width: var(--container); margin: 0 auto; }
.v1-klav__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.v1-klav__cell {
  padding: 28px 0 0;
  border-top: 1px solid var(--line-2);
}
.v1-klav__cell h4 { font-size: 18px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; }
.v1-klav__cell p { color: var(--fg-dim); font-size: 14px; line-height: 1.6; }
@media (max-width: 900px) { .v1-klav__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .v1-klav__grid { grid-template-columns: 1fr; } }

/* Founder */
.v1-diff__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: stretch;
}
.v1-diff__items {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: space-between;
}
.v1-diff__row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  flex: 1;
}
.v1-diff__row:last-child { border-bottom: 1px solid var(--line); }
.v1-diff__n {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.v1-diff__t { font-size: 20px; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.01em; }
.v1-diff__d { color: var(--fg-dim); font-size: 15px; line-height: 1.6; }
.v1-founder {
  position: sticky; top: 120px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-2);
  align-self: start;
}
.v1-founder__photo {
  width: 100%; aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(135deg, var(--bg-3) 0 20px, var(--card) 20px 40px);
  border-radius: 12px;
  margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-mute);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.v1-founder__name { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.v1-founder__role { color: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; margin-bottom: 18px; text-transform: uppercase; }
.v1-founder__bio { color: var(--fg-dim); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.v1-founder__link { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
@media (max-width: 900px) {
  .v1-diff__grid { grid-template-columns: 1fr; gap: 40px; }
  .v1-founder { position: static; }
}

/* Process */
.v1-process__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  position: relative;
}
.v1-process__step {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.v1-process__step:last-child { border-right: none; }
.v1-process__n {
  font-size: 80px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 32px;
}
.v1-process__t { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; }
.v1-process__d { color: var(--fg-dim); line-height: 1.6; font-size: 15px; }
@media (max-width: 900px) {
  .v1-process__list { grid-template-columns: 1fr; }
  .v1-process__step { border-right: none; border-bottom: 1px solid var(--line); }
  .v1-process__step:last-child { border-bottom: none; }
}

/* Final CTA */
.v1-final {
  padding: 160px 24px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.v1-final h2 {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 24px auto;
  text-wrap: balance;
}
.v1-final h2 em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.v1-final p {
  color: var(--fg-dim);
  font-size: 19px;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
