/*
 * MintBots marketing site. Same design language as the portal (app.mintbots.co): one typeface
 * (Instrument Sans), neutral surfaces, mint primary buttons and a restrained mint accent.
 * Light by default; follows the visitor's dark mode.
 */

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('/fonts/instrument-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('/fonts/instrument-sans-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f6f7f7;
  --surface: #ffffff;
  --raised: #f1f2f3;
  --seam: #e3e5e6;
  --seam-strong: #cfd2d5;
  --ink: #131517;
  --ink-2: #50555a;
  --ink-3: #868b90;
  --primary: #2fbf94;
  --primary-hover: #29ad86;
  --primary-ink: #04241b;
  --mint: #22a383;
  --mint-text: #0b7259;
  --mint-soft: #e3f5ef;
  --mint-ink: #04241b;
  --radius: 10px;
  --radius-sm: 6px;
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #111214;
    --bg-2: #141518;
    --surface: #17181b;
    --raised: #1e1f23;
    --seam: #2b2c32;
    --seam-strong: #3b3d44;
    --ink: #ededef;
    --ink-2: #a2a3aa;
    --ink-3: #6e7078;
    --primary: #5fd4b3;
    --primary-hover: #7ee0c5;
    --primary-ink: #052a20;
    --mint: #5fd4b3;
    --mint-text: #74dcbf;
    --mint-soft: #15302a;
    --mint-ink: #052a20;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

::selection {
  background: color-mix(in oklab, var(--mint) 30%, transparent);
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.sprite {
  position: absolute;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--primary-ink);
}

/* ---- Wordmark and buttons ---- */

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark b {
  font-weight: 700;
  color: var(--mint-text);
}
.wordmark span {
  font-weight: 400;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.button-primary {
  background: var(--primary);
  color: var(--primary-ink);
}
.button-primary:hover {
  background: var(--primary-hover);
}
.button-secondary {
  background: var(--surface);
  border-color: var(--seam);
  color: var(--ink);
}
.button-secondary:hover {
  border-color: var(--seam-strong);
  background: var(--raised);
}
.button-small {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

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

.site-header {
  border-bottom: 1px solid var(--seam);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a:not(.button) {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
}
.site-nav a:not(.button):hover {
  color: var(--ink);
}
@media (max-width: 560px) {
  .site-nav .nav-pricing {
    display: none;
  }
}

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

.hero {
  padding: 88px 0 96px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 64px;
}
.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 5.2vw, 3.75rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.hero-lede {
  max-width: 46ch;
  margin-top: 22px;
  font-size: 19px;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-3);
}
@media (max-width: 880px) {
  .hero {
    padding: 56px 0 72px;
  }
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
}

/* The product, as visitors see it: an assistant's hosted page. */
.demo {
  margin: 0;
}
.demo-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}
.demo-address::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4cc477;
}
.demo-window {
  overflow: hidden;
  border: 1px solid var(--seam);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 24px 60px -32px rgb(0 0 0 / 0.35);
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--seam);
}
.demo-head strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.demo-head small {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
}
.avatar {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--mint-ink);
}
.avatar svg {
  width: 16px;
  height: 16px;
}
.demo-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px;
  font-size: 15px;
  line-height: 1.55;
}
.msg-user {
  align-self: flex-end;
  max-width: 82%;
  padding: 9px 14px;
  border-radius: 16px 16px 4px 16px;
  background: var(--mint);
  color: var(--mint-ink);
}
.msg-assistant {
  display: flex;
  gap: 10px;
  max-width: 92%;
}
.msg-assistant .avatar {
  width: 26px;
  height: 26px;
}
.msg-assistant .avatar svg {
  width: 13px;
  height: 13px;
}
.demo-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 18px 18px;
  padding: 10px 10px 10px 14px;
  border: 1px solid var(--seam);
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink-3);
}
.demo-input span:last-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--mint-ink);
}

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

.section {
  padding: 88px 0;
  border-top: 1px solid var(--seam);
}
.section-alt {
  background: var(--bg-2);
}
.section-head {
  max-width: 60ch;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}
