/* Time Bro marketing site. Plain CSS, no build step. */

/* ---------- Tokens ---------- */

:root {
  --time-blue: #2563EB;
  --time-blue-hover: #1D4ED8;
  --time-blue-soft: #EFF4FF;
  --midnight: #0B1220;
  --paper: #F8FAFC;
  --slate: #64748B;
  --income: #10B981;
  --unbilled: #F59E0B;
  --overdue: #EF4444;

  --white: #FFFFFF;
  --line: #E2E8F0;
  --line-soft: #EEF2F7;

  --font-brand: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-lg: 0 24px 48px -16px rgba(11, 18, 32, 0.28), 0 6px 16px -6px rgba(11, 18, 32, 0.12);
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06), 0 4px 12px -4px rgba(11, 18, 32, 0.08);
  --header-h: 68px;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--midnight);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: var(--time-blue);
  text-decoration: none;
}

a:hover {
  color: var(--time-blue-hover);
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--time-blue);
  outline-offset: 3px;
}

svg {
  display: inline-block;
  max-width: 100%;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Icons ---------- */

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  vertical-align: -0.28em;
}

.icon-sm {
  width: 1.05em;
  height: 1.05em;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
  color: var(--time-blue);
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--midnight);
  text-decoration: none;
}

.logo:hover {
  color: var(--midnight);
  text-decoration: none;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--midnight);
  white-space: nowrap;
}

.clock-mark {
  width: 0.66em;
  height: 0.66em;
  margin-left: 0.055em;
  transform: translateY(0.08em);
  color: var(--time-blue);
  flex: none;
}

.wordmark-sm {
  font-size: 1.35rem;
}

.wordmark-xs {
  font-size: 1rem;
}

.wordmark-inverse {
  color: var(--white);
}

.logo-tagline {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  color: var(--time-blue);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--time-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--time-blue-hover);
  color: var(--white);
}

.btn-sm {
  padding: 0.6rem 1.05rem;
  font-size: 0.9375rem;
}

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1.0625rem;
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .nav-list a {
    transition: background-color 120ms ease, color 120ms ease;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--midnight);
}

.nav-list a:hover {
  color: var(--time-blue);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--midnight);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle-bar {
  top: 21px;
}

.nav-toggle-bar::before {
  left: 0;
  top: -6px;
}

.nav-toggle-bar::after {
  left: 0;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 859px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem var(--gutter) 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav .btn {
    margin-top: 0.75rem;
  }
}

/* ---------- Headlines ---------- */

.display,
.headline {
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--midnight);
}

.display {
  font-size: clamp(3rem, 7.5vw, 5.25rem);
}

.headline {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.display .line-a,
.display .line-b,
.headline .line-a,
.headline .line-b {
  display: block;
}

.display .line-b,
.headline .line-b {
  color: var(--time-blue);
}

.section-body {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 40rem;
}

.fine {
  font-size: 0.9375rem;
  color: var(--slate);
}

section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

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

.hero {
  background: var(--paper);
  padding-top: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-sub {
  margin-top: 1.5rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--midnight);
}

.hero-body {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 34rem;
}

.hero-cta {
  margin-top: 2rem;
}

.platforms {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--midnight);
}

.platforms li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.platforms .icon {
  color: var(--slate);
}

.hero-cta .fine {
  margin-top: 0.6rem;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 3.5rem;
  }
}

/* Laptop mockup. Everything inside the screen is sized in em against a
   container-query font size so it scales cleanly with the column width. */

.hero-visual {
  min-width: 0;
  container-type: inline-size;
}

.laptop {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}

.laptop-screen {
  background: var(--midnight);
  border-radius: 14px 14px 4px 4px;
  padding: 10px 10px 0;
  box-shadow: var(--shadow-lg);
}

.laptop-base {
  height: 12px;
  margin-inline: -3%;
  background: linear-gradient(#cbd5e1, #94a3b8);
  border-radius: 0 0 10px 10px;
}

.app {
  display: grid;
  grid-template-columns: 11.5em 1fr;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  background: var(--paper);
  color: var(--midnight);
  font-family: var(--font-ui);
  font-size: 11px;
  font-size: clamp(10px, 1.95cqw, 12px);
  line-height: 1.35;
}

.app-side {
  background: var(--midnight);
  color: #cbd5e1;
  padding: 1.1em 0.9em;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.2em 0.5em 1.2em;
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.1em;
  color: var(--white);
}

.app-icon {
  width: 1.6em;
  height: 1.6em;
  flex: none;
}

.app-nav li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 0.6em;
  border-radius: 0.45em;
  font-weight: 500;
}

.app-nav li.is-active {
  background: rgba(37, 99, 235, 0.22);
  color: var(--white);
}

.app-nav .icon {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 2;
  color: var(--time-blue);
}

.app-nav li.is-active .icon {
  color: #93b4ff;
}

