:root {
  --bg: #f4efe5;
  --ink: #071426;
  --muted: #60645f;
  --line: #d8d0c3;
  --card: #fffaf1;
  --accent: #5f9888;
  --accent-dark: #4d8174;
  --shadow: 0 18px 45px rgba(7, 20, 38, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

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

.tee-mark {
  position: relative;
  width: 38px;
  height: 52px;
  display: inline-block;
  flex: 0 0 auto;
}

.tee-mark::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 38px;
  height: 14px;
  background: var(--accent);
  border-radius: 999px 999px 12px 12px;
}

.tee-mark::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 12px;
  width: 14px;
  height: 34px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 62% 100%, 38% 100%);
  border-radius: 8px;
}

.brand-word {
  font-size: 32px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.055em;
}

.brand-word em {
  font-style: normal;
  color: var(--accent-dark);
  letter-spacing: -0.035em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

.nav-button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
}

section { padding: 72px 0; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

p { color: var(--muted); }

.lead {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: 21px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.76fr);
  gap: 54px;
  align-items: center;
  padding-top: 54px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
}

.button.primary { background: var(--ink); color: #fff; }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,0.55); }
.button.full { width: 100%; }

.hero-card,
.card,
.panel,
.signup-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
}

.card-kicker {
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card h2 { font-size: 34px; }

.metric {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.metric span { color: var(--muted); }
.metric strong { font-weight: 850; text-align: right; }

.hero-card p:last-child,
.output-panel p:last-child { margin-bottom: 0; }

.intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro p {
  max-width: 760px;
  margin-inline: auto;
  font-size: 20px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.compact { gap: 14px; }

.card {
  min-width: 0;
  padding: 24px;
  box-shadow: none;
}

.card.dark {
  background: var(--ink);
  color: #fff;
}

.card.dark p,
.card.dark .quote { color: rgba(255,255,255,0.78); }

.step {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-weight: 900;
}

.quote { margin: 18px 0; }

.section-copy {
  max-width: 820px;
  margin-bottom: 30px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
}

.stack,
.stats {
  display: grid;
  gap: 12px;
}

.stack article,
.stats div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.45);
}

.stack strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.stack span,
.stats span { color: var(--muted); }

.stats div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}

.stats strong {
  color: var(--accent-dark);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.model {
  text-align: center;
}

.model h2,
.model .section-copy {
  margin-inline: auto;
}

.panel {
  padding: 28px;
}

.panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.panel li { margin: 10px 0; }

.workflow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.workflow-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}

.workflow-list span {
  color: var(--accent-dark);
  font-weight: 900;
}

.workflow-list p { margin-bottom: 0; }

.output {
  align-items: center;
}

.output-panel {
  width: min(100%, 500px);
  justify-self: end;
}

.signup {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 46px;
  padding: 42px;
  margin: 30px 0 78px;
  border-radius: 34px;
  background: var(--ink);
  color: #fff;
}

.signup p { color: rgba(255,255,255,0.72); }
.signup .eyebrow { color: var(--accent); }

.signup-form {
  padding: 24px;
  color: var(--ink);
}

label {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted) !important;
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1000px) {
  .nav { display: none; }

  .hero,
  .split,
  .signup {
    grid-template-columns: 1fr;
  }

  .output-panel { justify-self: start; }
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  section { padding: 52px 0; }
  .hero { padding-top: 34px; }

  .cards.three,
  .cards.two,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 44px;
    letter-spacing: -0.055em;
  }

  h2 {
    font-size: 34px;
    letter-spacing: -0.045em;
  }

  .lead,
  .intro p { font-size: 18px; }

  .brand-word { font-size: 28px; }
  .tee-mark { width: 32px; height: 45px; }
  .tee-mark::before { width: 32px; height: 12px; }
  .tee-mark::after { left: 10px; width: 12px; height: 30px; }

  .signup { padding: 24px; }

  .workflow-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer { flex-direction: column; }
}


/* Getting started */
.getting-started .section-copy {
  max-width: 820px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.timeline article {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.timeline span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-weight: 900;
}

.timeline h3 {
  margin-bottom: 12px;
}

.timeline p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}
