/* ============================================================
   ClicklessOps — v1 Landing Page
   Design: light base · electric-blue accent · near-black ink
   NOTE: token names retain the original --navy-* scale for
   continuity, but values are remapped to a LIGHT theme
   (--navy-900 = lightest page bg → --navy-600 = border).
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Base (light) — pure white dominant, whitespace-led */
  --navy-900: #ffffff;   /* page base (white) */
  --navy-850: #f5f7fa;   /* subtle alternating band */
  --navy-800: #ffffff;   /* raised surfaces */
  --navy-700: #ffffff;   /* cards */
  --navy-600: #e4e8ef;   /* borders / chips */
  --slate-500: #cdd4e0;

  /* Text */
  --ink:        #0b101c;  /* near-black primary */
  --ink-soft:   #2b3650;  /* body (crisp, high-contrast) */
  --ink-muted:  #697791;  /* secondary / labels */

  /* Accent — electric blue (tuned for AA on light) */
  --accent:     #1f6fe0;  /* fills; white text passes at large size */
  --accent-bright: #1559c0; /* used as TEXT accent — darker for AA on light */
  --accent-soft: rgba(31, 111, 224, 0.10);
  --accent-line: rgba(31, 111, 224, 0.30);

  /* Signal (placeholder highlight) */
  --warn:       #b5740a;

  /* Layout */
  --maxw:        1100px;
  --maxw-narrow: 760px;
  --radius:      14px;
  --radius-sm:   9px;

  --font-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --section-y: clamp(56px, 8vw, 104px);

  --shadow: 0 14px 40px -20px rgba(13, 20, 36, 0.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

em { font-style: italic; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}
.container-narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); }

/* Numbered section eyebrow (01 … 10) — reference signature */
.section-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .22em;
  color: var(--accent-bright);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4.4vw, 44px);
  max-width: 22ch;
}
.section-sub {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 60ch;
}
.prose p { margin: 0 0 16px; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 16px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(31, 111, 224, 0.45);
}
.btn-primary:hover { background: var(--accent-bright); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--navy-600);
}
.btn-ghost:hover { border-color: var(--accent-line); }

/* ---------- Placeholder tag ---------- */
.placeholder-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--warn);
  border: 1px dashed var(--warn);
  border-radius: 6px;
  padding: 3px 8px;
  background: rgba(246, 169, 59, 0.08);
}

/* ============================================================
   SECTION 0 — NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--navy-700);
}
.nav-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.wordmark-accent { color: var(--accent-bright); }

.nav-links {
  display: flex;
  gap: 26px;
  margin-inline: auto;
}
.nav-links a {
  font-size: 15px;
  color: var(--ink-muted);
  font-weight: 500;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--navy-600);
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.hero {
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(31,111,224,0.08), transparent 60%),
    var(--navy-900);
}
.hero-grid {
  display: block;
  text-align: center;
}
.hero-copy {
  max-width: 880px;
  margin-inline: auto;
}
.hero-copy .section-num { text-align: center; }
.hero-headline {
  font-size: clamp(34px, 6vw, 60px);
  letter-spacing: -0.03em;
}
.hero-sub {
  margin: 22px auto 0;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ink-soft);
  max-width: 56ch;
}
.hero-ctas {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.micro-trust {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* Metric stat-boxes (reference "5x ROI · 14-Day Build-Out" row) */
.stats-row {
  margin-top: clamp(32px, 5vw, 52px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-sm);
  background: var(--navy-800);
  padding: 20px 18px;
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 32px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  margin-top: 9px;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ============================================================
   SECTION 2 — PROBLEM
   ============================================================ */
.problem { background: var(--navy-850); }
.chaos-stage { margin-top: 40px; }
.chaos-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 880px;
  margin-inline: auto;
}
.chip {
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--navy-600);
  background: var(--navy-800);
  color: var(--ink-soft);
}
.chip-quote { font-style: italic; color: var(--ink-muted); }

/* gentle float — desktop only, disabled for reduced-motion */
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .chip-quote { animation: float 6s ease-in-out infinite; }
  .chip-quote:nth-child(2) { animation-delay: 1.2s; }
  .chip-quote:nth-child(3) { animation-delay: 2.4s; }
  .chip-quote:nth-child(4) { animation-delay: 3.6s; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.converge {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip-tool {
  background: var(--navy-700);
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 500;
}
.converge-arrow { color: var(--accent-bright); font-size: 26px; line-height: 1; }
.source-node {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 12px 26px;
  border-radius: 999px;
  box-shadow: 0 12px 30px -14px rgba(31,111,224,0.5);
}

.problem-body {
  margin-top: 44px;
  max-width: 66ch;
  margin-inline: auto;
  text-align: center;
  font-size: 18px;
}

/* ============================================================
   SECTION 4 — SERVICES
   ============================================================ */
.cards-3 {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--navy-700);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-title { font-size: 21px; }
.card-lede { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--navy-600);
  padding-top: 16px;
}
.card-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-muted);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-line {
  margin-top: 32px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 15px;
}

/* ============================================================
   SECTION 5 — HOW WE WORK
   ============================================================ */
.process { background: var(--navy-850); }

