/* 诺舟跨境出海智能体 / NWi Cross-border Agent landing page.
   Uses the shared company tokens (--ink, --blue, --line, --soft) and the
   section rhythm from company.css. */

/* Hero: the same light atlas language as the product pages, with one
   restrained orbit behind the research brief. */
.nwi-page-hero.nwi-agent-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 0;
  background:
    radial-gradient(ellipse at 92% 6%, #e6edff 0, rgba(230, 237, 255, 0) 54%),
    linear-gradient(124deg, #f5f2fb 0%, #f4f8ff 52%, #fbfcff 100%);
}

.nwi-agent-hero::before {
  content: "";
  position: absolute;
  right: -210px;
  top: -190px;
  width: 640px;
  height: 640px;
  border: 1px solid #dbe3f4;
  border-radius: 50%;
  pointer-events: none;
}

.nwi-agent-hero::after {
  content: "";
  position: absolute;
  right: 44px;
  top: -40px;
  width: 300px;
  height: 300px;
  border: 1px solid #e4eaf9;
  border-radius: 50%;
  pointer-events: none;
}

.nwi-agent-hero .wrap {
  position: relative;
  z-index: 1;
}

.nwi-agent-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 64px;
  align-items: center;
  padding-bottom: 76px;
}

.nwi-agent-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 3.5vw, 56px);
  font-weight: 590;
  line-height: 1.24;
  letter-spacing: -0.05em;
}

/* The English headline needs different line breaks on narrow screens. */
.nwi-agent-hero .nwi-br-narrow {
  display: none;
}

html[lang="en"] .nwi-agent-hero h1 {
  font-size: clamp(34px, 3vw, 48px);
  letter-spacing: -0.04em;
}

.nwi-agent-hero .nwi-page-lead {
  max-width: 620px;
  margin-top: 24px;
}

.nwi-agent-hero .nwi-page-lead > span {
  display: block;
}

.nwi-agent-hero .nwi-page-actions {
  margin-top: 28px;
}

.nwi-agent-hero-points {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.8;
  color: #5f7899;
}

.nwi-agent-hero-points li {
  position: relative;
  padding-left: 18px;
}

.nwi-agent-hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 1px;
  background: #3155ee;
}

/* Research brief card. No simulated chat or application chrome: the card
   shows how a question is framed, then the structure of the answer. */
.nwi-agent-brief {
  position: relative;
  padding: 34px 34px 26px;
  border: 1px solid #e3e8f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 70px #213a6b14;
}

.nwi-agent-brief::before {
  content: "";
  position: absolute;
  left: 34px;
  top: -1px;
  width: 54px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: #3155ee;
}

.nwi-agent-brief-label {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #8391a6;
}

.nwi-agent-brief-question {
  margin: 16px 0 26px;
  font-size: 24px;
  font-weight: 550;
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #172941;
}

.nwi-agent-brief dl {
  margin: 0;
}

.nwi-agent-brief dl > div {
  padding: 14px 0;
  border-top: 1px solid #edf1f7;
}

.nwi-agent-brief dt {
  font-size: 10px;
  color: #8a97aa;
}

.nwi-agent-brief dd {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: #47607f;
}

.nwi-agent-brief small {
  display: block;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf1f7;
  font-size: 10px;
  line-height: 1.8;
  color: #93a0b2;
}

/* Four decision questions. */
.nwi-agent-questions {
  background: #fff;
}

.nwi-agent-question-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #dfe6f0;
}

.nwi-agent-question-list li {
  padding: 32px 28px 34px 0;
  border-right: 1px solid #e9eef5;
}

.nwi-agent-question-list li + li {
  padding-left: 28px;
}

.nwi-agent-question-list li:last-child {
  border-right: 0;
}

.nwi-agent-question-label {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  color: #8b98ab;
}

.nwi-agent-question-list h3 {
  font-size: 26px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

/* The question mark is decorative so the four decision questions are not
   mistaken for FAQ items by the SEO extractor. */
.nwi-agent-question-list h3::after {
  content: "？";
}

html[lang="en"] .nwi-agent-question-list h3::after {
  content: "?";
}

.nwi-agent-question-list p {
  margin-top: 15px;
  font-size: 13px;
  line-height: 1.95;
  color: #74849a;
}

/* English question headings wrap to two lines; reserve the same height so the
   four descriptions stay on one baseline. */
html[lang="en"] .nwi-agent-question-list h3 {
  min-height: 2.8em;
}

.nwi-agent-questions-note {
  margin-top: 36px;
  padding: 19px 24px;
  border-left: 3px solid #3155ee;
  border-radius: 0 8px 8px 0;
  background: #f5f8fd;
  font-size: 13px;
  line-height: 1.85;
  color: #52698a;
}

/* Expert directory. */
.nwi-agent-experts {
  background: #f4f7fb;
}

.nwi-agent-shot button {
  border-color: #dfe6f1;
  border-radius: 12px;
}

.nwi-agent-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.nwi-agent-group {
  min-width: 0;
  padding: 28px 30px 22px;
  border: 1px solid #e4eaf3;
  border-radius: 12px;
  background: #fff;
}

.nwi-agent-group h3 {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.nwi-agent-group > p {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.85;
  color: #7b8ba1;
}

.nwi-agent-group ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #edf1f7;
}

.nwi-agent-group li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f4f9;
  font-size: 13px;
  color: #3f5877;
}

