/* ─── Telemancer marketing site ─────────────────────────────────────────
   Brand: #152840 navy (foreground), #E08020 orange (accent), white base.
   Built as a single static stylesheet — no preprocessor, no framework.
   ─────────────────────────────────────────────────────────────────── */

:root {
  --navy:           #152840;
  --navy-2:         #1a2f4d;
  --navy-3:         #0f1f33;
  --orange:         #E08020;
  --orange-hover:   #c97119;
  --orange-soft:    #fdf3e8;
  --ink:            #152840;
  --ink-2:          #2c3e5a;
  --muted:          #607078;
  --muted-2:        #8597b3;
  --bg:             #ffffff;
  --bg-alt:         #f7f9fc;
  --border:         #e3e8f0;
  --radius-sm:      6px;
  --radius:         10px;
  --radius-lg:      16px;
  --shadow-sm:      0 1px 2px rgba(21,40,64,.04);
  --shadow:         0 8px 24px rgba(21,40,64,.08);
  --shadow-lg:      0 20px 60px rgba(21,40,64,.12);
  --font:           "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:      "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  font-size: 16px;
}
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.015em; line-height: 1.18; }
h1 { font-size: 60px; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: 40px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p  { margin: 0; color: var(--ink-2); }
a  { color: var(--ink); text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
code { font-family: var(--font-mono); font-size: 0.92em; background: var(--orange-soft); color: var(--ink); padding: 1px 5px; border-radius: 4px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.accent { color: var(--orange); }

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: white; }
.btn--primary:hover { background: var(--orange-hover); color: white; }
.btn--ghost   { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg      { padding: 13px 22px; font-size: 15px; }

/* ─── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.nav__brand img { height: 32px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--ink-2); font-weight: 500; font-size: 14.5px; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 8px; }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
}

/* ─── Hero ────────────────────────────────────────────────────────── */
.hero {
  padding: 84px 0 96px;
  background:
    radial-gradient(circle at 12% 18%, rgba(224,128,32,.08), transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(21,40,64,.06), transparent 45%),
    var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__copy h1 { margin-bottom: 20px; }
.hero__copy .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero__cta { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero__metrics li strong { display: block; font-size: 24px; font-weight: 700; color: var(--ink); }
.hero__metrics li span { font-size: 12.5px; color: var(--muted); }
.hero__visual { position: relative; }
.hero__visual svg { width: 100%; height: auto; filter: drop-shadow(var(--shadow-lg)); border-radius: var(--radius-lg); }

@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
}

/* ─── Trust strip ─────────────────────────────────────────────────── */
.strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.strip__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.strip__inner p { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.strip__inner ul { display: flex; gap: 28px; flex-wrap: wrap; }
.strip__inner ul li { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }

/* ─── Sections ────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__header { max-width: 720px; margin: 0 0 56px; }
.section__header--center { margin: 0 auto 56px; text-align: center; }
.section__lede { font-size: 17px; color: var(--ink-2); margin-top: 16px; line-height: 1.55; }

@media (max-width: 960px) { .section { padding: 64px 0; } }

/* ─── Features grid ───────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1080px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature:hover { border-color: rgba(224,128,32,.4); transform: translateY(-2px); box-shadow: var(--shadow); }
.feature__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature h3 { margin-bottom: 8px; }
.feature p  { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* ─── How it works ────────────────────────────────────────────────── */
.how {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
.how__step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.how__step h3 { font-size: 22px; margin-bottom: 10px; }
.how__step p  { font-size: 14.5px; flex-grow: 1; line-height: 1.55; margin-bottom: 16px; }
.how__step ul { margin-top: auto; }
.how__step ul li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}
.how__step ul li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--orange);
  font-weight: 700;
}
.how__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 8px;
}
.how__arrow {
  align-self: center;
  font-size: 24px;
  color: var(--muted-2);
}
@media (max-width: 960px) {
  .how { grid-template-columns: 1fr; }
  .how__arrow { transform: rotate(90deg); }
}

/* ─── Pricing ─────────────────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; } }

.plan {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan h3 { margin-bottom: 12px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan__num { font-size: 38px; font-weight: 700; }
.plan__unit { color: var(--muted); font-size: 14px; }
.plan__sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.plan ul { margin-bottom: 24px; flex-grow: 1; }
.plan ul li { padding: 5px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px dashed var(--border); }
.plan ul li:last-child { border-bottom: none; }

.plan--featured {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ─── CTA section ─────────────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: white;
  padding: 84px 0;
  text-align: center;
}
.cta h2 { color: white; max-width: 720px; margin: 0 auto 16px; }
.cta p  { color: rgba(255,255,255,.7); max-width: 540px; margin: 0 auto 32px; font-size: 17px; }
.cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__buttons .btn--ghost { color: white; border-color: rgba(255,255,255,.25); }
.cta__buttons .btn--ghost:hover { border-color: white; color: white; }

/* ─── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: #0d1a2c;
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__brand img { height: 36px; margin-bottom: 16px; }
.footer__brand p   { color: rgba(255,255,255,.55); font-size: 14px; max-width: 320px; }
.footer__copy { font-size: 12.5px !important; margin-top: 14px; color: rgba(255,255,255,.4) !important; }

/* Parent-brand strip linking back to CodeMushroom. Lives at the bottom
   of the brand column so the visual hierarchy is Telemancer first,
   "a CodeMushroom product" second. */
.footer__parent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 6px 10px 6px 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    font-size: 12.5px;
    text-decoration: none;
    transition: background-color .15s, border-color .15s, color .15s;
}
.footer__parent:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.18);
    color: white;
}
.footer__parent img {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
}
.footer h4 { color: white; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer ul li { padding: 4px 0; font-size: 14px; }
.footer a { color: rgba(255,255,255,.6); }
.footer a:hover { color: white; }
