/* ==========================================================================
   Profit Web Agency — Design System (Swiss Editorial)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0e0f11;
  --ink-2: #16181b;
  --ink-3: #1f2226;
  --ink-4: #2b2f34;

  --paper: #ffffff;
  --cream: #f6f6f3;
  --cream-2: #e9e9e4;

  --accent: #c9f24d;
  --accent-2: #a8d92f;
  --accent-ink: #0e0f11;

  --text: #0e0f11;
  --text-soft: #4b4d51;
  --text-muted: #7f8187;
  --text-on-dark: #ffffff;
  --text-on-dark-soft: #a7a9ae;

  --line: rgba(0, 0, 0, 0.10);
  --line-dark: rgba(255, 255, 255, 0.14);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.14);

  --maxw: 1200px;
  --gutter: 22px;

  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(44px, 6vw, 80px) 0; }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--ink); color: var(--text-on-dark); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-soft); }
.bg-dark .lead, .bg-dark .muted { color: var(--text-on-dark-soft); }
.muted { color: var(--text-muted); }
.maxw-720 { max-width: 720px; }
.maxw-820 { max-width: 820px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.bg-dark .eyebrow { color: var(--text-on-dark-soft); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--text-on-dark-soft); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-2); box-shadow: 0 10px 26px rgba(201, 242, 77, 0.30); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: var(--line-dark); color: var(--text-on-dark); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.bg-dark .btn-ghost { border-color: var(--line-dark); color: #fff; }
.bg-dark .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-outline { border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-lg { padding: 17px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

.link-accent {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: gap 0.2s var(--ease);
}
.link-accent:hover { gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 15, 17, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-dark);
  background: rgba(14, 15, 17, 0.97);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  margin-right: auto;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 3px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex: none;
  line-height: 1;
}
.logo-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
  margin-top: 2px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .name { color: var(--text-on-dark); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block;
  color: var(--text-on-dark-soft);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav a.is-active { color: #fff; background: rgba(255, 255, 255, 0.08); }

.header-cta { padding: 11px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-dark);
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
  border-bottom: 1px solid var(--line-dark);
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -12%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(201, 242, 77, 0.12), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { color: var(--text-on-dark); margin-bottom: 20px; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { max-width: 30ch; color: var(--text-on-dark-soft); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.9rem;
  color: var(--text-on-dark-soft);
}
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-dark);
  aspect-ratio: 4 / 3.4;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute;
  left: -14px; bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  color: var(--text);
  padding: 13px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  line-height: 1.3;
}
.hero-badge .stars { color: #f2b134; letter-spacing: 1px; }
.hero-badge b { display: block; font-family: var(--font-display); font-size: 0.95rem; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(201, 242, 77, 0.10), transparent 65%);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 780px; }
.page-hero h1 { color: var(--text-on-dark); }
.page-hero .lead { color: var(--text-on-dark-soft); max-width: 62ch; }
.page-hero--split .page-hero-inner { max-width: none; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }

/* ---------- Marquee / logo strip ---------- */
.strip {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 42px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.strip-inner span { display: inline-flex; align-items: center; gap: 9px; }
.strip-inner svg { width: 18px; height: 18px; color: var(--accent-2); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(14, 15, 17, 0.16); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-soft); font-size: 0.98rem; }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  margin-bottom: 20px;
}
.card-icon svg { width: 25px; height: 25px; }
.card--accent .card-icon { background: var(--accent); }

.service-card { display: flex; flex-direction: column; }
.service-card .link-accent { margin-top: auto; padding-top: 20px; align-self: flex-start; }

/* Feature list */
.feature-list { display: grid; gap: 12px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.97rem;
  color: var(--text-soft);
}
.feature-list svg { width: 19px; height: 19px; color: var(--accent-2); flex: none; margin-top: 3px; }
.bg-dark .feature-list li { color: var(--text-on-dark-soft); }

/* Checker column layout */
.feature-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 34px; }