/* Vertical numbered timeline */
.steps {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  max-width: 760px;
}
.step {
  position: relative;
  display: flex;
  gap: 22px;
  padding-bottom: 36px;
}
.step:last-child { padding-bottom: 0; }
/* connector line running down through the number circles */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 18px;          /* center of the 38px circle */
  top: 38px;
  bottom: -2px;
  width: 2px;
  background: var(--accent-line);
}
.step-num {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.step-body { padding-top: 4px; }
.step-title { font-size: 20px; margin-bottom: 14px; }

.stage-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 8px 0;
  border-top: 1px solid var(--navy-600);
}
.stage-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-bright);
  padding-top: 1px;
}
.stage-value { font-size: 15px; color: var(--ink-soft); }

.guarantees {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.guarantee-card {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 24px;
}
.guarantee-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--accent-bright); }
.guarantee-card p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ============================================================
   SECTION 6 — TECH STACK
   ============================================================ */
.stack-grid {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.stack-chip {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  background: var(--navy-700);
  border: 1px solid var(--navy-600);
  border-radius: 10px;
  padding: 12px 22px;
  transition: border-color .2s ease, transform .15s ease;
}
.stack-chip:hover { border-color: var(--accent-line); transform: translateY(-2px); }

.moat-callout {
  margin-top: 40px;
  background: linear-gradient(120deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.moat-callout h3 { font-size: 22px; color: var(--accent-bright); margin-bottom: 12px; }
.moat-callout p { margin: 0; font-size: 16.5px; color: var(--ink-soft); max-width: 70ch; }

/* ============================================================
   SECTION 7 — ABOUT
   ============================================================ */
.about { background: var(--navy-850); }
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 54px);
  align-items: start;
}
.about-photo {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--navy-600);
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}
.about-copy .section-title { margin-bottom: 22px; }
.about-tagline { color: var(--accent-bright); font-size: 18px; }
.about-copy .btn { margin-top: 24px; }

/* ============================================================
   SECTION 07 — OBJECTIONS
   ============================================================ */
.objections { background: var(--navy-850); }
.obj-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.obj-item {
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.obj-q {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 10px;
}
.obj-a { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ============================================================
   SECTION 08 — GUARANTEE
   ============================================================ */
.guarantee-section { background: var(--navy-900); text-align: center; }
.guarantee-lead {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(24px, 3.6vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 20ch;
  margin: 0 auto;
}
.guarantee-section .section-num { text-align: center; }
.guarantee-section .guarantees { text-align: left; max-width: 760px; margin-inline: auto; }
.guarantee-section .btn { margin-top: 36px; }

/* ============================================================
   SECTION 09 — FAQ
   ============================================================ */
.accordion { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.acc-header { margin: 0; }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
.acc-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.acc-trigger:hover { color: var(--accent-bright); }
.acc-icon {
  flex: none;
  position: relative;
  width: 16px; height: 16px;
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  background: var(--accent-bright);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.acc-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.acc-icon::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: scaleY(0); opacity: 0; }

.acc-panel {
  padding: 0 22px 22px;
}
.acc-panel p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ============================================================
   SECTION 9 — BOOKING
   ============================================================ */
.book { background: var(--navy-900); text-align: center; }
.book .section-title, .book .section-sub { margin-inline: auto; }
.scarcity-line {
  margin: 20px auto 0;
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--warn);
  background: rgba(246, 169, 59, 0.1);
  border: 1px solid rgba(246, 169, 59, 0.4);
  border-radius: 999px;
  padding: 8px 18px;
}
.self-select {
  margin: 32px auto 0;
  max-width: 64ch;
  text-align: left;
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius);
  padding: 26px;
}
.self-select p { margin: 0 0 14px; font-size: 15.5px; color: var(--ink-soft); }
.self-select p:last-child { margin-bottom: 0; }

.calendly-wrap {
  margin-top: 32px;
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius);
  overflow: hidden;
}
.calendly-inline-widget {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* placeholder state before script loads */
.calendly-inline-widget.is-placeholder {
  flex-direction: column;
  gap: 14px;
  color: var(--ink-muted);
  font-size: 15px;
  text-align: center;
  padding: 24px;
}

/* ============================================================
   SECTION 10 — FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--navy-700);
  background: var(--navy-850);
  padding-top: 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.footer-line { color: var(--ink-muted); font-size: 14.5px; margin: 12px 0 0; max-width: 38ch; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-soft);
}
.status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #17a05c;
  box-shadow: 0 0 0 3px rgba(23, 160, 92, 0.18);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--ink-muted); font-size: 14.5px; }
.footer-links a:hover { color: var(--ink); }
.footer-social { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.social-link { color: var(--ink-muted); font-size: 14.5px; }
.social-link:hover { color: var(--ink); }
.footer-legal {
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
  padding: 30px 22px;
  margin: 32px 0 0;
  border-top: 1px solid var(--navy-700);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet — 768px and down */
@media (max-width: 900px) {
  .cards-3 { grid-template-columns: 1fr; }
  .guarantees { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 340px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .obj-list { grid-template-columns: 1fr; }
}

/* Stat row — wrap to 2-up on narrow screens */
@media (max-width: 560px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* Mobile nav — 768px and down */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: var(--navy-850);
    border-bottom: 1px solid var(--navy-700);
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a {
    padding: 15px 22px;
    border-top: 1px solid var(--navy-600);
    font-size: 16px;
  }
}

/* Phone — 480px and down */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .stage-row { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .nav-cta { padding: 10px 16px; font-size: 14px; }
  .self-select, .card, .moat-callout { padding: 20px; }
}