.nwi-agent-group li:last-child {
  border-bottom: 0;
}

.nwi-agent-group li span {
  flex: none;
  font-size: 10px;
  color: #8b98ab;
}

.nwi-agent-caption {
  margin-top: 22px;
  font-size: 11px;
  line-height: 1.8;
  color: #8492a6;
}

/* Research process: the homepage AI band, extended with the answer anatomy. */
.nwi-agent-flow {
  background:
    radial-gradient(ellipse at 82% 4%, #22365b 0, rgba(34, 54, 91, 0) 58%),
    #0b1931;
  color: #eef4ff;
}

.nwi-agent-flow .eyebrow {
  color: #a4badb;
}

.nwi-agent-flow h2 {
  color: #f4f8ff;
}

.nwi-agent-flow .section-description {
  color: #a9bad4;
}

.nwi-agent-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.nwi-agent-steps li {
  padding: 24px 24px 0 0;
}

.nwi-agent-steps li + li {
  padding-left: 24px;
  border-left: 1px solid #293f5f;
}

.nwi-agent-steps h3 {
  font-size: 16px;
  font-weight: 550;
  line-height: 1.6;
  color: #f4f8ff;
}

.nwi-agent-steps p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.9;
  color: #a3b6d2;
}

/* Keep the five English step descriptions on one baseline. */
html[lang="en"] .nwi-agent-steps h3 {
  min-height: 3.2em;
}

.nwi-agent-output {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 2.18fr);
  gap: 40px;
  margin-top: 56px;
  padding: 34px;
  border: 1px solid #263d5c;
  border-radius: 12px;
  background: #12233c;
}

.nwi-agent-output h3 {
  font-size: 24px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: #f6f9ff;
}

.nwi-agent-output-intro p {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.9;
  color: #9fb2d0;
}

.nwi-agent-output dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.nwi-agent-output dl > div {
  padding-left: 22px;
  border-left: 1px solid #2c4364;
}

.nwi-agent-output dt {
  font-size: 13px;
  font-weight: 550;
  color: #e3ecfa;
}

.nwi-agent-output dd {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.9;
  color: #9db0cc;
}

.nwi-agent-quote {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  font-size: 13px;
  color: #b9c9e2;
}

.nwi-agent-quote::before,
.nwi-agent-quote::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #2a3f5e;
}

/* Data foundation. */
.nwi-agent-data {
  background: #fff;
}

.nwi-agent-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.nwi-agent-data-grid article {
  min-width: 0;
  padding: 28px 30px;
  border: 1px solid #e4eaf3;
  border-radius: 12px;
}

.nwi-agent-data-grid h3 {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.nwi-agent-data-grid p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.95;
  color: #74849a;
}

.nwi-agent-data-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 22px;
  padding: 20px 26px;
  border-radius: 10px;
  background: #f4f7fb;
}

.nwi-agent-data-note p {
  font-size: 12px;
  line-height: 1.8;
  color: #6d7f97;
}

.nwi-agent-data-note > div {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  flex: none;
}

.nwi-agent-data-note .text-link {
  font-size: 12px;
  color: #3155c8;
}

/* Scenario. */
.nwi-agent-scenario {
  background: #f5f8fc;
}

.nwi-agent-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
}

.nwi-agent-case {
  padding: 36px;
  border-radius: 14px;
  background: #0b1931;
  color: #eaf1ff;
}

.nwi-agent-case-tag {
  font-size: 11px;
  color: #9db4d8;
}

.nwi-agent-case h3 {
  margin-top: 24px;
  font-size: 30px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: -0.035em;
  color: #fff;
}

.nwi-agent-case > p:not(.nwi-agent-case-tag) {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.95;
  color: #a6b9d6;
}

.nwi-agent-case dl {
  margin: 32px 0 0;
  padding-top: 22px;
  border-top: 1px solid #2d4262;
}

