* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(a, button, input):focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  padding: 20px 64px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 800;
}

.brand span span {
  color: var(--clay);
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 56px;
  color: var(--body);
  font-size: 13.5px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  margin-left: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

.button:disabled {
  cursor: wait;
  opacity: 0.74;
}

.button-ink {
  background: var(--ink);
  color: var(--cream);
}

.button-clay {
  background: var(--clay);
  color: var(--ink);
}

.section,
.hero,
.spotlight {
  padding: 72px 64px;
}

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

.section-border {
  border-top: 1px solid var(--border);
}

.hero {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-top: 88px;
  padding-bottom: 88px;
}

.hero-copy {
  flex: 1;
}

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

.hero h1 {
  max-width: 590px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.hero-copy > p {
  max-width: 650px;
  margin-top: 20px;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.6;
}

.supporting-line {
  color: var(--muted) !important;
  font-size: 12.5px !important;
}

.waitlist-form {
  display: grid;
  grid-template-columns: 230px max-content;
  align-items: start;
  gap: 10px;
  margin-top: 20px;
}

.waitlist-form input {
  width: 230px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  font-size: 13.5px;
}

.waitlist-form input::placeholder {
  color: var(--muted);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 18px;
  color: var(--muted);
  font-size: 12.5px;
}

.form-status.error {
  color: #b23b3b;
}

.browser-card {
  flex: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 20px 40px rgba(27, 47, 48, 0.12);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: var(--ink);
}

.browser-chrome span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.browser-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.product-preview {
  margin: 0;
  min-width: 0;
}

.product-preview-body {
  display: grid;
  min-height: 276px;
  grid-template-columns: 128px minmax(0, 1fr);
  color: var(--ink);
  background: var(--paper);
  font-size: 10px;
}

.product-preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 10px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.product-preview-sidebar strong {
  margin-bottom: 12px;
  color: white;
  font-size: 10px;
}

.product-preview-sidebar strong span {
  color: var(--clay);
}

.product-preview-sidebar > span {
  padding: 7px 8px;
  border-radius: 5px;
}

.product-preview-sidebar .preview-nav-active {
  color: white;
  background: rgba(255, 255, 255, 0.13);
}

.product-preview-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.product-preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-preview-heading > div,
.preview-attention > div,
.preview-card-row > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.product-preview-heading small,
.preview-card-row small,
.preview-activity > span {
  color: var(--secondary);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.product-preview-heading strong {
  font-size: 17px;
}

.preview-workspace {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  padding: 6px 9px;
  white-space: nowrap;
}

.preview-attention {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #efc3bc;
  border-radius: 8px;
  background: #fff7f4;
  padding: 10px;
}

.preview-attention > div {
  flex: 1;
}

.preview-attention small,
.preview-card-row span {
  overflow: hidden;
  color: var(--secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-attention b {
  color: #8b4434;
  font-size: 9px;
}

.preview-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #bd6047;
}

.preview-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.preview-card-row > div {
  min-height: 76px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px;
}

.preview-card-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-activity {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px;
}

.preview-activity i {
  display: block;
  width: 78%;
  height: 5px;
  border-radius: 99px;
  background: var(--placeholder);
}

.preview-activity i:nth-of-type(2) {
  width: 62%;
}

.preview-activity i:nth-of-type(3) {
  width: 70%;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: repeating-linear-gradient(
    135deg,
    var(--placeholder),
    var(--placeholder) 6px,
    var(--paper) 6px,
    var(--paper) 12px
  );
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.5px;
}

.hero-shot {
  height: 64px;
}

.placeholder-row {
  display: flex;
  gap: 10px;
}

.placeholder-row .placeholder {
  flex: 1;
  height: 44px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.centered,
.centered-text {
  text-align: center;
}

.eyebrow {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: 26px;
  font-weight: 800;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 24px;
}

.monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
}

.tool-card h3 {
  font-size: 15.5px;
  font-weight: 700;
}

.tool-card p,
.finance-steps p {
  color: var(--secondary);
  font-size: 13.5px;
  line-height: 1.6;
}

.spotlight {
  display: flex;
  align-items: center;
  gap: 56px;
}

.spotlight > div:first-child,
.spotlight > div:last-child {
  flex: 1;
}

.spotlight h2,
.finance h2 {
  margin-top: 10px;
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
}

.spotlight p:not(.eyebrow),
.finance-intro p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
}

.spotlight-art {
  width: 300px;
  height: 210px;
  flex: 0 0 300px !important;
  border-radius: 12px;
  font-size: 11px;
  background-size: 16px 16px;
}

.finance {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.finance-intro {
  max-width: 720px;
}

.finance-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
}

.finance-steps article {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.finance-steps h3 {
  font-size: 14px;
  font-weight: 700;
}

.finance-note {
  color: var(--muted);
  font-size: 13.5px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}

.flow-steps::before {
  position: absolute;
  top: 19px;
  right: 60px;
  left: 60px;
  height: 2px;
  background: var(--border);
  content: "";
}

.flow-steps article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  position: relative;
  text-align: center;
}

.flow-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--clay);
  font-size: 14px;
  font-weight: 800;
}

.flow-steps h3 {
  font-size: 14.5px;
  font-weight: 700;
}

.flow-steps p {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.6;
}

.pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px;
  background: var(--ink);
  text-align: center;
}

