/* The landing page has its own layout; docs and account pages keep styles.css. */
.home {
  --ink: #202b31;
  --ink-2: #53636d;
  --ink-3: #617078;
  --line: #dce3e8;
  --line-strong: #bdcbd5;
  --panel: #edf3f7;
  --signal: #345fe2;
  --display: "Instrument Serif", Georgia, serif;
  --rail-size: 210px;
  --rail-width: var(--rail-size);
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}
.home h1,
.home h2 {
  font-family: var(--display);
  font-weight: 400;
  font-stretch: normal;
  letter-spacing: -0.025em;
}
.home h2 { font-size: clamp(36px, 3.6vw, 50px); line-height: 1.08; }
.home h3 { font-size: 18px; font-weight: 550; letter-spacing: -.02em; }
.home a { text-underline-offset: 4px; }
.home button { -webkit-tap-highlight-color: transparent; }
.home .btn {
  min-height: 43px;
  padding: 0 19px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 550;
}
.home .btn--primary { background: var(--signal); }
.home .btn--primary:hover { background: #234cce; }
.home :focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-size);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 47px 28px 30px;
  background: #fff;
  border-right: 1px solid var(--line);
}
.rail__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: 33px;
  line-height: 1;
  letter-spacing: -.04em;
}
.rail__brand > span { display: flex; flex-direction: column; }
.rail__cloud {
  margin-top: 5px;
  font: 11px/1 var(--text);
  letter-spacing: .01em;
  color: var(--ink-3);
}
.rail__brand svg { flex-shrink: 0; }
.rail__links { display: grid; gap: 15px; margin-top: 75px; }
.rail__links a,
.rail__login { color: var(--ink-2); font-size: 14px; text-decoration: none; }
.rail__links a:hover,
.rail__login:hover { color: var(--signal); }
.rail__login { margin-top: 45px; color: var(--ink); }
.rail__bottom { margin-top: auto; margin-bottom: 51px; font-size: 10px; color: var(--ink-3); white-space: nowrap; }
.rail__dot { display: inline-block; width: 5px; height: 5px; margin: 0 5px 1px 0; border-radius: 50%; background: var(--signal); }
.landing,
.home .foot { margin-left: var(--rail-width); }
.landing { max-width: 1600px; }
.opening {
  position: relative;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 10px;
  min-height: 590px;
  padding: 81px 48px 70px 60px;
  background: var(--panel);
  align-items: center;
}
.opening__copy { z-index: 1; }
.opening h1 { font-size: clamp(64px, 6.3vw, 100px); line-height: .99; }
.opening__copy > p { margin-top: 27px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.opening__copy > .opening__trial { margin-top: 14px; font-size: 12px; }
.opening__actions { display: flex; align-items: center; gap: 23px; margin-top: 30px; }
.opening__docs { font-size: 14px; text-decoration: none; }
.opening__docs:hover { text-decoration: underline; }
.agent-demo { width: 100%; max-width: 440px; min-width: 0; margin: 0 auto; }
.agent-demo__agent { border: 1px solid #bccbd6; border-radius: 7px; background: #fbfcfd; overflow: hidden; }
.agent-demo__title { display: flex; align-items: center; gap: 8px; padding: 12px 17px; border-bottom: 1px solid #d7e0e7; font: 12px var(--mono); }
.agent-demo__claude { flex-shrink: 0; fill: none; stroke: #bd7156; stroke-width: 1.6; }
.agent-demo__example { margin-left: auto; font: 10px var(--text); color: var(--ink-3); }
.agent-demo__conversation { padding: 18px 17px 20px; font: 12px/1.8 var(--mono); }
.agent-demo__prompt { padding: 9px 10px; border-radius: 3px; background: #edf1f5; }
.agent-demo__prompt > span { margin-right: 5px; color: var(--ink-3); }
.agent-demo__reply { margin-top: 13px; padding-left: 2px; color: var(--ink-2); }
.agent-demo__reply code { font: inherit; color: var(--ink); }
.agent-demo__route { display: grid; justify-items: center; gap: 5px; padding: 11px 0 7px; color: #5273b8; }
.agent-demo__route > span { display: flex; align-items: center; gap: 9px; color: #4163a9; font-size: 12px; }
.agent-demo__mac { width: calc(100% - 28px); margin: 0 auto; border: 1px solid #98afd0; border-radius: 7px; background: #fff; overflow: hidden; }
.agent-demo__mac-title { display: flex; align-items: center; gap: 11px; padding: 11px 17px; border-bottom: 1px solid #d5e0ec; background: #e7eef5; }
.agent-demo__mac-title b { display: block; font-size: 12px; font-weight: 550; }
.agent-demo__mac-title span { display: block; color: var(--ink-2); font-size: 10px; }
.agent-demo__run { padding: 15px 17px 16px; font: 12px/1.8 var(--mono); }
.agent-demo__run > code { font: inherit; }
.agent-demo__run > code span { color: var(--signal); margin-right: 4px; }
.agent-demo__run pre { margin: 10px 0 0; color: var(--ink-3); font: 11px/1.8 var(--mono); white-space: pre-wrap; }
.agent-demo__run p { display: flex; align-items: center; gap: 5px; margin-top: 10px; color: #38634f; font: 11px/1.6 var(--mono); }
.hardware { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 60px; background: #e2eaf0; font-size: 12px; color: var(--ink-2); }
.hardware strong { color: var(--ink); font-weight: 550; }
.hardware ul { display: flex; gap: 26px; padding: 0; list-style: none; }
.rate { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 69px 60px 56px; scroll-margin-top: 20px; }
.rate h2 { font-size: 56px; }
.rate p { margin-top: 9px; color: var(--ink-2); font-size: 14px; }
.rate__start { text-align: right; }
.rate__start p { font-size: 11px; }
.rate .rate__limits { max-width: 31em; margin-top: 12px; font-size: 12px; }
.rate__start { max-width: 23em; }
.home .compare { padding: 0 60px 65px; border: 0; scroll-margin-top: 30px; }
.home .compare > .wrap { width: auto; }
.home .compare h2 { font-family: var(--text); font-size: 19px; letter-spacing: -.025em; font-weight: 550; }
.home .compare__head p { max-width: none; margin-top: 8px; font-size: 12px; }
.home .compare__context { max-width: 70em; margin-top: 7px; color: var(--ink-3); font-size: 11px; }
.home .compare__charts { gap: 35px; margin-top: 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home .cmp { padding: 0; border: 0; border-radius: 0; }
.home .cmp figcaption b { font-size: 14px; font-weight: 550; }
.home .cmp figcaption span { font-size: 11px; }
.home .cmp__rows { gap: 9px; margin-top: 23px; }
.home .cmp__row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  padding: 0;
  border-radius: 0;
  align-items: start;
}
.home .cmp__row.is-us { background: none; }
.home .cmp__name { grid-column: 1; grid-row: 1; }
.home .cmp__name b { font-size: 13px; font-weight: 550; }
.home .cmp__name span { font-size: 11px; line-height: 1.4; margin-top: 2px; }
.home .cmp__bar { grid-column: 1 / -1; grid-row: 2; height: 8px; background: #f1f4f6; }
.home .cmp__bar i { height: 8px; background: #c7d3dd; border-radius: 0 2px 2px 0; }
.home .cmp__row.is-us .cmp__bar i { background: var(--signal); }
.home .cmp__row.is-us .cmp__name b,
.home .cmp__row.is-us .cmp__val b { color: #234cce; }
.home .cmp__val { grid-column: 2; grid-row: 1; max-width: 118px; text-align: right; font-size: 10px; }
.home .cmp__val b { display: block; font-size: 13px; font-weight: 550; font-variant-numeric: tabular-nums; }
.short-job { min-width: 0; margin: 0; }
.short-job figcaption { display: grid; gap: 4px; }
.short-job figcaption b { font-size: 14px; font-weight: 550; }
.short-job figcaption span { color: var(--ink-3); font-size: 11px; }
.short-job table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 12px; }
.short-job thead th { padding: 0 0 11px; color: var(--ink-3); font-size: 10px; font-weight: 400; }
.short-job th { text-align: left; font-weight: 550; }
.short-job th:first-child { width: 48%; padding-right: 10px; }
.short-job td,
.short-job tbody th { padding-top: 14px; padding-bottom: 14px; border-top: 1px solid var(--line); vertical-align: top; }
.short-job th:nth-child(2),
.short-job td:nth-child(2) { white-space: nowrap; padding-right: 12px; color: var(--ink-2); }
.short-job th:last-child,
.short-job td:last-child { text-align: right; }
.short-job td:last-child { font-weight: 550; font-variant-numeric: tabular-nums; }
.short-job td span,
.short-job th span { display: block; margin-top: 2px; color: var(--ink-3); font-size: 10px; font-weight: 400; }
.short-job .is-us th,
.short-job .is-us td { color: #234cce; }
.short-job__note { margin-top: 14px; color: var(--ink-2); font-size: 11px; }
.short-job__note + .short-job__note { margin-top: 8px; color: var(--ink-3); }
.comparison-detail { margin-top: 21px; border-top: 1px solid var(--line); }
.comparison-detail summary { display: flex; justify-content: space-between; padding: 17px 0; list-style: none; font-size: 12px; cursor: pointer; }
.comparison-detail summary::-webkit-details-marker { display: none; }
.comparison-detail summary::after { content: "+"; font-size: 18px; line-height: 1; color: var(--ink-3); }
.comparison-detail[open] summary::after { content: "−"; }
.home .compare__notes { margin: 0 0 25px; padding: 5px 0 0 18px; border: 0; font-size: 11px; gap: 11px; }
.setup { padding: 65px 60px; background: #f6f8fa; scroll-margin-top: 20px; }
.setup__paths { margin-top: 28px; }
.setup__tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); }
.setup__tabs button { padding: 12px 0 15px; border: 0; background: none; color: var(--ink-3); font: 15px var(--text); cursor: pointer; }
.setup__tabs button[aria-selected="true"] { color: var(--ink); box-shadow: 0 2px var(--signal); }
.setup__path { padding-top: 30px; }
.setup__steps { display: grid; grid-template-columns: .8fr 1.2fr; gap: 35px; padding: 0; margin: 0; list-style: none; }
.setup__steps > li { min-width: 0; }
.setup__steps h3 { font-size: 17px; }
.setup__steps h3 span { color: var(--ink-3); margin-right: 5px; }
.setup__steps p { margin-top: 10px; color: var(--ink-2); font-size: 13px; max-width: 35em; }
.setup__steps > li > .btn { margin-top: 22px; }
.setup__steps p code { font: 11px var(--mono); }
.setup__prompt { display: block; width: 100%; margin-top: 20px; padding: 17px 18px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; text-align: left; color: var(--ink-2); font: 12px/1.7 var(--text); cursor: pointer; }
.setup__prompt > span:first-child { overflow-wrap: anywhere; }
.setup__copy { display: block; margin-top: 8px; color: var(--signal); font-size: 11px; }
.setup__workflow { margin-top: 20px; border: 1px solid #cad6df; border-radius: 6px; background: #e9eff4; overflow: hidden; }
.setup__file { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 18px; border-bottom: 1px solid #cad6df; font-size: 11px; }
.setup__file button { padding: 0; border: 0; color: var(--signal); background: none; font: 11px var(--text); cursor: pointer; }
.setup__workflow pre { max-width: 100%; min-width: 0; margin: 0; padding: 18px; color: var(--ink); overflow-x: auto; font: 11px/1.85 var(--mono); }
.setup__workflow pre code { font: inherit; }
.setup__reference { display: inline-block; margin-top: 27px; color: var(--ink-2); font-size: 12px; }
.code-highlight { color: #234cce; font-weight: 500; }
.sidebar-toggle { position: fixed; left: 17px; bottom: 18px; z-index: 30; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink-2); cursor: pointer; }
.sidebar-toggle:hover { border-color: var(--line-strong); background: #f6f8fa; }
.sidebar-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.3; }
@media (min-width: 901px) {
  .home.is-rail-collapsed { --rail-width: 0px; }
  .home.is-rail-collapsed .rail { visibility: hidden; transform: translateX(-100%); }
}
.capabilities { padding: 65px 60px 70px; }
.capabilities h2 { font-size: 43px; }
.capabilities__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 36px; }
.capabilities__list svg { width: 35px; height: 35px; fill: none; stroke: #788f9e; stroke-width: 1.2; }
.capabilities__list h3 { margin-top: 17px; font-size: 15px; }
.capabilities__list p { margin-top: 7px; color: var(--ink-2); font-size: 12px; max-width: 23em; }
.last-word { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px 60px; background: #e6eef4; }
.last-word > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.last-word > div > a + a { font-size: 12px; }
.home .foot { padding: 44px 60px 24px; border: 0; max-width: 1600px; }
.home .foot > .wrap { width: auto; }
.home .foot__grid { grid-template-columns: 1fr 1.6fr; gap: 35px; }
.home .foot .brand { gap: 8px; }
.home .foot .mark { width: 24px; height: 24px; }
.home .foot .brand__word { font-size: 17px; }
.home .foot__brand p,
.home .foot__col a { font-size: 11px; }
.home .foot__head { font-size: 11px; font-weight: 550; }
.home .foot__legal { margin-top: 32px; padding-top: 18px; font-size: 9px; line-height: 1.7; }
@media (min-width: 1700px) {
  .opening { min-height: 660px; padding-inline: 85px; }
}
@media (max-width: 1250px) and (min-width: 901px) {
  .home { --rail-size: 175px; }
  .rail { padding-inline: 22px; }
  .rail__brand { font-size: 29px; gap: 6px; }
  .rail__brand svg { width: 27px; }
  .rail__bottom { font-size: 9px; }
  .opening { padding: 65px 30px 55px 38px; min-height: 550px; }
  .opening h1 { font-size: 72px; }
  .opening__copy > p { font-size: 14px; }
  .opening__actions { gap: 15px; }
  .hardware { padding-inline: 38px; }
  .hardware ul { gap: 15px; }
  .rate,
  .setup,
  .capabilities,
  .last-word,
  .home .foot { padding-inline: 38px; }
  .home .compare { padding-inline: 38px; }
  .home .compare__charts { gap: 25px; }
  .setup__steps { gap: 22px; }
  .setup__workflow pre { font-size: 10px; padding: 16px; }
}
@media (max-width: 900px) {
  .home { --rail-width: 0px; }
  .rail { position: relative; width: 100%; padding: 20px 25px 17px; flex-direction: row; align-items: center; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); gap: 20px; }
  .rail__brand { font-size: 29px; }
  .rail__brand svg { width: 27px; }
  .rail__cloud { display: none; }
  .rail__links { display: flex; gap: 20px; margin: 0 0 0 auto; }
  .rail__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
  .rail__links a:first-child,
  .rail__links a[href="#setup"],
  .rail__links a[data-cta="talk"] { display: none; }
  .rail__login { display: inline-flex; align-items: center; min-height: 44px; margin: 0; font-size: 12px; }
  .setup__tabs button,
  .setup__file button { min-height: 44px; }
  .rail__bottom,
  .sidebar-toggle { display: none; }
  .opening { padding: 60px 35px 55px; min-height: 540px; }
  .opening h1 { font-size: 76px; }
  .opening__copy > p { font-size: 14px; }
  .hardware { padding: 19px 35px; }
  .hardware ul { gap: 16px; }
  .rate,
  .setup,
  .capabilities,
  .last-word,
  .home .foot { padding-inline: 35px; }
  .home .compare { padding-inline: 35px; }
  .home .foot__grid { grid-template-columns: 1fr; gap: 27px; }
  .home .foot__brand p { margin-top: 8px; }
}
@media (max-width: 650px) {
  .rail { padding: 18px 20px; gap: 15px; }
  .rail__brand { font-size: 27px; gap: 5px; }
  .rail__brand svg { width: 24px; height: 27px; }
  .rail__links { gap: 17px; }
  .rail__links a[href="#compare"] { display: none; }
  .rail__login { padding-left: 2px; }
  .opening { grid-template-columns: 1fr; gap: 37px; padding: 43px 24px 27px; }
  .opening h1 { font-size: clamp(64px, 14vw, 85px); }
  .opening__copy > p { margin-top: 20px; font-size: 15px; }
  .opening__actions { margin-top: 22px; gap: 24px; }
  .agent-demo { max-width: 430px; }
  .agent-demo__mac { width: calc(100% - 12px); }
  .hardware { flex-direction: column; align-items: flex-start; gap: 5px; padding: 17px 24px; font-size: 11px; }
  .hardware ul { gap: 22px; color: var(--ink-3); }
  .rate { flex-direction: column; align-items: flex-start; gap: 23px; padding: 42px 24px 37px; }
  .rate h2 { font-size: 51px; }
  .rate p { font-size: 13px; margin-top: 7px; }
  .rate__start { text-align: left; }
  .rate__start p { display: inline; margin-left: 10px; font-size: 10px; }
  .home .compare { padding: 0 24px 38px; }
  .home .compare h2 { font-size: 18px; }
  .home .compare__head p { font-size: 11px; }
  .home .compare__context { font-size: 10px; }
  .home .compare__charts { grid-template-columns: 1fr; gap: 35px; margin-top: 25px; }
  .home .cmp__rows { gap: 12px; margin-top: 20px; }
  .home .cmp__name b { font-size: 13px; }
  .home .cmp__name span { font-size: 11px; }
  .home .cmp__val { font-size: 10px; }
  .home .cmp__val b { font-size: 13px; }
  .comparison-detail summary { padding: 16px 0; }
  .setup { padding: 40px 24px; }
  .setup h2 { font-size: 44px; }
  .setup__steps { grid-template-columns: 1fr; gap: 32px; }
  .setup__steps p { font-size: 12px; }
  .setup__steps h3 { font-size: 16px; }
  .setup__workflow pre { padding: 16px 13px; font-size: 10px; }
  .short-job table { font-size: 12px; }
  .short-job__note { font-size: 11px; }
  .capabilities { padding: 40px 24px; }
  .capabilities h2 { font-size: 38px; max-width: 8em; }
  .capabilities__list { grid-template-columns: 1fr; gap: 26px; margin-top: 27px; }
  .capabilities__list > div { display: grid; grid-template-columns: 39px 1fr; gap: 5px 13px; }
  .capabilities__list svg { grid-row: 1 / 3; width: 30px; height: 30px; }
  .capabilities__list h3 { margin: 0; }
  .capabilities__list p { margin: 0; max-width: none; }
  .last-word { padding: 38px 24px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .last-word h2 { font-size: 48px; }
  .last-word > div { flex-direction: row; align-items: center; gap: 18px; }
  .last-word > div > a + a { font-size: 11px; }
  .home .foot { padding: 35px 24px 22px; }
  .home .foot__cols { gap: 18px; }
  .home .foot__legal { margin-top: 24px; }
}
@media (max-width: 374px) {
  .rail { padding-inline: 16px; gap: 13px; }
  .rail__links { gap: 13px; }
  .rail__brand { font-size: 25px; }
  .rate__start p { display: block; margin: 8px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { scroll-behavior: auto; transition: none; }
}
