/* Revisions to the independent V2 preview; the original website is untouched. */
.hero h1 { max-width: 620px; }
.nav nav { margin-left: auto; }
.skill-video-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  aspect-ratio: 16 / 9;
  padding: 28px;
  border: 1px solid #afc6d1;
  border-radius: 8px;
  overflow: hidden;
  background: #e3edf2;
  color: var(--ink);
  text-align: center;
}
.skill-video-placeholder > span { font-size: 11px; letter-spacing: 1.5px; color: #587b8d; }
.skill-video-placeholder strong { font-size: 25px; font-weight: 600; }
.skill-video-placeholder p { margin: 5px 0 0; font-size: 13px; color: var(--muted); }
.model-service-media { margin: 0; min-width: 0; }
.model-service-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #cddfe6;
  border-radius: 8px;
}
.evolution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}
.evolution-layout .evolution-cards { grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 0; }
.evolution-layout .evolution-cards article,
.evolution-layout .evolution-cards .realtime {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.evolution-layout .evolution-cards article + article {
  margin-top: 35px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.evolution-layout .evolution-cards h3 { font-size: 24px; margin-bottom: 12px; }
.evolution-layout .evolution-cards p { min-height: 0; margin-bottom: 14px; font-size: 13px; }
.evolution-layout .evo-heading { margin-bottom: 18px; }
.evolution-layout .flow { padding: 8px 0 0; }
.evolution-layout .flow span { background: #eaf1f4; }
.evolution-layout .rsi-demo { min-width: 0; max-width: none; margin: 0; border: 0; background: none; }
.evolution-layout .rsi-demo .video-shell { border-radius: 8px; }
.architecture-band #architecture.arch-section { margin-top: 0; }
footer.site-footer { --light: #f0f5f7; }
footer.site-footer .footer-wrap { width: calc(100% - 112px); max-width: 1280px; }
footer.site-footer .footer-identity img { margin-right: 0; }
@media (max-width: 1100px) {
  .evolution-layout { gap: 35px; }
  footer.site-footer .footer-wrap { width: calc(100% - 64px); }
}
@media (max-width: 767px) {
  .hero h1 { overflow-wrap: anywhere; }
  .skill-video-placeholder { padding: 20px; }
  .skill-video-placeholder strong { font-size: 20px; }
  .evolution-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  footer.site-footer .footer-wrap { width: calc(100% - 40px); }
}

/* ===== Hero visual: 我的任务窗口 + 悬浮卡片 (20261113) ===== */
.hero-art.ht-art{background:linear-gradient(160deg,#e6f0f5 0%,#f7fafb 58%,#edf4f7 100%);border:1px solid #d4e2e8;}
.ht-art *{box-sizing:border-box;}
.ht-arrow{position:absolute;bottom:8px;width:54px;height:54px;color:#bcd6e2;z-index:0;}
.ht-arrow svg{width:100%;height:100%;display:block;}
.ht-arrow-l{left:14px;}
.ht-arrow-r{right:14px;transform:scaleX(-1);}
.ht-window{position:absolute;left:14%;right:7%;top:26px;bottom:92px;z-index:1;background:rgba(255,255,255,.72);border:1px solid #dfe7eb;border-radius:18px;box-shadow:0 18px 40px rgba(22,53,65,.07);padding:16px 18px;backdrop-filter:blur(6px);overflow:hidden;}
.ht-bar{display:flex;align-items:center;gap:14px;margin-bottom:18px;}
.ht-dots{display:flex;gap:6px;}
.ht-dots i{width:10px;height:10px;border-radius:50%;background:#f0786a;}
.ht-dots i:nth-child(2){background:#f4c25b;}
.ht-dots i:nth-child(3){background:#6cc58a;}
.ht-title{font-size:15px;font-weight:700;color:#163541;}
.ht-row,.ht-highlight{display:grid;grid-template-columns:18px 1.5fr 1fr 1fr .9fr;align-items:center;gap:12px;}
.ht-row{padding:12px 4px;border-bottom:1px solid #edf2f5;font-size:13px;color:#203f50;}
.ht-head{font-size:12px;color:#647f8c;font-weight:600;padding-top:4px;}
.ht-check{width:16px;height:16px;border-radius:5px;border:1.5px solid #c6d6de;background:#fff;}
.ht-check.on{background:#2f6c85;border-color:#2f6c85;position:relative;}
.ht-check.on::after{content:"";position:absolute;left:4.5px;top:1.5px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);}
.ht-skel{opacity:.55;}
.ht-skel i{height:9px;border-radius:99px;background:#dbe6eb;display:block;}
.ht-task{position:absolute;left:18px;right:18px;bottom:18px;padding:12px;background:#fff;border:1px solid #dfe7eb;border-radius:12px;box-shadow:0 6px 16px rgba(22,53,65,.04);}
.ht-name{font-weight:700;color:#163541;white-space:nowrap;}
.ht-status{justify-self:start;padding:3px 9px;border-radius:999px;font-size:12px;white-space:nowrap;}
.ht-status.run{background:#e8f1f5;color:#2f6c85;}
.ht-status.done{background:#edf5f1;color:#47715f;}
.ht-progress{height:6px;border-radius:99px;background:#e3ecf0;overflow:hidden;}
.ht-progress i{display:block;height:100%;width:62%;border-radius:inherit;background:linear-gradient(90deg,#2f6c85,#549ab3);}
.ht-highlight{position:absolute;left:6%;right:6%;bottom:40px;z-index:3;grid-template-columns:18px 1.5fr 1fr 1fr .6fr 34px;padding:14px 16px 14px 20px;background:#fff;border:1px solid #dfe7eb;border-radius:16px;box-shadow:0 18px 38px rgba(22,53,65,.13);font-size:14px;color:#203f50;}
.ht-pct{font-weight:700;color:#2f6c85;}
.ht-ok{width:32px;height:32px;border-radius:50%;background:#549a87;display:grid;place-items:center;box-shadow:0 6px 14px rgba(84,154,135,.35);}
.ht-ok svg{width:18px;height:18px;}
.ht-pill{position:absolute;z-index:4;display:flex;align-items:center;gap:10px;padding:8px 18px 8px 8px;background:#fff;border:1px solid #dfe7eb;border-radius:999px;box-shadow:0 14px 30px rgba(22,53,65,.12);}
.ht-pill b{display:block;font-size:14px;color:#163541;line-height:1.3;}
.ht-pill small{display:block;font-size:11px;color:#647f8c;line-height:1.3;}
.ht-skill{right:4%;top:18px;}
.ht-evolve{right:3%;top:215px;}
.ht-avatar,.ht-refresh{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;}
.ht-avatar{background:linear-gradient(135deg,#2f6c85,#5aa3bd);}
.ht-refresh{background:linear-gradient(135deg,#337a93,#549a87);}
.ht-avatar svg,.ht-refresh svg{width:19px;height:19px;}
.ht-model{position:absolute;left:3%;top:120px;z-index:4;width:168px;padding:16px 16px 20px;background:#fff;border:1px solid #dfe7eb;border-radius:16px;box-shadow:0 16px 34px rgba(22,53,65,.13);}
.ht-model b{display:block;font-size:14px;color:#163541;margin-bottom:10px;}
.ht-model label{display:block;font-size:11px;color:#647f8c;margin:8px 0 5px;}
.ht-model i{display:block;height:7px;border-radius:99px;background:linear-gradient(90deg,#cfe0e8,#e6eef2);}
.ht-badge{position:absolute;right:-14px;bottom:-14px;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#2f6c85,#5aa3bd);box-shadow:0 8px 18px rgba(47,108,133,.35);}
.ht-badge svg{width:22px;height:22px;}
@media (max-width:1100px){
  .ht-window{padding:14px;bottom:86px;}
  .ht-row{padding:10px 2px;font-size:12px;gap:9px;}
  .ht-task{left:12px;right:12px;bottom:12px;padding:10px;}
  .ht-col-robot,.ht-skel>i:nth-child(4){display:none;}
  .ht-row{grid-template-columns:16px minmax(0,1.5fr) 1fr .8fr;}
  .ht-highlight{font-size:13px;gap:9px;padding:12px 14px;grid-template-columns:16px minmax(0,1.5fr) 1fr .7fr 28px;}
  .ht-model{width:146px;padding:13px 13px 17px;top:110px;}
  .ht-evolve{top:200px;}
  .ht-pill{padding:6px 14px 6px 6px;}
  .ht-avatar,.ht-refresh{width:30px;height:30px;}
}
@media (max-width:767px){
  .ht-window{left:6%;right:4%;top:64px;bottom:96px;padding:12px;}
  .ht-col-robot{display:none;}
  .ht-row{grid-template-columns:16px 1.5fr 1fr .9fr;font-size:12px;}
  .ht-highlight{left:4%;right:4%;bottom:34px;grid-template-columns:16px 1.5fr 1fr .7fr 28px;font-size:12px;padding:10px 12px;gap:8px;}
  .ht-ok{width:26px;height:26px;}
  .ht-skill{right:4%;top:12px;}
  .ht-model{left:3%;top:110px;bottom:auto;width:126px;padding:10px 10px 14px;}
  .ht-model b{font-size:13px;margin-bottom:4px;}
  .ht-model label{margin:5px 0 4px;}
  .ht-badge{width:32px;height:32px;right:-10px;bottom:-10px;}
  .ht-evolve{right:3%;top:192px;bottom:auto;}
  .ht-pill b{font-size:13px;}
  .ht-arrow{width:40px;height:40px;}
}

/* Restore the original research and partner section in the V2 preview. */
#research { scroll-margin-top: 110px; }
#research .research-identity { flex-direction: column; align-items: flex-start; gap: 18px; }
#research .research-intro .text-link {
  padding-bottom: 8px;
  border-bottom: 1px solid #8aa5b0;
  font-weight: 500;
}
#research .research-intro .text-link:hover { color: var(--accent); }
#research .partner-invitation { display: flex; justify-content: center; margin-top: 32px; }
#research .partner-invitation .button { border-radius: 999px; }
@media (max-width: 767px) {
  #research .research-identity { flex-direction: row; align-items: center; gap: 15px; }
}

/* Revisions from V2.0官网修改.docx (2026-11-13). */
.model-points .model-more-link { display: inline-flex; align-items: center; gap: 20px; margin-top: 16px; padding: 0 0 8px; border: 0; border-bottom: 1px solid #8aa5b0; border-radius: 0; background: transparent; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.4; }
.model-points .model-more-link:hover { color: var(--accent); background: transparent; }
.evolution-layout .evolution-cards h3 { white-space: nowrap; }
@media (max-width: 767px) {
  .evolution-layout .evolution-cards h3 { font-size: clamp(18px, 6vw, 24px); }
}

#models .section-top > div { flex: 1; min-width: 0; }
#models .section-intro { flex: 0 1 34%; }
#models h2, #models .model-points h3, #architecture #arch-title { text-wrap: balance; }

/* Match the diagram canvas to the surrounding section background. */
.architecture-band .arch-board { background: transparent; }

/* The hero's only action is the primary call to action. */
.hero .actions .button.outline {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.hero .actions .button.outline:hover { background: #2e586b; }

.nav-github { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.nav-github .github-stars { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.nav-github .github-stars svg { display: block; width: 18px; height: 18px; }
.nav-github .github-stars:hover { color: var(--accent); }

/* Keep section titles on one line without clipping at narrow widths. */
#skills .section-top h2, #models .section-top h2,
#evolution .section-top h2, #editions-title,
#research .research-heading h2, #architecture #arch-title,
#contact h2, #skills .skill-copy h3 { white-space: nowrap; text-wrap: nowrap; }

#architecture .arch-copy .arch-intro h3 { font-size: 25px; }
#skills .skill-copy h3 { font-size: 21px; }
@media (min-width: 768px) and (max-width: 1100px) {
  #models .section-top h2 { font-size: 32px; }
  #contact h2 { font-size: 35px; }
  
  #architecture .arch-copy .arch-intro h3 { font-size: 16px; }
  #skills .skill-copy h3 { font-size: 17px; }
}
@media (max-width: 767px) {
  #skills .section-top h2 { font-size: 22px; }
  #models .section-top h2 { font-size: 20px; }
  
  #evolution .section-top h2, #editions-title, #research .research-heading h2 { font-size: 24px; }
  #architecture .arch-copy .arch-intro h3 { font-size: 17px; }
  #contact h2 { font-size: 16px; }
  #skills .skill-copy h3 { font-size: 19px; }
}
@media (max-width: 360px) {
  #skills .section-top h2 { font-size: 19px; }
  #models .section-top h2 { font-size: 17px; }
  
  #evolution .section-top h2, #editions-title, #research .research-heading h2 { font-size: 21px; }
  #architecture .arch-copy .arch-intro h3 { font-size: 15px; }
  #contact h2 { font-size: 14px; }
  #skills .skill-copy h3 { font-size: 17px; }
}

/* Edition comparison sits between the architecture and research sections. */
.edition-section { padding: 96px 0; scroll-margin-top: 110px; }
.edition-section-top .eyebrow { margin-bottom: 24px; }
.edition-section-top h2 { margin: 0; }
.edition-section-top .edition-subtitle { flex: 0 1 420px; max-width: 420px; margin: 0 0 5px; }
.edition-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.edition-column { min-width: 0; padding: 36px 38px; background: #eaf2f6; }
.edition-column--enterprise { background: #fff; border-left: 1px solid #b5ccdc; }
.edition-overview { min-height: 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.edition-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.edition-badge--open { color: #326f55; background: #e7f3eb; }
.edition-badge--enterprise { color: #2f6c85; background: #dcecf4; }
.edition-overview h3 { margin: 16px 0 10px; font-size: 25px; line-height: 1.35; }
.edition-overview p { margin: 0; color: var(--muted); font-size: 15px; }
.edition-features { display: grid; gap: 22px; margin: 28px 0 0; }
.edition-features dt { margin-bottom: 8px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.edition-features dd { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
@media (max-width: 767px) {
  .edition-section { padding: 60px 0; scroll-margin-top: 155px; }
  .edition-section-top .eyebrow { margin-bottom: 17px; }
  .edition-section-top .edition-subtitle { max-width: none; margin: 22px 0 0; }
  .edition-compare { grid-template-columns: minmax(0, 1fr); }
  .edition-column { padding: 24px 20px; }
  .edition-column--enterprise { border-left: 0; border-top: 1px solid var(--line); }
  .edition-overview { padding-bottom: 22px; }
  .edition-overview h3 { font-size: 21px; }
  .edition-overview p { margin: 0; font-size: 14px; }
  .edition-features { margin-top: 22px; gap: 18px; }
  .edition-features dt { font-size: 17px; }
}
@media (max-width: 1100px) {
  .nav-github { gap: 12px; }
  .nav-github .github-stars { font-size: 12px; }
}
@media (max-width: 767px) {
  .nav-github { order: 2; width: 100%; justify-content: flex-end; }
}

/* Shared appointment/contact form in the independent preview. */
#contact-dialog {
  width: min(640px, calc(100% - 32px));
  max-width: 640px;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 30px 32px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 16px;
  background: var(--bg);
}
#contact-dialog .eyebrow { margin: 0 32px 10px 0; }
#contact-dialog h2 { font-size: 28px; line-height: 1.4; margin: 0; }
#contact-dialog .close { top: 12px; right: 12px; width: 40px; height: 40px; line-height: 1; border-radius: 8px; }
#contact-dialog .close:hover { background: #eaf1f5; }
#contact-form { margin-top: 24px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.contact-field { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.contact-field--wide { grid-column: 1 / -1; }
.contact-field label, .contact-location legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-required { color: #a83c34; }
.contact-optional { color: var(--muted); font-size: 12px; font-weight: 400; }
.contact-location { margin: 0; padding: 0; border: 0; min-width: 0; }
.contact-location legend { padding: 0; margin-bottom: 7px; }
.contact-region-selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
#contact-form input, #contact-form select, #contact-form textarea {
  display: block; width: 100%; min-width: 0; min-height: 44px;
  padding: 10px 12px; border: 1px solid #bfced6; border-radius: 7px;
  background: #fff; color: var(--ink); font: inherit; font-size: 14px; line-height: 1.5;
}
#contact-form textarea { min-height: 90px; resize: vertical; }
#contact-form input::placeholder, #contact-form textarea::placeholder { color: #7c909b; }
#contact-form select:disabled { color: #7c909b; background-color: #edf2f5; cursor: not-allowed; }
#contact-form input:focus, #contact-form select:focus, #contact-form textarea:focus { border-color: var(--accent); outline: 2px solid #82b7cc; outline-offset: 1px; }
#contact-form [aria-invalid="true"] { border-color: #b24a42; }
#contact-form .contact-error { color: #a83c34; font-size: 12px; line-height: 1.5; }
#contact-form [hidden] { display: none; }
.contact-form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; }
.contact-form-actions .button { padding: 11px 20px; font-size: 14px; }
#contact-form-status { margin: 16px 0 0; font-size: 13px; color: var(--accent); line-height: 1.7; }
.contact-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 767px) {
  #contact-dialog { padding: 24px 20px 20px; max-height: calc(100dvh - 24px); }
  #contact-dialog h2 { font-size: 25px; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .contact-region-selects { gap: 10px; }
  #contact-form input, #contact-form select, #contact-form textarea { font-size: 16px; }
  .contact-form-actions .button { flex: 1; gap: 14px; }
}

/* Align the native region selects with a consistently inset chevron. */
#contact-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23647f8c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
}

/* Requested section palette: the architecture belongs to section 03. */
#skills, #evolution, .architecture-band, #research { background-color: var(--bg); }
#models, #editions { background-color: #eaf2f6; }

/* Keep readable copy on the blue-gray open-source comparison column. */
.edition-column:not(.edition-column--enterprise) .edition-overview { border-bottom-color: #b5ccdc; }
.edition-column:not(.edition-column--enterprise) .edition-overview p, .edition-column:not(.edition-column--enterprise) dd { color: #486777; }


/* Resource ecosystem navigation. */
.resource-nav { position: relative; display: flex; align-items: center; }
.resource-nav-toggle { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.resource-nav-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.resource-nav:hover .resource-nav-toggle svg, .resource-nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.resource-nav-menu { position: absolute; top: 100%; left: 50%; z-index: 30; width: 318px; padding-top: 18px; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 6px); transition: opacity .16s, transform .16s, visibility .16s; }
.resource-nav:hover .resource-nav-menu, .resource-nav:focus-within .resource-nav-menu, .resource-nav.is-open .resource-nav-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.resource-nav-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; border: 1px solid #d4e2e8; border-radius: 12px; background: #fff; box-shadow: 0 16px 34px rgba(22, 53, 65, .14); }
.resource-nav-panel a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 10px 12px; border-radius: 7px; color: var(--ink); font-size: 13px; font-weight: 500; }
.resource-nav-panel a:hover, .resource-nav-panel a:focus-visible { background: #eaf2f6; color: var(--accent); }
.resource-nav-panel small { color: #7c929d; font-size: 12px; font-weight: 500; }
@media (max-width: 767px) {
  .resource-nav { width: auto; }
  .resource-nav-menu { left: 0; width: min(318px, calc(100vw - 40px)); transform: translate(0, 6px); }
  .resource-nav:hover .resource-nav-menu, .resource-nav:focus-within .resource-nav-menu, .resource-nav.is-open .resource-nav-menu { transform: translate(0, 0); }
}

/* Section 01: STEP 02 skill assembly video with poster preview. */
.skill-video-shell { min-width: 0; border: 1px solid #afc6d1; border-radius: 8px; }
.skill-video-shell video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #142c37; }

/* Extend the previous soft blue gradient through the hero and pillars. */
.hero-shell {
  background:
    radial-gradient(ellipse at 77% 31%, rgba(237, 244, 248, .79), transparent 40%),
    radial-gradient(ellipse at 58% 78%, rgba(195, 216, 227, .53), transparent 52%),
    linear-gradient(110deg, rgba(225, 237, 243, .67), transparent 65%),
    #d4e3ec;
}
.hero-art.ht-art { border: 0; background: transparent; overflow: visible; }
.ht-arrow { display: none; }

/* Scale hero dashboard internals with the wide-screen visual area. */
@media (min-width: 1600px) {
  #home .ht-window { top: 30px; bottom: 108px; padding: 20px 22px; border-radius: 21px; }
  #home .ht-bar { gap: 16px; margin-bottom: 22px; }
  #home .ht-dots i { width: 12px; height: 12px; }
  #home .ht-title { font-size: 18px; }
  #home .ht-row { grid-template-columns: 21px 1.5fr 1fr 1fr .9fr; gap: 14px; padding: 15px 5px; font-size: 15px; }
  #home .ht-head { font-size: 14px; padding-top: 5px; }
  #home .ht-check { width: 19px; height: 19px; border-radius: 6px; }
  #home .ht-check.on::after { left: 5.5px; top: 2px; width: 5px; height: 10px; }
  #home .ht-status { font-size: 14px; padding: 4px 11px; }
  #home .ht-progress { height: 8px; }
  #home .ht-highlight { left: 6%; right: 6%; bottom: 18px; grid-template-columns: 21px 1.5fr 1fr 1fr .8fr 38px; gap: 14px; padding: 18px 22px; font-size: 16px; border-radius: 18px; }
  #home .ht-pct { font-size: 16px; }
  #home .ht-ok { width: 38px; height: 38px; }
  #home .ht-ok svg { width: 21px; height: 21px; }
  #home .ht-pill { gap: 12px; padding: 10px 22px 10px 10px; }
  #home .ht-pill b { font-size: 16px; }
  #home .ht-pill small { font-size: 13px; }
  #home .ht-avatar, #home .ht-refresh { width: 42px; height: 42px; }
  #home .ht-avatar svg, #home .ht-refresh svg { width: 22px; height: 22px; }
  #home .ht-skill { right: 4%; top: 20px; }
  #home .ht-evolve { right: 3%; top: 250px; }
  #home .ht-model { left: 3%; top: 138px; width: 196px; padding: 19px 19px 23px; border-radius: 18px; }
  #home .ht-model b { font-size: 16px; margin-bottom: 12px; }
  #home .ht-model label { font-size: 13px; margin: 10px 0 6px; }
  #home .ht-model i { height: 8px; }
  #home .ht-badge { right: -16px; bottom: -16px; width: 46px; height: 46px; border-radius: 14px; }
  #home .ht-badge svg { width: 25px; height: 25px; }
}


/* Refined flat functional entry strip. */
.pillars {
  gap: 0;
  padding: 22px 0;
  border-top: 1px solid rgba(139, 166, 178, .42);
  border-bottom: 1px solid rgba(139, 166, 178, .42);
}
.pillars > a {
  min-width: 0;
  gap: 16px;
  padding: 0 28px;
  border-right: 1px solid rgba(155, 180, 191, .35);
  color: #4b6978;
}
.pillars > a:first-child { padding-left: 0; }
.pillars > a:last-child { padding-right: 0; border-right: 0; }
.pillars .number {
  flex: none;
  margin-top: 5px;
  color: #557d8f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
}
.pillars h3 {
  margin-bottom: 9px;
  color: #254c5d;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.15px;
}
.pillars p {
  color: #607e8c;
  font-size: 12px;
  line-height: 1.65;
}
.pillars b {
  align-self: flex-start;
  color: #6c96a9;
  font-weight: 400;
  font-size: 14px;
  transition: color .2s ease, transform .2s ease;
}
.pillars > a:hover h3 { color: #173e50; }
.pillars > a:hover b { color: #2f6c85; transform: translate(1px, -1px); }
@media (max-width: 767px) {
  .pillars { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .pillars > a,
  .pillars > a:first-child,
  .pillars > a:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(155, 180, 191, .28);
  }
  .pillars > a:last-child { border-bottom: 0; }
  .pillars b { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pillars b { transition: none; }
}

/* Inline link from the open-model section to the algorithms catalog. */
.model-points .model-model-list-link {
  display: inline;
  margin-left: 4px;
  color: #2f6c85;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .18s ease;
}
.model-points .model-model-list-link:hover { color: #173f52; }

/* Let the skill intro follow the same natural line-wrapping rules as other sections. */
#skills .section-intro {
  max-width: 420px;
  text-wrap: pretty;
}
/* Inline VWA model link in the proprietary-model description. */
.model-points .model-vwa-link {
  color: #2f6c85;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.model-points .model-vwa-link:hover { color: #173f52; }


/* Section intros share one width/wrapping rule across the homepage. */
.section-top .section-intro {
  max-width: 420px;
  text-wrap: pretty;
  overflow-wrap: normal;
}

/* Contact form success confirmation. */
.contact-success-dialog {
  width: min(440px, calc(100% - 32px));
  max-width: 440px;
  margin: auto;
  padding: 38px 36px 32px;
  text-align: center;
  border: 0;
  border-radius: 20px;
  background: var(--bg);
  box-shadow: 0 32px 90px #10273540;
}
.contact-success-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #e3f0eb;
  color: #3f7865;
}
.contact-success-mark svg { width: 29px; height: 29px; }
.contact-success-dialog .eyebrow { margin: 0 0 10px; color: #5b8474; }
.contact-success-dialog h2 { margin: 0 0 14px; font-size: 30px; }
.contact-success-dialog p:not(.eyebrow) {
  max-width: 340px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.contact-success-dialog .button { min-width: 132px; }
@media (max-width: 767px) {
  .contact-success-dialog { padding: 30px 22px 24px; }
  .contact-success-dialog h2 { font-size: 26px; }
}
