/* Front-line by Van Rooyen Enterprises — single stylesheet */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-regular.woff2") format("woff2");
}

/* ---------- Reset & tokens ---------- */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand inks measured off the logo artwork. */
  --ink: #131D38;
  --ink-2: #5A6274;
  --bg: #FFFFFF;
  --bg-alt: #F4F6F7;
  --bg-hero: #FBFCFC;
  --border: #E2E6EB;

  /* One accent: the logo's teal. */
  --accent: #13787E;
  --accent-strong: #0F6167;
  --accent-soft: #EAF4F4;
  --accent-border: #C4DEDF;

  --dark: #131D38;
  --dark-text: #C7CEDC;
  --dark-teal: #6FD3D8;
  --dark-line: rgba(255, 255, 255, 0.16);
  --dark-fill: rgba(255, 255, 255, 0.06);

  --live: #2FBF71;
  --live-ink: #1C6B38;
  --live-soft: #E8F6EE;
  --live-border: #CBE8D6;

  --shadow-sm: 0 1px 2px rgba(19, 29, 56, 0.05);
  --radius: 12px;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  /* Keeps the sticky header clear of anchor targets and of anything
     the browser scrolls to when moving keyboard focus. */
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

/* ---------- Typography ---------- */

h1, h2, h3.step-title, .demo-number, .price, .plan-name {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.15rem, 6.2vw, 3.5rem);
}

h2 {
  font-size: clamp(1.7rem, 4.2vw, 2.35rem);
  margin-bottom: 20px;
}

p {
  /* ~65-75 rendered characters: the ch unit measures the digit zero, which is
     wider than the average lowercase letter, so 58ch lands around 72 chars. */
  max-width: 58ch;
}

section p + p {
  margin-top: 14px;
}

a {
  color: var(--ink);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.kicker {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 12px;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Layout ---------- */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 400px) {
  .container {
    padding: 0 24px;
  }
}

section {
  padding: 72px 0;
}

@media (min-width: 760px) {
  section {
    padding: 104px 0;
  }
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Header ---------- */

header {
  position: sticky;
  top: 0;
  /* Opaque rather than blurred: backdrop-filter costs a full-width repaint on
     every scroll frame, which is not worth it for a 64px bar. */
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px 0;
}

.wordmark-logo {
  display: block;
  height: 22px;
  width: auto;
}

@media (min-width: 400px) {
  .wordmark-logo {
    height: 26px;
  }
}

.wordmark small {
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-2);
  display: none;
}

@media (min-width: 1040px) {
  .wordmark small {
    display: inline;
  }
}

.header-nav {
  display: none;
  gap: 26px;
  margin-left: auto;
  margin-right: 8px;
}

.header-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 12px 0;
}

.header-nav a:hover {
  color: var(--accent-strong);
}

@media (min-width: 760px) {
  .header-nav {
    display: flex;
  }
}

.header-cta {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 15px;
  border-radius: 10px;
  white-space: nowrap;
}

.header-cta-num {
  display: none;
}

@media (min-width: 560px) {
  .header-cta-num {
    display: inline;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn-lg {
  min-height: 56px;
  font-size: 17.5px;
  padding: 14px 28px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

/* ---------- Hero ---------- */

.hero {
  padding: 48px 0 64px;
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 760px) {
  .hero {
    padding: 76px 0 88px;
  }
}

.hero-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
  }
}

.hero .lede {
  margin-top: 20px;
  font-size: 18.5px;
  color: var(--ink-2);
  max-width: 58ch;
}

.cta-row {
  margin-top: 32px;
}

.cta-row .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .cta-row .btn {
    width: auto;
  }
}

.cta-alt {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--ink-2);
}

.cta-alt a {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  padding: 6px 0;
}

.cta-alt a:hover {
  color: var(--ink);
}

.hero-terms {
  margin-top: 20px;
  font-size: 15px;
  color: var(--ink-2);
}

/* ---------- Hero flow visual ---------- */

.flow {
  max-width: 420px;
}

.flow-steps {
  list-style: none;
}

.flow-step {
  position: relative;
  padding: 0 0 26px 32px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
}

.flow-step:not(.flow-step-last)::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 20px;
  bottom: 4px;
  width: 2px;
  background: var(--accent-border);
}

.flow-step-last::before {
  background: var(--accent);
}

.flow-label {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
}

.flow-detail {
  margin-top: 3px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.flow-quote {
  margin-top: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

.flow-caption {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- Trust strip ---------- */

.trust-strip {
  padding: 24px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  display: grid;
  gap: 18px;
}

@media (min-width: 940px) {
  .trust-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 40px;
  }
}

.trust-founder {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  max-width: none;
}

.trust-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.trust-founder a {
  color: var(--accent-strong);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trust-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.trust-points li {
  position: relative;
  padding-left: 16px;
}

.trust-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Demo & final CTA (dark bands) ---------- */

.demo,
.final-cta {
  background: var(--dark);
  color: var(--dark-text);
  text-align: center;
  border: 0;
}

.demo h2,
.final-cta h2 {
  color: #fff;
}

.demo p,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.demo .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-teal);
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  flex-shrink: 0;
}

/* The halo animates transform/opacity on its own layer, so it repaints nothing
   underneath it. Animating box-shadow here would repaint the band every frame. */
.demo .live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--live);
  animation: breathe 2.6s ease-out infinite;
  will-change: transform, opacity;
}

