:root {
  --ink: #17181a;
  --muted: #62666d;
  --line: #dedfe2;
  --soft: #f6f6f4;
  --paper: #ffffff;
  --brand: #7b67ee;
  --blue: #3568d4;
  --yellow: #f4c95d;
  --green: #2f7d63;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], #contact-service, #book-demo { scroll-margin-top: 82px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans SC", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; }

.site-header {
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(222, 223, 226, .85);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 8px; line-height: 1; }
.brand-mark { width: 28px; height: 28px; display: block; }
.brand-wordmark { width: 90px; height: auto; display: block; }
.brand small { padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 600; }
nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 600; }
nav a, nav button, .header-link { transition: color .18s; }
nav a:hover, nav button:hover, .header-link:hover { color: var(--brand); }
.nav-action { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-contact { padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 700; }
.header-contact:hover { color: var(--brand); }
.header-link { font-size: 13px; font-weight: 700; }
.header-link span { margin-left: 5px; color: var(--brand); }

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 64px;
  padding: 62px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
}
.hero-copy { max-width: 500px; }
.hero-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.hero-logo img:first-child { width: 36px; height: 36px; }
.hero-logo img:last-child { width: 122px; height: auto; }
.eyebrow { margin: 0 0 14px; color: var(--brand); font-size: 12px; font-weight: 700; }
h1 { margin-bottom: 14px; font-size: clamp(50px, 5.4vw, 76px); line-height: 1.05; font-weight: 700; }
h2 { margin-bottom: 0; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.2; }
h3 { line-height: 1.35; }
.hero-claim { margin-bottom: 18px; color: #303238; font-size: clamp(23px, 2.2vw, 31px); font-weight: 600; line-height: 1.35; }
.hero-intro { max-width: 480px; margin-bottom: 0; color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { min-height: 46px; display: inline-flex; align-items: center; gap: 18px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 6px; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 5px 16px rgba(23, 24, 26, .12); }
.button-primary { background: var(--ink); color: #fff; }
.button-quiet { background: #fff; }
.hero-note { margin-top: 24px; color: #85888e; font-size: 11px; }
.dot { width: 6px; height: 6px; display: inline-block; margin-right: 5px; border-radius: 50%; background: var(--green); }
.hero-media-wrap { align-self: center; min-width: 0; }
.hero-media { width: 100%; aspect-ratio: 16 / 9; position: relative; overflow: hidden; border: 1px solid #cacdd2; border-radius: 8px; background: #111; box-shadow: 0 22px 55px rgba(23, 24, 26, .14); }
.hero-media iframe { width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.hero-media-wrap > p { display: flex; justify-content: space-between; margin: 10px 2px 0; color: #777b82; font-size: 11px; }
.hero-media-wrap > p span:first-child { color: var(--ink); font-weight: 700; }

.quick-start {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 48px;
  padding: 52px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.quick-start h2 { font-size: 26px; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cfd1d4; }
.quick-links a { min-height: 104px; display: grid; grid-template-columns: 1fr auto; align-content: space-between; gap: 12px; padding: 16px 18px; border-right: 1px solid #cfd1d4; border-bottom: 1px solid #cfd1d4; font-size: 13px; font-weight: 600; transition: background .18s; }
.quick-links a:first-child, .quick-links a:nth-child(4) { border-left: 1px solid #cfd1d4; }
.quick-links a:hover { background: #fff; }
.quick-number { grid-column: 1 / -1; color: var(--brand); font-family: "Space Grotesk", sans-serif; font-size: 11px; }
.quick-links b { color: var(--brand); }

.section { padding: 96px max(24px, calc((100vw - var(--max)) / 2)); }
.section-tint { background: var(--soft); }
.section-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 72px; align-items: end; margin-bottom: 42px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 14px; }

.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.solution-card { min-height: 250px; position: relative; display: flex; flex-direction: column; padding: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: transform .18s, box-shadow .18s; }
.solution-card::before { content: ""; height: 4px; position: absolute; inset: 0 0 auto; background: var(--brand); }
.solution-card.blue::before { background: var(--blue); }
.solution-card.yellow::before { background: var(--yellow); }
.solution-card.mint::before { background: var(--green); }
.solution-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23, 24, 26, .09); }
.solution-card > span { color: #8c8f95; font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; }
.solution-card h3 { margin: 42px 0 9px; font-size: 22px; }
.solution-card p { color: var(--muted); font-size: 13px; }
.solution-card b { margin-top: auto; color: var(--ink); font-size: 12px; }
.text-link { display: inline-flex; gap: 12px; margin-top: 28px; font-size: 13px; font-weight: 700; }
.text-link span { color: var(--brand); }

.case-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-filters { display: flex; flex-wrap: wrap; gap: 4px; }
.case-filter, .filter-button { min-height: 34px; padding: 0 11px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }
.case-filter:hover, .case-filter.active, .filter-button:hover, .filter-button.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.case-toolbar p { min-width: max-content; margin: 0; color: var(--muted); font-size: 11px; }
.case-toolbar strong { color: var(--brand); font-family: "Space Grotesk", sans-serif; font-size: 21px; }
.case-list-heading, .case-row { display: grid; grid-template-columns: 60px 150px minmax(320px, 1fr) 150px 22px; gap: 20px; align-items: center; }
.case-list-heading { min-height: 44px; color: #92959a; font-size: 10px; }
.case-list { border-top: 1px solid var(--ink); }
.case-row { min-height: 112px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: background .18s, padding .18s; }
.case-row:hover { padding-right: 12px; padding-left: 12px; background: var(--soft); }
.case-number { color: #9a9da2; font-family: "Space Grotesk", sans-serif; font-size: 12px; }
.case-meta { display: flex; flex-direction: column; gap: 4px; }
.case-meta span { font-size: 12px; font-weight: 700; }
.case-meta small { color: #8b8e94; font-size: 10px; }
.case-copy h3 { margin: 0 0 5px; font-size: 18px; }
.case-copy p { max-width: 700px; margin: 0; color: var(--muted); font-size: 12px; }
.case-client { color: #55595f; font-size: 12px; }
.case-open { color: var(--brand); font-size: 18px; }
.case-disclaimer { margin: 16px 0 0; color: #8b8e94; font-size: 10px; }

.learn-section { background: #fff; }
.learning-layout { display: grid; grid-template-columns: 1.18fr .82fr; gap: 34px; }
.learning-feature { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: box-shadow .18s; }
.learning-feature:hover { box-shadow: 0 16px 36px rgba(23, 24, 26, .1); }
.learning-feature img { width: 100%; display: block; aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); object-fit: cover; object-position: top left; }
.learning-feature > div { padding: 23px 25px 25px; }
.learning-feature p { margin-bottom: 4px; color: var(--brand); font-size: 11px; font-weight: 700; }
.learning-feature h3 { margin: 0 0 3px; font-size: 24px; }
.learning-feature small { color: var(--muted); }
.play-icon { width: 36px; height: 36px; float: right; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; }
.learning-list { border-top: 1px solid var(--ink); }
.learning-list a { min-height: 92px; display: grid; grid-template-columns: 54px 1fr 18px; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); }
.learning-list a:hover h3 { color: var(--brand); }
.learning-list > a > span { color: #7a7d83; font-size: 10px; font-weight: 700; }
.learning-list h3 { margin: 0 0 3px; font-size: 16px; }
.learning-list p { margin: 0; color: var(--muted); font-size: 11px; }
.learning-list b { color: var(--brand); }

.resource-heading { grid-template-columns: 1fr .72fr; }
.search-box { min-height: 46px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid #cfd1d4; border-radius: 6px; background: #fff; }
.search-box span { font-size: 22px; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 13px; }
.resource-filters { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 20px; }
.filter-button { border-color: #cfd1d4; background: #fff; }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.resource-card { min-height: 150px; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 6px 18px; padding: 21px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; text-align: left; transition: border .18s, box-shadow .18s; }
.resource-card:hover { border-color: #a9acb2; box-shadow: 0 9px 24px rgba(23, 24, 26, .07); }
.resource-card .tag { grid-column: 1; color: var(--blue); font-size: 10px; font-weight: 700; }
.resource-card.help-card { border-color: #9db1da; background: #f3f6fc; }
.resource-card.help-card .tag { color: var(--brand); }
.resource-card h3 { grid-column: 1; margin: 20px 0 0; font-size: 18px; }
.resource-card p { grid-column: 1; margin: 0; color: var(--muted); font-size: 12px; }
.resource-card .arrow { grid-column: 2; grid-row: 1 / 4; align-self: end; color: var(--brand); font-size: 18px; }
.resource-card.download-card { border-color: #d2ba74; background: #fff7dd; }
.resource-card.download-card .tag { color: #8a6711; }
.empty-state { margin: 28px 0 0; color: var(--muted); }

.consultation { padding: 96px max(24px, calc((100vw - var(--max)) / 2)); text-align: center; background: #edf3ff; border-top: 1px solid #d9e3f5; }
.consultation h2 { max-width: 760px; margin: 0 auto 16px; font-size: clamp(32px, 4.2vw, 54px); }
.consultation > p:not(.eyebrow) { max-width: 590px; margin: 0 auto 26px; color: var(--muted); }
.consultation > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

footer { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; padding: 26px max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); }
footer p { margin: 0; color: var(--muted); font-size: 11px; }
footer > a { color: var(--muted); font-size: 12px; font-weight: 700; }

dialog { width: min(560px, calc(100% - 32px)); padding: 0; overflow: visible; border: 0; border-radius: 8px; box-shadow: 0 24px 70px rgba(23, 24, 26, .25); }
#contact-dialog { width: min(800px, calc(100% - 32px)); }
dialog::backdrop { background: rgba(23, 24, 26, .5); }
.dialog-close { width: 34px; height: 34px; position: absolute; top: 10px; right: 10px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; font-size: 24px; }
#contact-dialog-content { padding: 42px; border-radius: 8px; background: #fff; }
.contact-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; }
.contact-brand img:first-child { width: 30px; height: 30px; }
.contact-brand img:last-child { width: 100px; height: auto; }
.contact-qr-layout { display: grid; grid-template-columns: 1fr 300px; gap: 38px; align-items: center; }
.contact-qr-layout h2 { margin: 0 0 12px; font-size: 32px; }
.contact-qr-layout p:not(.eyebrow) { color: var(--muted); }
.contact-qr-layout ul { margin: 22px 0 0; padding: 0; list-style: none; color: #4f5359; font-size: 13px; }
.contact-qr-layout li { position: relative; padding: 7px 0 7px 17px; border-bottom: 1px solid var(--line); }
.contact-qr-layout li::before { content: ""; width: 5px; height: 5px; position: absolute; top: 16px; left: 0; border-radius: 50%; background: var(--brand); }
.contact-qr-layout > a { display: block; }
.contact-qr-layout img { width: 100%; display: block; border: 1px solid var(--line); border-radius: 6px; }

@media (max-width: 980px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 52px; }
  .hero-copy { max-width: 650px; }
  .hero-media-wrap { max-width: 760px; }
  .quick-start, .section-heading, .learning-layout, .resource-heading { grid-template-columns: 1fr; }
  .quick-start, .section-heading { gap: 24px; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .case-list-heading { display: none; }
  .case-row { grid-template-columns: 44px 125px 1fr 20px; }
  .case-client { display: none; }
  footer { grid-template-columns: 1fr; gap: 14px; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .hero { min-height: 600px; grid-template-columns: .8fr 1.2fr; gap: 28px; padding: 48px 24px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-claim { font-size: 22px; }
  .hero-intro { font-size: 13px; }
  .hero-actions { margin-top: 22px; }
  .hero-note { display: none; }
}

@media (max-width: 560px) {
  .site-header { height: 62px; padding: 0 20px; }
  .header-actions { gap: 9px; }
  .header-contact { font-size: 12px; }
  .header-link { min-width: max-content; font-size: 12px; }
  .header-link span { font-size: 15px; }
  .hero { min-height: 0; gap: 28px; padding: 38px 20px 26px; }
  h1 { font-size: 44px; }
  .hero-claim { font-size: 21px; }
  .hero-intro { font-size: 13px; }
  .hero-note { display: none; }
  .hero-actions { margin-top: 22px; }
  .button { min-height: 44px; padding: 0 15px; }
  .quick-start, .section { padding: 68px 20px; }
  .quick-links, .solution-grid, .resource-grid { grid-template-columns: 1fr; }
  .quick-links a { min-height: 88px; border-left: 1px solid #cfd1d4; }
  .section-heading { margin-bottom: 30px; }
  .section-heading > p { font-size: 13px; }
  .solution-card { min-height: 215px; }
  .case-toolbar { align-items: flex-start; }
  .case-toolbar > p { display: none; }
  .case-row { min-height: 0; grid-template-columns: 32px 1fr 17px; gap: 9px; padding: 17px 0; }
  .case-meta { grid-column: 2; grid-row: 1; flex-direction: row; align-items: center; }
  .case-copy { grid-column: 2; }
  .case-copy h3 { font-size: 16px; }
  .case-copy p { font-size: 11px; }
  .case-open { grid-column: 3; grid-row: 1 / span 2; }
  .learning-feature h3 { font-size: 21px; }
  .learning-list a { grid-template-columns: 45px 1fr 16px; }
  .resource-card { min-height: 145px; }
  .consultation { padding: 76px 20px; }
  #contact-dialog-content { padding: 38px 24px 28px; }
  .contact-qr-layout { grid-template-columns: 1fr; gap: 24px; }
  .contact-qr-layout h2 { font-size: 27px; }
  .contact-qr-layout > a { width: min(100%, 310px); margin: 0 auto; }
}
