:root {
  --ink: #282426;
  --muted: #6f6866;
  --orange: #ff6b4a;
  --orange-2: #ffb4a2;
  --line: rgba(255, 111, 88, 0.16);
  --soft-line: rgba(65, 45, 39, 0.08);
  --green: #00bf7a;
  --blue: #176bff;
  --nav-height: 64px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 107, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 74, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 80% 4%, rgba(255, 107, 74, 0.16), transparent 27%),
    radial-gradient(circle at 24% 48%, rgba(255, 107, 74, 0.08), transparent 30%),
    linear-gradient(180deg, #fffcfb 0%, #fffaf8 54%, #ffffff 100%);
  background-size: 30px 30px, 30px 30px, auto, auto, auto;
  letter-spacing: 0;
}

body.notice-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(47, 37, 34, 0.06);
  background: rgba(255, 250, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #2d2a29;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand img {
  width: 33px;
  height: 33px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0;
  color: #242021;
  font-size: 16px;
  font-weight: 800;
}

.main-nav a {
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--orange);
}

.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-button {
  position: relative;
  width: 24px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #302b2c;
}

.icon-button strong {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff412f;
  color: #ffffff;
  font-size: 12px;
  line-height: 18px;
}

.icon-bell,
.icon-monitor,
.mail-icon,
.lock-icon,
.eye-icon,
.doc-icon,
.chat-icon {
  display: inline-block;
  position: relative;
}

.icon-bell {
  width: 15px;
  height: 15px;
  border: 1.8px solid currentColor;
  border-radius: 8px 8px 5px 5px;
}

.icon-bell::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -5px;
  width: 5px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.icon-monitor {
  width: 16px;
  height: 12px;
  border: 1.8px solid currentColor;
  border-radius: 3px;
}

.icon-monitor::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: -6px;
  width: 6px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.icon-language {
  font-size: 18px;
  font-weight: 850;
}

.login-link {
  background: transparent;
  color: #2d2829;
  font-size: 14px;
  font-weight: 650;
}

.register-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 33px;
  border-radius: 2px;
  background: #1167ff;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.menu-button span {
  width: 19px;
  height: 2px;
  border-radius: 99px;
  background: #292526;
}

.hero-shell {
  position: relative;
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  grid-template-columns: minmax(430px, 0.92fr) minmax(600px, 1fr);
  align-items: center;
  gap: 42px;
  overflow: hidden;
  padding: 126px 20px 134px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 730px;
  transform: translateY(-28px);
}

.tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 27px;
  padding: 0 13px;
  border: 1px solid var(--orange-2);
  border-radius: 999px;
  background: #fff0ec;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 9px rgba(255, 107, 74, 0.26);
}