/* ---------- Split media section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.2;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split.reverse .split-media { order: 2; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.bg-dark .stat b { color: var(--accent); }
.stat span { display: block; margin-top: 8px; font-size: 0.9rem; color: var(--text-muted); }
.bg-dark .stat span { color: var(--text-on-dark-soft); }

/* ---------- Quote block ---------- */
.quote-block {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: "\201C";
  position: absolute;
  top: 6px; left: 26px;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
}
.quote-block blockquote {
  position: relative;
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #fff;
}
.quote-cite { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--text-on-dark-soft); }
.quote-cite .avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  flex: none;
}

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured {
  background: var(--ink);
  color: var(--text-on-dark);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.plan--featured h3, .plan--featured h4 { color: #fff; }
.plan--featured p { color: var(--text-on-dark-soft); }
.plan--featured .feature-list li { color: var(--text-on-dark-soft); }
.plan-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}
.plan-sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 22px; }
.plan--featured .plan-sub { color: var(--text-on-dark-soft); }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  margin-bottom: 4px;
}
.plan-price .amount { font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.plan-price .per { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }
.plan--featured .plan-price .per { color: var(--text-on-dark-soft); }
.plan-tag { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 26px; }
.plan--featured .plan-tag { color: var(--text-on-dark-soft); }
.plan-group { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.plan--featured .plan-group { border-top-color: var(--line-dark); }
.plan-group h4 {
  font-size: 0.76rem;
  font-family: var(--font-display);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.plan--featured .plan-group h4 { color: var(--accent); }
.plan .btn { margin-top: 28px; }
.plan-term { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 14px; }
.plan--featured .plan-term { color: var(--text-on-dark-soft); }

.inc-note {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Testimonials ---------- */
.testi { columns: 3; column-gap: 22px; }
.testi-item {
  break-inside: avoid;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 22px;
}
.testi-item .stars { color: #f2b134; letter-spacing: 1px; font-size: 0.85rem; margin-bottom: 10px; }
.testi-item p { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 16px; }
.testi-name { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.testi-name .avatar {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink);
  font-size: 0.85rem;
  flex: none;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-2);
  letter-spacing: -0.03em;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--text-soft); font-size: 0.96rem; }
.bg-dark .step p { color: var(--text-on-dark-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform 0.25s var(--ease); color: var(--accent-2); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a-inner { padding: 0 24px 22px; color: var(--text-soft); font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-lg);
  padding: clamp(38px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 30px;
  align-items: center;
}
.cta-band h2 { color: var(--accent-ink); margin-bottom: 10px; }
.cta-band p { color: rgba(14, 15, 17, 0.72); margin: 0; max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}
.field .req { color: #d0451b; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 0.97rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(201, 242, 77, 0.28);
}
.field small { font-size: 0.8rem; color: var(--text-muted); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #d0451b; }
.field .err { display: none; font-size: 0.8rem; color: #d0451b; }
.field.invalid .err { display: block; }
.form-note { font-size: 0.83rem; color: var(--text-muted); margin-top: 14px; }
/* Honeypot field: hidden from humans and assistive tech, catches spam bots */
.field--hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.form-success {
  display: none;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 22px;
  align-items: flex-start;
  gap: 14px;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 2px; }
.form-success p { margin: 0; font-size: 0.95rem; color: var(--text-on-dark-soft); }
.form-success b { color: #fff; display: block; margin-bottom: 4px; font-family: var(--font-display); }
.checkout-status {
  display: none;
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(201, 242, 77, 0.35);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
}
.checkout-status.is-visible { display: block; }
.checkout-status.is-error { border-color: #d0451b; color: #ffd8cd; }
.form-card button:disabled { cursor: wait; opacity: 0.7; }

/* ---------- Onboarding form ---------- */
.form-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin: 34px 0 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.form-section-title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 3px 11px;
}
.field--check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  padding: 0;
  margin-top: 1px;
  accent-color: var(--accent-2);
}
.field--check label { font-weight: 500; font-size: 0.9rem; line-height: 1.55; }
.field--check .err { grid-column: 2; }

.contact-aside { display: grid; gap: 14px; align-content: start; }
.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.contact-item svg { width: 22px; height: 22px; color: var(--accent-2); flex: none; margin-top: 2px; }
.contact-item b { display: block; font-family: var(--font-display); margin-bottom: 3px; }
.contact-item p { font-size: 0.92rem; color: var(--text-soft); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-soft);
  padding: clamp(52px, 7vw, 84px) 0 30px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px 30px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.93rem; max-width: 34ch; }
.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { transition: color 0.18s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 26px;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 0.85rem; color: var(--text-on-dark-soft); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: 0.5; }

/* ---------- Blog cards ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  height: 100%;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(14, 15, 17, 0.16); }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.post-card-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.post-card-body p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 20px; }
.post-card-body .link-accent { margin-top: auto; align-self: flex-start; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.post-tag {
  display: inline-block;
  background: var(--cream-2);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}
.post-hero .post-tag { background: var(--accent); color: var(--accent-ink); }
.page-hero .post-meta { color: var(--text-on-dark-soft); }

/* ---------- Featured post ---------- */
.post-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(24px, 3vw, 40px);
}
.post-feature-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; background: var(--cream-2); }
.post-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.post-feature p { color: var(--text-soft); }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }

.prose { font-size: 1.07rem; color: var(--text-soft); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); color: var(--ink); margin-top: 2.2em; margin-bottom: 0.55em; }
.prose h3 { font-size: 1.22rem; color: var(--ink); margin-top: 1.8em; margin-bottom: 0.5em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: 11px; }
.prose ul li { display: flex; gap: 11px; align-items: flex-start; }
.prose ul li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--accent-2);
}
.prose ol { counter-reset: item; }
.prose ol li { display: flex; gap: 12px; align-items: flex-start; counter-increment: item; }
.prose ol li::before {
  content: counter(item);
  flex: none;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 0.2em;
}
.prose blockquote {
  margin: 0;
  padding: 22px 26px;
  border-left: 4px solid var(--accent);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}