.app-main {
  min-width: 0;
  padding: 1.1em 1.3em;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.app-title {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.35em;
  letter-spacing: -0.02em;
}

.app-date {
  color: var(--slate);
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8em;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  padding: 0.85em 0.95em;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.6em;
}

.stat-label {
  font-size: 0.85em;
  font-weight: 500;
  color: var(--slate);
}

.stat-value {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.55em;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--midnight);
}

.stat-value.is-unbilled {
  color: var(--unbilled);
}

.stat-value.is-income,
.stat-note.is-income {
  color: var(--income);
}

.stat-note {
  font-size: 0.85em;
  color: var(--slate);
  font-weight: 500;
}

.stat-btn {
  align-self: flex-start;
  margin-top: 0.35em;
  padding: 0.35em 0.7em;
  border-radius: 0.45em;
  background: var(--time-blue);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85em;
}

.app-panel {
  flex: 1;
  min-height: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.6em;
  overflow: hidden;
}

.app-panel-head {
  padding: 0.7em 0.95em;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92em;
}

.app-table th,
.app-table td {
  padding: 0.5em 0.95em;
  text-align: left;
  white-space: nowrap;
}

.app-table th {
  font-size: 0.85em;
  font-weight: 500;
  color: var(--slate);
  border-bottom: 1px solid var(--line-soft);
}

.app-table td {
  border-bottom: 1px solid var(--line-soft);
}

.app-table tr:last-child td {
  border-bottom: 0;
}

.app-table td:nth-child(2) {
  font-weight: 500;
}

.app-table td:nth-child(3) {
  color: var(--slate);
  white-space: normal;
}

.app-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Narrow screens: the sidebar becomes a top bar, the frame grows to fit,
   and the description column is dropped so the table stays readable. */
@media (max-width: 599px) {
  .app {
    grid-template-columns: 1fr;
    font-size: 11px;
  }

  .app-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25em 0.5em;
    padding: 0.8em 0.9em;
  }

  .app-brand {
    padding: 0 0.6em 0 0;
  }

  .app-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1em;
  }

  .app-nav li {
    padding: 0.35em 0.55em;
  }

  .app-table th:nth-child(3),
  .app-table td:nth-child(3) {
    display: none;
  }

  .app-stats {
    gap: 0.6em;
  }

  .stat {
    padding: 0.75em 0.7em;
  }
}

/* ---------- Features ---------- */

.features {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

.feature h3,
.founder h3 {
  margin-top: 1rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--midnight);
}

.feature p,
.founder p {
  margin-top: 0.5rem;
  color: var(--slate);
  font-size: 1rem;
}

@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
}

/* ---------- Product / invoices ---------- */

.product {
  background: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .product-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
  }
}

.product-visual {
  min-width: 0;
  container-type: inline-size;
}

.invoice {
  max-width: 600px;
  margin-inline: auto;
  padding: 2em 2.1em;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  font-size: clamp(9.5px, 2.1cqw, 13px);
  line-height: 1.4;
  color: var(--midnight);
}

.inv-head {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding-bottom: 1.2em;
  border-bottom: 2px solid var(--midnight);
}

.inv-firm {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.35em;
  letter-spacing: -0.02em;
}

.inv-muted {
  color: var(--slate);
  font-size: 0.95em;
}

.inv-muted .icon {
  margin-right: 0.35em;
  color: var(--time-blue);
}

.inv-meta {
  text-align: right;
}

.inv-number {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.35em;
  letter-spacing: -0.02em;
  color: var(--time-blue);
}

.inv-parties {
  display: flex;
  gap: 2.5em;
  padding: 1.1em 0;
  font-weight: 500;
}