.tag span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-content h1 {
  margin: 16px 0 0;
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-content h1 span,
.hero-content h1 strong {
  display: block;
}

.hero-content h1 span {
  color: #282426;
}

.hero-content h1 strong {
  color: var(--orange);
}

.lead {
  max-width: 560px;
  margin: 34px 0 0;
  color: #6d6665;
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.ghost-action,
.outline-action {
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 8px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 850;
}

.primary-action {
  min-width: 148px;
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 15px 34px rgba(255, 101, 76, 0.28);
}

.ghost-action {
  min-width: 156px;
  border: 1px solid rgba(60, 44, 39, 0.12);
  background: rgba(255, 255, 255, 0.55);
  color: #3e3838;
}

.outline-action {
  min-width: 156px;
  border: 1px solid rgba(255, 101, 76, 0.28);
  background: rgba(255, 247, 244, 0.75);
  color: var(--orange);
}

.doc-icon {
  width: 15px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.doc-icon::before,
.doc-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  width: 7px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.doc-icon::before {
  top: 5px;
}

.doc-icon::after {
  top: 10px;
}

.chat-icon {
  width: 19px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 9px;
}

.chat-icon::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: -5px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-18deg);
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  color: #5d5a58;
  font-size: 14px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row i {
  width: 17px;
  height: 17px;
  border: 2px solid var(--green);
  border-radius: 50%;
  position: relative;
}

.trust-row i::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(42deg);
}

.hero-stage {
  position: relative;
  min-height: 520px;
}

.model-flow {
  position: relative;
  height: 520px;
}

.model-card {
  position: absolute;
  left: 4%;
  z-index: 4;
  width: 176px;
  height: 66px;
  display: grid;
  grid-template-columns: 48px 1fr 9px;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 14px;
  border: 1px solid rgba(43, 31, 27, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 24px rgba(53, 38, 34, 0.08);
}

.card-openai {
  top: 74px;
}

.card-anthropic {
  top: 196px;
}

.card-google {
  top: 318px;
}

.model-logo {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 28px;
  font-weight: 900;
}

.openai-mark {
  color: #08bd82;
  background: #dffaf0;
}

.anth-mark {
  color: #ef744e;
  background: #fff0e4;
}

.google-mark {
  color: #4e76ff;
  background: #eaf2ff;
}

.model-card small {
  display: block;
  color: #9b918e;
  font-size: 11px;
  font-weight: 800;
}

.model-card b {
  display: block;
  margin-top: 3px;
  color: #2b2829;
  font-size: 17px;
}

.model-card i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8ee2c6;
}

.hub-node {
  position: absolute;
  left: 40%;
  top: 176px;
  z-index: 5;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 26px 44px rgba(255, 100, 76, 0.18);
  color: #2c292a;
  font-size: 30px;
  font-weight: 950;
}

.line,
.curve {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.line {
  height: 2px;
  background: rgba(255, 101, 76, 0.55);
  transform-origin: left center;
}

.line-a {
  left: 206px;
  top: 110px;
  width: 178px;
  transform: rotate(33deg);
}

.line-b {
  left: 206px;
  top: 232px;
  width: 245px;
}

.line-c {
  left: 206px;
  top: 354px;
  width: 175px;
  transform: rotate(-34deg);
}

.curve {
  left: 354px;
  top: 156px;
  width: 132px;
  height: 126px;
  border: 2px solid rgba(255, 101, 76, 0.34);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 120px 0 0;
  transform: rotate(-13deg);
}

.curve-b {
  top: 232px;
  transform: rotate(74deg);
}

.terminal {
  position: absolute;
  top: 92px;
  left: 66%;
  width: 352px;
  height: 259px;
  overflow: hidden;
  border: 9px solid #202327;
  border-radius: 12px;
  background: #101115;
  box-shadow: 0 24px 34px rgba(20, 20, 22, 0.22);
}

.terminal::after {
  content: "";
  position: absolute;
  left: 120px;
  bottom: -50px;
  width: 150px;
  height: 50px;
  border-radius: 0 0 10px 10px;
  background: #202327;
  box-shadow: 0 12px 0 -6px #202327;
}

.terminal-top {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: #1b1d21;
}

.terminal-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.terminal-top span:nth-child(1) {
  background: #ff5f56;
}

.terminal-top span:nth-child(2) {
  background: #ffbd2e;
}

.terminal-top span:nth-child(3) {
  background: #27c93f;
}

.terminal-top em {
  margin-left: auto;
  color: #747b87;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-style: normal;
}

.terminal pre {
  margin: 0;
  padding: 19px 24px;
  color: #dedede;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
}

.terminal code {
  white-space: pre-wrap;
}

.terminal code::first-line {
  color: #f6a30f;
}

.login-panel {
  display: none;
  position: absolute;
  right: 0;
  top: 70px;
  z-index: 8;
  width: min(440px, 100%);
  padding: 28px 29px 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 54px rgba(69, 44, 37, 0.12);
  backdrop-filter: blur(18px);
}

body.login-mode .model-flow {
  opacity: 0;
  pointer-events: none;
}

body.login-mode .login-panel {
  display: block;
}

body.login-mode .hero-content {
  transform: translateY(-34px);
}

body.login-mode .hero-actions {
  display: none;
}

.login-panel h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 950;
}

.login-panel > p {
  margin: 9px 0 26px;
  color: #756d6a;
  font-size: 14px;
}

.login-panel form {
  display: grid;
  gap: 15px;
}

.login-panel label {
  display: grid;
  gap: 9px;
  color: #2c2829;
  font-size: 14px;
  font-weight: 850;
}

.input-wrap {
  height: 49px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(60, 43, 36, 0.14);
  border-radius: 10px;
  background: rgba(255, 250, 247, 0.78);
  padding: 0 13px;
}

.input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #2c2829;
  font-size: 14px;
}

.mail-icon {
  width: 14px;
  height: 11px;
  border: 2px solid #807775;
  border-radius: 2px;
}

.mail-icon::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #807775;
  border-bottom: 2px solid #807775;
  transform: rotate(45deg) translate(-1px, -6px);
}

.lock-icon {
  width: 13px;
  height: 12px;
  border-radius: 2px;
  background: #807775;
}

.lock-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -7px;
  width: 9px;
  height: 9px;
  border: 2px solid #807775;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.eye-icon {
  width: 17px;
  height: 12px;
  border: 2px solid #807775;
  border-radius: 50%;
}

.eye-icon::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 5px;
  width: 20px;
  height: 2px;
  background: #807775;
  transform: rotate(-38deg);
}

.continue-button,
.forgot-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
}

.continue-button {
  margin-top: 5px;
  background: linear-gradient(135deg, var(--orange), #ff855f);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(255, 107, 74, 0.2);
}

.forgot-button {
  border: 1px solid rgba(60, 43, 36, 0.14);
  background: rgba(239, 233, 230, 0.75);
  color: #6b615f;
}

.login-foot {
  margin: 24px 0 0;
  text-align: center;
  color: #756d6a;
  font-size: 14px;
}

.login-foot a {
  color: var(--orange);
  font-weight: 850;
}

.below-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 82px 20px;
  border-top: 1px solid rgba(45, 35, 32, 0.06);
  background: #fffdfc;
}

.below-section.soft {
  background: #fff7f4;
}

.below-section > div,
.below-section > code,
.contact-copy {
  max-width: 1080px;
}

.below-section p {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 850;
}

.below-section h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
}

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

.mini-cards article {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(58, 43, 38, 0.08);
  border-radius: 10px;
  background: #ffffff;
}

