/* FranTech marketing site
   Attio-style system: white canvas, near-black ink, hairline grid framing, monochrome UI with one accent (FranTech teal). */
:root {
  --ink: #17181A;
  --ink-2: #4B4F56;
  --ink-3: #6B7079; /* was #8A8F98: darkened to pass 4.5:1 on white and --bg-2 */
  --line: #EBECEE;
  --line-2: #DFE1E4;
  --bg: #FFFFFF;
  --bg-2: #F9F9FA;
  --bg-3: #F3F4F5;
  --dark: #0E0F10;
  --dark-2: #1A1B1D;
  --dark-line: #2A2C2F;
  --teal: #17181A;
  --teal-2: #4B4F56;
  --teal-bright: #C9CCD1;
  --teal-tint: #F3F4F5;
  --amber: #4B4F56;
  --amber-tint: #F3F4F5;
  --green: #17181A;
  --radius: 0;
  --radius-lg: 0;
  --shadow-xs: 0 1px 2px rgba(16,17,19,.06);
  --shadow: 0 1px 2px rgba(16,17,19,.05), 0 6px 20px -6px rgba(16,17,19,.10);
  --shadow-lg: 0 1px 2px rgba(16,17,19,.05), 0 24px 48px -16px rgba(16,17,19,.18);
  --max: 1200px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -0.045em; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.04em; }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.serif { color: var(--ink-3); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 40px; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 500;
  color: var(--ink-2); margin-bottom: 18px; letter-spacing: 0;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 0; background: var(--teal); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 600px; line-height: 1.55; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hairline grid framing (the Attio look) ---------- */
main > section, main > .logos { border-bottom: 1px solid var(--line); }
main > section > .container, main > .logos > .container { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
main > section > .container::before, main > section > .container::after {
  content: ""; position: absolute; top: -5px; width: 9px; height: 9px; pointer-events: none;
  background:
    linear-gradient(var(--line-2), var(--line-2)) center/1px 9px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) center/9px 1px no-repeat;
}
main > section > .container::before { left: -5px; }
main > section > .container::after { right: -5px; }
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  main > section > .container, main > .logos > .container { border-left: 0; border-right: 0; }
  main > section > .container::before, main > section > .container::after { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 .95rem/1 var(--sans); padding: 12px 18px; border-radius: 0;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, box-shadow .15s, color .15s;
  text-decoration: none !important; white-space: nowrap; letter-spacing: -0.01em;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--shadow-xs); }