.inv-label {
  display: block;
  margin-bottom: 0.15em;
  font-size: 0.8em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.inv-table {
  width: 100%;
  border-collapse: collapse;
}

.inv-table th,
.inv-table td {
  padding: 0.6em 0.5em;
  text-align: left;
  vertical-align: top;
}

.inv-table th:first-child,
.inv-table td:first-child {
  padding-left: 0;
}

.inv-table th:last-child,
.inv-table td:last-child {
  padding-right: 0;
}

.inv-table th {
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.inv-table td {
  border-bottom: 1px solid var(--line-soft);
}

.inv-table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.inv-total {
  display: flex;
  justify-content: flex-end;
  gap: 2em;
  padding: 1em 0 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.1em;
  letter-spacing: -0.01em;
}

.inv-total-hours {
  color: var(--slate);
  font-family: var(--font-ui);
  font-weight: 500;
}

.inv-total-amount {
  color: var(--income);
}

.inv-foot {
  margin-top: 1.5em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
  font-size: 0.9em;
  color: var(--slate);
}

.options-label {
  margin-top: 2.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.9rem;
  max-width: 34rem;
}

.option {
  min-width: 0;
}

.thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  aspect-ratio: 3 / 4;
  padding: 12% 14%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.thumb-title {
  width: 55%;
  height: 8%;
  border-radius: 2px;
  background: var(--midnight);
}

.thumb-line {
  width: 100%;
  height: 4%;
  border-radius: 2px;
  background: var(--line);
}

.thumb-line.short {
  width: 60%;
}

.thumb-foot {
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  min-height: 12%;
  border-top: 1px solid var(--line-soft);
  padding-top: 6%;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(7px, 1.4vw, 10px);
  letter-spacing: -0.03em;
  color: var(--midnight);
  line-height: 1;
}

.thumb-foot:not(.thumb-foot-brand):not(.thumb-foot-light) {
  border-top-color: transparent;
}

.thumb-clock {
  width: 0.9em;
  height: 0.9em;
  color: var(--time-blue);
}

.thumb-foot-light {
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0;
}

.option-name {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--midnight);
}

@media (max-width: 420px) {
  .options {
    gap: 0.6rem;
  }

  .option-name {
    font-size: 0.8125rem;
  }
}

@media (max-width: 479px) {
  .inv-table th:nth-child(4),
  .inv-table td:nth-child(4) {
    display: none;
  }

  .invoice {
    padding: 1.6em 1.4em;
  }

  .inv-parties {
    flex-direction: column;
    gap: 0.8em;
  }
}

/* ---------- Founders / security ---------- */

.founders {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 3rem;
}

.founder h3 {
  font-size: 1.25rem;
}

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

/* ---------- Pull-quote band ---------- */

.quotes {
  background: var(--midnight);
  color: var(--white);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem 3rem;
}

.quote-text {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.quote-text .accent {
  color: var(--time-blue);
}

.quote .wordmark {
  display: inline-flex;
  margin-top: 1.1rem;
}

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

/* ---------- Download ---------- */

.download {
  background: var(--white);
  text-align: center;
}

.download-inner .section-body {
  margin-inline: auto;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.download .fine {
  margin-top: 1.25rem;
}

@media (max-width: 480px) {
  .download-buttons .btn {
    width: 100%;
  }
}

/* ---------- Support ---------- */

.support {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.support-heading {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  letter-spacing: -0.015em;
  color: var(--midnight);
  overflow-wrap: anywhere;
}

.support-heading a {
  color: var(--time-blue);
}

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

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-top: 3rem;
  font-size: 0.9375rem;
  color: var(--slate);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 2rem;
}

.footer-desc {
  margin-top: 0.85rem;
}

.footer-line {
  font-family: var(--font-brand);
  font-weight: 700;
  color: var(--midnight);
}

.footer-bottom {
  margin-top: 2rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.875rem;
}

/* ---------- 404 ---------- */

.not-found {
  min-height: 50vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.not-found .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.not-found .btn {
  margin-top: 0.5rem;
}

/* ---------- Credibility strip (hero) ---------- */

.cred-strip {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  max-width: 30rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
}

.cred-strip span {
  margin-inline: 0.35rem;
  color: var(--line);
}

/* ---------- Problem ---------- */

.problem {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.problem-inner {
  max-width: 46rem;
}

.problem .section-body {
  max-width: 42rem;
}

/* ---------- Workflow: Capture, Review, Bill ---------- */

.workflow {
  background: var(--paper);
}

.step-label {
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--time-blue);
}

.workflow .founder h3 {
  margin-top: 0.35rem;
  font-size: 1.25rem;
}

/* ---------- Missing-time argument (dark band) ---------- */

.gap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 3.5rem;
  align-items: center;
}

.gap-body,
.gap-close {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: #CBD5E1;
  max-width: 34rem;
}

.gap-close {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  color: var(--white);
}

.gap-close .accent {
  color: var(--time-blue);
}

.gap-math {
  padding: 1.75rem 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.gap-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gap-row-total {
  border-bottom: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.28);
  margin-top: 0.35rem;
  padding-top: 1rem;
}

.gap-k {
  font-size: 0.9375rem;
  color: #CBD5E1;
}

.gap-v {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--white);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.gap-v-total {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  color: var(--unbilled);
}

.gap-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: #94A3B8;
}

@media (min-width: 860px) {
  .gap-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

/* ---------- Features: detailed variant ---------- */

.feature-grid.is-detailed {
  gap: 2.25rem 2.5rem;
}

.is-detailed .feature h3 {
  font-size: 1.1875rem;
}

@media (min-width: 1024px) {
  .feature-grid.is-detailed {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.75rem 2.5rem;
  }
}

/* ---------- Invoice spec line ---------- */

.spec-line {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate);
  max-width: 34rem;
}

/* ---------- Security ---------- */

.security {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.security-inner {
  max-width: 52rem;
}

.security .headline {
  margin-top: 1rem;
}

.sec-list {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
  max-width: 44rem;
}

.sec-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.6;
}

.sec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--time-blue);
}

.sec-list strong {
  font-weight: 600;
  color: var(--midnight);
}

/* ---------- Reporting and data ownership ---------- */

.reporting {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.reporting-inner {
  max-width: 46rem;
}

.reporting .headline {
  margin-top: 1rem;
}