.prose figure { margin: 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; text-align: center; }
.prose a:not(.btn) { color: var(--ink); border-bottom: 2px solid var(--accent); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

.article-head { margin-bottom: 34px; }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 16px; }
.article-author { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.article-author .avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  flex: none;
}
.article-author b { display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--ink); }
.article-author span { font-size: 0.85rem; color: var(--text-muted); }

.article-cta {
  background: var(--ink);
  color: var(--text-on-dark-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 44px;
}
.article-cta h3 { color: #fff; font-size: 1.3rem; }
.article-cta p { font-size: 0.95rem; }
.article-cta .btn { margin-top: 8px; }

.sidebar { display: grid; gap: 22px; position: sticky; top: 96px; }
.sidebar-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.sidebar-card h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.sidebar-list { display: grid; gap: 16px; }
.sidebar-list a { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; line-height: 1.3; display: block; }
.sidebar-list a:hover { color: var(--accent-2); }
.sidebar-list span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 22px; }
.mt-3 { margin-top: 34px; }
.mt-4 { margin-top: 48px; }
.mb-2 { margin-bottom: 22px; }
.mb-3 { margin-bottom: 34px; }
.only-mobile { display: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .testi { columns: 2; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 26px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav .header-cta { display: none; }
  .header-cta { display: none; }
  .only-mobile { display: block; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero .lead { max-width: none; }
  .hero-media { aspect-ratio: 16 / 10; }
  .hero-badge { left: 14px; }

  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .page-hero--split .page-hero-inner { grid-template-columns: 1fr; }
  .post-feature { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .testi { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  .feature-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .card { padding: 24px; }
}

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed;
  z-index: 1200;
  left: 22px;
  right: 22px;
  bottom: 22px;
  max-width: 1040px;
  margin: 0 auto;
  background: rgba(14, 15, 17, 0.94);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  color: var(--text-on-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  will-change: transform, opacity;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  color: var(--accent);
}
.cookie-copy { flex: 1 1 340px; min-width: 0; }
.cookie-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  margin: 0 0 2px;
  color: var(--text-on-dark);
}
.cookie-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-on-dark-soft);
}
.cookie-copy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }
.cookie-actions .btn { padding: 12px 22px; font-size: 14.5px; }
.cookie-reopen {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; border-radius: var(--radius); }
  .cookie-inner { gap: 14px; }
  .cookie-copy { flex: 1 1 100%; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 0; padding: 12px 14px; }
}
