:root {
  --navy: #141b2d;
  --navy-2: #1f2a44;
  --navy-3: #2b3758;
  --gold: #f2b84b;
  --gold-2: #ffd27f;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --ink: #1b2133;
  --ink-2: #4a5168;
  --muted: #7b8196;
  --line: #e7e1d3;
  --mist: #c9d2ea;
  --green: #2f9e66;
  --red: #c4473b;
  --blue: #3b5bdb;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
}
em {
  font-style: italic;
  color: var(--gold);
}
a {
  color: inherit;
}
.container {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}
.container.narrow {
  width: min(760px, 100% - 40px);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* Honeypot field: off screen for people, still in the form for bots. */
input.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 14px 22px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 20px rgb(242 184 75 / 30%);
}
.btn-gold:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}
.btn-small {
  padding: 9px 14px;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: none;
}
.btn-wide {
  width: 100%;
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* ---------------------------------------------------------------- nav */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(20 27 45 / 88%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(255 255 255 / 6%);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 700 20px/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand svg {
  width: 30px;
  height: 30px;
}
.brand.small {
  font-size: 16px;
}
.brand.small svg {
  width: 22px;
  height: 22px;
}
.logo-bg {
  fill: var(--gold);
}
.logo-ring {
  fill: none;
  stroke: var(--navy-2);
  stroke-width: 3;
}
.logo-dot {
  fill: var(--navy-2);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a:not(.btn) {
  color: #cfd6ea;
  text-decoration: none;
  font-size: 15px;
}
.nav-links a:not(.btn):hover {
  color: #fff;
}

.nav-links a.nav-signin {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.nav-links a.nav-signin:hover {
  color: var(--gold);
}

/* ---------------------------------------------------------------- hero */
.hero {
  background:
    radial-gradient(1000px 500px at 85% 10%, rgb(59 91 219 / 28%), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgb(242 184 75 / 12%), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.dark {
  color: var(--blue);
}
.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
}
.lede {
  font-size: 19px;
  color: #c9d1e6;
  max-width: 34em;
  margin: 22px 0 30px;
}
.quick-join {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
}
.quick-join input[type="email"] {
  flex: 1 1 240px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 8%);
  color: #fff;
  font: inherit;
}
.quick-join input::placeholder {
  color: #8f99b7;
}
.quick-join .form-status {
  flex-basis: 100%;
}
.fine {
  font-size: 13.5px;
  color: #8f99b7;
  margin: 12px 0 0;
}
.form-status {
  margin: 0;
  font-size: 15px;
  min-height: 0;
}
.form-status.ok {
  color: #7fe0a8;
}
.form-status.err {
  color: #ffa69c;
}

/* hero visual */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}
.chat {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 16px 18px 20px;
  box-shadow:
    0 30px 80px rgb(0 0 0 / 45%),
    0 0 0 1px rgb(255 255 255 / 6%);
}
.chat-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.chat-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.bubble {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.5;
}
.bubble.you {
  background: var(--navy-2);
  color: #fff;
  margin-left: 48px;
  border-bottom-right-radius: 4px;
}
.bubble.answer {
  background: #f3efe5;
  margin-top: 12px;
  margin-right: 12px;
  border-bottom-left-radius: 4px;
}
.bubble p {
  margin: 0;
}
.bubble ul {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}
.bubble li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px dashed #d9d1bf;
}
.bubble li span:last-child {
  font-weight: 600;
  white-space: nowrap;
}
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.src {
  font-size: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
  color: var(--ink-2);
}
.float {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 14%);
  backdrop-filter: blur(4px);
  font-size: 13px;
  line-height: 1.35;
  color: #dfe5f5;
  animation: bob 7s ease-in-out infinite;
}
.float strong {
  color: #fff;
}
.float-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgb(255 255 255 / 12%);
  font-size: 15px;
}
.float-icon.pdf {
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}
.float-email {
  top: 0;
  left: -10px;
}
.float-pdf {
  top: 30px;
  right: 0;
  animation-delay: -2s;
}
.float-sms {
  bottom: 18px;
  left: -30px;
  animation-delay: -4s;
}
.float-call {
  bottom: -6px;
  right: 0;
  animation-delay: -1s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ---------------------------------------------------------------- sections */
section {
  padding: 96px 0;
}
.section-title {
  font-size: clamp(30px, 4vw, 46px);
  text-align: center;
  max-width: 22em;
  margin: 0 auto 48px;
}
.section-title.left {
  text-align: left;
  margin-left: 0;
  margin-bottom: 20px;
}
.section-title.light,
.section-lede.light {
  color: #fff;
}
.section-lede {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 32em;
}
.section-lede.light {
  color: #c9d1e6;
}
.cards {
  display: grid;
  gap: 22px;
}
.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

/* pain */
.pain .section-title em {
  color: var(--blue);
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.big-num {
  font: 600 40px/1 var(--serif);
  color: var(--blue);
  margin: 0 0 12px;
}
.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.card p:last-child {
  color: var(--ink-2);
  margin: 0;
}

/* how */
.how {
  background: var(--paper);
  border-block: 1px solid var(--line);
  text-align: center;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-2);
  color: var(--gold);
  font: 700 18px/1 var(--serif);
  margin-bottom: 16px;
}
.steps h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.steps p {
  color: var(--ink-2);
  margin: 0;
}
.sorting {
  margin: 0;
  background: var(--navy);
  border-radius: 22px;
  padding: 28px;
}
.sorting svg {
  width: 100%;
  height: auto;
  display: block;
}
.sort-card {
  fill: rgb(255 255 255 / 8%);
  stroke: rgb(255 255 255 / 18%);
}
.sort-text {
  fill: #e4e9f7;
  font: 15px var(--sans);
}
.sort-path {
  fill: none;
  stroke: url(#flow);
  stroke-width: 2;
  stroke-dasharray: 4 6;
}
.sort-dot {
  fill: var(--gold);
}
.shelf {
  stroke-width: 1.5;
}
.shelf-a {
  fill: rgb(47 158 102 / 18%);
  stroke: rgb(47 158 102 / 70%);
}
.shelf-b {
  fill: rgb(59 91 219 / 22%);
  stroke: rgb(120 145 255 / 70%);
}
.shelf-c {
  fill: rgb(242 184 75 / 16%);
  stroke: rgb(242 184 75 / 70%);
}
.shelf-title {
  fill: #fff;
  font: 600 19px var(--serif);
}
.shelf-sub {
  fill: #b9c3de;
  font: 13.5px var(--sans);
}

/* questions */
.questions {
  padding-bottom: 72px;
}
.q-cloud {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.q-cloud li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 16px;
  box-shadow: 0 2px 8px rgb(20 27 45 / 5%);
}
.q-cloud li::before {
  content: "“";
  color: var(--gold);
  font: 700 20px/0 var(--serif);
  margin-right: 4px;
}

/* features */
.features {
  padding-top: 24px;
}
.feature {
  padding: 8px 6px;
}
.f-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy-2);
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.feature p {
  margin: 0;
  color: var(--ink-2);
}

/* peek */
.peek {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.peek-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.app-mock {
  background: #f6f4ef;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 30px 60px rgb(20 27 45 / 12%);
  font-size: 14px;
}
.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2px 4px 12px;
}
.mock-head strong {
  font: 600 20px var(--serif);
}
.mock-count {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  border-radius: 999px;
  padding: 2px 9px;
}
.mock-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 10px;
}
.mock-card.faded {
  opacity: 0.55;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-subject {
  margin: 4px 0 10px;
  font-weight: 600;
}
.mock-card.faded .mock-subject {
  margin-bottom: 0;
}
.mock-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 13px;
  color: var(--ink-2);
}
.chip.on {
  font-weight: 600;
}
.chip-green {
  background: #ddf3e6;
  border-color: #86cfa5;
  color: #1d6b43;
}
.chip-red {
  background: #fae3e1;
  border-color: #e3a29b;
  color: #8e2f26;
}
.mock-btn {
  margin-left: auto;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 6px 14px;
}
.flag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 2px 8px;
}
.flag-red {
  background: #fae3e1;
  color: var(--red);
}
.flag-blue {
  background: #e3e9fd;
  color: var(--blue);
}
.flag-amber {
  background: #fbefd6;
  color: #9a6200;
}

