:root {
  --blue: #2f60a2;
  --blue-dark: #174578;
  --blue-soft: #eaf3fb;
  --brand-blue: #2f60a2;
  --brand-blue-dark: #174578;
  --brand-blue-soft: #eaf3fb;
  --cyan: #0b9bc8;
  --orange: #ef4762;
  --accent-red: #ef4762;
  --cream: #f3f3f3;
  --paper: #f3f3f3;
  --white: #ffffff;
  --ink: #3f3f3f;
  --muted: #6f7678;
  --line: #dedede;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Arial, Helvetica, "Microsoft JhengHei", "Noto Sans TC", "PingFang TC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.logo-gate {
  position: sticky;
  top: 0;
  z-index: 0;
  display: grid;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  padding-bottom: 90px;
  background:
    linear-gradient(180deg, rgba(47, 96, 162, 0.14), rgba(47, 96, 162, 0.34)),
    var(--paper);
  scroll-snap-align: start;
}

.logo-gate::before {
  display: none;
  content: "";
}

.logo-stage {
  position: relative;
  display: grid;
  width: min(86vw, 980px);
  min-height: min(72dvh, 780px);
  place-items: center;
}

.logo-stage img {
  width: min(86vw, 900px);
  max-height: 78dvh;
  object-fit: contain;
  filter: drop-shadow(0 28px 54px rgba(47, 96, 162, 0.22));
}

.scroll-cue {
  position: absolute;
  left: 50vw;
  bottom: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}

.slide-dots {
  position: fixed;
  z-index: 60;
  top: 50%;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
}