.mini-cards span,
.contact-copy {
  color: #706866;
  font-size: 14px;
  line-height: 1.7;
}

.below-section code {
  display: block;
  padding: 20px;
  border-radius: 10px;
  background: #151619;
  color: #f3f3f3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.mobile-panel {
  position: fixed;
  top: var(--nav-height);
  right: 14px;
  z-index: 80;
  width: min(260px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid rgba(45, 35, 32, 0.09);
  border-radius: 10px;
  background: #fffdfc;
  box-shadow: 0 22px 48px rgba(44, 33, 30, 0.15);
}

.mobile-panel a,
.mobile-panel button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: transparent;
  padding: 0 12px;
  color: #2d292a;
  font-weight: 780;
}

.mobile-panel a:hover,
.mobile-panel button:hover {
  background: #fff2ee;
}

.notice-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: start center;
  padding: 80px 24px 24px;
  background: rgba(74, 55, 51, 0.28);
  backdrop-filter: blur(8px);
}

.notice-modal {
  position: relative;
  width: min(920px, 100%);
  min-height: 206px;
  padding: 28px 26px 24px;
  border-radius: 14px;
  background: rgba(255, 253, 251, 0.95);
  box-shadow: 0 30px 80px rgba(45, 33, 29, 0.18);
}

.notice-close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 24px;
  height: 24px;
  background: transparent;
  color: #5b5553;
  font-size: 28px;
  line-height: 20px;
}

.notice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-right: 36px;
}

.notice-head h2 {
  margin: 0;
  font-size: 22px;
}

.notice-head > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.notice-tab {
  min-height: 35px;
  border-radius: 8px;
  padding: 0 12px;
  background: transparent;
  color: #746d6b;
  font-size: 14px;
  font-weight: 750;
}

.notice-tab.active {
  border: 1px solid #1680ff;
  background: #ffffff;
  color: #1680ff;
}

.notice-modal p {
  margin: 28px 0 0;
  color: #393434;
  font-size: 14px;
  line-height: 1.65;
}

.notice-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}

.notice-actions button {
  min-height: 32px;
  border-radius: 8px;
  padding: 0 14px;
  background: #f3efed;
  color: #1781ff;
  font-size: 14px;
  font-weight: 850;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  .model-card,
  .hub-node,
  .terminal {
    animation: floaty 6s ease-in-out infinite;
  }

  .card-anthropic,
  .hub-node {
    animation-delay: -1.8s;
  }

  .card-google,
  .terminal {
    animation-delay: -3.1s;
  }
}

@keyframes floaty {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@media (max-width: 1180px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 92px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .model-flow {
    height: 420px;
  }

  .terminal {
    left: 58%;
    width: 370px;
  }

  .login-panel {
    left: 50%;
    right: auto;
    top: 22px;
    transform: translateX(-50%);
  }
}

@media (max-width: 920px) {
  .main-nav,
  .header-tools {
    display: none;
  }

  .site-header {
    justify-content: space-between;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero-content h1 {
    font-size: 58px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-stage {
    min-height: 560px;
  }

  .model-flow {
    height: 540px;
  }

  .model-card {
    left: 2%;
  }

  .hub-node {
    left: 42%;
  }

  .terminal {
    top: 352px;
    left: 50%;
    width: min(420px, 92vw);
    transform: translateX(-50%);
  }

  .line-a,
  .line-b,
  .line-c,
  .curve {
    display: none;
  }

  .below-section {
    grid-template-columns: 1fr;
  }

  .mini-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 58px;
  }

  .site-header {
    height: var(--nav-height);
  }

  .hero-shell {
    min-height: calc(100svh - var(--nav-height));
    padding: 78px 16px 80px;
  }

  .hero-content h1 {
    font-size: 43px;
  }

  .tag {
    max-width: 100%;
    font-size: 12px;
  }

  .lead {
    margin-top: 24px;
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .primary-action,
  .ghost-action,
  .outline-action {
    width: 100%;
    min-height: 49px;
  }

  .trust-row {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-stage {
    min-height: 620px;
  }

  .model-card {
    width: 178px;
    grid-template-columns: 42px 1fr 8px;
  }

  .model-logo {
    width: 42px;
    height: 42px;
  }

  .hub-node {
    left: auto;
    right: 5%;
    top: 168px;
    width: 104px;
    height: 104px;
  }

  .terminal {
    top: 348px;
    height: 236px;
  }

  .terminal pre {
    padding: 16px;
    font-size: 12px;
  }

  .login-panel {
    width: 100%;
    padding: 24px 20px;
    border-radius: 22px;
  }

  .login-panel h2 {
    font-size: 32px;
  }

  .notice-backdrop {
    padding: 68px 14px 14px;
  }

  .notice-modal {
    min-height: 0;
    padding: 22px 18px 18px;
  }

  .notice-head {
    display: block;
    padding-right: 26px;
  }

  .notice-head > div {
    margin-top: 14px;
  }

  .notice-actions {
    flex-wrap: wrap;
  }

  .notice-actions button {
    flex: 1 1 120px;
  }
}