.btn-primary:hover { background: #2B2D31; color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { background: var(--bg-2); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-3); color: var(--ink); }
.btn-ghost-light { color: #fff; border-color: var(--dark-line); }
.btn-sm { padding: 9px 14px; font-size: .88rem; border-radius: 0; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }
.textlink { font-weight: 500; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.textlink::after { content: "→"; transition: transform .15s; color: var(--ink-3); }
.textlink:hover::after { transform: translateX(3px); color: var(--teal); }

/* ---------- Announcement + nav ---------- */
.announce { border-bottom: 1px solid var(--line); text-align: center; font-size: .85rem; padding: 10px 16px; color: var(--ink-2); background: var(--bg); }
.announce a { color: var(--ink); font-weight: 500; }
.announce .new { display: inline-block; font-size: .72rem; font-weight: 600; background: var(--teal-tint); color: var(--teal); padding: 2px 8px; border-radius: 0; margin-right: 8px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.03em; text-decoration: none !important; }
.logo:hover { color: var(--ink); }
.logo img { width: 24px; height: 24px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 0;
  color: var(--ink-2); font: 500 .92rem var(--sans); background: none; border: 0; cursor: pointer; letter-spacing: -0.01em;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li:focus-within > button { background: var(--bg-3); color: var(--ink); }
.caret { width: 9px; height: 9px; transition: transform .2s; opacity: .6; }
.has-menu:hover .caret, .has-menu:focus-within .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -12px; background: #fff; border: 1px solid var(--line);
  border-radius: 0; box-shadow: var(--shadow-lg); padding: 8px; width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .16s;
}
.dropdown.narrow { width: 280px; grid-template-columns: 1fr; }
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 0; color: var(--ink); }
.dropdown a:hover { background: var(--bg-2); color: var(--ink); }
.dropdown strong { display: block; font-size: .9rem; font-weight: 500; }
.dropdown small { display: block; color: var(--ink-3); font-size: .82rem; line-height: 1.4; }
.dropdown .dd-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding: 10px 12px 4px; font-size: .85rem; display: flex; justify-content: space-between; }
.mi-icon { flex: none; width: 32px; height: 32px; border-radius: 0; border: 1px solid var(--line); background: #fff; color: var(--ink-2); display: grid; place-items: center; box-shadow: var(--shadow-xs); }
.mi-icon svg { width: 16px; height: 16px; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-cta .login { color: var(--ink-2); font-weight: 500; font-size: .92rem; padding: 8px 10px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-links > li.mobile-cta { display: none; }
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; max-height: calc(100vh - 64px); overflow: auto;
  }
  .nav.open .nav-links > li > a, .nav.open .nav-links > li > button { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; font-size: 1rem; }
  .nav.open .dropdown { display: none; }
  .nav.open .nav-links > li.mobile-cta { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
  .mobile-cta .btn { width: 100%; }
}

/* ---------- Sections ---------- */
section { padding: 0; }
section > .container { padding-top: 104px; padding-bottom: 104px; }
.bg-cream, .bg-sand { background: var(--bg-2); }
.bg-white { background: var(--bg); }
.bg-deep { background: var(--dark); color: #E8E9EB; }
.bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-deep .lead, .bg-deep p { color: #A1A5AC; }
.bg-deep .eyebrow { color: #A1A5AC; }
main > section.bg-deep, main > section.bg-deep > .container { border-color: var(--dark-line); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { section > .container { padding-top: 72px; padding-bottom: 72px; } }

/* ---------- Hero ---------- */
.hero > .container { padding-top: 96px; padding-bottom: 0; }
.hero-center { text-align: center; max-width: 860px; margin: 0 auto; }
.hero-center .lead { margin: 0 auto 32px; font-size: 1.2rem; }
.hero-center .btn-row { justify-content: center; }
.hero-note { margin-top: 18px; font-size: .85rem; color: var(--ink-3); }
.hero-stage {
  margin: 72px -40px 0; padding: 40px 40px 0; border-top: 1px solid var(--line);
  background-color: var(--bg-2); background-image: var(--map-pattern); background-size: var(--map-size); background-position: center top;
}
.hero-stage .mock { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.page-hero > .container { padding-top: 88px; padding-bottom: 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-grid > *, .feature-split > * { min-width: 0; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.page-hero .lead { margin-bottom: 28px; }
.breadcrumb { font-size: .82rem; color: var(--ink-3); margin-bottom: 20px; }
.breadcrumb a { color: var(--ink-3); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { margin: 56px -20px 0; padding: 20px 20px 0; }
}

/* ---------- Product mock (framed UI) ---------- */
.mock { background: #fff; border-radius: 0; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); overflow: hidden; position: relative; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.mock-bar i { width: 9px; height: 9px; border-radius: 0; background: var(--line-2); }
.mock-bar .url { margin-left: 10px; font-size: .74rem; color: var(--ink-3); }
.mock-body { display: grid; grid-template-columns: 200px 1fr 260px; min-height: 420px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 10px; font-size: .8rem; display: flex; flex-direction: column; gap: 2px; background: var(--bg-2); }
.mock-side .ms-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 0; color: var(--ink-2); border: 1px solid transparent; }
.mock-side .ms-item.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); border-color: var(--line); font-weight: 500; }
.mock-side .ms-item svg { width: 14px; height: 14px; }
.mock-side .ms-label { font-size: .68rem; color: var(--ink-3); padding: 12px 8px 4px; text-transform: uppercase; letter-spacing: .06em; }
.mock-rail { background: var(--bg-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; }
.mock-rail b { width: 22px; height: 22px; border-radius: 0; background: var(--line); }
.mock-rail b.on { background: var(--ink); }
.mock-map { position: relative; background: #F5F5F6; overflow: hidden; min-height: 300px; }
.mock-map svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.mock-panel { border-left: 1px solid var(--line); padding: 14px; font-size: .8rem; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.mock-panel h5 { margin: 0; font-size: .8rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.chat-bubble { background: var(--bg-3); border-radius: 0; padding: 8px 11px; line-height: 1.45; }
.chat-bubble.me { background: var(--ink); color: #fff; align-self: flex-end; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: .7rem; font-weight: 500; padding: 2px 8px; border-radius: 0; background: var(--bg-3); color: var(--ink-2); border: 1px solid var(--line); }
.chip.teal { background: var(--teal-tint); color: var(--teal); border-color: var(--line-2); }
.chip.amber { background: var(--amber-tint); color: var(--ink-2); border-color: var(--line-2); }
.stat-mini { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; color: var(--ink-2); }
.stat-mini strong { color: var(--ink); font-weight: 600; }
.mock-wrap { position: relative; }
@media (max-width: 900px) { .mock-body { grid-template-columns: 1fr; } .mock-side, .mock-panel, .mock-rail { display: none; } }

/* ---------- Logo strip ---------- */
.logos > .container { padding-top: 36px; padding-bottom: 36px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.logos p { color: var(--ink-3); font-size: .85rem; margin: 0; max-width: 220px; }
.logo-row { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.logo-row span { font-weight: 600; font-size: 1.02rem; letter-spacing: -0.02em; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.logo-row span svg { width: 18px; height: 18px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 26px; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card h3 { margin-top: 2px; }
.card p { color: var(--ink-2); font-size: .94rem; margin-bottom: .6em; }
.card .icon { width: 36px; height: 36px; border-radius: 0; border: 1px solid var(--line); box-shadow: var(--shadow-xs); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; background: #fff; }
.card .icon svg { width: 18px; height: 18px; }
.card .textlink { font-size: .92rem; }
.tag-example { display: inline-block; font-size: .72rem; font-weight: 500; background: var(--bg-3); color: var(--ink-2); border: 1px solid var(--line); border-radius: 0; padding: 2px 8px; margin-bottom: 14px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: #fff; }
.bento > div { padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bento .b-2 { grid-column: span 2; } .bento .b-3 { grid-column: span 3; } .bento .b-4 { grid-column: span 4; } .bento .b-6 { grid-column: span 6; }
.bento p { color: var(--ink-2); font-size: .94rem; }
.bento .b-art { margin-top: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 0; padding: 16px; font-size: .82rem; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .bento > div { grid-column: auto !important; border-right: 0; } }

/* Numbered tabs (platform) */
.ntabs { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.ntabs button {
  text-align: left; font: 500 .9rem var(--sans); padding: 18px; background: #fff; border: 0; border-right: 1px solid var(--line);
  color: var(--ink-3); cursor: pointer; display: flex; flex-direction: column; gap: 4px; position: relative; letter-spacing: -0.01em;
}
.ntabs button:last-child { border-right: 0; }
.ntabs button span { font-size: .72rem; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.ntabs button[aria-selected="true"] { color: var(--ink); background: var(--bg-2); }
.ntabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); }
.ntab-stage { border: 1px solid var(--line); border-top: 0; border-radius: 0; background-color: var(--bg-2); background-image: var(--map-pattern); background-size: var(--map-size); background-position: center top; padding: 40px; }
.tab-panel { display: none; }
.tab-panel.active { display: grid; }
.feature-split { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.feature-split h3 { font-size: 1.6rem; letter-spacing: -0.035em; }
@media (max-width: 900px) {
  .ntabs { grid-template-columns: 1fr 1fr; } .ntabs button { border-bottom: 1px solid var(--line); }
  .ntab-stage { padding: 20px; }
  .feature-split { grid-template-columns: 1fr; gap: 28px; }
}
.tabs-ui { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.tabs-ui button { font: 500 .9rem var(--sans); padding: 8px 14px; border-radius: 0; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); cursor: pointer; }
.tabs-ui button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-2); font-size: .97rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 0; border: 1px solid var(--line-2);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%2317181A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.bg-deep .checklist li { color: #A1A5AC; }
.bg-deep .checklist li::before { border-color: var(--dark-line); background-color: var(--dark-2); }
.visual-card { border-radius: 0; padding: 24px; border: 1px solid var(--line); background-color: var(--bg-2); background-image: var(--map-pattern); background-size: var(--map-size); background-position: center top; }
.bg-deep .visual-card { background-color: var(--dark-2); border-color: var(--dark-line); background-image: var(--map-pattern-dark); }

/* ---------- Stats ---------- */
.outcomes, .stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats { border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: #fff; }
.outcomes { grid-template-columns: repeat(3, 1fr); border: 1px solid var(--dark-line); border-radius: 0; }
.outcomes > div, .stats > div { padding: 32px 28px; border-right: 1px solid var(--line); }
.outcomes > div { border-color: var(--dark-line); }
.outcomes > div:last-child, .stats > div:last-child { border-right: 0; }
.outcomes .big, .stats strong { display: block; font-size: 2.6rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-bottom: 10px; color: var(--ink); }
.outcomes .big { color: #fff; }
.stats span { color: var(--ink-3); font-size: .9rem; }
@media (max-width: 800px) { .outcomes, .stats { grid-template-columns: 1fr 1fr; } .outcomes > div, .stats > div { border-bottom: 1px solid var(--line); } }
@media (max-width: 500px) { .outcomes { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 50px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font: 500 .78rem var(--sans); color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 0; padding: 5px 8px; background: #fff; box-shadow: var(--shadow-xs);
}
.step p { color: var(--ink-2); font-size: .95rem; }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 0; overflow: hidden; font-size: .93rem; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--bg-2); font-size: .78rem; font-weight: 500; color: var(--ink-3); }
.compare thead th.us { color: var(--ink); font-weight: 600; background: var(--teal-tint); }
.compare td.us { background: var(--bg-2); color: var(--ink); font-weight: 500; }
.compare td { color: var(--ink-2); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 500; color: var(--ink); width: 28%; }
.yes { color: var(--teal); font-weight: 700; }
.no { color: var(--ink-3); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 700px) { .compare { min-width: 620px; } }

/* ---------- Testimonial / story ---------- */
.quote { display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.quote > div { padding: 44px; }
.quote > div + div { border-left: 1px solid var(--line); background: var(--bg-2); }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; letter-spacing: -0.025em; font-weight: 500; }
.quote .who { margin-top: 20px; font-size: .9rem; color: var(--ink-3); }
.quote .who strong { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .quote { grid-template-columns: 1fr; } .quote > div + div { border-left: 0; border-top: 1px solid var(--line); } .quote > div { padding: 28px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--ink-3); transition: transform .2s; font-weight: 300; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-2); font-size: .97rem; }
.faq a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA band ---------- */
.cta-band { background-color: var(--dark); color: #fff; border-radius: 0; padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; background-image: var(--map-pattern-dark); background-size: var(--map-size); background-position: center; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band p { color: #A1A5AC; margin: 0; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: 36px 26px; } }
.final-cta > .container { text-align: center; padding-top: 128px; padding-bottom: 128px; }
.final-cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 760px; margin: 0 auto 18px; letter-spacing: -0.045em; }
.final-cta .lead { margin: 0 auto 30px; }

/* ---------- Pricing ---------- */
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 30px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--ink); box-shadow: var(--shadow-lg); position: relative; }
.price-card.featured::before { content: "Most chosen"; position: absolute; top: -11px; left: 26px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 500; padding: 3px 10px; border-radius: 0; }
.price-card .price { font-size: 2rem; font-weight: 600; letter-spacing: -0.04em; margin: 6px 0 2px; }
.price-card .price small { font-size: .9rem; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.price-card .checklist { flex: 1; margin-top: 18px; }
.price-card .btn { width: 100%; }
.price-card .eyebrow { margin-bottom: 8px; }

/* ---------- Forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 30px; box-shadow: var(--shadow-lg); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-size: .84rem; font-weight: 500; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 .95rem var(--sans); padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 0;
  background: #fff; color: var(--ink); margin-bottom: 14px; box-shadow: var(--shadow-xs);
}
.form input:focus, .form select:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.form .btn { width: 100%; }
.form .fine { font-size: .8rem; color: var(--ink-3); margin: 12px 0 0; text-align: center; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form.sent form { display: none; }
.form.sent .form-success { display: block; }

/* ---------- Footer ---------- */
footer { background: var(--bg); color: var(--ink-2); font-size: .9rem; }
footer > .container { border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding-top: 64px; padding-bottom: 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; margin-bottom: 56px; }
footer h4 { color: var(--ink); font-size: .85rem; font-weight: 500; margin-bottom: 14px; letter-spacing: -0.01em; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 9px; }
footer a { color: var(--ink-3); }
footer a:hover { color: var(--ink); }
footer .logo { margin-bottom: 14px; }
footer p { color: var(--ink-3); max-width: 300px; }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-3); }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 32px; height: 32px; border-radius: 0; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); }
.social svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { footer > .container { border: 0; } }

/* ---------- Misc ---------- */
.prose { max-width: 760px; }
/* .reveal is handled by the motion system (see "Motion" block at the end) */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Three-part explainer */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 0; background: #fff; }
.flow > div { padding: 30px; border-right: 1px solid var(--line); position: relative; }
.flow > div:last-child { border-right: 0; }
.flow .num { font-size: .75rem; color: var(--ink-3); margin-bottom: 26px; display: block; font-variant-numeric: tabular-nums; }
.flow > div:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 26px; width: 24px; height: 24px; border-radius: 0; background: #fff; border: 1px solid var(--line); font-size: .75rem; display: grid; place-items: center; color: var(--ink-3); z-index: 1; }
.flow p { color: var(--ink-2); font-size: .94rem; }
.flow .b-art { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.flow .row-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 0; padding: 8px 10px; font-size: .8rem; background: var(--bg-2); }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow > div { border-right: 0; border-bottom: 1px solid var(--line); } .flow > div::after { display: none; } }

/* Integrations grid */
.int-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.int-grid > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); aspect-ratio: 1.4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: .82rem; color: var(--ink-2); background: #fff; }
.int-grid .app { width: 40px; height: 40px; border-radius: 0; border: 1px solid var(--line); box-shadow: var(--shadow-xs); display: grid; place-items: center; font-weight: 700; background: #fff; }
@media (max-width: 760px) { .int-grid { grid-template-columns: repeat(3, 1fr); } }

/* Changelog-style cards */
.log-card { border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: #fff; }
.log-card .log-art { height: 140px; border-bottom: 1px solid var(--line); background-color: var(--bg-2); background-image: var(--map-pattern); background-size: var(--map-size); background-position: center; display: grid; place-items: center; }
.log-card .log-art .mi-icon { width: 44px; height: 44px; border-radius: 0; }
.log-card .log-art .mi-icon svg { width: 20px; height: 20px; color: var(--teal); }
.log-card > div:last-child { padding: 18px 20px 22px; }
.log-card small { color: var(--ink-3); font-size: .78rem; }
.log-card h3 { font-size: 1rem; margin: 6px 0 4px; }
.log-card p { color: var(--ink-2); font-size: .9rem; margin: 0; }
.mock-panel h5 svg, .logo-row svg, .ms-item svg { width: 14px; height: 14px; flex: none; }
.feature-split .int-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .feature-split .int-grid { grid-template-columns: repeat(3, 1fr); } }
.shot img { width: 100%; height: auto; display: block; }

/* Square corners everywhere (design decision 2026-11-23) */
*, *::before, *::after { border-radius: 0 !important; }

/* ---------- Hero background map (visitor's town, ZIPs pulsing ~80% shaded out) ---------- */
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero-map {
  position: absolute; top: 0; left: 0; right: 0; height: 100%; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 2.4s ease;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}
.hero-map.ready { opacity: 1; }
.hero-map svg { width: 100%; height: 100%; display: block; }
.hm-tract { fill: none; stroke: var(--ink); stroke-width: .6; stroke-opacity: .07; }
.hm-zip {
  fill: var(--ink); fill-opacity: 0; stroke: var(--ink); stroke-width: 1; stroke-opacity: .16;
  animation: hm-pulse var(--d, 6s) ease-in-out var(--delay, 0s) infinite;
}
.hm-zip.home { stroke-opacity: .34; stroke-width: 1.4; animation-name: hm-pulse-home; }
@keyframes hm-pulse { 0%, 100% { fill-opacity: 0; } 50% { fill-opacity: .045; } }
@keyframes hm-pulse-home { 0%, 100% { fill-opacity: .02; } 50% { fill-opacity: .1; } }
.hm-labels text { font: 600 11px var(--sans); fill: var(--ink); fill-opacity: .2; text-anchor: middle; dominant-baseline: middle; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.hm-labels text.home { fill-opacity: .45; }
.hero-loc {
  position: absolute; z-index: 1; left: 40px; top: 22px; font-size: .72rem; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px; opacity: 0; transition: opacity 1.2s ease 1.2s; letter-spacing: .01em;
}
.hero-loc.ready { opacity: 1; }
.hero-loc i { width: 6px; height: 6px; background: var(--ink); display: inline-block; animation: hm-dot 2.4s ease-in-out infinite; }
@keyframes hm-dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-width: 760px) { .hero-loc { left: 20px; top: 14px; } .hm-labels text { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .hm-zip, .hero-loc i { animation: none; } }

/* =====================================================================
   Motion (Framer-style). Start states only apply under .motion-ok (set in <head>
   when JS runs and the visitor doesn't prefer reduced motion). Driven by motion() in main.js.
   ===================================================================== */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);      /* expo-out, Framer's default feel */
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1); /* small overshoot for hovers and presses */
}

/* Intro: headline words blur in one by one, then the rest of the hero copy */
.motion-ok .m-split .m-word {
  display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.38em);
  transition: opacity .9s var(--ease-out), filter .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 75ms + 120ms);
  will-change: opacity, filter, transform;
}
.motion-ok [data-intro] {
  opacity: 0; filter: blur(8px); transform: translateY(18px);
  transition: opacity .9s var(--ease-out), filter .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 75ms + 160ms);
}
.m-loaded .m-split .m-word, .m-loaded [data-intro] { opacity: 1; filter: none; transform: none; }

/* Scroll reveals: fade, un-blur and rise, staggered within a group */
.motion-ok [data-anim] {
  opacity: 0; filter: blur(8px); transform: translateY(30px);
  transition: opacity .9s var(--ease-out), filter .9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.motion-ok [data-anim].m-in { opacity: 1; filter: none; transform: none; }

/* Hero product frame: transform is scroll-linked from JS */
.motion-ok .hero-stage { perspective: 1600px; }
.motion-ok .hero-stage .mock, .motion-ok .hero-stage .shot, .motion-ok .hero-stage .hero-video { transform-origin: 50% 0%; will-change: transform, opacity; }

/* Tabs: panels cross-fade in, the active underline grows from the left */
.motion-ok .tab-panel.active { animation: m-panel .7s var(--ease-out); }
@keyframes m-panel { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.motion-ok .ntabs button[aria-selected="true"]::after { transform-origin: 0 50%; animation: m-grow .6s var(--ease-out); }
@keyframes m-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ntabs button { transition: background .25s ease, color .25s ease; }

/* Buttons and cards: lift on hover, press in on click */
.btn { transition: transform .35s var(--ease-spring), background .2s ease, box-shadow .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .1s; }
.card, .log-card, .price-card, .int-grid > div, .bento > div { transition: transform .5s var(--ease-out), box-shadow .3s ease, border-color .3s ease, background .3s ease; }
.card:hover, .log-card:hover, .price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.int-grid > div:hover, .bento > div:hover { background: var(--bg-2); }
.textlink::after { transition: transform .35s var(--ease-spring), color .2s ease; }

/* Nav: hairline shadow once you scroll; dropdowns ease in with a slight scale */
.nav { transition: box-shadow .3s ease, background .3s ease; }
.nav.scrolled { box-shadow: 0 10px 30px -22px rgba(16,17,19,.35); }
.dropdown { transform-origin: 20% 0; transform: translateY(-6px) scale(.98); transition: opacity .25s var(--ease-out), transform .35s var(--ease-out), visibility .25s; }
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .card:hover, .log-card:hover, .price-card:hover { transform: none; }
}

/* int-grid: let columns shrink so labels wrap instead of overflowing on phones */
.int-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.feature-split .int-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.int-grid > div { text-align: center; padding: 6px; line-height: 1.25; }
@media (max-width: 760px) { .int-grid, .feature-split .int-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* =====================================================================
   Dark-context fixes: components default to light-background styling, so
   anything placed on .bg-deep or .cta-band needs its own colors.
   ===================================================================== */
.bg-deep .eyebrow::before, .cta-band .eyebrow::before { background: #fff; }
.bg-deep .chat-bubble { background: #25272B; color: #E8E9EB; border: 1px solid var(--dark-line); }
.bg-deep .chat-bubble.me { background: #fff; color: var(--ink); border-color: #fff; }
.bg-deep .checklist li::before {
  border-color: var(--dark-line); background-color: var(--dark-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.bg-deep .textlink, .cta-band .textlink { color: #fff; }
.bg-deep .textlink::after, .cta-band .textlink::after { color: #A1A5AC; }
.bg-deep .muted, .cta-band .muted { color: #A1A5AC; }
.bg-deep .chip { background: var(--dark-2); color: #C9CCD1; border-color: var(--dark-line); }
.bg-deep .card, .bg-deep .log-card { background: var(--dark-2); border-color: var(--dark-line); }
.bg-deep .card p { color: #A1A5AC; }
.bg-deep .btn-secondary, .cta-band .btn-secondary { background: transparent; color: #fff; border-color: #4A4D52; box-shadow: none; }
.bg-deep .btn-secondary:hover, .cta-band .btn-secondary:hover { background: #1F2124; color: #fff; }
.bg-deep .btn-primary, .cta-band .btn-primary { background: #fff; color: var(--ink); }
.bg-deep .btn-primary:hover, .cta-band .btn-primary:hover { background: #E8E9EB; color: var(--ink); }

/* =====================================================================
   Nav: floating detached bar (Discovered Labs style). Inset from the edges,
   thin border, soft shadow, uppercase tracked links, solid black CTA. Square corners.
   ===================================================================== */
.nav {
  position: sticky; top: 14px; z-index: 50; margin-top: 14px;
  background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: none !important; pointer-events: none;
}
.nav > .nav-inner {
  pointer-events: auto; position: relative;
  width: min(var(--max), calc(100% - 32px)); max-width: none; margin: 0 auto; padding: 0 14px 0 28px; height: 68px;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(16,17,19,.04), 0 12px 32px -20px rgba(16,17,19,.22);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.nav.scrolled > .nav-inner { border-color: var(--line-2); box-shadow: 0 1px 2px rgba(16,17,19,.05), 0 18px 40px -18px rgba(16,17,19,.32); }
.nav .logo { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.035em; }
.nav-links { margin-left: auto; gap: 6px; }
.nav-links > li > a, .nav-links > li > button {
  font: 500 .78rem var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--ink);
  padding: 10px 12px; background: none;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li:focus-within > button { background: var(--bg-3); color: var(--ink); }
.nav-links .caret { width: 8px; height: 8px; opacity: .8; }
.nav-cta { margin-left: 10px; gap: 4px; }
.nav-cta .login { font: 500 .78rem var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--ink); padding: 10px 12px; }
.nav-cta .login:hover { background: var(--bg-3); }
.nav-cta .btn { font: 600 .78rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; padding: 15px 22px; }
.dropdown { top: calc(100% + 16px); }
@media (max-width: 960px) {
  .nav > .nav-inner { padding: 0 8px 0 18px; height: 60px; }
  .nav.open .nav-links {
    top: calc(100% + 8px); left: -1px; right: -1px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 110px); margin: 0;
  }
  .nav.open .nav-links > li > a, .nav.open .nav-links > li > button { font-size: .85rem; }
}

/* Corner "+" markers poke 5px outside the frame; clip so tablets/small laptops never scroll sideways */
main { overflow-x: clip; }
/* Hairline cards were nearly invisible on the light-gray sections */
.bg-cream .card, .bg-cream .log-card, .bg-cream .price-card, .visual-card .card { border-color: var(--line-2); }

/* Mobile menu CTAs keep real button styling (the uppercase link rule was overriding them) */
.nav-links > li.mobile-cta > a.btn { justify-content: center; border-bottom: 1px solid transparent; font: 600 .8rem/1 var(--sans); letter-spacing: .08em; padding: 16px 18px; }
.nav-links > li.mobile-cta > a.btn-primary { background: var(--ink); color: #fff; }
.nav-links > li.mobile-cta > a.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }

/* Side frame lines removed sitewide (2026-11-24). Sections keep their horizontal dividers only. */
main > section > .container, main > .logos > .container, footer > .container { border-left: 0 !important; border-right: 0 !important; }
main > section > .container::before, main > section > .container::after { display: none !important; }

/* =====================================================================
   Typography (Discovered Labs system): Eudoxus Sans headings, Funnel Display
   labels and nav, Inter body. All SIL OFL. Eudoxus self-hosted in /assets/fonts (OFL, from
   github.com/stijndevries/Eudoxus-Sans @2f55c84); Funnel Display + Inter via Google Fonts.
   ===================================================================== */
@font-face { font-family: "Eudoxus Sans"; src: url(/assets/fonts/EudoxusSans-Regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Eudoxus Sans"; src: url(/assets/fonts/EudoxusSans-Medium.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Eudoxus Sans"; src: url(/assets/fonts/EudoxusSans-Bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Size-matched fallbacks so text doesn't jump while the web fonts load */
@font-face { font-family: "Eudoxus Sans Fallback"; src: local("Arial"), local("Helvetica"); font-weight: 400 500; ascent-override: 97%; descent-override: 20.8%; line-gap-override: 0%; size-adjust: 106.8%; }
@font-face { font-family: "Eudoxus Sans Fallback"; src: local("Arial"), local("Helvetica"); font-weight: 700; ascent-override: 94.45%; descent-override: 20.2%; line-gap-override: 0%; size-adjust: 109.9%; }
@font-face { font-family: "Funnel Display Fallback"; src: local("Arial"), local("Helvetica"); ascent-override: 93.61%; descent-override: 23.4%; line-gap-override: 0%; size-adjust: 106.83%; }
:root {
  --display: "Eudoxus Sans", "Eudoxus Sans Fallback", "Inter", system-ui, sans-serif;
  --label: "Funnel Display", "Funnel Display Fallback", "Inter", system-ui, sans-serif;
}

/* Headings */
h1, h2, h3, h4 { font-family: var(--display); }
h1, .final-cta h2 { font-weight: 700; letter-spacing: -0.03em; }
h2 { font-weight: 500; letter-spacing: -0.025em; }
h3 { font-weight: 500; letter-spacing: -0.012em; }
.feature-split h3 { letter-spacing: -0.02em; }
.stats strong, .outcomes .big, .price-card .price { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; }
.logo { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }

/* Labels: small uppercase, wide tracking */
.eyebrow { font-family: var(--label); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); }
.bg-deep .eyebrow { color: #A1A5AC; }
.tag-example, .chip, .ntabs button span, .flow .num, .log-card small, .breadcrumb, .hero-loc, .announce .new, .compare thead th, .price-card.featured::before {
  font-family: var(--label); letter-spacing: .06em;
}
.tag-example, .ntabs button span, .flow .num, .log-card small, .compare thead th { text-transform: uppercase; font-size: .68rem; letter-spacing: .12em; }

/* Nav and footer in Funnel Display */
.nav-links > li > a, .nav-links > li > button, .nav-cta .login, .nav-cta .btn, .nav-links > li.mobile-cta > a.btn { font-family: var(--label); letter-spacing: .1em; }
.dropdown strong { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }
footer a, footer p, .foot-bottom { font-family: var(--label); }
footer h4 { font-family: var(--label); font-weight: 500; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); }
.ntabs button { font-family: var(--display); font-weight: 500; }
.faq summary { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }

/* Very small phones: Eudoxus is wider than Inter, so scale section headlines down a touch */
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 380px) { h2 { font-size: 1.65rem; } h1 { font-size: 2.3rem; } }

/* =====================================================================
   Nav v3: Discovered Labs pattern (supersedes the floating-card nav above).
   Fixed, so it never takes layout space. Transparent over the hero; at 20px of
   scroll (or while a dropdown/mobile menu is open) a white card, hairline border
   and very soft shadow fade in. Same size and position in both states.
   ===================================================================== */
html { scroll-padding-top: 96px; }
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); margin: 0;
  width: calc(100% - 2rem); max-width: var(--max); z-index: 60;
  background: none; border: 0; box-shadow: none !important; backdrop-filter: none; -webkit-backdrop-filter: none;
  pointer-events: auto;
}
.nav > .nav-inner {
  width: 100%; max-width: none; height: auto; margin: 0; padding: 12px 24px;
  display: flex; align-items: center; gap: 24px;
  background: transparent; border: 1px solid transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background-color .3s ease-out, border-color .3s ease-out, box-shadow .3s ease-out;
}
.nav.scrolled > .nav-inner,
.nav.open > .nav-inner,
.nav:has(.has-menu:hover) > .nav-inner,
.nav:has(.has-menu:focus-within) > .nav-inner {
  background: #fff; border-color: var(--line); box-shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 1px 3px rgba(17, 24, 39, .04);
}
.nav .logo { font-size: 1.15rem; }
.nav .logo img { width: 22px; height: 22px; }
.nav-links { margin-left: auto; gap: 24px; }
.nav-links > li > a, .nav-links > li > button {
  font: 500 .75rem/1 var(--label); text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-2); padding: 8px 0; background: none !important; border-radius: 0;
  transition: color .2s ease;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li:focus-within > button { color: var(--ink); background: none; }
.nav-links .caret { width: 8px; height: 8px; margin-left: 2px; }
.nav-cta { margin-left: 0; gap: 24px; }
.nav-cta .login { font: 500 .75rem/1 var(--label); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); padding: 8px 0; background: none !important; }
.nav-cta .login:hover { color: var(--ink); }
.nav-cta .btn {
  font: 500 .75rem/1 var(--label); text-transform: uppercase; letter-spacing: .04em;
  padding: 9px 14px; background: var(--ink); color: #fff; border: 1px solid var(--ink); box-shadow: none;
}
.nav-cta .btn:hover { background: #2B2D31; border-color: #2B2D31; transform: none; }
/* Dropdowns sit just under the nav, with a hover bridge across the gap */
.dropdown { top: calc(100% + 18px); }
.dropdown::before { top: -20px; height: 20px; }

/* Hero spacing now that the nav floats over it */
.hero > .container { padding-top: 150px; }
.page-hero > .container { padding-top: 140px; }
.hero-loc { top: 96px; }

/* "New" pill (replaces the old announcement bar) */
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font: 500 .78rem/1 var(--label); letter-spacing: .02em; color: var(--ink-2);
  padding: 6px 12px 6px 6px; border: 1px solid var(--line-2); background: rgba(255,255,255,.85);
  transition: border-color .2s ease, color .2s ease;
}
.hero-pill span { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; background: var(--ink); color: #fff; padding: 4px 7px; }
.hero-pill i { font-style: normal; color: var(--ink-3); transition: transform .3s var(--ease-spring); }
.hero-pill:hover { border-color: var(--ink); color: var(--ink); }
.hero-pill:hover i { transform: translateX(3px); color: var(--ink); }

/* Phones: full-width bar pinned to the top, card on scroll or when the menu is open */
@media (max-width: 767px) {
  .nav { top: 0; width: 100%; }
  .nav > .nav-inner { padding: 12px 20px; border-left: 0; border-right: 0; border-top: 0; }
  .hero > .container { padding-top: 112px; }
  .page-hero > .container { padding-top: 104px; }
  .hero-loc { top: 74px; }
}
@media (max-width: 960px) {
  .nav.open .nav-links { top: calc(100% + 0px); left: -1px; right: -1px; }
  .nav.open .nav-links > li > a, .nav.open .nav-links > li > button { padding: 16px 4px; font-size: .8rem; }
}

/* Mobile menu CTAs: undo the nav-link background reset */
.nav-links > li.mobile-cta > a.btn-primary { background: var(--ink) !important; color: #fff; border: 1px solid var(--ink); }
.nav-links > li.mobile-cta > a.btn-secondary { background: #fff !important; color: var(--ink); border: 1px solid var(--line-2); }
.nav-links > li.mobile-cta > a.btn { padding: 16px 18px; justify-content: center; letter-spacing: .06em; }

.m-settled .m-split .m-word, .m-settled .hero-stage .mock, .m-settled .hero-stage .shot, .m-settled .hero-stage .hero-video { will-change: auto; }

/* Headings: turn OFF stylistic alternates. body sets "ss01"/"cv11" for Inter, and Eudoxus Sans
   maps ss01 to quirky alternate letterforms (hooked n, open g). Discovered's hero uses the
   default glyphs, so headings and labels reset to normal. Tracking matches theirs (-0.025em). */
h1, h2, h3, h4, .logo, .stats strong, .outcomes .big, .price-card .price, .faq summary, .ntabs button,
.dropdown strong, .eyebrow, .hero-pill, .nav-links, .nav-cta, footer, .tag-example, .chip, .breadcrumb {
  font-feature-settings: normal;
}
h1, .final-cta h2 { letter-spacing: -0.025em; }
h2 { letter-spacing: -0.025em; }

/* =====================================================================
   Type scale matched to discoveredlabs.com (ours ran ~35% bigger, which
   overwhelmed ~1000px laptop windows). Hero h1 36→58px, section h2 30→38px.
   ===================================================================== */
h1 { font-size: clamp(2.25rem, 4.05vw, 3.625rem); line-height: 1.1; }
.page-hero h1 { font-size: clamp(2.25rem, 3.6vw, 3.25rem); }
h2 { font-size: clamp(1.875rem, 2.65vw, 2.375rem); line-height: 1.12; }
.final-cta h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.cta-band h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.feature-split h3 { font-size: clamp(1.3rem, 1.8vw, 1.5rem); }
.lead, .hero-center .lead { font-size: 1.0625rem; line-height: 1.6; }
.hero-center .lead { font-size: 1.125rem; max-width: 620px; }
.hero .btn, .page-hero .btn, .final-cta .btn { font-size: .9rem; padding: 12px 18px; }
@media (max-width: 380px) { h1 { font-size: 2.1rem; } h2 { font-size: 1.6rem; } }

/* Hero readability over the ZIP map: a soft radial white wash behind the copy
   (fades to nothing at the edges, so the map still shows around it) plus a faint
   white halo on the text for any lines that still cross it. */
.hero-center { position: relative; isolation: isolate; }
.hero-center::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -70px -140px -50px;
  background: radial-gradient(ellipse 58% 56% at 50% 52%,
    rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 42%, rgba(255,255,255,.6) 64%, rgba(255,255,255,0) 82%);
}
.hero-center .lead, .hero-center .hero-note { color: var(--ink-2); text-shadow: 0 0 10px #fff, 0 0 3px #fff, 0 0 1px #fff; }
.hero-center h1 { text-shadow: 0 0 16px rgba(255,255,255,.9); }
@media (max-width: 760px) { .hero-center::before { inset: -40px -20px -30px; } }

/* Hero ZIP map: opacity/width now driven per ZIP by the trace-in + pulse loop in main.js
   (ported from the app's ZipScanLayer), so the old CSS keyframe pulse is off. */
.hm-zip, .hm-zip.home { animation: none; fill-opacity: 0; stroke-opacity: 0; }
.hero-map { transition: opacity .6s ease; }
.hm-labels text { transition: none; }

/* Integration logos: monochrome brand marks (Simple Icons, CC0) in assets/logos */
.int-grid > div { gap: 12px; }
.int-grid .brand { width: 28px; height: 28px; opacity: .88; transition: opacity .2s ease, transform .4s var(--ease-spring); }
.int-grid > div:hover .brand { opacity: 1; transform: translateY(-2px); }
.int-grid .int-more { grid-column: span 3; flex-direction: row; gap: 14px; justify-content: center; padding: 0 24px; color: var(--ink-2); text-align: left; }
.int-grid .int-more .app { flex: none; }
@media (max-width: 760px) { .int-grid .int-more { grid-column: span 2; font-size: .78rem; padding: 0 12px; } }
.int-card .int-logo { width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 16px; background: #fff; box-shadow: var(--shadow-xs); }
.int-card .int-logo img, .int-card .int-logo svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .int-grid .int-more { grid-column: span 3; } }
.int-grid > .int-more { aspect-ratio: auto; }

.form textarea { width: 100%; font: 400 .95rem var(--sans); padding: 10px 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); margin-bottom: 14px; box-shadow: var(--shadow-xs); resize: vertical; }
.form textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px var(--bg-3); }
#project.bg-cream > .container { padding-top: 96px; padding-bottom: 96px; }

/* Lead forms */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form form { position: relative; }
.form-error { color: #9B1C1C; font-size: .85rem; margin: 10px 0 0; text-align: center; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* Location label (pulsing dot) sits right under the nav's Sign in / Get Early Access,
   so the eye-catching dot pulls attention to the CTA. It links to the early-access form. */
.hero-loc {
  left: auto; right: 41px; top: 86px; justify-content: flex-end; text-align: right;
  color: var(--ink-2); text-decoration: none; pointer-events: auto; cursor: pointer;
  padding: 4px 0; transition: opacity 1.2s ease 1.2s, color .2s ease;
}
.hero-loc:hover { color: var(--ink); }
.hero-loc::after { content: "→"; margin-left: 2px; color: var(--ink-3); transition: transform .3s var(--ease-spring), color .2s ease; }
.hero-loc:hover::after { transform: translateX(3px); color: var(--ink); }
@media (min-width: 1232px) { .hero-loc { right: 25px; } }
@media (max-width: 767px) { .hero-loc { right: 20px; left: auto; top: 70px; } }

/* Align exactly with the nav CTA at every width (nav and container cap at slightly different points) */
.hero-loc { right: clamp(25px, calc(41px - (100vw - 1200px) / 2), 41px); }
@media (min-width: 1232px) { .hero-loc { right: 25px; } }
@media (max-width: 767px) { .hero-loc { right: 20px; } }

/* Headline line breaks: <br> = sentence break (always). <br class="bl"> = phrase break,
   only on wider screens, so phones keep natural wrapping. Everything else wraps balanced. */
@media (max-width: 640px) { br.bl { display: none; } }
h1, h2, h3, .cta-band h2, .final-cta h2 { text-wrap: balance; }
.lead, .card p, .faq details p { text-wrap: pretty; }

/* Compact page hero (pricing): less air so the content below shows on the first screen */
.hero-compact > .container { padding-top: 116px; padding-bottom: 48px; }
.hero-compact h1 { margin-bottom: 14px; }
.hero-compact .lead { margin-bottom: 0; max-width: 560px; }
.pricing-cards > .container { padding-top: 48px; }
@media (max-width: 767px) { .hero-compact > .container { padding-top: 96px; padding-bottom: 36px; } .pricing-cards > .container { padding-top: 32px; } }

/* ---------- Hero video (2026-11-25) ----------
   The loop carries its own app frame, so it sits in .hero-stage with no .mock wrapper.
   Desktop file is 2400x1600 (3:2), phone file is 1440x1800 (4:5). Reduced motion shows the poster. */
.hero-video { overflow: hidden; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 767px) {
  .hero-video video { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video video { display: none; }
  .hero-video { aspect-ratio: 3 / 2; background: url(video/frantech-hero-desktop-poster.jpg) center / cover; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .hero-video { aspect-ratio: 4 / 5; background-image: url(video/frantech-hero-phone-poster.jpg); }
}

/* ---------- Territory map pattern (2026-11-25) ----------
   Replaces the 1px dot grid everywhere. Dashed territory lines from the original commissioned
   artwork, mirrored into a seamless 2x2 tile (assets/patterns/). Same colors as the old dots:
   --line-2 on light, --dark-line on dark, --line (faintest) in the footer. */
:root {
  --map-pattern: url(patterns/territory-map.svg);
  --map-pattern-dark: url(patterns/territory-map-dark.svg);
  --map-pattern-faint: url(patterns/territory-map-faint.svg);
  --map-size: 1347px 405px;
}
footer { position: relative; overflow: hidden; }
footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--map-pattern-faint); background-size: var(--map-size); background-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
}
footer > .container { position: relative; }
/* Each "Recently shipped" card shows a different slice of the map instead of the same crop. */
.log-card:nth-child(4n+1) .log-art { background-position: 12% 30%; }
.log-card:nth-child(4n+2) .log-art { background-position: 38% 72%; }
.log-card:nth-child(4n+3) .log-art { background-position: 63% 18%; }
.log-card:nth-child(4n+4) .log-art { background-position: 88% 60%; }

/* ---------- Master strategy v3 copy (2026-11-26) ---------- */
/* Hero offer line: the 40-or-fewer free offer sits right under the body, above the CTAs. */
.hero-offer { margin: -14px auto 28px; max-width: 640px; font-weight: 600; color: var(--ink); font-size: 1.02rem; text-wrap: balance; }
/* Three-question product story */
.questions .card { display: flex; flex-direction: column; gap: 10px; }
.q-num { font-family: var(--label); font-size: .72rem; letter-spacing: .14em; color: var(--ink-3); }
.questions-note { font-size: .85rem; margin-top: 24px; max-width: 760px; }
/* Brand promise on dark */
#promise .section-head { max-width: 760px; }
#promise h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.hero-pill > span { white-space: nowrap; }
@media (max-width: 480px) { .hero-pill { font-size: .78rem; gap: 8px; } }