.slide-dots a {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(47, 96, 162, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 4px 14px rgba(23, 69, 120, 0.14);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.slide-dots a::before {
  position: absolute;
  top: 50%;
  right: 18px;
  width: max-content;
  max-width: 120px;
  border-radius: 999px;
  background: rgba(6, 18, 27, 0.82);
  color: var(--white);
  content: attr(aria-label);
  font-size: 12px;
  font-weight: 850;
  opacity: 0;
  padding: 5px 9px;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.slide-dots a:hover::before,
.slide-dots a.is-active::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.slide-dots a:hover,
.slide-dots a.is-active {
  border-color: var(--accent-red);
  background: var(--accent-red);
  transform: scale(1.22);
}

.scroll-cue i {
  display: block;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  position: relative;
}

.scroll-cue i::after {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-red);
  content: "";
  transform: translateX(-50%);
  animation: scroll-dot 1.5s ease-in-out infinite;
}

.page-shell {
  position: relative;
  z-index: 2;
  overflow: visible;
  margin-top: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
}

.utility-bar {
  position: sticky;
  z-index: 21;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.utility-inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.utility-inner a:hover {
  color: var(--brand-blue-dark);
}

.utility-search {
  display: inline-flex;
  height: 30px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}

.utility-search span {
  min-width: 128px;
  color: #9a9a9a;
  font-weight: 500;
  padding: 0 10px;
}

.utility-search b {
  display: inline-flex;
  height: 100%;
  align-items: center;
  background: var(--accent-red);
  color: var(--white);
  font-size: 12px;
  padding: 0 10px;
}

.official-tools {
  display: flex;
  gap: 5px;
}

.official-tools button,
.utility-language {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 0;
  border-radius: 5px;
  background: #aaa49e;
  color: var(--white);
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 0 8px;
}

.utility-language {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
}

.scroll-panel {
  position: relative;
}

.scroll-panel > * {
  opacity: 0;
  transform: translateY(-34px);
  transition:
    opacity 720ms ease,
    transform 820ms cubic-bezier(0.18, 0.9, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-panel.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.scroll-panel.is-jelly > * {
  animation: jelly-slide-in 760ms cubic-bezier(0.2, 0.92, 0.18, 1) both;
}

.logo-gate.scroll-panel > .scroll-cue,
.logo-gate.scroll-panel.is-visible > .scroll-cue {
  transform: translateX(-50%);
}

.hero.scroll-panel > .hero-card,
.section-heading,
.mission-board,
.proof-items,
.timeline-list,
.event-grid,
.case-grid,
.contact-card {
  --reveal-delay: 130ms;
}

.about-grid,
.solution-layout,
.service-list,
.doctor-marquee,
.partner-marquee,
.trust-strip > div:nth-child(2) {
  --reveal-delay: 210ms;
}

.trust-strip > div:nth-child(3) {
  --reveal-delay: 300ms;
}

.trust-strip > div:nth-child(4) {
  --reveal-delay: 390ms;
}

.about-grid article,
.product-card,
.proof-items article,
.doctor-chip,
.partner-chip,
.timeline-list article,
.event-grid article,
.case-grid article,
.contact-card {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.about-grid article:hover,
.product-card:hover,
.proof-items article:hover,
.doctor-chip:hover,
.partner-chip:hover,
.timeline-list article:hover,
.event-grid article:hover,
.case-grid article:hover {
  transform: translateY(-4px);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 42px;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 56px);
  background: var(--brand-blue);
  box-shadow: none;
}

.brand {
  display: flex;
  width: auto;
  min-width: 164px;
  height: 56px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 7px 12px 7px 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 0;
}

.brand span {
  color: var(--white);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 0;
  margin-left: auto;
  min-width: 0;
}

.site-nav a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 0 10px;
  white-space: nowrap;
}

.site-nav > a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.site-nav a:hover,
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  background: var(--brand-blue-dark);
}

.nav-group {
  position: relative;
  display: flex;
  align-self: stretch;
}

.nav-trigger::after {
  margin-left: 7px;
  color: rgba(255, 255, 255, 0.82);
  content: "▾";
  font-size: 10px;
}

.nav-dropdown {
  position: absolute;
  z-index: 40;
  top: 100%;
  left: 0;
  display: grid;
  min-width: 176px;
  padding: 8px 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(63, 63, 63, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  min-height: 38px;
  border: 0;
  color: var(--ink);
  padding: 0 14px;
}

.nav-dropdown a:hover {
  background: var(--brand-blue-soft);
  color: var(--brand-blue-dark);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 900;
  padding: 0 22px;
}

.nav-cta {
  background: var(--accent-red);
  color: var(--white);
  border-radius: 4px;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--white);
}

.hero {
  display: grid;
  min-height: calc(100dvh - 120px);
  align-items: center;
  gap: 42px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 28px 56px;
  scroll-snap-align: start;
}

.eyebrow,
.section-kicker,
.tag {
  color: var(--accent-red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 1.12;
}

h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 23px;
}

.hero-text,
.section-heading p,
.marquee-heading p,
.mission-copy p,
.contact p,
.product-card p,
.about-grid p,
.proof-items p,
.timeline-list p,
.event-grid p,
.case-grid p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.hero-text {
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button-primary {
  background: var(--accent-red);
  color: var(--white);
  box-shadow: none;
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--brand-blue-dark);
}

.hero-card {
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(23, 69, 120, 0.14);
  overflow: hidden;
}

.hero-card-top {
  min-height: 210px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(47, 96, 162, 0.96), rgba(23, 69, 120, 0.88)),
    var(--brand-blue);
  color: var(--white);
}

.hero-card-top span {
  display: block;
  margin-bottom: 52px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card-top strong {
  display: block;
  max-width: 360px;
  font-size: 38px;
  line-height: 1.05;
}

.hero-card-body {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.hero-card-body p {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  padding: 18px 24px;
}

.hero-card-bottom {
  padding: 24px;
  background: var(--brand-blue-soft);
}

.hero-card-bottom span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-red);
  font-size: 13px;
  font-weight: 950;
}

.hero-card-bottom b {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
}

.doctor-marquee-section {
  display: flex;
  min-height: calc(100dvh - 78px);
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--paper);
  padding: 58px 0 62px;
  scroll-snap-align: start;
}

.marquee-heading {
  max-width: 1180px;
  margin: 0 auto 30px;
  padding: 0 28px;
}

.marquee-heading h2 {
  margin-bottom: 8px;
}

.marquee-heading p:last-child {
  margin-bottom: 0;
}

.doctor-marquee {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
}

.doctor-marquee::before,
.doctor-marquee::after {
  position: absolute;
  z-index: 2;
  top: 0;
  width: 120px;
  height: 100%;
  content: "";
  pointer-events: none;
}

.doctor-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), rgba(243, 243, 243, 0));
}

.doctor-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), rgba(243, 243, 243, 0));
}

.doctor-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marquee-left 28s linear infinite;
}

.doctor-marquee:hover .doctor-track {
  animation-play-state: paused;
}

.doctor-chip {
  display: flex;
  min-width: 250px;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(63, 63, 63, 0.08);
  padding: 10px 18px 10px 10px;
}

