:root {
  --bg: #f8f4ed;
  --paper: #fffdfa;
  --ink: #111111;
  --muted: #736d66;
  --line: #e8dfd4;
  --blue: var(--jq-product);
  --blue-soft: var(--jq-product-soft);
  --orange: var(--jq-brand);
  --orange-soft: var(--jq-brand-soft);
  --community: var(--jq-community);
  --community-soft: var(--jq-community-soft);
  --yellow: var(--jq-training);
  --yellow-soft: var(--jq-training-soft);
  --green: var(--jq-custom);
  --green-soft: var(--jq-custom-soft);
  --shadow: 0 18px 50px rgba(52, 36, 20, 0.08);
  --max: 1380px;
  --header-edge-width: 160px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family:
    MiSans,
    PingFang SC,
    Noto Sans SC,
    Microsoft YaHei,
    Arial,
    sans-serif;
  background:
    radial-gradient(circle at 3% 0%, rgba(255, 98, 61, 0.055), transparent 22%),
    radial-gradient(
      circle at 95% 0%,
      rgba(59, 120, 255, 0.05),
      transparent 24%
    ),
    var(--bg);
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
.shell {
  width: min(var(--max), calc(100% - 60px));
  margin: 0 auto;
}
.hero {
  padding: 26px 0 10px;
}
.hero-box {
  height: 186px;
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 22px;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #fffdf9b8;
}
.hero-copy {
  padding-left: 46px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 12px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.hero-copy h1 {
  font-size: 53px;
  line-height: 1;
  letter-spacing: -0.065em;
  margin: 0;
  font-weight: 950;
}
.hero-copy h2 {
  font-size: 27px;
  line-height: 1.15;
  margin: 10px 0 8px;
  font-weight: 950;
  letter-spacing: -0.03em;
}
.hero-copy p {
  margin: 0;
  color: #65605a;
  font-size: 14px;
}
.hero-art {
  height: 100%;
  position: relative;
  overflow: hidden;
}
.portals {
  padding: 10px 0 22px;
}
.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.portal-grid > #products {
  order: 1;
}
.portal-grid > #systems {
  order: 2;
}
.portal-grid > #custom {
  order: 3;
}
.portal-grid > #training {
  order: 4;
}
.portal {
  height: 390px;
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 23px 22px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: 0.25s ease;
  background: #fff;
  box-shadow: 0 9px 25px #2c1f140a;
}
.portal:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.portal.blue {
  background: linear-gradient(180deg, #edf4ff, #fafdff);
  border-color: #dce9ff;
}
.portal.orange {
  background: linear-gradient(180deg, #fff0e9, #fffaf7);
  border-color: #ffe0d4;
}
.portal.yellow {
  background: linear-gradient(180deg, #fff8d9, #fffdf2);
  border-color: #f8e9b5;
}
.portal.green {
  background: linear-gradient(180deg, #eaf8f3, #f9fffc);
  border-color: #d5eee5;
}
.portal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.portal-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 8px 20px #00000014;
}
.portal-icon-svg {
  width: 25px;
  height: 25px;
  display: block;
}
.blue .portal-icon {
  background: linear-gradient(145deg, var(--blue), #6f9bff);
}
.orange .portal-icon {
  background: linear-gradient(145deg, var(--orange), #ff886e);
}
.yellow .portal-icon {
  background: linear-gradient(145deg, #e9a900, #ffd451);
  color: #fff;
}
.green .portal-icon {
  background: linear-gradient(145deg, var(--green), #3ac99d);
}
.portal-title {
  font-size: 29px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.045em;
}
.portal-tag {
  margin-left: auto;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.blue .portal-tag {
  background: #d8e6ff;
  color: #1c5ee7;
}
.orange .portal-tag {
  background: #ffd8cb;
  color: #dc4527;
}
.yellow .portal-tag {
  background: #f7dc72;
  color: #6f5500;
}
.green .portal-tag {
  background: #cbeee2;
  color: #087e57;
}
.portal-body {
  flex: none;
  height: 198px;
  min-height: 0;
}
.portal-cta {
  height: 48px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.2s ease;
  margin-top: auto;
}
.portal-cta:hover {
  transform: translateY(-2px);
}
.blue .portal-cta {
  background: linear-gradient(90deg, var(--blue), #5b8eff);
}
.orange .portal-cta {
  background: linear-gradient(90deg, var(--orange), #ff7d5f);
}
.yellow .portal-cta {
  background: linear-gradient(90deg, #efb500, #ffd34b);
  color: #fff;
}
.green .portal-cta {
  background: linear-gradient(90deg, var(--green), #25be8d);
}
.portal-benefits {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.portal-benefit {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 8px 12px;
  border: 1px solid rgba(17, 17, 17, 0.055);
  border-radius: 14px;
  background: #ffffffdb;
}
.portal-benefit h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.025em;
}
.blue .portal-benefit h3 {
  color: #2867dc;
}
.orange .portal-benefit h3 {
  color: #d95035;
}
.green .portal-benefit h3 {
  color: #07835c;
}
.yellow .portal-benefit h3 {
  color: #876600;
}
.closing {
  padding: 76px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #fbf8f3;
}
.closing:before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 98, 61, 0.075),
    transparent 66%
  );
  left: 8%;
  top: -140px;
}
.closing:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(59, 120, 255, 0.07),
    transparent 66%
  );
  right: 4%;
  bottom: -220px;
}
.closing h2 {
  font-size: 56px;
  letter-spacing: -0.055em;
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}
.closing p {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 30px;
  position: relative;
  z-index: 1;
}
.closing-btn {
  position: relative;
  z-index: 1;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 26px #ff623d38;
  transition: 0.2s;
}
.closing-btn:hover {
  transform: translateY(-2px);
}
.closing-brand {
  font-size: 12px;
  color: #817970;
  position: relative;
  z-index: 1;
  margin-top: 20px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 38px;
  color: #8d857d;
  font-size: 11px;
  background: #ffffff59;
}
.footer-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.home-reveal-enabled .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(22px);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 1180px) {
  .portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portal {
    height: auto;
    min-height: 400px;
  }
  .hero-box {
    grid-template-columns: 1fr 0.7fr;
  }
  .top-search:not(.partner-cta) {
    display: none;
  }
}
@media (max-width: 760px) {
  .shell {
    width: min(var(--max), calc(100% - 28px));
  }
  .hero-box {
    height: auto;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 28px;
  }
  .hero-copy h1 {
    font-size: 44px;
  }
  .hero-art {
    height: 180px;
  }
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .portal {
    height: auto;
    min-height: 390px;
  }
  .closing h2 {
    font-size: 40px;
  }
  .footer-in {
    flex-direction: column;
    align-items: flex-start;
  }
}
html {
  scroll-padding-top: 82px;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.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;
}
.hero {
  padding: 24px 0 16px;
}
.hero-box {
  height: 412px;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 0;
  align-items: stretch;
  background: #fffdf9;
  border: 1px solid #eee3da;
  box-shadow: 0 18px 54px #3a27180f;
}
.hero-copy {
  padding: 48px 28px 40px 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}
.eyebrow {
  margin: 0 0 13px;
}
.hero-copy h1 {
  font-size: clamp(48px, 4.3vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.07em;
  margin: 0;
}
.hero-copy h2 {
  font-size: clamp(27px, 2.55vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.05em;
  margin: 10px 0 13px;
  position: relative;
}
.headline-mark {
  display: block;
  width: 46%;
  height: 7px;
  border-radius: 99px;
  background: #ff7752;
  margin-top: 8px;
  transform: rotate(-1deg);
}
.hero-copy > p {
  font-size: 15px;
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}
.hero-art {
  height: 100%;
  background: #fff;
  min-width: 0;
}
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
}
.portal-cta:active,
.closing-btn:active {
  transform: translateY(1px);
}
.portal-cta {
  text-decoration: none;
}
.closing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
@media (max-width: 1180px) {
  .header-in {
    gap: 14px;
  }
  .nav {
    gap: 17px;
  }
  .brand,
  .head-actions {
    width: 150px;
  }
  .top-search {
    width: auto;
  }
  .hero-box {
    height: 390px;
  }
  .hero-copy {
    padding-left: 35px;
  }
  .hero-copy h1 {
    font-size: 50px;
  }
  .hero-copy h2 {
    font-size: 30px;
  }
}
@media (max-width: 900px) {
  .hero-box {
    grid-template-columns: 1fr 46%;
    height: 380px;
  }
  .hero-copy {
    padding: 28px;
  }
  .hero-copy h1 {
    font-size: 44px;
  }
  .hero-copy h2 {
    font-size: 27px;
  }
}
@media (max-width: 760px) {
  .hero {
    padding: 14px 0 12px;
  }
  .hero-box {
    display: flex;
    flex-direction: column;
    height: auto;
    border-radius: 22px;
  }
  .hero-copy {
    padding: 29px 24px 20px;
  }
  .hero-copy h1 {
    font-size: 44px;
  }
  .hero-copy h2 {
    font-size: 27px;
    margin-top: 8px;
  }
  .hero-copy > p {
    margin-bottom: 0;
  }
  .hero-art {
    height: 260px;
    width: 100%;
  }
  .hero-art img {
    object-position: 58% 45%;
  }
  .portals {
    padding: 8px 0 18px;
  }
}
@media (max-width: 420px) {
  .brand {
    font-size: 16px;
    gap: 7px;
  }
  .head-actions {
    gap: 4px;
  }
  .hero-copy {
    padding: 24px 18px 18px;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
  .hero-copy h2 {
    font-size: 24px;
  }
  .hero-art {
    height: 226px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
.headline-mark {
  background: var(--jq-brand);
}
.portal.blue {
  background: linear-gradient(180deg, var(--jq-product-soft) 0%, #fafdff 100%);
  border-color: #dce9ff;
}
.portal.orange {
  background: linear-gradient(
    180deg,
    var(--jq-community-soft) 0%,
    #fffaf7 100%
  );
  border-color: #ffe0d8;
}
.portal.yellow {
  background: linear-gradient(180deg, var(--jq-training-soft) 0%, #fffdf2 100%);
  border-color: #f8e9b5;
}
.portal.green {
  background: linear-gradient(180deg, var(--jq-custom-soft) 0%, #f9fffc 100%);
  border-color: #d5eee5;
}
.home-answers {
  padding: 24px 0 30px;
  background: transparent;
}
.home-answers-card {
  padding: 19px 24px;
  border: 1px solid #eee4dc;
  border-radius: 18px;
  background: #fffdfa;
  box-shadow: 0 8px 24px #4430200b;
}
.home-answers-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.home-answers-heading h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.035em;
  font-weight: 900;
}
.home-answers-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid #b74229;
  border-radius: 999px;
  color: #a83b24;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.home-answers-all:hover {
  background: #b74229;
  color: #fff;
}
.home-answers a:focus-visible {
  outline: 3px solid var(--jq-product);
  outline-offset: 4px;
  border-radius: 4px;
}
@media (max-width: 700px) {
  .home-answers {
    padding: 18px 0 24px;
  }
  .home-answers-card {
    padding: 14px 13px;
    border-radius: 15px;
  }
  .home-answers-heading {
    gap: 8px;
  }
  .home-answers-heading h2 {
    font-size: 15px;
  }
  .home-answers-all {
    gap: 5px;
    padding: 9px 10px;
    font-size: 11px;
  }
}