.nwi-agent-case dt {
  font-size: 10px;
  color: #8ea5c7;
}

.nwi-agent-case dd {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #eaf1ff;
}

.nwi-agent-case-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nwi-agent-case-steps li {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  padding: 25px 30px;
  border: 1px solid #e6ebf4;
  border-radius: 12px;
  background: #fff;
}

html[lang="en"] .nwi-agent-case-steps li {
  grid-template-columns: 128px minmax(0, 1fr);
}

html[lang="en"] .nwi-agent-case-stage {
  font-size: 12.5px;
}

.nwi-agent-case-stage {
  padding-top: 3px;
  font-size: 13px;
  font-weight: 550;
  color: #3155ee;
}

.nwi-agent-case-steps h3 {
  font-size: 18px;
  font-weight: 550;
  line-height: 1.6;
}

.nwi-agent-case-steps p {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.9;
  color: #74849a;
}

.nwi-agent-case-steps small {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.8;
  color: #8b98ab;
}

.nwi-agent-scenario-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 22px;
  padding: 19px 26px;
  border: 1px solid #e4eaf3;
  border-radius: 10px;
  background: #fff;
}

.nwi-agent-scenario-note p {
  font-size: 12px;
  line-height: 1.8;
  color: #6d7f97;
}

.nwi-agent-scenario-note .text-link {
  flex: none;
  font-size: 12px;
  color: #3155c8;
}

/* Questions and answers. */
.nwi-agent-faq-section {
  background: #fff;
}

.nwi-agent-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 80px;
  align-items: start;
}

.nwi-agent-faq-intro h2 {
  font-size: 40px;
  line-height: 1.35;
}

.nwi-agent-faq-intro > p:not(.eyebrow) {
  max-width: 360px;
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.95;
  color: #74849a;
}

.nwi-agent-faq-intro .text-link {
  margin-top: 26px;
  color: #3155c8;
}

.nwi-agent-faq-list {
  border-top: 1px solid #e1e7ef;
}

.nwi-agent-faq-list details {
  border-bottom: 1px solid #e1e7ef;
}

.nwi-agent-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.7;
  color: #203650;
}

.nwi-agent-faq-list summary::-webkit-details-marker {
  display: none;
}

.nwi-agent-faq-list summary::after {
  content: "+";
  flex: none;
  font-size: 19px;
  font-weight: 300;
  line-height: 1;
  color: #3155ee;
}

.nwi-agent-faq-list details[open] summary::after {
  content: "−";
}

.nwi-agent-faq-list details p {
  max-width: 760px;
  padding: 0 0 24px;
  font-size: 13px;
  line-height: 1.95;
  color: #6f8098;
}

/* Responsive. */
@media (max-width: 1250px) {
  .nwi-agent-hero-grid {
    gap: 44px;
  }

  .nwi-agent-brief {
    padding: 28px 28px 22px;
  }

  .nwi-agent-brief-question {
    font-size: 21px;
  }

  .nwi-agent-question-list h3 {
    font-size: 23px;
  }

  .nwi-agent-faq {
    gap: 52px;
  }
}

@media (max-width: 1050px) {
  .nwi-agent-hero {
    padding-top: 46px;
  }

  .nwi-agent-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 62px;
  }

  .nwi-agent-hero h1,
  html[lang="en"] .nwi-agent-hero h1 {
    max-width: 720px;
  }

  .nwi-agent-brief {
    max-width: 620px;
  }

  .nwi-agent-question-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nwi-agent-question-list li {
    padding: 26px 24px 26px 0;
    border-right: 0;
    border-bottom: 1px solid #e9eef5;
  }

  .nwi-agent-question-list li + li {
    padding-left: 0;
  }

  .nwi-agent-question-list li:nth-child(odd) {
    border-right: 1px solid #e9eef5;
    padding-right: 24px;
  }

  .nwi-agent-question-list li:nth-child(even) {
    padding-left: 24px;
  }

  .nwi-agent-question-list li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .nwi-agent-steps {
    grid-template-columns: 1fr;
  }

  html[lang="en"] .nwi-agent-steps h3 {
    min-height: 0;
  }

  .nwi-agent-steps li,
  .nwi-agent-steps li + li {
    padding: 18px 0 18px 26px;
    border-left: 1px solid #2c4160;
    border-bottom: 1px solid #22344d;
  }

  .nwi-agent-steps li:first-child {
    border-top: 1px solid #22344d;
  }

  .nwi-agent-steps li::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6f8fc4;
    margin: 8px 0 0 -29px;
  }

  .nwi-agent-steps li {
    position: relative;
  }

  .nwi-agent-output {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 40px;
    padding: 28px;
  }

  .nwi-agent-output dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
  }

  .nwi-agent-data-note,
  .nwi-agent-scenario-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nwi-agent-case-grid {
    grid-template-columns: 1fr;
  }

  .nwi-agent-faq {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .nwi-agent-faq-intro > p:not(.eyebrow) {
    max-width: 620px;
  }
}