.doctor-chip img {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border: 4px solid var(--brand-blue-soft);
  border-radius: 6px;
  object-fit: cover;
}

.doctor-chip span {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  white-space: nowrap;
}

.partner-marquee-section {
  display: flex;
  min-height: calc(100dvh - 78px);
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--paper);
  padding: 58px 0 62px;
  scroll-snap-align: start;
}

.partner-marquee {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
}

.partner-marquee::before,
.partner-marquee::after {
  position: absolute;
  z-index: 2;
  top: 0;
  width: 120px;
  height: 100%;
  content: "";
  pointer-events: none;
}

.partner-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), rgba(248, 251, 253, 0));
}

.partner-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), rgba(248, 251, 253, 0));
}

.partner-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: marquee-left 32s linear infinite;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

.partner-chip {
  display: grid;
  min-width: 230px;
  min-height: 92px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(63, 63, 63, 0.08);
  padding: 0 28px;
}

.partner-chip span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.trust-strip {
  position: relative;
  display: grid;
  align-content: center;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  min-height: calc(100dvh - 120px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 96, 162, 0.92), rgba(23, 69, 120, 0.72)),
    var(--brand-blue);
  box-shadow: 0 2px 8px rgba(63, 63, 63, 0.08);
  isolation: isolate;
  scroll-snap-align: center;
}

.trust-strip::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(23, 69, 120, 0.26), rgba(47, 96, 162, 0.08)),
    url("./assets/gmaple-mark-light.png") right 8% center / min(45vw, 520px) auto no-repeat;
  content: "";
  opacity: 0.72;
}

.trust-strip::after {
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.24), transparent 28%),
    radial-gradient(circle at 84% 70%, rgba(239, 71, 98, 0.16), transparent 32%);
  content: "";
  pointer-events: none;
}

.trust-strip div {
  min-height: 190px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 26px;
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  color: var(--brand-blue-dark);
  font-size: clamp(28px, 4vw, 42px);
}

.trust-strip span {
  color: var(--muted);
  font-weight: 850;
}

.section {
  max-width: 1180px;
  min-height: calc(100dvh - 78px);
  margin: 0 auto;
  padding: 76px 28px;
  scroll-snap-align: start;
}

.section.about,
.section.mission,
.section.solutions,
.section.proof,
.section.timeline-section,
.section.events-section,
.section.case-studies {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-heading {
  display: grid;
  align-items: end;
  gap: 40px;
  grid-template-columns: 0.95fr 1fr;
  margin-bottom: 36px;
}

.about-grid,
.solution-layout,
.proof-grid,
.event-grid,
.case-grid {
  display: grid;
  gap: 18px;
}

.about-grid {
  grid-template-columns: repeat(3, 1fr);
}

.about-grid article,
.product-card,
.proof-items article,
.timeline-list article,
.event-grid article,
.case-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(63, 63, 63, 0.08);
}

.about-grid article {
  padding: 26px;
}

.about-grid span {
  color: var(--accent-red);
  font-weight: 950;
}

.mission {
  display: grid;
  align-items: stretch;
  gap: 28px;
  grid-template-columns: 1.05fr 0.95fr;
}

.mission-board {
  border-radius: var(--radius);
  background: var(--brand-blue);
  color: var(--white);
  padding: 34px;
}

.mission-board p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.mission-board strong {
  display: block;
  max-width: 420px;
  margin-bottom: 18px;
  font-size: 36px;
  line-height: 1.16;
}

