:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --panel: #fffdf9;
  --text: #161411;
  --muted: #71695f;
  --line: #e8dfd3;
  --rust: #d86d2a;
  --blue: #2f68d8;
  --green: #1b9b62;
  --dark: #24201c;
  --shadow: 0 24px 80px rgb(36 32 28 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgb(216 109 42 / 16%), transparent 34rem),
    radial-gradient(circle at top right, rgb(47 104 216 / 12%), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgb(36 32 28 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(36 32 28 / 4%) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

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

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

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

.brand,
.nav,
.hero-actions,
.site-footer div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--rust);
  box-shadow: 0 8px 24px rgb(36 32 28 / 8%);
}

.nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.site-footer a:hover,
.flow-grid a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 46px;
  align-items: center;
  padding: 74px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2 {
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 720;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 680;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.hero-text,
.section-text,
.privacy-copy p,
.feature-card p,
.flow-grid p,
.site-footer {
  color: var(--muted);
}

.hero-text {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: 20px;
}

.install-card {
  display: flex;
  max-width: 620px;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 17px 18px;
  border: 1px solid rgb(36 32 28 / 12%);
  border-radius: 18px;
  background: rgb(255 253 249 / 82%);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.prompt {
  color: var(--green);
  font-weight: 800;
}

.install-card code {
  white-space: nowrap;
  color: var(--dark);
  font-size: 15px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--dark);
  color: white;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgb(255 253 249 / 78%);
  color: var(--dark);
}

.terminal-card {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 28px;
  background: #171411;
  color: #f6efe5;
  box-shadow: 0 28px 90px rgb(22 20 17 / 28%);
}

.terminal-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 18px;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: #211d19;
}

.terminal-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ff605c;
}

.terminal-topbar span:nth-child(2) {
  background: #ffbd44;
}

.terminal-topbar span:nth-child(3) {
  background: #00ca4e;
}

.terminal-topbar p {
  margin: 0 0 0 8px;
  color: #b9aea1;
  font-size: 13px;
}

.terminal-card pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.feature-grid,
.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.flow-grid article,
.privacy-section {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgb(255 253 249 / 70%);
  box-shadow: 0 18px 52px rgb(36 32 28 / 7%);
}

.feature-card {
  padding: 24px;
}

.icon {
  display: inline-grid;
  min-width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
}

.icon.rust {
  background: rgb(216 109 42 / 12%);
  color: var(--rust);
}

.icon.blue {
  background: rgb(47 104 216 / 12%);
  color: var(--blue);
}

.icon.green {
  background: rgb(27 155 98 / 12%);
  color: var(--green);
}

.icon.dark {
  background: rgb(36 32 28 / 9%);
  color: var(--dark);
}

.privacy-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 38px;
}

.privacy-list {
  display: grid;
  gap: 12px;
}

.privacy-list span {
  padding: 14px 16px;
  border: 1px solid rgb(27 155 98 / 22%);
  border-radius: 16px;
  background: rgb(27 155 98 / 8%);
  color: #116b43;
  font-weight: 650;
}

.brew-section {
  padding: 86px 0 100px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.flow-grid article {
  min-height: 180px;
  padding: 22px;
}

.flow-grid strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--dark);
  color: white;
  font-size: 14px;
}

.flow-grid code {
  font-size: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  gap: 16px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .privacy-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

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

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

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

  .hero {
    padding-top: 42px;
  }

  .feature-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .privacy-section {
    padding: 24px;
  }
}
