:root {
  color-scheme: light;
  --page: #faf9f5;
  --surface: #fff;
  --soft: #f0eee6;
  --text: #30302e;
  --muted: #68665f;
  --border: #dedbd2;
  --accent: #a64d32;
  --accent-hover: #873d27;
  --action: #a64d32;
  --tint: #f3e8df;
  --on-action: #fff;
  --header: #faf9f5;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --page: #262624;
  --surface: #30302d;
  --soft: #383833;
  --text: #f5f3eb;
  --muted: #c1bfb5;
  --border: #504e47;
  --accent: #e9b39c;
  --accent-hover: #f3c7b4;
  --action: #e9b39c;
  --tint: #43352e;
  --on-action: #262624;
  --header: #262624;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
button {
  border: 0;
}
section {
  scroll-margin-top: 22px;
}
.text-link:hover {
  color: var(--accent);
}
main {
  max-width: 1208px;
  margin: auto;
  padding: 0 36px;
}
.welcome {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 76px 0 72px;
}
.welcome-note {
  color: var(--action);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(44px, 5.1vw, 70px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 750;
}
h1 span {
  color: var(--accent);
}
.hero-description {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
  margin-top: 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition:
    background 0.18s ease-out,
    transform 0.18s ease-out;
}
.primary-button {
  background: var(--action);
  color: var(--on-action);
}
.primary-button:hover {
  transform: translateY(-2px);
}
.secondary-button {
  border: 1px solid var(--border);
  background: var(--surface);
  white-space: nowrap;
}
.secondary-button:hover {
  background: var(--soft);
}
.text-link {
  font-size: 14px;
  font-weight: 600;
}
.setup-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 30px;
}
h2 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.section-heading > p {
  font-size: 15px;
  color: var(--muted);
  max-width: 330px;
}
.getting-started {
  padding: 78px 0 60px;
}
.beginner-steps {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 40px 0 38px;
  padding: 0;
}
.beginner-steps li {
  flex: 1;
  display: flex;
  gap: 17px;
}
.step-number {
  flex-shrink: 0;
  font-size: 19px;
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--action);
}
h3 {
  font-size: 19px;
  margin: 2px 0 10px;
}
.beginner-steps p {
  color: var(--muted);
  font-size: 14px;
  min-height: 76px;
}
.beginner-steps a {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 44px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.help-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--soft);
  padding: 24px 28px;
  border-radius: 8px;
}
.help-strip strong,
.help-strip div > span {
  display: block;
}
.help-strip div > span {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.compatibility-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  padding-bottom: 22px;
}
.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--action);
}
.is-error .signal-dot {
  background: var(--accent);
}
.site-footer {
  max-width: 1208px;
  margin: auto;
  padding: 24px 36px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 10px);
  background: var(--text);
  color: var(--page);
  padding: 12px 22px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out;
  z-index: 20;
  max-width: 90vw;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1100px) {
  .welcome {
    gap: 35px;
  }
  .beginner-steps {
    gap: 20px;
  }
  .beginner-steps li {
    gap: 12px;
  }
}
@media (max-width: 1000px) {
  .welcome {
    gap: 28px;
    padding-top: 50px;
  }
  .beginner-steps {
    flex-direction: column;
    gap: 24px;
  }
  .beginner-steps p {
    min-height: 0;
  }
  .beginner-steps h3 {
    margin-bottom: 5px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 85px;
  }
  main {
    padding: 0 22px;
  }
  .welcome {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 40px 0 45px;
  }
  .welcome-note {
    font-size: 14px;
    margin-bottom: 17px;
  }
  h1 {
    font-size: 54px;
  }
  .hero-description {
    font-size: 16px;
    margin-top: 20px;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    gap: 19px;
    margin-top: 23px;
  }
  .primary-button {
    padding: 12px 16px;
    gap: 14px;
  }
  .text-link {
    font-size: 13px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 16px;
    max-width: none;
  }
  .getting-started {
    padding: 45px 0 38px;
  }
  .beginner-steps {
    margin: 28px 0;
  }
  .help-strip {
    align-items: start;
    flex-direction: column;
    padding: 22px;
  }
  .site-footer {
    padding: 20px 22px;
    font-size: 11px;
    flex-wrap: wrap;
  }
  .compatibility-strip {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
:root {
  --page: #faf9f5;
  --header: #faf9f5;
  --soft: #f0eee6;
}
html[data-theme="dark"] {
  --page: #262624;
  --header: #262624;
  --soft: #383833;
}
.welcome {
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  padding: 72px 0;
}
h1 {
  font-size: clamp(38px, 4.1vw, 56px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}
h1 span {
  color: var(--action);
}
.hero-description {
  font-size: 16px;
  max-width: 480px;
}
.tools-section {
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
}
.tool-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.tool-entry {
  min-width: 0;
  padding: 27px 25px;
  transition: background 0.18s ease-out;
}
.tool-entry:first-child {
  border-radius: 12px 0 0 12px;
}
.tool-entry:last-child {
  border-radius: 0 12px 12px 0;
}
.tool-entry + .tool-entry {
  border-left: 1px solid var(--border);
}
.tool-entry:hover {
  background: var(--tint);
}
.tool-name {
  display: flex;
  align-items: center;
  gap: 13px;
}
.tool-name strong {
  display: block;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.tool-name small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.tool-symbol {
  width: 36px;
  text-align: center;
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}
.codex-symbol {
  color: var(--action);
}
.cherry-symbol {
  font-size: 29px;
}
.tool-arrow {
  margin-left: auto;
  color: var(--muted);
}
.tool-entry > p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 22px;
  min-height: 48px;
}
.tool-hint {
  margin: 24px 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.tool-hint > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.tool-hint strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin: 8px 0;
}
.tool-hint small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.tool-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--action);
  font-size: 14px;
  font-weight: 600;
}
.tools-footnote {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 18px 0;
  font-size: 12px;
  color: var(--muted);
}
.tools-footnote a {
  color: var(--action);
  font-weight: 600;
}
.getting-started {
  padding-top: 52px;
}
@media (max-width: 1000px) {
  .welcome {
    gap: 28px;
  }
  .tool-entry {
    padding: 22px 18px;
  }
  .tool-name {
    gap: 9px;
  }
  .tool-name strong {
    font-size: 18px;
  }
  .tool-name .tool-arrow {
    display: none;
  }
}
@media (max-width: 760px) {
  .welcome {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 38px 0 40px;
  }
  h1 {
    font-size: clamp(32px, 7vw, 46px);
  }
  .welcome-note {
    margin-bottom: 16px;
  }
  .hero-description {
    margin-top: 18px;
  }
  .tool-list {
    grid-template-columns: 1fr;
  }
  .tool-entry {
    padding: 24px;
  }
  .tool-entry + .tool-entry {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .tool-entry:first-child {
    border-radius: 12px 12px 0 0;
  }
  .tool-entry:last-child {
    border-radius: 0 0 12px 12px;
  }
  .tool-name strong {
    font-size: 22px;
  }
  .tool-name .tool-arrow {
    display: block;
  }
  .tool-entry > p {
    min-height: 0;
    margin-top: 16px;
  }
  .tool-hint {
    margin: 18px 0;
  }
  .tool-name {
    gap: 13px;
  }
  .tools-section {
    padding-top: 32px;
  }
  .getting-started {
    padding-top: 28px;
  }
}
@media (max-width: 360px) {
}

/* Claude-inspired content treatment; the original navigation is isolated separately. */
.welcome-note {
  color: var(--muted);
  font-weight: 500;
}
h1 {
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
h1 span {
  color: var(--text);
}
h2 {
  font-weight: 550;
}
.primary-button {
  border-radius: 7px;
}
.primary-button:hover {
  transform: none;
  background: var(--accent-hover);
}
.tool-list {
  border: 0;
  background: transparent;
  gap: 18px;
}
.tool-entry {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 25px;
}
.tool-entry:first-child,
.tool-entry:last-child {
  border-radius: 10px;
}
.tool-entry:hover {
  background: var(--soft);
  border-color: var(--muted);
}
.tool-name strong {
  font-size: 20px;
  font-weight: 600;
}
.tool-name small {
  display: inline-block;
  margin-top: 5px;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--soft);
}
.tool-hint {
  border-top: 0;
  padding: 14px 0 0;
  margin: 14px 0 22px;
}
.tool-hint > span {
  color: var(--muted);
}
.tool-cta {
  border-top: 1px solid var(--border);
  padding-top: 17px;
  color: var(--text);
}
.step-number {
  background: var(--soft);
  border: 0;
  color: var(--muted);
  font-family: Georgia, serif;
}
.help-strip {
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 25px 0;
}
.help-strip strong {
  font-weight: 550;
}
@media (max-width: 760px) {
  .tool-list {
    gap: 14px;
  }
  .tool-entry {
    padding: 23px;
  }
}
@media (max-width: 360px) {
}
/* A compact price reminder leaves the hero's main display for model routing. */
.welcome {
  grid-template-columns: 1fr 1.13fr;
  gap: 42px;
}
.credit-compact {
  margin-top: 24px;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  max-width: 370px;
}
.credit-compact strong {
  display: block;
  color: var(--accent);
  font-size: 28px;
  line-height: 1.35;
  font-weight: 600;
}
.credit-compact strong > span {
  padding: 0 6px;
  color: var(--muted);
  font-size: 20px;
}
.credit-compact small {
  font-size: 14px;
  font-weight: 500;
}
.credit-compact > span,
.credit-compact p {
  font-size: 12px;
  color: var(--muted);
}
.credit-compact > span {
  display: block;
  margin-top: 5px;
}
.credit-compact p {
  margin-top: 3px;
}
.credit-compact a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.route-panel {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  min-width: 0;
}
.route-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.route-heading h2 {
  font-size: 20px;
  font-weight: 550;
}
.route-heading > span {
  font-size: 11px;
  color: var(--muted);
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--soft);
}
.route-intro {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.route-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}
.route-clients button {
  padding: 9px 11px;
  min-height: 42px;
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  transition: background 0.18s ease-out;
}
.route-clients button[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--tint);
}
.route-clients button:hover {
  background: var(--soft);
}
.route-diagram {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: center;
  margin: 32px 0;
  min-height: 132px;
}
.route-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 0;
}
.route-node strong {
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.route-caption,
.route-node small {
  font-size: 11px;
  color: var(--muted);
}
.route-node img {
  object-fit: contain;
}
.route-node img[hidden] {
  display: none;
}
.route-hub {
  padding: 15px 5px;
  background: var(--soft);
  border-radius: 9px;
}
.route-hub strong {
  color: var(--accent);
  font-size: 17px;
}
.route-connector {
  color: var(--accent);
  font-size: 21px;
  text-align: center;
}
.route-readout {
  border-top: 1px solid var(--border);
  padding-top: 17px;
  min-height: 86px;
}
.route-readout p {
  font-size: 13px;
  font-weight: 600;
}
.route-readout > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.route-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
}
.route-bottom > span {
  max-width: 290px;
  color: var(--muted);
  font-size: 11px;
}
.route-bottom > a {
  flex-shrink: 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.model-support {
  padding: 30px 0 35px;
  border-top: 1px solid var(--border);
}
.model-support-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.model-support-heading h2 {
  font-size: 23px;
}
.model-support-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.model-brands {
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
  padding: 0;
  margin: 27px 0 0;
}
.model-brands li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 550;
}
.model-brands img {
  object-fit: contain;
}
html[data-theme="dark"] .model-brands img[src$="openai.svg"],
html[data-theme="dark"] .model-brands img[src$="xai.svg"],
html[data-theme="dark"] .route-models img[src$="openai.svg"],
html[data-theme="dark"] .route-models img[src$="xai.svg"] {
  filter: invert(1);
}
@media (max-width: 1000px) {
  .welcome {
    gap: 26px;
  }
  .route-panel {
    padding: 21px;
  }
  .route-diagram {
    grid-template-columns: 1fr 20px 1fr 20px 1fr;
  }
}
@media (max-width: 760px) {
  .welcome {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .route-panel {
    padding: 22px;
  }
  .route-diagram {
    margin: 25px 0;
  }
  .model-support-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .model-brands {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 12px;
  }
  .model-brands li {
    font-size: 14px;
    gap: 7px;
  }
  .model-brands img {
    width: 23px;
    height: 23px;
  }
}
@media (max-width: 360px) {
  .route-panel {
    padding: 16px;
  }
  .route-heading h2 {
    font-size: 18px;
  }
  .route-clients {
    gap: 5px;
  }
  .route-clients button {
    padding: 8px;
    font-size: 11px;
  }
  .route-node strong {
    font-size: 12px;
  }
  .route-hub strong {
    font-size: 15px;
  }
  .model-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.route-diagram {
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(
      110px,
      1.1fr
    );
}
.route-targets {
  min-width: 0;
}
.route-targets > .route-caption {
  display: block;
  margin-bottom: 10px;
}
.route-models {
  display: flex;
  flex-direction: column;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.route-models li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: 13px;
  font-weight: 550;
}
.route-models img {
  flex-shrink: 0;
  object-fit: contain;
}
@media (max-width: 760px) {
  .route-diagram {
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(
        85px,
        1.1fr
      );
  }
  .route-models li {
    font-size: 12px;
    gap: 6px;
  }
}
@media (max-width: 360px) {
  .route-diagram {
    grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) 14px minmax(
        76px,
        1.1fr
      );
  }
  .route-models img {
    width: 17px;
    height: 17px;
  }
}
