:root {
  --ink: #173e32;
  --body: #435b51;
  --pine: #244c3d;
  --sage: #edf3ee;
  --line: #d8e2da;
  --white: #fff;
  --gold: #d8ac6c;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --display:
    "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #a36b26;
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1192px;
  margin-inline: auto;
  padding-inline: 36px;
}
.skip {
  position: fixed;
  top: -70px;
  left: 20px;
  background: #fff;
  padding: 10px 20px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.opening {
  background: var(--sage);
  overflow: hidden;
}
.site-header {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 600;
}
.site-header nav > a:hover {
  color: #8c5c27;
}
.nav-download {
  border: 1px solid #bacbbf;
  padding: 9px 17px;
  border-radius: 9px;
}
.nav-download span {
  margin-left: 12px;
}
.opening:has(.language-picker[open]) {
  overflow: visible;
}
.language-picker {
  position: relative;
  white-space: nowrap;
}
.language-picker summary {
  padding: 9px 4px;
  cursor: pointer;
}
.language-picker ul {
  position: absolute;
  z-index: 10;
  inset-inline-end: 0;
  min-width: 166px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid #c4d3c6;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 24px #204b3a26;
}
.language-picker a {
  display: block;
  padding: 7px 10px;
  border-radius: 5px;
}
.language-picker a:hover,
.language-picker a[aria-current="page"] {
  background: var(--sage);
}
.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 48px 70px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
}
h1 {
  font-size: clamp(48px, 5.1vw, 70px);
  line-height: 1.06;
  letter-spacing: -3.1px;
  margin-bottom: 25px;
}
.hero-copy > p:not(.requirements) {
  font-size: 19px;
  line-height: 1.7;
  color: var(--body);
  max-width: 440px;
  margin-bottom: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 24px;
  background: var(--pine);
  color: white;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 3px 0 #173e32;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: #34634e;
  transform: translateY(-1px);
}
.button > span {
  font-size: 22px;
  line-height: 1;
}
.requirements {
  font-size: 13px;
  line-height: 1.6;
  color: #5b6e62;
  margin-top: 18px;
  margin-bottom: 0;
}
.requirements a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.hero-visual {
  position: relative;
}
.works-with {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d3dfd4;
  padding-block: 25px 31px;
  gap: 28px;
}
.works-with > span {
  font-size: 13px;
  color: #6b7b6d;
  white-space: nowrap;
}
.works-with > div {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 17px;
  font-weight: 600;
  color: #536b58;
}
.features {
  padding-block: 95px 100px;
}
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 48px;
}
h2 {
  font-size: 43px;
  line-height: 1.15;
  letter-spacing: -1.6px;
  margin-bottom: 0;
}
.section-intro > p {
  color: var(--body);
  max-width: 335px;
  margin-bottom: 3px;
  font-size: 17px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.feature-art {
  height: 178px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 24px;
  overflow: hidden;
}
.quota-art {
  background: #eef2ed;
}
.terminal-art {
  background: #f0eee8;
}
.model-art {
  background: #edf0f1;
  flex-direction: column;
  gap: 13px;
}
.feature-grid h3 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin-bottom: 11px;
}
.feature-grid p {
  color: var(--body);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}
