@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-800-latin.woff2") format("woff2");
}

:root {
  --ground: #f3f4f6;
  --surface: #ffffff;
  --ink: #0e1116;
  --body-2: #3a3f46;
  --muted: #5b616b;
  --hairline: #e1e4e8;
  --accent: #1f5eff;
  --accent-ink: #1747c8;
  --accent-wash: #eaf0ff;
  --pill: #f1f2f4;
  --on-ink: #c9cdd3;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --display: "Bricolage Grotesque", var(--sans);
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

svg {
  display: block;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-ink);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* The logo: the mark on an ink tile, and the wordmark. */
.top {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tile {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile svg {
  width: 24px;
  height: 24px;
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 22px;
  line-height: 1;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chip {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 46px;
  line-height: 1.02;
}

.lede {
  font-size: 18px;
  line-height: 26px;
  color: var(--body-2);
  max-width: 560px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 16px;
  background: var(--ink);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  color: #ffffff;
  background: #262b33;
}

.button-light {
  background: #ffffff;
  color: var(--ink);
}

.button-light:hover {
  background: #e9ebee;
  color: var(--ink);
}

.button-light:focus-visible {
  outline-color: #ffffff;
}

.cta-note {
  font-size: 14px;
  color: var(--muted);
}

/* The phone mock-up, with sample figures. */
.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: 300px;
  max-width: 100%;
  border-radius: 44px;
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 30px 60px rgba(14, 17, 22, 0.18);
}

.screen {
  border-radius: 36px;
  background: var(--ground);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.screen-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tile-small svg {
  width: 22px;
  height: 22px;
}

.company {
  font-size: 14px;
  font-weight: 700;
}

.sample {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--pill);
  font-size: 10px;
  font-weight: 600;
  color: var(--body-2);
}

.runway-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.label-plain {
  font-size: 12px;
  color: var(--muted);
}

.runway {
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.chart {
  margin-top: 8px;
  width: 100%;
  height: auto;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.figure {
  background: var(--surface);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.figure .label {
  font-size: 11px;
}

.amount {
  font-size: 18px;
  font-weight: 800;
}

.scenario {
  background: var(--surface);
  border-radius: 16px;
  padding: 12px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}

.change {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--accent-ink);
}

/* Three features */
.features {
  display: grid;
  gap: 14px;
}

.feature {
  background: var(--surface);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 2px rgba(14, 17, 22, 0.04);
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 22px;
  height: 22px;
}

.feature h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 15px;
  line-height: 22px;
  color: var(--body-2);
}

/* Trust row */
.trust {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--hairline);
}

.trust li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust strong {
  font-size: 15px;
  font-weight: 700;
}

.trust span {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

/* Closing band */
.closing {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: var(--ink);
  color: #ffffff;
}

.closing-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.closing h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 28px;
  line-height: 1.1;
}

.closing p {
  font-size: 15px;
  line-height: 22px;
  color: var(--on-ink);
}

/* Footer */
.bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--muted);
}

.bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.bottom a:hover {
  text-decoration: underline;
}

@media (min-width: 960px) {
  .page {
    padding: 36px clamp(40px, 8.334vw, 120px) 48px;
    gap: 56px;
  }

  main {
    gap: 56px;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
  }

  .hero-text {
    gap: 22px;
  }

  .chip {
    font-size: 13px;
  }

  h1 {
    font-size: 72px;
  }

  .lede {
    font-size: 21px;
    line-height: 31px;
  }

  .button {
    width: auto;
  }

  .phone {
    width: 330px;
    border-radius: 48px;
    padding: 11px;
  }

  .screen {
    border-radius: 40px;
    padding: 20px 15px;
    gap: 11px;
  }

  .screen-top {
    gap: 9px;
  }

  .company {
    font-size: 15px;
  }

  .sample {
    padding: 2px 9px;
    font-size: 11px;
  }

  .runway-card {
    border-radius: 24px;
    padding: 18px;
  }

  .label,
  .label-plain {
    font-size: 13px;
  }

  .runway {
    font-size: 42px;
  }

  .chart {
    margin-top: 9px;
  }

  .tiles {
    gap: 9px;
  }

  .figure {
    border-radius: 18px;
    padding: 13px;
  }

  .figure .label {
    font-size: 12px;
  }

  .amount {
    font-size: 20px;
  }

  .scenario {
    border-radius: 18px;
    padding: 13px;
    font-size: 13px;
  }

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

  .feature {
    padding: 26px;
  }

  .trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .closing {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 36px;
    border-radius: 28px;
  }

  .closing-text {
    gap: 6px;
  }

  .closing h2 {
    font-size: 34px;
  }

  .closing p {
    font-size: 16px;
  }

  .closing .button {
    flex-shrink: 0;
  }
}