.mission-board span {
  display: block;
  max-width: 430px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.solution-layout {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.product-card {
  min-height: 210px;
  padding: 26px;
}

.product-card.featured {
  grid-row: span 2;
  background: var(--brand-blue-soft);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.service-list span {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--brand-blue-dark);
  font-weight: 850;
  padding: 11px 15px;
}

.proof {
  max-width: none;
  background: var(--brand-blue-dark);
  color: var(--white);
}

.proof-grid {
  grid-template-columns: 0.95fr 1.05fr;
  max-width: 1180px;
  margin: 0 auto;
}

.proof .section-kicker,
.proof h2 {
  color: var(--white);
}

.proof-items {
  display: grid;
  gap: 14px;
}

.proof-items article {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.proof-items strong {
  display: block;
  margin-bottom: 8px;
  color: #d9f4ef;
  font-size: 21px;
}

.proof-items p {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline-list::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 103px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-red), rgba(47, 96, 162, 0.16));
  content: "";
}

.timeline-list article {
  position: relative;
  display: grid;
  align-items: start;
  gap: 32px;
  grid-template-columns: 88px 1fr;
  padding: 24px;
}

.timeline-list article::before {
  position: absolute;
  top: 31px;
  left: 97px;
  width: 14px;
  height: 14px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 0 1px rgba(239, 71, 98, 0.28);
  content: "";
}

.timeline-list time {
  color: var(--accent-red);
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.timeline-list h3,
.event-grid h3,
.case-grid h3 {
  margin-bottom: 8px;
}

.timeline-list p,
.event-grid p,
.case-grid p {
  margin-bottom: 0;
}

.event-grid {
  grid-template-columns: repeat(3, 1fr);
}

.event-grid article,
.case-grid article {
  padding: 24px;
}

.event-visual {
  display: grid;
  min-height: 168px;
  place-items: end start;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 96, 162, 0.94), rgba(23, 69, 120, 0.72)),
    var(--brand-blue);
  color: rgba(255, 255, 255, 0.9);
  font-size: 28px;
  font-weight: 950;
  padding: 22px;
}

.event-grid article:nth-child(2) .event-visual {
  background:
    linear-gradient(135deg, rgba(23, 69, 120, 0.94), rgba(47, 96, 162, 0.76)),
    var(--brand-blue-dark);
}

.event-grid article:nth-child(3) .event-visual {
  background:
    linear-gradient(135deg, rgba(239, 71, 98, 0.92), rgba(47, 96, 162, 0.72)),
    var(--accent-red);
}

.event-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 4px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue-dark);
  font-size: 13px;
  font-weight: 950;
  padding: 6px 10px;
}

.case-grid {
  grid-template-columns: repeat(2, 1fr);
}

.case-grid article {
  display: flex;
  min-height: 360px;
  flex-direction: column;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.case-tags span {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--brand-blue-dark);
  font-size: 13px;
  font-weight: 900;
  padding: 7px 10px;
}

.case-grid strong {
  color: var(--brand-blue-dark);
}

.contact {
  display: grid;
  min-height: calc(100dvh - 78px);
  align-items: center;
  gap: 32px;
  grid-template-columns: 1.05fr 0.95fr;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 40px;
  scroll-snap-align: start;
}

.contact-panel {
  box-shadow: 0 2px 8px rgba(63, 63, 63, 0.08);
}

.contact h2 {
  margin-bottom: 12px;
}

.contact p {
  max-width: 760px;
  margin-bottom: 0;
}

.contact-card {
  padding: 30px;
}

.contact-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.28;
}

.contact-card p {
  margin-bottom: 22px;
}

.contact-card .button {
  width: 100%;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 28px;
  background: var(--brand-blue);
  color: rgba(255, 255, 255, 0.82);
}

footer img {
  width: 190px;
  height: 74px;
  object-fit: contain;
  border-radius: 4px;
}

footer p {
  margin: 0;
}

.content-page {
  max-width: 1180px;
  min-height: calc(100dvh - 120px);
  margin: 0 auto;
  padding: 54px 28px 78px;
}

.breadcrumb {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.page-title {
  margin-bottom: 30px;
  padding: 34px 0 12px;
}

.page-title h1 {
  max-width: 940px;
  margin-bottom: 16px;
  font-size: clamp(34px, 4.2vw, 56px);
}

.page-title p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.page-section {
  margin-bottom: 24px;
  scroll-margin-top: 136px;
}

.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(63, 63, 63, 0.08);
  padding: 30px;
}

.content-card h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.content-card > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.info-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.info-grid article,
.article-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 20px;
}

.info-grid strong,
.article-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue-dark);
  font-size: 20px;
}

.info-grid span,
.article-list p {
  color: var(--muted);
  line-height: 1.7;
}

.emphasis-card {
  background: var(--brand-blue);
  color: var(--white);
}

.emphasis-card h2,
.emphasis-card p {
  color: var(--white);
}

.article-list {
  display: grid;
  gap: 14px;
}

.document-timeline::before {
  left: 103px;
}

.document-solutions,
.document-events,
.document-cases {
  margin-top: 20px;
}

.document-marquee {
  margin-top: 20px;
}

.document-marquee::before,
.document-marquee::after {
  display: none;
}

.document-contact {
  min-height: auto;
  margin: 0;
  scroll-snap-align: none;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@keyframes scroll-dot {
  0%,
  100% {
    opacity: 0.45;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 15px);
  }
}

