/* Haipeng visual system. Layout primitives and form states live in site.css. */
:root {
  --ink: #0b2934;
  --blue: #126e79;
  --muted: #5c7077;
  --line: #dce6e7;
  --pale: #f1f6f5;
  --accent: #baf36c;
}
body { letter-spacing: .015em; }
.wrap { width: min(1280px, calc(100% - 80px)); }
h1, h2, h3 { font-weight: 650; }
h2 { line-height: 1.45; }
p { line-height: 1.95; }
.topbar { background: var(--ink); font-size: 11px; letter-spacing: .08em; }
.topbar .wrap { padding-block: 8px; }
.topbar i { font-style: normal; color: #67878d; padding: 0 15px; }
.header { background: #fffffff5; }
.header-inner { min-height: 88px; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; gap: 18px; }
.brand img { width: 168px; }
.brand-divider { width: 1px; height: 30px; background: var(--line); }
.brand-caption { font-size: 11px; writing-mode: horizontal-tb; color: var(--muted); letter-spacing: .08em; }
nav { gap: 23px; font-size: 14px; }
nav a { padding-block: 30px; }
nav a[aria-current]:after { background: var(--blue); height: 3px; border-radius: 3px; }
nav a.nav-contact { padding: 9px 16px; border: 1px solid var(--line); border-radius: 4px; }
nav .search-link { padding-left: 18px; }
.eyebrow { font-size: 11px; letter-spacing: .14em; font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; border-radius: 4px; padding: 14px 24px; background: var(--ink); border: 1px solid transparent; color: white; font-weight: 600; font-size: 14px; transition: background .2s, transform .2s; }
.button:hover { color: white; background: var(--blue); transform: translateY(-2px); }
.hero-editorial { min-height: 660px; background: #0b2934; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media .hero-image { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-editorial:after { background: linear-gradient(90deg, rgba(5,27,35,.96), rgba(5,27,35,.78) 34%, rgba(5,27,35,.18) 70%), linear-gradient(0deg, rgba(5,27,35,.5), transparent 40%); }
.hero-content { padding-block: 68px 95px; }
.hero h1 { font-size: clamp(42px, 4.8vw, 72px); font-weight: 600; line-height: 1.25; letter-spacing: -.04em; margin-bottom: 24px; }
.hero h1 span { color: var(--accent); }
.hero .eyebrow { color: #c7e0df; font-size: 10px; margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px #baf36c16; }
.hero-description { font-size: 16px; color: #d4e0e1; max-width: 560px; margin-bottom: 30px; }
.hero .button { color: var(--ink); background: var(--accent); }
.hero .button:hover { background: #d0ff94; }
.hero-link { color: white; font-size: 14px; }
.hero-link:hover { color: var(--accent); }
.hero .actions { display: flex; align-items: center; gap: 28px; }
.hero-tags { display: flex; gap: 0; margin-top: 34px; color: #d3e0df; font-size: 11px; }
.hero-tags span+span { border-left: 1px solid #ffffff40; padding-left: 16px; margin-left: 16px; }
.hero-caption { bottom: 25px; left: max(40px, calc((100% - 1280px)/2)); right: max(40px, calc((100% - 1280px)/2)); display: flex; justify-content: space-between; font-size: 10px; color: #c7d6d8; letter-spacing: .12em; }
.service-strip { margin-top: 0; padding: 30px 0; gap: 0; border-bottom: 1px solid var(--line); background: white; box-shadow: none; border-radius: 0; position: relative; }
.service-strip>div { display: block; padding: 0 35px; border-right: 1px solid var(--line); }
.service-strip>div:first-child { padding-left: 0; }
.service-strip>div:last-child { border: 0; }
.service-strip span { display: block; font-size: 10px; color: var(--blue); margin-bottom: 6px; letter-spacing: .07em; }
.service-strip strong { font-size: 17px; font-weight: 650; }
.service-strip p { font-size: 12px; margin: 5px 0 0; }
.section { padding-block: 88px; }
.section-heading { align-items: end; margin-bottom: 36px; gap: 40px; }
.section-heading h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 0; }
.section-description { font-size: 14px; margin: 18px 0 0; max-width: 670px; }
.section-summary { max-width: 390px; font-size: 14px; margin-bottom: 4px; }
.cards { gap: 20px; }
.service-card { border-radius: 7px; position: relative; border-color: var(--line); }
.service-card>img { height: 190px; transition: filter .2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px #0b293414; }
.service-card:hover>img { filter: saturate(1.15); }
.service-card>div { padding: 26px 22px; }
.service-card .num { color: var(--blue); font-size: 11px; }
.service-card h3 { font-size: 23px; margin: 12px 0; }
.service-card p { font-size: 13px; min-height: 112px; line-height: 1.9; }
.service-card .text-link { display: block; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; font-size: 12px; }
.split { gap: 76px; }
.split h2 { font-size: clamp(28px, 3vw, 40px); }
.split p { font-size: 14px; }
.about-photo>img, .rounded-photo { height: 440px; border-radius: 6px; }
.photo-note { left: 0; bottom: 25px; background: var(--ink); color: white; padding: 15px 28px; font-size: 13px; }
.article-grid { gap: 24px; }
.article-card { border: 0; border-radius: 6px; background: var(--pale); }
.article-card img { height: 225px; }
.article-card a>div { padding: 26px; }
.article-card h3 { font-size: 20px; line-height: 1.65; }
.article-card .text-link { display: inline-block; margin-top: 10px; }
.scenarios-section { background: var(--ink); color: white; }
.scenarios-section .eyebrow { color: var(--accent); }
.scenarios-section p { color: #c1d0d2; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.scenario-grid article { border-top: 1px solid #ffffff30; padding-top: 30px; }
.scenario-mark { font-size: 10px; letter-spacing: .15em; color: var(--accent); }
.scenario-grid h3 { font-size: 23px; margin: 30px 0 18px; }
.scenario-grid p { font-size: 14px; }
.scenario-grid a { font-size: 13px; color: var(--accent); display: inline-block; margin-top: 14px; }
.workflow-section { background: #f5f8f7; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.workflow-grid article { position: relative; border-top: 1px solid #becfcf; padding-top: 24px; }
.workflow-grid article:before { content: ''; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.workflow-grid span { font-size: 35px; font-weight: 300; color: #739496; }
.workflow-grid h3 { margin: 20px 0 15px; font-size: 21px; }
.workflow-grid p { font-size: 13px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 23px 6px; }
.faq-list summary { cursor: pointer; font-size: 17px; font-weight: 550; list-style: none; display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 21px; color: var(--blue); font-weight: 400; line-height: 1.4; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: 16px 45px 2px 0; max-width: 960px; font-size: 14px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card { border: 1px solid var(--line); padding: 30px; border-radius: 6px; background: white; }
.info-card h3 { font-size: 21px; }
.info-card p { font-size: 14px; margin-bottom: 0; }
.callout { background: var(--pale); border-left: 3px solid var(--blue); padding: 24px 28px; margin-block: 28px; border-radius: 0 6px 6px 0; }
.callout p { margin: 8px 0 0; font-size: 14px; }
.callout h3 { margin: 0 0 12px; font-size: 19px; }
.callout ul { margin-bottom: 0; }
.cta { background: #dff1e5; position: relative; padding-block: 65px; overflow: hidden; }
.cta h2 { color: var(--ink); font-size: clamp(28px, 3vw, 42px); }
.cta p { color: #395a5d; font-size: 14px; }
.cta .eyebrow { color: #226b67; }
.cta .light { background: var(--ink); color: white; flex-shrink: 0; }
.cta .light:hover { background: var(--blue); }
.page-intro { padding-block: 65px; background: radial-gradient(ellipse at 95% 100%, #cee5df 0, transparent 55%), #f0f6f4; position: relative; }
.page-intro h1 { font-size: clamp(32px, 3.6vw, 50px); }
.page-intro p:last-child { max-width: 800px; font-size: 15px; }
.detail-layout { gap: 65px; grid-template-columns: 235px minmax(0, 1fr); }
.detail-layout aside { border-radius: 5px; padding: 26px; }
.detail-section h3 { font-size: 21px; margin-top: 30px; }
.detail-section p, .guide p { font-size: 15px; }
.detail-section .lead, .guide .lead { font-size: 20px; color: var(--ink); }
.detail-section>img { max-height: 370px; }
.detail-section .callout h3 { margin-top: 0; }
.reading { max-width: 880px; }
.guide h2 { font-size: 32px; }
.guide h3 { font-size: 22px; }
.form-card { padding: 38px; border-radius: 8px; box-shadow: 0 15px 45px #0b293408; }
.form-card>p { line-height: 1.9; }
.form-grid input:not([type=checkbox]), .form-grid select, .form-grid textarea { background: #f7faf9; border-color: #c8d8d7; padding: 12px; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--blue); background: white; }
.contact-layout { gap: 70px; }
.contact-info p { max-width: 380px; }
footer { background: #09242d; padding-top: 65px; }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr; padding-bottom: 50px; }
.footer-logo { width: 185px; }
footer p { color: #a6bfc3; }
.footer-bottom { color: #a6bfc3; }
.dashboard-card { background: var(--ink); border: 1px solid #21464e; }
.dashboard-card:hover { background: #164651; }
.back-top { border-radius: 6px; background: #174551; }
.business-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.business-card { padding: 38px; background: #f1f6f5; border: 1px solid var(--line); border-radius: 6px; }
.business-card:nth-child(2) { background: #edf3f9; }
.business-card .business-label { display: block; font-size: 46px; line-height: 1.2; font-weight: 350; color: var(--blue); margin-bottom: 22px; letter-spacing: -.04em; }
.business-card h3 { font-size: 26px; }
.business-card p, .business-card li { font-size: 14px; color: var(--muted); }
.business-card ul { padding-left: 20px; line-height: 2.2; margin-block: 20px 26px; }
.business-card .text-link { border-top: 1px solid #b9cfce; display: block; padding-top: 20px; }
.solution-title { display: flex; align-items: center; gap: 28px; margin-bottom: 30px; }
.solution-title>span { font-size: 64px; font-weight: 300; color: var(--blue); line-height: 1; }
.solution-title h2 { margin: 0; font-size: 34px; }
.solution-title p { margin: 8px 0 0; font-size: 14px; }
.solution-section { scroll-margin-top: 110px; }
.solution-section .lead { max-width: 920px; font-size: 18px; }
.solution-section .info-grid { margin-top: 32px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; margin-top: 30px; }
.comparison { border-collapse: collapse; width: 100%; min-width: 630px; font-size: 14px; }
.comparison th, .comparison td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.comparison thead { background: var(--ink); color: white; }
.comparison tbody th { white-space: nowrap; background: var(--pale); }
.comparison tr:last-child>* { border-bottom: 0; }
@media (max-width: 1250px) {
  .brand-caption, .brand-divider { display: none; }
  nav { gap: 18px; font-size: 13px; }
  .brand img { width: 158px; }
  .service-card p { min-height: 125px; }
}
@media (max-width: 1000px) and (min-width: 821px) {
  .wrap { width: calc(100% - 48px); }
  nav { gap: 12px; font-size: 12px; }
  nav a.nav-contact { padding: 7px 9px; }
  nav .search-link { padding-left: 12px; }
  .brand img { width: 145px; }
}
@media (max-width: 1100px) {
  .service-card p { min-height: 0; }
  .workflow-grid { gap: 22px; }
  .info-card { padding: 24px; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 0; }
  .brand img { width: 160px; }
  .menu-toggle { font-size: 13px; padding: 6px 16px; border-color: #b4cac9; }
  nav { padding: 10px 0 18px; gap: 0; }
  nav a, nav a.nav-contact { font-size: 14px; padding: 12px 0; border: 0; flex-basis: 33.33%; }
  nav .search-link { padding-left: 0; }
  .hero-editorial { min-height: 610px; }
  .hero-content { padding-block: 65px 80px; }
  .hero h1 { font-size: 54px; }
  .hero-media .hero-image { object-position: 62% center; }
  .hero-editorial:after { background: linear-gradient(90deg, #051b23ed, #051b23b0 65%, #051b2370); }
  .hero-caption { left: 20px; right: 20px; }
  .hero-caption span:last-child { display: none; }
  .service-strip>div { padding: 0 14px; text-align: left; }
  .service-strip strong { font-size: 14px; }
  .service-strip p { font-size: 11px; }
  .section { padding-block: 60px; }
  .section-heading { gap: 24px; margin-bottom: 30px; }
  .section-summary { max-width: 100%; }
  .split { gap: 32px; }
  .about-photo>img, .rounded-photo { height: 340px; }
  .scenario-grid { grid-template-columns: 1fr; gap: 28px; }
  .scenario-grid article { padding-top: 22px; }
  .scenario-grid h3 { margin-top: 15px; }
  .scenario-grid a { margin-top: 0; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-card { padding: 25px; }
  .info-card h3 { margin-bottom: 14px; }
  .detail-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-layout { gap: 35px; }
  .contact-info p { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .business-grid { grid-template-columns: 1fr; }
  .business-card { padding: 30px; }
  .solution-title { gap: 20px; }
  .solution-title>span { font-size: 48px; }
  .solution-title h2 { font-size: 28px; }
  .page-intro { padding-block: 48px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 36px); }
  .hero-editorial { min-height: 590px; }
  .hero h1 { font-size: 43px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .07em; }
  .hero-description { font-size: 14px!important; }
  .hero .actions { gap: 20px; }
  .hero .button { font-size: 12px; padding: 13px 16px; gap: 10px; }
  .hero-link { font-size: 12px; }
  .hero-tags { font-size: 10px; margin-top: 32px; }
  .hero-caption { left: 18px; right: 18px; }
  .service-strip { padding-block: 24px; }
  .service-strip>div { padding: 0 8px; }
  .service-strip>div:last-child { padding-right: 0; }
  .service-strip strong { font-size: clamp(9px, 2.8vw, 11px); }
  .service-strip span { font-size: 9px; }
  .service-strip p { display: none; }
  .section-heading { display: block; }
  .section-summary { margin-top: 20px; }
  .section { padding-block: 52px; }
  .section-heading h2 { font-size: 29px; }
  .service-card>img { height: 210px; }
  .service-card>div { padding: 25px; }
  .service-card p { font-size: 14px; }
  .article-card img { height: 210px; }
  .workflow-grid { gap: 20px; }
  .workflow-grid span { font-size: 30px; }
  .workflow-grid h3 { font-size: 18px; margin-top: 15px; }
  .workflow-grid p { font-size: 12px; }
  .faq-list summary { font-size: 15px; }
  .faq-list p { margin-right: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid>div:first-child { grid-column: auto; }
  .form-card { padding: 23px; }
  .guide h2 { font-size: 27px; }
  .callout { padding: 22px; }
  .solution-title { align-items: start; flex-direction: column; gap: 18px; }
  .solution-section .lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .service-card { transition: none; }
  .button:hover, .service-card:hover { transform: none; }
}
