/* Conduz public site. One family (Satoshi, the app's typeface), brand colors from the logo. */
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #16133a;
  --ink-2: #4a4870;
  --ink-3: #6e6c8f;
  --line: #e3e2ef;
  --paper: #f6f6fb;
  --white: #ffffff;
  --indigo: #4b3fe0;
  --indigo-deep: #2a1f8f;
  --indigo-tint: #ecebff;
  --signal: #2fd8a0;
  --signal-ink: #0b7a55;

  --wrap: 1160px;
  --gutter: 24px;
  --r-lg: 20px;
  --r-md: 12px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(22, 19, 58, 0.06), 0 12px 32px -12px rgba(22, 19, 58, 0.18);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 750; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--indigo); color: var(--white); }
.btn--primary:hover { background: var(--indigo-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--indigo-deep); }
.btn--light:hover { background: var(--indigo-tint); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { border-color: var(--white); }
.link { color: var(--indigo); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.link:hover { color: var(--indigo-deep); }
.link-quiet { font-weight: 600; text-decoration: none; color: var(--ink-2); }
.link-quiet:hover { color: var(--ink); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 32px; height: 72px; }
.top__logo img { height: 34px; width: auto; }
.top__nav { display: flex; gap: 28px; margin-left: 8px; }
.top__nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9375rem; }
.top__nav a:hover { color: var(--ink); }
.top__actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }

/* Hero */
.hero { padding: 64px 0 88px; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 850; letter-spacing: -0.035em; line-height: 1.02; max-width: 12ch; }
.lead { margin-top: 24px; font-size: 1.1875rem; color: var(--ink-2); max-width: 36em; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 16px; font-size: .9375rem; color: var(--ink-3); }