@keyframes jelly-slide-in {
  0% {
    opacity: 0;
    transform: translateY(52px) scaleY(0.94);
  }
  58% {
    opacity: 1;
    transform: translateY(-10px) scaleY(1.025);
  }
  76% {
    transform: translateY(5px) scaleY(0.988);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@media (max-width: 1100px) {
  .utility-inner {
    justify-content: flex-start;
    overflow-x: auto;
    padding-inline: 18px;
    white-space: nowrap;
  }

  .site-header {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .menu-button {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding-bottom: 12px;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .nav-trigger {
    min-height: 42px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 10px;
  }

  .site-nav > a:last-child {
    border-right: 0;
  }

  .nav-group {
    display: grid;
    align-self: auto;
  }

  .nav-trigger {
    justify-content: space-between;
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 0;
    border: 0;
    background: rgba(23, 69, 120, 0.58);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-group.is-open .nav-dropdown {
    display: grid;
  }

  .nav-dropdown a {
    min-height: 38px;
    color: rgba(255, 255, 255, 0.94);
    padding-left: 24px;
  }

  .nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
  }
}

@media (max-width: 960px) {
  .logo-gate::before {
    inset: 8vh 18px;
    border-radius: 24px;
  }

  .logo-stage {
    width: min(92vw, 760px);
  }

  .scroll-cue {
    bottom: 78px;
  }

  .slide-dots {
    right: 12px;
    gap: 10px;
  }

  .slide-dots a {
    width: 10px;
    height: 10px;
  }

  .logo-stage img {
    width: min(92vw, 720px);
  }

  .page-shell {
    border-radius: 0;
  }

  .hero,
  .section-heading,
  .mission,
  .proof-grid,
  .contact,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .solution-layout,
  .trust-strip,
  .event-grid,
  .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-card.featured {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .utility-search,
  .official-tools {
    display: none;
  }

  .logo-stage {
    min-height: 68dvh;
  }

  .logo-stage img {
    width: min(96vw, 520px);
  }

  .scroll-cue {
    bottom: 72px;
  }

  .slide-dots {
    right: 8px;
  }

  .slide-dots a::before {
    display: none;
  }

  .brand {
    min-width: 146px;
    height: 50px;
    padding-right: 13px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand span {
    font-size: 16px;
  }

  h1 {
    font-size: 38px;
  }

  .hero {
    padding: 148px 18px 38px;
  }

  .section {
    padding-top: 138px;
  }

  .doctor-marquee-section,
  .partner-marquee-section {
    padding-top: 138px;
  }

  .about-grid,
  .solution-layout,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    border-radius: 18px;
  }

  .trust-strip::before {
    background:
      linear-gradient(180deg, rgba(6, 18, 27, 0.28), rgba(47, 96, 162, 0.1)),
      url("./assets/gmaple-mark-light.png") right -42px top 32px / 260px auto no-repeat;
  }

  .trust-strip::after {
    inset: 12px;
  }

  .trust-strip div {
    min-height: 128px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .product-card.featured {
    grid-column: auto;
  }

  .section,
  .marquee-heading {
    padding-inline: 18px;
  }

  .content-page {
    padding: 34px 18px 58px;
  }

  .page-title {
    padding-top: 22px;
  }

  .content-card {
    padding: 22px;
  }

  .page-section {
    scroll-margin-top: 126px;
  }

  .doctor-marquee::before,
  .doctor-marquee::after,
  .partner-marquee::before,
  .partner-marquee::after {
    width: 44px;
  }

  .doctor-chip {
    min-width: 220px;
  }

  .partner-chip {
    min-width: 210px;
    min-height: 82px;
  }

  .contact {
    align-items: flex-start;
    grid-template-columns: 1fr;
    margin-inline: 18px;
    padding: 28px;
  }

  .timeline-list::before {
    left: 27px;
  }

  .timeline-list article {
    gap: 18px;
    grid-template-columns: 1fr;
    padding-left: 54px;
  }

  .timeline-list article::before {
    left: 20px;
  }

  .event-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .event-visual {
    min-height: 140px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .scroll-panel > *,
  .doctor-track,
  .partner-track,
  .scroll-cue i::after,
  .scroll-panel.is-jelly > * {
    animation: none;
    transition: none;
  }

  .scroll-panel > * {
    opacity: 1;
    transform: none;
  }
}
