/* Homepage refresh and browser annotations, 2026-10-03. */
@font-face { font-family: Inter; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
.homepage {
  --paper: #fcfcfb;
  --card: #fff;
  --ink: #111110;
  --soft: #62615e;
  --line: #e6e5e2;
  --faint: #888681;
  --display: Georgia, "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --site-gutter: 40px;
  font-family: var(--body);
  font-weight: 400;
}
.homepage .nav-item, .homepage .btn { font-weight: 400; }
.homepage .nav-item { font-size: 14px; }
.homepage .entry-primary { font-weight: 500; }
.homepage .nav { padding-inline: var(--site-gutter); }
.homepage .nav-inner { max-width: 1440px; padding-inline: 0; }
.homepage .nav-links { margin-left: auto; margin-right: 20px; }
.homepage button, .homepage input { font: inherit; }
.homepage button { cursor: pointer; }
.homepage [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.homepage a, .homepage summary { -webkit-tap-highlight-color: transparent; }
.homepage :is(a, summary, button, input):focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 5px;
}
.homepage :is(#top, #environment, #faq, #login) { scroll-margin-top: 88px; }
.homepage .hero { padding: 23px 40px 0; text-align: center; }
.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.hero-copy { padding: 28px 0 8px; }
.homepage .hero-title {
  margin: 0;
  max-width: none;
  font-family: var(--display);
  font-size: clamp(42px, 3.5vw, 56px);
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.15;
}
.hero-subtitle {
  margin: 17px 0 31px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}
.hero-title span { display: inline-block; white-space: nowrap; }
.section-heading h2 span { display: inline-block; white-space: nowrap; }
.start-card {
  width: min(100%, 448px);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: 0 8px 28px rgb(0 0 0 / 3%);
}
.start-card h2 { font-family: var(--display); font-size: 24px; font-weight: 400; line-height: 1.4; margin: 0 0 22px; }
.start-card input { width: 100%; min-height: 42px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 15px; line-height: 1.5; }
.start-card input::placeholder { color: #8a8781; }
.password-field { position: relative; margin: 12px 0 17px; }
.password-field input { padding-right: 60px; }
.password-field button { position: absolute; right: 8px; top: 7px; border: 0; background: transparent; color: var(--soft); font-size: 12px; min-height: 28px; padding: 4px 7px; border-radius: 5px; }
.auth-message { text-align: left; color: #9b3529; font-size: 13px; line-height: 1.6; margin: 0 0 12px; }
#account-toggle { padding: 0; border: 0; color: var(--ink); background: transparent; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.login-guide { display: inline-block; margin-top: 20px; color: var(--soft); font-size: 12px; }
.entry-primary { cursor: pointer; font-weight: 400; }
.entry-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 41px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 2px 2px rgb(0 0 0 / 2%);
  transition: background .18s, border-color .18s;
}
.entry-link + .entry-link { margin-top: 12px; }
.entry-link:hover { background: #f2f1ee; border-color: #ceccc6; }
.entry-link img { flex: 0 0 auto; }
.entry-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 10px;
  font-size: 12px;
  color: var(--soft);
}
.entry-divider::before, .entry-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.entry-description { margin: 0 0 17px; color: var(--soft); font-size: 14px; line-height: 1.8; }
.entry-primary, .card-button { background: #0c0c0c; border-color: #0c0c0c; color: #fff; }
.entry-primary:hover, .card-button:hover { background: #30302f; border-color: #30302f; }
.entry-note { margin: 9px 0 0; color: #73716c; font-size: 11.5px; line-height: 1.6; }
.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 23px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 2px 2px rgb(0 0 0 / 2%);
  transition: background .18s;
}
.demo-link:hover { background: #f2f1ee; }
.hero-visual { position: relative; align-self: stretch; min-width: 0; }
.research-video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 586 / 724;
  max-height: 760px;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 18px;
}
.homepage .env { padding: 76px 40px 56px; }
.section-heading { margin: 0 auto 32px; text-align: center; }
.section-kicker { margin: 0 0 12px; color: var(--soft); font-size: 13px; letter-spacing: .08em; }
.homepage .env-title, .section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: normal;
}
.section-heading > p:last-child:not(.section-kicker) { margin: 13px 0 0; color: var(--soft); font-size: 16px; }
.homepage .env-grid { max-width: 1440px; gap: 32px; }
.homepage .env-card {
  padding: 26px 28px;
  border-radius: 25px;
  text-align: left;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.homepage .env-card-featured { border-color: #d3deec; box-shadow: 0 4px 16px rgb(39 53 77 / 4%); }
.capability-icon { display: block; width: 42px; height: 42px; margin: 0 0 16px; object-fit: contain; }
.env-card h3 { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1.2; }
.card-subtitle { margin: 5px 0 18px; color: var(--ink); font-size: 14px; line-height: 1.5; min-height: 23px; }
.card-metric { margin-bottom: 18px; display: flex; align-items: baseline; gap: 9px; font-size: 17px; line-height: 1.4; }
.card-metric strong { font-size: 25px; font-weight: 600; letter-spacing: -.02em; }
.card-metric span { font-size: 15px; }
.card-note { margin: 3px 0 18px; color: #77746f; font-size: 13px; line-height: 1.5; min-height: 20px; }
.card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 41px;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  transition: background .18s;
}
.card-details { margin-top: 19px; padding-top: 17px; border-top: 1px solid var(--line); }
.card-details h4 { margin: 0 0 13px; font-size: 13px; font-weight: 600; line-height: 1.6; }
.homepage .env-card ul { margin: 0; gap: 9px; font-size: 14px; line-height: 1.6; }
.homepage .env-card li { display: flex; align-items: flex-start; gap: 10px; }
.homepage .env-card li::before { content: none; }
.env-card li img { flex: 0 0 20px; margin-top: 2px; }
.environment-note { margin: 26px 0 0; color: #77746f; text-align: center; font-size: 12px; }
.homepage .film { padding: 40px 40px 0; }
.homepage .film .wrap { max-width: 1180px; padding: 0; }
.homepage .film video { border-radius: 20px; box-shadow: none; }
.homepage .essay { max-width: 860px; margin-top: 64px; }
.homepage .essay h3 { margin: 42px 0 20px; font-family: var(--display); font-size: 29px; font-weight: 400; }
.homepage .essay p { color: var(--soft); }
.homepage .faq { padding: 28px var(--site-gutter) 48px; }
.homepage .faq h2 { margin-bottom: 24px; font-size: 30px; line-height: 1.2; }
.homepage .faq h2, .homepage .cta h2 { font-family: var(--display); font-weight: 400; color: var(--ink); }
.homepage .faq-list summary { font-weight: 500; font-size: 16px; line-height: 1.5; padding: 12px 4px; min-height: 52px; }
.homepage .faq-list summary::after { font-size: 22px; line-height: 1; }
.homepage .faq-list .a { font-size: 15px; line-height: 1.65; padding-bottom: 16px; }
.homepage .cta { padding-bottom: 100px; }
.homepage .cta .btn-ghost { border-color: var(--line); background: transparent; }
.homepage .btn-ghost:hover { background: #f2f1ee; }
.homepage footer { background: #0c0c0c; color: #fff; border-top: 0; padding-top: 44px; }
.homepage .foot-brand p, .homepage .foot-col h4, .homepage .foot-col a, .homepage .foot-bottom { color: #e3e2df; }
.homepage .foot-col a:hover { color: #fff; text-decoration: underline; }
.homepage .foot-bottom { border-color: #343434; }
@media (min-width: 1600px) { .hero-inner { gap: 80px; } }
@media (max-width: 1100px) and (min-width: 901px) {
  .homepage { --site-gutter: 28px; }
  .hero-inner { gap: 36px; grid-template-columns: 1.1fr 1fr; }
  .homepage .hero { padding-inline: 28px; }
  .hero-copy { padding-block: 18px; }
  .homepage .hero-title { font-size: 46px; }
  .hero-subtitle { font-size: 18px; margin-bottom: 22px; }
  .start-card { padding: 22px; border-radius: 25px; }
  .research-video { min-height: 610px; }
  .homepage .env { padding-inline: 28px; }
  .homepage .env-grid { gap: 20px; }
  .homepage .env-card { padding-inline: 23px; }
  .card-subtitle { min-height: 46px; }
}
@media (max-width: 900px) {
  .homepage { --site-gutter: 24px; }
  .homepage .nav-inner { max-width: 600px; }
  .homepage .hero { padding: 40px 24px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; max-width: 600px; }
  .hero-copy { padding: 0; }
  .homepage .hero-title { font-size: clamp(42px, 6vw, 56px); }
  .hero-visual { width: 100%; }
  .research-video { aspect-ratio: 5 / 4; max-height: 480px; object-position: 50% 46%; }
  .homepage .env { padding: 80px 24px 64px; }
  .homepage .env-grid { grid-template-columns: 1fr; max-width: 600px; gap: 24px; }
  .homepage .env-card { min-height: auto; padding: 30px; }
  .card-subtitle { min-height: auto; }
  .card-note { min-height: auto; }
  .homepage .film { padding: 32px 24px 0; }
  .homepage .essay { margin-top: 40px; padding-inline: 24px; }
}
@media (max-width: 620px) {
  .homepage .nav-links { margin: 0; }
}
@media (max-width: 480px) {
  .homepage { --site-gutter: 20px; }
  .homepage :is(#top, #environment, #faq, #login) { scroll-margin-top: 118px; }
  .homepage .hero { padding: 31px 20px 0; }
  .homepage .hero-title { font-size: 44px; }
  .hero-subtitle { font-size: 18px; margin: 16px 0 25px; }
  .start-card { padding: 23px 20px; border-radius: 25px; }
  .entry-note { font-size: 10.5px; }
  .homepage .env, .homepage .film { padding-inline: 20px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading > p:last-child:not(.section-kicker) { font-size: 14px; }
  .homepage .env-card { padding: 28px; border-radius: 22px; }
  .homepage .cta-actions { flex-direction: column; align-items: center; }
  .homepage .foot-inner { padding-inline: 20px; }
  .homepage .foot-bottom { padding-inline: 20px; gap: 12px; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage { scroll-behavior: auto; }
  html:has(.homepage) { scroll-behavior: auto; }
  .homepage *, .homepage *::before, .homepage *::after { transition: none !important; animation: none !important; }
}