.pricing .eyebrow {
  color: var(--footer-copy);
}

.pricing-card {
  display: flex;
  max-width: 480px;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  padding: 36px 52px;
}

.pricing-card h2 {
  color: var(--cream);
  font-size: 20px;
  font-weight: 800;
}

.pricing-card p {
  color: #9ab0ac;
  font-size: 14px;
  line-height: 1.6;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-list {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.faq-list article {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.faq-list h3 {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
}

.faq-list p {
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.6;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 56px 64px;
  background: var(--footer);
  color: var(--cream);
  text-align: center;
}

.footer h2 {
  font-size: 21px;
  font-weight: 800;
}

.waitlist-form.dark {
  grid-template-columns: 240px max-content;
  margin-top: 0;
  justify-content: center;
}

.waitlist-form.dark input {
  width: 240px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
}

.waitlist-form.dark .form-status {
  color: #9ab0ac;
}

.waitlist-form.dark .form-status.error {
  color: #efc3bc;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
  color: var(--footer-copy);
  font-size: 12.5px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-mark {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .site-nav {
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 28px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .spotlight,
  .spotlight-reverse {
    align-items: stretch;
    flex-direction: column;
  }

  .product-preview-body {
    min-height: 250px;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .spotlight-reverse .placeholder {
    order: 2;
  }

  .tool-grid,
  .finance-steps,
  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-steps {
    gap: 32px 0;
  }

  .flow-steps::before {
    display: none;
  }

  .spotlight-art {
    width: 100%;
    flex-basis: 210px !important;
  }
}

@media (max-width: 640px) {
  .site-nav {
    align-items: flex-start;
    padding: 16px 20px;
  }

  .nav-cta {
    margin-left: 0;
    min-height: 40px;
    padding: 0 14px;
  }

  .nav-links {
    font-size: 13px;
  }

  .section,
  .hero,
  .spotlight {
    padding: 56px 20px;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .product-preview-body {
    min-height: 230px;
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .product-preview-main {
    gap: 8px;
    padding: 11px;
  }

  .product-preview-sidebar {
    gap: 6px;
    padding: 13px 7px;
    font-size: 9px;
  }

  .product-preview-heading strong {
    font-size: 15px;
  }

  .preview-workspace {
    display: none;
  }

  .hero h1 {
    font-size: 34px;
  }

  .waitlist-form,
  .waitlist-form.dark {
    grid-template-columns: 1fr;
  }

  .waitlist-form input,
  .waitlist-form.dark input,
  .waitlist-form .button {
    width: 100%;
  }

  .tool-grid,
  .finance-steps,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 0;
  }

  .pricing,
  .footer {
    padding: 52px 20px;
  }

  .pricing-card {
    padding: 30px 24px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 10px;
  }
}
