:root {
  color-scheme: light;
  --ink: #252422;
  --muted: #5d5f64;
  --soft: #8a8580;
  --line: rgba(23, 23, 23, 0.12);
  --paper: #fbfaf7;
  --paper-warm: #f4efe7;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-solid: #ffffff;
  --claude: #c86f3f;
  --codex: #159c68;
  --blue: #3166d4;
  --shadow: 0 30px 80px rgba(41, 33, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgba(200, 111, 63, 0.14), transparent 26rem),
    linear-gradient(180deg, #fbf8f2 0%, var(--paper) 42%, #f2f5f3 100%);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: center;
  gap: 72px;
  min-height: calc(100vh - 86px);
  padding: 34px 0 54px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: #22211f;
  font-size: clamp(42px, 5.8vw, 72px);
  font-weight: 560;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 590;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.25;
}

.hero-copy {
  min-height: 522px;
}

.hero-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 21px;
}

.hero-actions,
.install-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 650;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  border-color: #171717;
  background: #171717;
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
}

.hero-facts {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
}

.hero-facts div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.hero-facts dt {
  margin-bottom: 5px;
  font-weight: 680;
}

.hero-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  transform: translateY(-48px);
  width: min(100%, 500px);
}

.mac-preview {
  position: relative;
  overflow: visible;
  min-height: 585px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 244, 237, 0.72)),
    radial-gradient(circle at 18% 22%, rgba(200, 111, 63, 0.12), transparent 18rem),
    radial-gradient(circle at 86% 10%, rgba(49, 102, 212, 0.12), transparent 16rem),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.mac-preview::before {
  content: "";
  position: absolute;
  inset: 40px 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.68), transparent 56%),
    repeating-linear-gradient(90deg, rgba(23, 23, 23, 0.035) 0 1px, transparent 1px 92px);
  border-radius: 0 0 22px 22px;
  pointer-events: none;
}

.mac-menubar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 22px 22px 0 0;
  background: rgba(255, 255, 255, 0.78);
  padding: 0 14px;
  color: rgba(37, 36, 34, 0.84);
  font-size: 13px;
  font-weight: 650;
  backdrop-filter: blur(18px);
}

.traffic-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.traffic-dot.red {
  background: #ff5f57;
}

.traffic-dot.yellow {
  background: #febc2e;
}

.traffic-dot.green {
  background: #28c840;
}

.mac-menu-spacer {
  flex: 1;
}

.menu-status {
  white-space: nowrap;
}

.battery-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 22px;
  height: 11px;
  border: 1.7px solid rgba(37, 36, 34, 0.48);
  border-radius: 3px;
}

.battery-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  width: 2px;
  height: 5px;
  border-radius: 0 2px 2px 0;
  background: rgba(37, 36, 34, 0.42);
}

.battery-icon span {
  position: absolute;
  left: 1px;
  width: calc(72% - 1px);
  height: 7px;
  border-radius: 1.5px;
  background: rgba(37, 36, 34, 0.42);
}

.battery-icon.full span {
  width: calc(84% - 1px);
}

.popover-anchor {
  position: absolute;
  top: 48px;
  right: 74px;
  z-index: 3;
  width: 14px;
  height: 14px;
  border-left: 1px solid rgba(23, 23, 23, 0.08);
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(249, 250, 252, 0.96);
  transform: rotate(45deg);
}

.panel-crop {
  position: relative;
  z-index: 2;
  width: min(70%, 300px);
  height: auto;
  margin: 14px auto 0;
  overflow: visible;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 22px;
  background: rgba(249, 250, 252, 0.96);
  box-shadow: 0 32px 70px rgba(32, 31, 28, 0.2);
}

.panel-shot {
  width: 100%;
  border-radius: 22px;
}

.section {
  padding: 96px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

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

.feature-grid article,
.install-steps article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  padding: 24px;
}

.feature-grid p,
.install-steps p,
.cli-copy p,
.trust-band p {
  color: var(--muted);
}

.marker {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 28px;
  border-radius: 50%;
}

.marker.claude {
  background: var(--claude);
}

.marker.codex {
  background: var(--codex);
}

.marker.neutral {
  background: var(--blue);
}

.marker.dark {
  background: var(--ink);
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band h2 {
  max-width: 760px;
}

.trust-band p {
  max-width: 760px;
  font-size: 19px;
}

.trust-band ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-band li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-weight: 650;
}

.cli-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

pre {
  overflow-x: auto;
  margin: 28px 0 0;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  background: #161719;
  color: #f7f4ef;
  padding: 20px;
  font-size: 15px;
  line-height: 1.65;
}

.terminal-shot {
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 12px;
  background: #191a1c;
  box-shadow: var(--shadow);
}

.terminal-shot img {
  width: 100%;
}

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

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

.faq-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
}

.faq-list > div {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq-list dt {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 650;
}

.faq-list dd {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
}

.faq-list code {
  border-radius: 4px;
  background: rgba(23, 23, 23, 0.06);
  padding: 0.15em 0.4em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.install-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.text-link {
  color: var(--muted);
  font-weight: 650;
}

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

.site-footer div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-label {
  color: var(--soft);
  font-size: 13px;
}

@media (max-width: 920px) {
  .hero,
  .split,
  .trust-band,
  .cli-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
    min-height: auto;
    padding-top: 40px;
  }

  .hero-copy {
    min-height: 0;
  }

  .hero-visual {
    grid-column: auto;
    grid-row: auto;
    transform: none;
    justify-self: stretch;
  }

  .hero-facts {
    grid-column: auto;
    grid-row: auto;
  }

  .mac-preview {
    min-height: 660px;
  }

  .panel-crop {
    width: min(68%, 340px);
  }
}

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

  .site-header {
    align-items: flex-start;
    padding-top: 18px;
  }

  nav {
    gap: 12px;
    font-size: 13px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-lede,
  .trust-band p {
    font-size: 18px;
  }

  .hero-facts,
  .feature-grid,
  .install-steps {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .install-steps article {
    min-height: 0;
  }

  .mac-preview {
    min-height: 625px;
    border-radius: 18px;
  }

  .mac-preview::before {
    border-radius: 0 0 18px 18px;
  }

  .mac-menubar {
    border-radius: 18px 18px 0 0;
    font-size: 12px;
  }

  .panel-crop {
    width: min(86%, 330px);
  }

  .section {
    padding: 72px 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .brand span {
    display: none;
  }

  .hero-actions,
  .install-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .mac-preview {
    min-height: 600px;
  }

  .mac-menubar {
    gap: 7px;
    padding: 0 10px;
  }

  .traffic-dot {
    width: 8px;
    height: 8px;
  }

  .battery-icon {
    width: 18px;
    height: 10px;
  }

  .panel-crop {
    width: 90%;
  }
}
