*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Modern-tool palette: crisp white, cool neutrals, one confident indigo accent */
  --bg: #ffffff;
  --surface: #f7f8fa;
  --surface-2: #eef0f4;
  --ink: #16181d;
  --muted: #5b6270;
  --faint: #99a0ad;
  --accent: #ffcb66;                 /* brand yellow */
  --accent-press: #f0b94e;
  --accent-soft: rgba(255, 203, 102, 0.22);
  --accent-ink: #1a1a1a;             /* text/icon sitting on yellow */
  --blue: #2563eb;
  --teal: #0d9488;
  --violet: #7c3aed;
  --line: #e6e8ee;
  --line-strong: #d7dae2;
  --shadow: 0 16px 40px rgba(22, 24, 29, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .step-num, .bigpct {
  font-family: "Space Grotesk", "Inter", sans-serif;
}

a { color: inherit; }

/* ── NAV ───────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img { height: 58px; width: auto; display: block; }

.brand-divider {
  width: 1px;
  height: 22px;
  background: var(--line-strong);
  flex: 0 0 auto;
}

.brand-tag {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.site-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex: 1;
}

.site-links a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.15s ease;
}

.site-links a:hover { color: var(--ink); }

.site-links a.is-active { color: var(--ink); font-weight: 600; }

.site-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta,
.btn-primary,
.btn-dark,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 14px 26px;
  box-shadow: 0 8px 22px rgba(255, 203, 102, 0.4);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  padding: 14px 26px;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 13px 24px;
}

.nav-cta:hover { background: #000; transform: translateY(-1px); }
.btn-primary:hover { background: var(--accent-press); transform: translateY(-1px); }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(22, 24, 29, 0.18); }
.btn-light:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }

/* ── LAYOUT ────────────────────────────────────────── */
.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 72px;
  padding: 80px 0 96px;
}

.hero-copy h1 {
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 760px;
}

.highlight {
  color: var(--ink);
  /* Yellow highlighter band behind the text, tracking each wrapped line */
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.32em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-copy p {
  max-width: 600px;
  margin: 24px 0 32px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.small-note {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--faint);
}

/* ── PHONE + FLOAT CARD ────────────────────────────── */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(312px, 80vw);
  border-radius: 44px;
  background: #111;
  box-shadow:
    0 0 0 1px rgba(22, 24, 29, 0.1),
    0 0 0 9px #16181d,
    0 36px 70px rgba(22, 24, 29, 0.2);
  overflow: hidden;
}

.phone img { display: block; width: 100%; height: auto; }

.float-card {
  position: absolute;
  left: -36px;
  bottom: 64px;
  width: 214px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.float-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.float-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.float-card strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.float-card span:not(.float-label) {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* ── SECTIONS ──────────────────────────────────────── */
.section { padding: 92px 0; }

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-inline: calc(50% - 50vw);
  padding-left: max(48px, calc((100vw - 1084px) / 2));
  padding-right: max(48px, calc((100vw - 1084px) / 2));
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 44px;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--muted);
    max-width: none;
}

.label::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.section h2,
.split h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.section-head p,
.split p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  max-width: 520px;
}

/* ── CARDS ─────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.trust-card,
.contact-card {
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.feature-card:hover,
.trust-card:hover,
.contact-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.icon-dot {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.icon-dot svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.9;
}

.feature-card h3,
.trust-card h3,
.contact-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 9px;
}

.feature-card p,
.trust-card p,
.contact-card p,
.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
}

/* ── CANVAS HIGHLIGHTS GALLERY ─────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hl-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.hl-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

/* portrait phone screenshot sits on a soft panel; object-fit keeps
   mixed framing/aspect ratios tidy across all eight shots */
.hl-shot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 280px;
  padding: 18px 18px 0;
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.hl-shot img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px 14px 0 0;
}

.hl-card figcaption { padding: 18px 20px 22px; }

.hl-num {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 100px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

.hl-card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 7px;
}

.hl-card figcaption p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1040px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .hl-shot { height: 320px; }
}

/* ── SPLIT + PROOF ─────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

/* Vertical numbered timeline / roadmap (numbers via CSS counter) */
.proof-stack {
  counter-reset: proof;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* the connector line threading through the nodes */
.proof-stack::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  background: var(--line-strong);
  z-index: 0;
}