/* privacy */
.privacy {
  background:
    radial-gradient(800px 400px at 90% 0%, rgb(59 91 219 / 25%), transparent 60%), var(--navy);
  color: #fff;
  text-align: center;
}
.p-card {
  text-align: left;
  border: 1px solid rgb(255 255 255 / 12%);
  background: rgb(255 255 255 / 4%);
  border-radius: 18px;
  padding: 26px;
}
.p-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--gold);
}
.p-card p {
  margin: 0;
  color: #c9d1e6;
}

/* who */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.who-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.who-list li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-2);
}
.who-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid var(--gold);
}
.who-list strong {
  color: var(--ink);
}

/* join */
.join {
  background: var(--navy-2);
  color: #fff;
}
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.perks {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 10px;
  color: #dbe1f1;
}
.perks li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  margin-right: 10px;
}
.join-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 16px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 30%);
}
.join-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.opt {
  font-weight: 400;
  color: var(--muted);
}
.join-form input,
.join-form select,
.join-form textarea {
  font: 16px var(--sans);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.join-form textarea {
  resize: vertical;
}
.join-form .fine {
  color: var(--muted);
  margin: 0;
}
.join-form .form-status.ok {
  color: var(--green);
}
.join-form .form-status.err {
  color: var(--red);
}

/* faq */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 4px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  color: var(--ink-2);
  margin: 12px 0 0;
}