/* Hero scene: the conversation and the deal moving through the funnel */
.scene { margin: 0; background: var(--indigo-deep); border-radius: 28px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(42, 31, 143, .55); }
.chat { background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat__who { display: grid; line-height: 1.25; min-width: 0; }
.chat__who strong { font-size: .9375rem; }
.chat__who small { color: var(--ink-3); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__owner { margin-left: auto; font-size: .75rem; font-weight: 700; color: var(--indigo-deep); background: var(--indigo-tint); padding: 4px 10px; border-radius: 999px; }
.chat__log { list-style: none; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 352px; background: #fafafe; }

.avatar { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #ffe3cf; color: #8a3b0f; font-weight: 800; font-size: .8125rem; }
.avatar--b { background: #d8f3ff; color: #0b5878; }
.avatar--c { background: #e9e2ff; color: #4b2aa8; }
.avatar--d { background: #dff6e9; color: #17663f; }

.msg { position: relative; max-width: 82%; padding: 9px 12px 20px; border-radius: 14px; font-size: .9375rem; line-height: 1.4; }
.msg time { position: absolute; right: 10px; bottom: 4px; font-size: .6875rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: 4px; }
.msg--in { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-top-left-radius: 4px; }
.msg--out { align-self: flex-end; background: var(--indigo-tint); border-top-right-radius: 4px; }
.ticks { display: inline-block; width: 16px; height: 9px; background: currentColor; color: var(--indigo);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 9'%3E%3Cpath d='M1 4.6l2.6 2.6L9.2 1.6M6.4 7.2l.4.4L12.6 1.8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 9'%3E%3Cpath d='M1 4.6l2.6 2.6L9.2 1.6M6.4 7.2l.4.4L12.6 1.8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 14px; border-top-right-radius: 4px; background: var(--indigo-tint); }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); opacity: .35; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; } }

.funnel { padding: 16px 4px 4px; color: rgba(255, 255, 255, .72); }
.funnel__stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); font-size: .75rem; font-weight: 700; }
.funnel__stages li { padding: 0 6px 8px; border-bottom: 2px solid rgba(255, 255, 255, .16); }
.funnel__stages li:last-child { color: var(--signal); }
.funnel__track { position: relative; height: 62px; margin-top: 10px; }
.deal {
  position: absolute; top: 0; left: 0; width: 31%; padding: 0 4px;
  transition: left .7s cubic-bezier(.3, .7, .2, 1);
}
/* The card is wider than a column: it starts under each stage and ends flush right on the last. */
.deal[data-stage='1'] { left: 23%; }
.deal[data-stage='2'] { left: 46%; }
.deal[data-stage='3'] { left: 69%; }
.deal > span:not(.deal__dot) { display: block; }
.deal__name, .deal__value { background: var(--white); color: var(--ink); padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal__name { border-radius: 10px 10px 0 0; padding-top: 8px; font-size: .8125rem; font-weight: 800; }
.deal__value { border-radius: 0 0 10px 10px; padding-bottom: 8px; font-size: .75rem; color: var(--ink-3); font-weight: 600; }
.deal__dot { position: absolute; top: -5px; right: -1px; width: 14px; height: 14px; border-radius: 50%; background: var(--signal); border: 3px solid var(--indigo-deep); transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1) .5s; }
.deal[data-stage='3'] .deal__dot { transform: scale(1); }

/* Steps of the conversation appear in order (site.js). Without JS, or with reduced motion, all show. */
.js-anim .chat__log > [data-step] { display: none; }
.js-anim .chat__log > [data-step].is-shown { display: flex; animation: pop .35s ease both; }
.js-anim .chat__log > .msg.is-shown { display: block; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat__log > .typing { display: none; }
.js-anim .chat__log > .typing.is-shown { display: inline-flex; }

/* Sections */
.section { padding: 96px 0; }
.section--paper { background: var(--paper); }
.h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; max-width: 20ch; }
.sub { margin-top: 14px; color: var(--ink-2); font-size: 1.125rem; max-width: 38em; }
.fine { font-size: .875rem; color: var(--ink-3); }

/* Today vs with Conduz */
.compare { margin-top: 48px; border-top: 1px solid var(--line); }
.compare__row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.compare__row > span:first-child { color: var(--ink-3); }
.compare__row > span:last-child { position: relative; padding-left: 26px; font-weight: 600; }
.compare__row > span:last-child::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.compare__row--head { padding: 14px 0; }
.compare__row--head > span { font-size: .875rem; font-weight: 800; color: var(--ink) !important; }
.compare__row--head > span:last-child { padding-left: 26px; }
.compare__row--head > span:last-child::before { display: none; }

/* Steps */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: none; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--ink); }
.step__n { position: absolute; top: -20px; left: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--indigo); color: var(--white); font-weight: 800; font-size: 1.0625rem; box-shadow: 0 0 0 6px var(--paper); }
.step h3 { font-size: 1.3125rem; margin-top: 8px; }
.step p { margin-top: 10px; color: var(--ink-2); }