.mini-window {
  width: 217px;
  padding: 18px 20px;
  border: 1px solid #d6dfd3;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 12px #294b2910;
  transform: rotate(-3deg);
}
.mini-window > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 13px;
}
.mini-window > span {
  font-size: 10px;
  color: #74836e;
}
.mini-meter {
  background: #e1e9dc;
  height: 6px;
  border-radius: 5px;
  margin-bottom: 6px;
}
.mini-meter i {
  display: block;
  width: 72%;
  height: 100%;
  background: #749372;
  border-radius: 5px;
}
.terminal-window {
  width: 230px;
  border-radius: 8px;
  background: #283e33;
  box-shadow: 0 6px 10px #293b2520;
  transform: rotate(2deg);
}
.terminal-window > div {
  height: 25px;
  display: flex;
  gap: 5px;
  align-items: center;
  border-bottom: 1px solid #ffffff10;
  padding-left: 11px;
}
.terminal-window i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9cae9b;
}
.terminal-window i:first-child {
  background: #e2af8c;
}
.terminal-window i:nth-child(2) {
  background: #d7c080;
}
.terminal-window p {
  font-family: ui-monospace, monospace;
  color: #e6eee1;
  font-size: 12px !important;
  line-height: 2 !important;
  padding: 11px 16px 18px;
  margin: 0;
}
.terminal-window p > span:first-child {
  color: #b7c6ad;
  font-size: 10px;
}
.terminal-window b {
  font-weight: 400;
  color: #d3bd82;
}
.cursor {
  display: inline-block;
  width: 6px;
  height: 12px;
  background: #c5d9be;
  margin-left: 5px;
  vertical-align: middle;
}
.model-chip {
  display: flex;
  align-items: center;
  width: 235px;
  gap: 8px;
  transform: rotate(-3deg);
}
.model-chip > span:not(.connector) {
  font-size: 13px;
  border: 1px solid #ced8d7;
  background: #fafcfb;
  padding: 9px 12px;
  border-radius: 8px;
  box-shadow: 0 3px 5px #32443408;
  white-space: nowrap;
}
.connector {
  height: 1px;
  background: #9db4ad;
  flex: 1;
}
.model-chip.secondary {
  transform: rotate(2deg);
  padding-left: 15px;
  width: 220px;
}
.getting-started {
  background: #f5f7f3;
  padding-block: 76px;
}
.start-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: start;
}
.start-layout > div > p {
  font-size: 17px;
  max-width: 310px;
  color: var(--body);
  margin: 21px 0 0;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: flex;
  gap: 19px;
  position: relative;
  padding-bottom: 28px;
}
.steps li:last-child {
  padding-bottom: 0;
}
.steps li:before {
  content: counter(step);
  flex: 0 0 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #bfcebb;
  background: #f5f7f3;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  z-index: 1;
}
.steps li:not(:last-child):after {
  content: "";
  position: absolute;
  top: 30px;
  left: 15px;
  width: 1px;
  height: calc(100% - 30px);
  background: #d3dfcd;
}
.steps h3 {
  font-size: 20px;
  margin: 0 0 5px;
  line-height: 1.5;
  letter-spacing: -0.3px;
}
.steps p {
  color: var(--body);
  font-size: 16px;
  margin: 0;
  max-width: 380px;
}
.faq {
  padding-block: 96px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 75px;
}
.questions details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
.questions details:first-child {
  padding-top: 0;
}
.questions summary {
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.questions summary::-webkit-details-marker {
  display: none;
}
.questions summary:after {
  content: "+";
  font-size: 25px;
  font-weight: 400;
  color: #6c816c;
}
.questions details[open] summary:after {
  content: "−";
}
.questions details p {
  color: var(--body);
  margin: 13px 30px 1px 0;
  font-size: 16px;
  line-height: 1.75;
}
.download-section {
  padding-bottom: 70px;
}
.download-inner {
  background: var(--sage);
  border-radius: 24px;
  text-align: center;
  padding: 42px 25px 37px;
}
.download-inner > img {
  margin: 0 auto 19px;
}
.download-inner h2 {
  font-size: 46px;
}
.download-inner > p:not(.download-note) {
  font-size: 17px;
  color: var(--body);
  margin: 18px 0 26px;
}
.download-note {
  color: #65755f;
  font-size: 12px;
  line-height: 1.7;
  margin: 20px 0 0;
}
.site-footer {
  padding-block: 0 38px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: #66796b;
}
.site-footer .wordmark {
  font-size: 23px;
  color: var(--ink);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
}
.footer-links a:hover,
.download-note a,
.help-page a {
  text-decoration: underline;
}
.help-page {
  max-width: 820px;
  padding-block: 48px 72px;
}
.help-page h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.1;
}
.help-page h2 {
  margin: 32px 0 8px;
  font-size: 22px;
}
.help-page p,
.help-page ul {
  margin-block: 0 12px;
  color: var(--body);
}
@media (min-width: 1400px) {
  .hero {
    gap: 65px;
  }
}
@media (max-width: 1000px) {
  .hero {
    gap: 25px;
  }
  h1 {
    font-size: 54px;
    letter-spacing: -2.4px;
  }
  .works-with > div {
    gap: 22px;
    font-size: 15px;
  }
  .start-layout {
    gap: 60px;
  }
  .feature-grid {
    gap: 24px;
  }
  .section-intro {
    gap: 30px;
  }
  .feature-art {
    height: 160px;
  }
  .model-chip {
    width: 205px;
  }
  .model-chip.secondary {
    width: 190px;
  }
  .terminal-window {
    width: 205px;
  }
  .mini-window {
    width: 190px;
  }
  .faq {
    gap: 50px;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding-inline: 24px;
  }
  .site-header {
    height: 90px;
  }
  .site-header nav {
    gap: 20px;
  }
  .site-header:not(.help-header) nav > a:not(.nav-download) {
    display: none;
  }
  .wordmark {
    font-size: 26px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 35px;
    padding-bottom: 37px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy > p:not(.requirements) {
    margin-inline: auto;
    max-width: 470px;
    font-size: 18px;
  }
  h1 {
    font-size: 57px;
    letter-spacing: -2.6px;
  }
  .hero-visual {
    max-width: 470px;
    width: 100%;
    margin: auto;
  }
  .works-with {
    display: block;
    text-align: center;
    padding-top: 24px;
  }
  .works-with > div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px 28px;
    margin-top: 17px;
    font-size: 16px;
  }
  .features {
    padding-block: 58px;
  }
  .section-intro {
    display: block;
    text-align: center;
    margin-bottom: 36px;
  }
  h2 {
    font-size: 36px;
    letter-spacing: -1.1px;
  }
  .section-intro > p {
    margin: 20px auto 0;
    max-width: 390px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    max-width: 470px;
    margin: auto;
  }
  .feature-art {
    height: 190px;
    margin-bottom: 19px;
  }
  .feature-grid h3 {
    font-size: 25px;
  }
  .mini-window {
    width: 230px;
  }
  .terminal-window {
    width: 245px;
  }
  .model-chip {
    width: 255px;
  }
  .model-chip.secondary {
    width: 235px;
  }
  .getting-started {
    padding-block: 52px;
  }
  .start-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 520px;
  }
  .start-layout h2 br {
    display: none;
  }
  .start-layout > div > p {
    max-width: 100%;
    margin-top: 15px;
  }
  .faq {
    padding-block: 58px;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 520px;
  }
  .faq h2 br {
    display: none;
  }
  .questions summary {
    font-size: 16px;
  }
  .download-section {
    padding-bottom: 44px;
  }
  .download-inner {
    padding: 32px 20px;
    border-radius: 18px;
  }
  .download-inner > img {
    width: 115px;
  }
  .download-inner h2 {
    font-size: 37px;
  }
  .download-inner > p:not(.download-note) {
    font-size: 16px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 27px;
  }
  .footer-links {
    font-size: 12px;
  }
}
@media (max-width: 520px) {
  .site-header .nav-download {
    display: none;
  }
  .help-header nav {
    gap: 12px;
  }
}
@media (max-width: 380px) {
  .wrap {
    padding-inline: 18px;
  }
  h1 {
    font-size: 48px;
  }
  .wordmark {
    gap: 5px;
  }
  .site-footer {
    gap: 8px;
  }
  .download-inner h2 {
    font-size: 32px;
  }
}
:lang(ja) :is(h1, h2, h3),
:lang(zh) :is(h1, h2, h3) {
  letter-spacing: normal;
  line-height: 1.2;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}

.app-capture {
  margin: 0 auto;
  max-width: 390px;
}
.app-capture img {
  width: 100%;
  border: 1px solid #d3ded5;
  border-radius: 13px;
  box-shadow: 0 20px 50px -22px #204b3a55;
}
.capture-controls {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 13px;
}
.capture-controls button {
  border: 1px solid #c4d3c6;
  border-radius: 7px;
  padding: 7px 12px;
  background: transparent;
  color: #435b51;
  font-size: 13px;
  cursor: pointer;
}
.capture-controls button[aria-pressed="true"] {
  background: #244c3d;
  border-color: #244c3d;
  color: white;
}
.works-with > div > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.works-with > div {
  flex-wrap: wrap;
  gap: 16px 23px;
}
@media (max-width: 760px) {
  .app-capture {
    max-width: 390px;
  }
}
