/* Rivetory Agent Desk. Night Shift palette.
   Navy #0F1B2D, Steel #3A4A5E, Signal amber #F2A93B, Off-white #F5F3EE.
   Manrope headings, Inter body. No decoration for its own sake. */

:root {
  --navy: #0F1B2D;
  --navy-2: #16283F;
  --navy-3: #1D324F;
  --steel: #3A4A5E;
  --steel-soft: #5B6B80;
  --amber: #F2A93B;
  --amber-deep: #D98F1B;
  --paper: #F5F3EE;
  --paper-2: #EDE9DF;
  --card: #FFFFFF;
  --ink: #14181F;
  --ink-soft: #2A3140;
  --muted: rgba(20, 24, 31, .66);
  --muted-light: rgba(245, 243, 238, .72);
  --line: rgba(15, 27, 45, .14);
  --line-light: rgba(245, 243, 238, .16);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 27, 45, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 0 0 14px 0;
}

h1 { font-size: clamp(40px, 7vw, 64px); }
h2 { font-size: clamp(28px, 4.5vw, 40px); }
h3 { font-size: 22px; }

p { margin: 0 0 16px 0; }
a { color: var(--navy); }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 14px 0;
}
.eyebrow .dot { color: var(--amber-deep); }

.lede { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.5; color: var(--ink-soft); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 238, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--navy);
  white-space: nowrap;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--navy);
  display: grid;
  place-items: center;
  flex: none;
}
.brand-mark span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}
.brand small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-soft);
  margin-left: 2px;
}
.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.main-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--steel);
  padding: 8px 11px;
  border-radius: 999px;
}
.main-nav a:hover { background: var(--paper-2); color: var(--navy); }
.main-nav a[aria-current="page"] { color: var(--navy); background: var(--paper-2); }
.header-cta { margin-left: 6px; flex: none; }

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

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  padding: 17px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #F7BC5E; }
.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(245, 243, 238, .45);
}
.btn-outline-light:hover { border-color: var(--paper); }
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--paper); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { display: block; width: 100%; }

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

.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(242, 169, 59, .16), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(58, 74, 94, .55), transparent 60%),
    var(--navy);
  color: var(--paper);
  padding: 76px 0 84px 0;
}
.hero h1 { color: var(--paper); }
.hero .lede { color: var(--muted-light); }
.hero .eyebrow { color: var(--amber); }
.hero .eyebrow .dot { color: var(--amber); }
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 22px 0;
}
.hero-note { font-size: 14px; color: var(--muted-light); margin: 0; }
.hero-note a { color: var(--paper); }

/* Live status pill: the desk is on. */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(245, 243, 238, .08);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 26px;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 169, 59, .55); }
  50% { box-shadow: 0 0 0 6px rgba(242, 169, 59, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-navy { background: var(--navy); color: var(--paper); }
.section-navy h2, .section-navy h3 { color: var(--paper); }
.section-navy .lede, .section-navy p { color: var(--muted-light); }
.section-navy .eyebrow { color: var(--amber); }
.section-steel { background: var(--paper-2); }
.section-head { max-width: 680px; margin-bottom: 40px; }

/* Math strip: one missed call, one monthly price. */
.math-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 34px;
  margin-top: -44px;
  position: relative;
  z-index: 2;
}
.math-cell .big {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 6px;
}
.math-cell p { margin: 0; color: var(--muted); font-size: 15px; }
.math-vs {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-deep);
  border: 1px solid var(--amber);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
}
.step-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--amber-deep);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Desk log: the sample owner summary. */
.desk-log {
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.desk-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
}
.desk-log-head strong { font-family: 'Manrope', sans-serif; color: var(--paper); }
.sample-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--amber);
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}
.desk-log-body { padding: 10px 24px 22px 24px; }
.desk-log-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 15px;
}
.desk-log-row:last-child { border-bottom: 0; }
.desk-log-row .time {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--amber);
  padding-top: 2px;
}
.desk-log-row p { margin: 0; color: rgba(245, 243, 238, .88); }
.desk-log-row p strong { color: var(--paper); }
.sample-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

/* Call flow cycler: one call, handled. */
.flow-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--steel-soft);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .4s, color .4s;
  white-space: nowrap;
}
.flow-step.active { background: var(--navy); color: var(--paper); }
.flow-step.active .flow-dot { background: var(--amber); }
.flow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--steel-soft);
  flex: none;
}
.flow-arrow { color: var(--steel-soft); font-weight: 700; }

/* Pricing cards */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.plan-featured { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.plan-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 4px;
}
.plan-price {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 10px 0 4px 0;
}
.plan-price span { font-size: 16px; font-weight: 700; color: var(--steel-soft); }
.plan-blurb { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.plan ul { margin: 0 0 24px 0; padding: 0; list-style: none; }
.plan li {
  padding: 8px 0 8px 26px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  position: relative;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.plan .btn { margin-top: auto; }

/* Guarantee band */
.guarantee {
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 34px 36px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
}
.guarantee-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  display: grid;
  place-items: center;
  flex: none;
}
.guarantee h3 { color: var(--paper); margin-bottom: 6px; }
.guarantee p { margin: 0; color: var(--muted-light); }

/* Two-column text blocks */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  padding: 10px 0 10px 30px;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: 16px;
}
.check-list li:first-child { border-top: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

/* Quote-style callout */
.callout {
  border-left: 4px solid var(--amber);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 28px 0;
}
.callout p { margin: 0; font-size: 18px; color: var(--ink-soft); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 19px; margin-bottom: 8px; }
.faq-item p { margin: 0; color: var(--muted); }

/* Fact sheet table (demo page) */
.fact-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact-table th, .fact-table td {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
}
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: 0; }
.fact-table th {
  width: 34%;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--navy);
  background: var(--paper-2);
}
.fact-table td { color: var(--ink-soft); }

/* Demo banner */
.demo-banner {
  background: var(--amber);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 28px;
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(242, 169, 59, .18), transparent 60%),
    var(--navy);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 52px 44px;
  text-align: center;
}
.cta-band h2 { color: var(--paper); }
.cta-band p { color: var(--muted-light); max-width: 560px; margin: 0 auto 26px auto; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--muted-light);
  padding: 56px 0 34px 0;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-light);
}
.site-footer h3 {
  color: var(--paper);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-brand { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 20px; color: var(--paper); margin-bottom: 10px; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(245, 243, 238, .5);
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: var(--paper);
  padding: 64px 0 56px 0;
}
.page-hero h1 { color: var(--paper); font-size: clamp(34px, 5.5vw, 52px); }
.page-hero .lede { color: var(--muted-light); max-width: 640px; }
.page-hero .eyebrow { color: var(--amber); }

/* Simple form (start a pilot) */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
  border-color: var(--amber-deep);
}
.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Responsive */
@media (max-width: 860px) {
  .steps, .plans { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .math-strip { grid-template-columns: 1fr; gap: 16px; padding: 26px 24px; }
  .math-vs { justify-self: start; }
  .guarantee { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 64px 0; }
  .desk-log-row { grid-template-columns: 76px 1fr; gap: 12px; }
  .cta-band { padding: 40px 24px; }
}