.section-head p {
  margin-top: 10px;
  color: var(--ink-2);
}
@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }
}

/* How it works: a real sequence, so numbered. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mint-text);
}
.steps h3 {
  font-size: 20px;
}
.steps p {
  margin-top: 8px;
  color: var(--ink-2);
}
.steps code {
  font-family: var(--mono);
  font-size: 0.88em;
}
@media (max-width: 820px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

/* What you get: a plain two-column list. */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin: 0;
}
.features div {
  padding: 22px 0;
  border-top: 1px solid var(--seam);
}
.features dt {
  font-weight: 600;
}
.features dd {
  margin: 6px 0 0;
  color: var(--ink-2);
}
@media (max-width: 720px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Pricing ---- */

.plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  max-width: 880px;
  border: 1px solid var(--seam);
  border-radius: 14px;
  background: var(--surface);
}
.plan-price {
  padding: 36px;
  border-right: 1px solid var(--seam);
}
.plan-includes {
  padding: 36px;
}
.period {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--seam);
  border-radius: 8px;
  background: var(--raised);
}
.period button {
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}
.period button[aria-pressed='true'] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--seam);
}
.amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 26px;
}
.amount strong {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.amount span {
  color: var(--ink-3);
}
.amount-note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
}
.plan-price .button {
  width: 100%;
  margin-top: 28px;
}
.plan-trial {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.plan-includes h3 {
  font-size: 15px;
  font-weight: 600;
}
.checks {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 10px;
  color: var(--ink-2);
}
.checks svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--mint-text);
}
@media (max-width: 760px) {
  .plan {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan-price {
    border-right: 0;
    border-bottom: 1px solid var(--seam);
  }
  .plan-price,
  .plan-includes {
    padding: 28px 24px;
  }
}

/* ---- Questions ---- */

.faq {
  max-width: 760px;
  border-top: 1px solid var(--seam);
}
.faq details {
  border-bottom: 1px solid var(--seam);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink-3);
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq details p {
  max-width: 64ch;
  padding-bottom: 22px;
  color: var(--ink-2);
}

/* ---- Closing call to action and footer ---- */

.closing {
  padding: 88px 0;
  border-top: 1px solid var(--seam);
}
.closing .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.closing h2 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--seam);
  font-size: 14px;
  color: var(--ink-3);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.site-footer a {
  color: var(--ink-2);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--ink);
}

/* ---- Legal pages ---- */

.legal {
  max-width: 760px;
  padding: 64px 24px 96px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}
.legal .updated {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-3);
}
.legal .intro {
  margin-top: 28px;
}
.legal .contents {
  margin: 32px 0 8px;
  padding: 20px 24px;
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.legal .contents h2 {
  font-size: 15px;
  letter-spacing: 0;
}
.legal .contents ol {
  margin: 12px 0 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
  font-size: 15px;
}
.legal .contents li {
  break-inside: avoid;
  padding: 2px 0;
}
.legal .contents a {
  color: var(--ink-2);
  text-decoration: none;
}
.legal .contents a:hover {
  color: var(--ink);
  text-decoration: underline;
}
@media (max-width: 640px) {
  .legal .contents ol {
    columns: 1;
  }
}
.legal section {
  scroll-margin-top: 24px;
}
.legal section > h2 {
  margin-top: 48px;
  font-size: 22px;
}
.legal h3 {
  margin-top: 28px;
  font-size: 17px;
}
.legal p,
.legal ul,
.legal ol:not(.contents ol) {
  margin-top: 14px;
  color: var(--ink-2);
}
.legal ul,
.legal section ol {
  padding-left: 22px;
}
.legal li + li {
  margin-top: 6px;
}
.legal strong {
  color: var(--ink);
  font-weight: 600;
}
.legal a {
  color: var(--mint-text);
}
.legal table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 15px;
}
.legal th,
.legal td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--seam);
  text-align: left;
  vertical-align: top;
  color: var(--ink-2);
}
.legal th {
  color: var(--ink);
  font-weight: 600;
}
.legal .caps {
  font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