@media (max-width: 800px) {
  .nwi-agent-groups {
    grid-template-columns: 1fr;
  }

  .nwi-agent-data-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nwi-agent-hero {
    padding-top: 34px;
  }

  .nwi-agent-hero h1,
  html[lang="en"] .nwi-agent-hero h1 {
    font-size: clamp(35px, 8.6vw, 44px);
    line-height: 1.3;
  }

  html[lang="en"] .nwi-agent-hero h1 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .nwi-agent-hero .nwi-br-wide {
    display: none;
  }

  .nwi-agent-hero .nwi-br-narrow {
    display: inline;
  }

  .nwi-agent-hero-grid {
    gap: 28px;
    padding-bottom: 46px;
  }

  .nwi-agent-hero .nwi-page-lead > span {
    display: inline;
  }

  .nwi-agent-hero .nwi-page-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nwi-agent-hero-points {
    margin-top: 24px;
    font-size: 11px;
  }

  .nwi-agent-brief {
    padding: 24px 22px 20px;
    border-radius: 12px;
  }

  .nwi-agent-brief::before {
    left: 22px;
    width: 42px;
  }

  .nwi-agent-brief-question {
    margin: 13px 0 20px;
    font-size: clamp(18px, 4.8vw, 20px);
    line-height: 1.55;
  }

  .nwi-agent-brief dl > div {
    padding: 11px 0;
  }

  .nwi-agent-question-list {
    grid-template-columns: 1fr;
  }

  .nwi-agent-question-list li,
  .nwi-agent-question-list li:nth-child(odd),
  .nwi-agent-question-list li:nth-child(even) {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid #e9eef5;
  }

  .nwi-agent-question-list li:nth-last-child(-n + 2) {
    border-bottom: 1px solid #e9eef5;
  }

  .nwi-agent-question-list li:last-child {
    border-bottom: 0;
  }

  .nwi-agent-question-list h3 {
    font-size: 22px;
  }

  html[lang="en"] .nwi-agent-question-list h3 {
    min-height: 0;
  }

  .nwi-agent-question-list p {
    font-size: 12px;
  }

  .nwi-agent-questions-note {
    margin-top: 28px;
    padding: 16px 18px;
    font-size: 12px;
  }

  .nwi-agent-group {
    padding: 24px 22px 18px;
  }

  .nwi-agent-group li {
    font-size: 12px;
  }

  .nwi-agent-caption {
    font-size: 10px;
  }

  .nwi-agent-output {
    padding: 24px 22px;
  }

  .nwi-agent-output dl {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nwi-agent-output dl > div {
    padding-left: 0;
    border-left: 0;
    padding-top: 16px;
    border-top: 1px solid #2c4364;
  }

  .nwi-agent-output dl > div:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .nwi-agent-quote {
    gap: 12px;
    font-size: 11px;
  }

  .nwi-agent-data-grid article {
    padding: 24px 22px;
  }

  .nwi-agent-data-note,
  .nwi-agent-scenario-note {
    padding: 18px 20px;
  }

  .nwi-agent-data-note > div {
    gap: 20px;
  }

  .nwi-agent-case {
    padding: 28px 24px;
  }

  .nwi-agent-case h3 {
    font-size: 25px;
  }

  .nwi-agent-case-steps li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 22px;
  }

  .nwi-agent-case-stage {
    padding-top: 0;
  }

  .nwi-agent-faq-intro h2 {
    font-size: 32px;
  }

  .nwi-agent-faq-list summary {
    padding: 18px 0;
    font-size: 14px;
  }

  .nwi-agent-faq-list details p {
    font-size: 12px;
  }
}

@media (max-width: 370px) {
  .nwi-agent-hero h1 {
    font-size: 31px;
  }

  html[lang="en"] .nwi-agent-hero h1 {
    font-size: 27px;
  }

  .nwi-agent-hero-points {
    font-size: 10px;
  }

  .nwi-agent-brief-question {
    font-size: 18px;
  }

  .nwi-agent-question-list h3 {
    font-size: 20px;
  }

  .nwi-agent-output h3 {
    font-size: 21px;
  }

  .nwi-agent-case h3 {
    font-size: 22px;
  }

  .nwi-agent-faq-intro h2 {
    font-size: 28px;
  }
}