/* footer */
.footer {
  background: var(--navy);
  color: #9aa4c0;
  padding: 28px 0;
  font-size: 14px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.footer-row .brand {
  margin-right: auto;
}
.footer a {
  color: #cfd6ea;
  text-decoration: none;
}

/* simple pages (privacy, thanks, 404) */
.page {
  padding: 64px 0 96px;
  min-height: calc(100vh - 64px - 80px);
}
.page h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 18px;
}
.page h2 {
  font-size: 24px;
  margin: 36px 0 8px;
}
.page p,
.page li {
  color: var(--ink-2);
}
.page .btn {
  margin-top: 16px;
}

.signin-card {
  max-width: 520px;
  margin: 0 auto;
}
.signin-card h2 {
  font-size: 20px;
  margin-top: 32px;
}
.signin-note {
  font-size: 15px;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}
.join-form.compact {
  box-shadow: 0 10px 30px rgb(20 27 45 / 10%);
  border: 1px solid var(--line);
  margin-top: 12px;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero-grid,
  .peek-grid,
  .who-grid,
  .join-grid {
    grid-template-columns: 1fr;
  }
  .cards.three,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-visual {
    min-height: 420px;
    margin-top: 12px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  section {
    padding: 64px 0;
  }
  .nav-links a:not(.btn):not(.nav-signin) {
    display: none;
  }
  .nav-links {
    gap: 16px;
  }
  .cards.three,
  .steps {
    grid-template-columns: 1fr;
  }
  .float-pdf,
  .float-call {
    display: none;
  }
  .float-email {
    left: 0;
  }
  .float-sms {
    left: 0;
    bottom: 0;
  }
  .hero-visual {
    padding: 56px 0;
  }
  .bubble.you {
    margin-left: 20px;
  }
  .sorting {
    padding: 14px;
    overflow-x: auto;
  }
  .sorting svg {
    min-width: 640px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .float {
    animation: none;
  }
  .sort-dot {
    display: none;
  }
}