.proof-row {
  position: relative;
  z-index: 1;
  padding: 18px 22px 18px 68px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.proof-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* numbered node sitting on the connector line */
.proof-row::before {
  counter-increment: proof;
  content: counter(proof, decimal-leading-zero);
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px var(--bg);
  z-index: 2;
}

.proof-row strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.proof-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

/* ── DARK SECTION ──────────────────────────────────── */
.dark-section {
  margin-inline: calc(50% - 50vw);
  padding: 92px max(48px, calc((100vw - 1084px) / 2));
  background: var(--ink);
  color: #fff;
}

.dark-section .label { color: rgba(255, 255, 255, 0.6); }
.dark-section .label::before { background: var(--accent); }
.dark-section p { color: rgba(255, 255, 255, 0.74); }

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.step {
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-num {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

/* ── CONTACT ───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.contact-panel {
  border-radius: var(--radius);
  padding: 36px;
  background: var(--ink);
  color: #fff;
}

.contact-panel .label { color: rgba(255, 255, 255, 0.6); }
.contact-panel .label::before { background: var(--accent); }
.contact-panel p { color: rgba(255, 255, 255, 0.74); margin-top: 14px; }

.contact-list { display: grid; gap: 12px; }

.contact-card a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.contact-card a:hover { text-decoration: underline; }

/* ── FOOTER ────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 48px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
}

.footer-brand img { height: 26px; }
.site-footer p { color: var(--faint); font-size: 12px; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1040px) {
  .site-nav {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    padding: 12px 24px;
  }

  .site-links {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-cta { order: 2; margin-left: auto; }

  .page-shell { padding: 0 24px; }

  .hero,
  .split,
  .contact-layout { grid-template-columns: 1fr; }

  .hero { min-height: auto; gap: 42px; padding: 56px 0 72px; }

  .phone-stage { justify-content: flex-start; }
  .float-card { left: 220px; bottom: 48px; }
}

@media (max-width: 760px) {
  .brand img { height: 50px; }
  .brand-divider,
  .brand-tag { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .site-links { gap: 18px; }
  .site-links a { white-space: nowrap; }
  .card-grid,
  .step-list { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .band { padding-left: 24px; padding-right: 24px; }
  .dark-section { padding-left: 24px; padding-right: 24px; }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
  .hero-copy h1 { font-size: clamp(38px, 12vw, 54px); }
  .hero-copy p { font-size: 16px; }
  .phone-stage { display: none; }
  .float-card { display: none; }
  .site-footer { padding: 24px; flex-direction: column; text-align: center; }
}

/* ── CANVAS + WIZTRIBE COMPARISON ──────────────────────
   Positioning block: Canvas and WizTribe as complementary, not competing.
   Canvas column stays neutral/muted; WizTribe column carries the brand accent
   so the layout reads as a handoff between two tools, never a "vs." takedown. */
.compare-head { max-width: 760px; margin-bottom: 40px; }

.compare-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.compare-head .clarity {
  /* yellow highlighter under the WizTribe half of the headline */
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.compare-head p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

.compare-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.compare-row + .compare-row { border-top: 1px solid var(--line); }

.compare-row > div {
  padding: 18px 28px;
  font-size: 15px;
  line-height: 1.5;
}

.compare-row .canvas {
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.compare-row .wiztribe {
  background: rgba(255, 203, 102, 0.06);
  color: var(--ink);
  font-weight: 500;
}

/* header row (first row of the table) */
.compare-row.head .canvas { background: var(--surface-2); }
.compare-row.head .wiztribe { background: var(--accent-soft); }

.compare-row.head .col-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.compare-row.head .col-tag {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

/* compact variant for the pilot / conversion page */
.compare-table.compact .compare-row > div { padding: 13px 20px; font-size: 14px; }
.compare-table.compact .compare-row.head .col-name { font-size: 16px; }
.compare-table.compact .compare-row.head .col-tag { font-size: 12px; }

@media (max-width: 760px) {
  .compare-row > div { padding: 13px 16px; font-size: 13.5px; }
  .compare-row.head .col-name { font-size: 16px; }
  .compare-row.head .col-tag { font-size: 11px; }
}