@keyframes breathe {
  0% { transform: scale(1); opacity: 0.45; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .demo .live-dot::after {
    animation: none;
    display: none;
  }
}

.demo-lede {
  font-size: 18px;
  max-width: 52ch;
}

.demo-number {
  display: inline-block;
  font-size: clamp(2.4rem, 8.5vw, 4.5rem);
  color: #fff;
  text-decoration: none;
  margin: 22px 0 6px;
  padding: 6px 14px;
}

.demo-number:hover {
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--dark-teal);
}

.demo a:focus-visible,
.final-cta a:focus-visible {
  outline-color: #fff;
}

.demo-asks {
  margin-top: 22px;
}

.demo-asks-head {
  font-size: 14px;
  color: var(--dark-text);
}

.demo-asks ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.demo-asks li {
  border: 1px solid var(--dark-line);
  background: var(--dark-fill);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14.5px;
  color: #EDF0F6;
}

.demo-note {
  margin-top: 28px;
  font-size: 14.5px;
  max-width: 56ch;
  color: var(--dark-text);
}

.final-cta .btn {
  margin-top: 8px;
}

.final-cta .cta-alt {
  color: var(--dark-text);
  margin-top: 16px;
}

.final-cta .cta-alt a {
  color: var(--dark-teal);
}

.final-cta .cta-alt a:hover {
  color: #fff;
}

.final-cta .btn-primary:hover {
  background: #159097;
}

/* ---------- Capabilities ---------- */

.cap-grid {
  list-style: none;
  display: grid;
  gap: 1px;
  margin-top: 32px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

@media (min-width: 620px) {
  .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .cap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cap-grid li {
  background: var(--bg);
  padding: 24px 22px;
}

.cap-grid h3 {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
}

.cap-grid p {
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: none;
}

/* ---------- How it works ---------- */

.steps {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 32px;
  counter-reset: none;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.steps li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--serif);
  font-size: 19px;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.steps p {
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: none;
}

/* ---------- Call-to-summary example ---------- */

.example-grid {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

@media (min-width: 820px) {
  .example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
  }
}

.example-head {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.dialogue {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.dialogue li {
  font-size: 15.5px;
  line-height: 1.55;
  padding: 12px 15px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.who {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 3px;
}

.who-caller {
  color: var(--ink-2);
}

.summary-card {
  margin-top: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.summary-from {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.summary-logo {
  display: block;
  height: 16px;
  width: auto;
}

.summary-time {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--ink-2);
}

.summary-body {
  font-size: 15.5px;
  line-height: 1.55;
}

.example-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- Tags ---------- */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  list-style: none;
}

.tag-row li {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ---------- Pricing ---------- */

.pricing-lede {
  color: var(--ink-2);
  font-size: 17.5px;
}

/* The tick icon is drawn once and referenced by <use> in every feature row. */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.pricing-grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px 30px;
}

@media (min-width: 560px) {
  .plan {
    padding: 32px 28px 34px;
  }
}

/* The recommended plan: teal border and a soft ring. No lift, no gradient. */
.plan-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* The premium plan reads as the quieter of the two: tinted, plain border. */
.plan-premium {
  background: var(--bg-alt);
}

/* Name and badge share one row, so both cards' prices start at the same height. */
.plan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  min-height: 34px;
}

/* Too narrow for both on one line: the badge sits above the name, not under it. */
@media (max-width: 420px) {
  .plan-head {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
  }
}

.plan-name {
  font-size: 1.4rem;
}

.plan-badge {
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  max-width: none;
}

.price {
  margin-top: 12px;
  font-size: 2.75rem;
}

.price-period {
  font-family: var(--sans);
  font-size: 16.5px;
  color: var(--ink-2);
  letter-spacing: 0;
}

.plan-lede {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 44ch;
}

.plan-features {
  list-style: none;
  margin: 22px 0 26px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

.plan-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 15.5px;
  line-height: 1.5;
}

.plan-features .tick {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--accent);
}

/* auto keeps both buttons on the card floor, however long the feature list. */
.plan-cta {
  margin-top: auto;
  width: 100%;
}

.pricing-note {
  margin-top: 26px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 70ch;
}

.pricing-terms {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 70ch;
}

.pricing-terms a {
  color: var(--accent-strong);
}

/* ---------- FAQ ---------- */

.faq-list {
  margin-top: 8px;
  border-top: 1px solid var(--border);
  max-width: 760px;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 4px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  border-radius: 8px;
}

.faq-list summary:hover {
  color: var(--accent-strong);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-strong);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  padding: 0 4px 22px;
  color: var(--ink-2);
}

.faq-list details p a {
  color: var(--accent-strong);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 760px) {
  .about-grid {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }
}

.about-photo {
  max-width: 280px;
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  border: 1px solid var(--border);
}

.about-text p + p {
  margin-top: 14px;
}

.about-text a {
  color: var(--accent-strong);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 48px 0 56px;
  font-size: 15px;
  color: var(--ink-2);
}

.footer-logo {
  display: block;
  height: 24px;
  width: auto;
  margin-bottom: 20px;
}

.footer-identity {
  margin-bottom: 12px;
  max-width: 62ch;
}

footer a {
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
  display: inline-block;
}

footer a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.footer-contact,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 20px;
  margin-bottom: 12px;
  max-width: none;
}

/* ---------- Legal pages ---------- */

.legal-page {
  padding: 56px 0 88px;
}

.legal-page h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 10px;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin: 40px 0 10px;
}

.legal-page p + p {
  margin-top: 12px;
}

.legal-page ul {
  margin: 12px 0 12px 22px;
  max-width: 58ch;
}

.legal-page li + li {
  margin-top: 8px;
}

.legal-page a {
  color: var(--accent-strong);
}

.legal-updated {
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: 32px;
}

/* ---------- Scroll fade (JS-enhanced only) ---------- */

.js [data-fade] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js [data-fade].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-fade] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