/* Features */
.features { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.feature-lead h3, .feature-list dt { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.015em; }
.feature-lead > p { margin-top: 10px; color: var(--ink-2); max-width: 34em; }
.inbox { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.inbox__tabs { display: flex; gap: 6px; padding: 12px; border-bottom: 1px solid var(--line); font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
.inbox__tabs span { padding: 6px 12px; border-radius: 999px; }
.inbox__tabs .is-on { background: var(--ink); color: var(--white); }
.inbox__list { list-style: none; margin: 0; padding: 6px; }
.inbox__list li { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-md); }
.inbox__list li.is-on { background: var(--indigo-tint); }
.inbox__txt { display: grid; min-width: 0; line-height: 1.3; }
.inbox__txt strong { font-size: .9375rem; }
.inbox__txt small { color: var(--ink-3); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox__meta { margin-left: auto; display: grid; justify-items: end; gap: 4px; font-size: .75rem; color: var(--ink-3); }
.inbox__meta b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--signal); color: #053d2a; font-size: .6875rem; }
.feature-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.feature-list div { padding-top: 16px; border-top: 1px solid var(--line); }
.feature-list dd { margin: 8px 0 0; color: var(--ink-2); font-size: 1rem; }

/* Costs */
.costs { margin-top: 48px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.costs__col h3 { font-size: 1.3125rem; }
.costs__col > p { margin-top: 10px; color: var(--ink-2); }
.costs__col .link { display: inline-block; margin-top: 16px; }
.price-table { margin-top: 24px; width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 0 0 1px var(--line); font-size: .9375rem; }
.price-table caption { caption-side: top; text-align: left; padding-bottom: 10px; font-size: .875rem; color: var(--ink-3); }
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { font-size: .8125rem; color: var(--ink-3); font-weight: 700; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.costs .fine { margin-top: 12px; }

/* Plans */
.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.plan--entry { border: 2px solid var(--indigo); padding: 27px; box-shadow: var(--shadow); }
.plan h3 { font-size: 1.375rem; }
.plan__for { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; min-height: 3em; }
.plan__price { margin-top: 20px; font-size: 3rem; font-weight: 850; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__cur { font-size: 1.125rem; font-weight: 700; letter-spacing: 0; margin-right: 4px; vertical-align: .9em; color: var(--ink-2); }
.plan__per { font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-left: 2px; color: var(--ink-3); }
.plan__list { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 10px; font-size: .9375rem; }
.plan__list li { position: relative; padding-left: 24px; }
.plan__list li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: var(--indigo); }
.plan__list li.soon { color: var(--ink-3); }
.plan__list li.soon::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.plan__list em { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--indigo-deep); background: var(--indigo-tint); padding: 2px 8px; border-radius: 999px; margin-left: 4px; white-space: nowrap; }
.plan .btn { margin-top: auto; }
.plans__fine { margin-top: 20px; }

/* FAQ */
.faq > * { max-width: 820px; }
.faq .h2 { margin-bottom: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 44em; }

/* Closing band */
.closing { background: var(--indigo-deep); color: var(--white); padding: 88px 0; }
.closing__in { display: grid; justify-items: start; }
.closing h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 850; letter-spacing: -0.035em; max-width: 16ch; }
.closing p { margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 1.125rem; max-width: 36em; }
.closing__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.foot { padding: 48px 0; border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.foot__brand p { margin-top: 8px; font-size: .875rem; color: var(--ink-3); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; font-size: .9375rem; }
.foot__nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; }
.foot__nav a:hover { color: var(--ink); }
.foot__copy { font-size: .875rem; color: var(--ink-3); }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.25rem, 4.6vw, 3.25rem); font-weight: 850; letter-spacing: -0.035em; }
.legal .updated { margin-top: 12px; color: var(--ink-3); font-size: .9375rem; }
.legal h2 { margin-top: 44px; font-size: 1.375rem; font-weight: 800; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 6px; }

/* 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 850; letter-spacing: -0.035em; }
.notfound p { margin: 16px auto 32px; color: var(--ink-2); max-width: 30em; }

/* Responsive */
@media (max-width: 1020px) {
  .top__nav { display: none; }
  .hero__in { grid-template-columns: 1fr; gap: 48px; }
  .scene { max-width: 560px; }
  .features, .costs { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .top__in { height: 64px; gap: 12px; }
  .top__logo img { height: 30px; }
  .top__actions { gap: 14px; }
  .hero { padding: 40px 0 64px; }
  .lead { font-size: 1.0625rem; }
  .section { padding: 72px 0; }
  .scene { padding: 12px; border-radius: 22px; }
  .chat__log { min-height: 0; }
  .compare__row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .compare__row--head { display: none; }
  .compare__row > span:first-child { font-size: .9375rem; text-decoration: line-through; text-decoration-color: rgba(110, 108, 143, .5); }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .feature-list { grid-template-columns: 1fr; gap: 24px; }
  .plans { grid-template-columns: 1fr; }
  .plan__for { min-height: 0; }
  .foot__in { grid-template-columns: 1fr; justify-items: start; }
  .foot__nav { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .top .btn--sm { padding: 0 12px; }
  .funnel__stages { font-size: .6875rem; }
  .funnel__stages li { padding: 0 2px 8px; }
  .deal { width: 34%; padding: 0 2px; }
  .deal[data-stage='1'] { left: 22%; }
  .deal[data-stage='2'] { left: 44%; }
  .deal[data-stage='3'] { left: 66%; }
  .deal__name, .deal__value { padding-left: 8px; padding-right: 8px; }
  .deal__name { font-size: .75rem; }
  .deal__value { font-size: .6875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
