@import url("fonts/puhuiti.css");

:root {
  color-scheme: light;
  --paper: #f6f6f2;
  --cream: #fbfbf8;
  --white: #fff;
  --blue: #00386b;
  --blue-hover: #064e85;
  --ink: #132230;
  --text: #4c5e6e;
  --muted: #627485;
  --red: #c8102e;
  --line: #dce4e9;
  --mist: #eaf2f7;
  --sans: "Alibaba PuHuiTi Web", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --radius-control: 8px;
  --radius-panel: 12px;
  --shadow: 0 16px 42px -28px rgba(0, 56, 107, .28);
  --page: min(1240px, 100% - 112px);
  --site-header-height: 77px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--site-header-height) + 18px); }
body { margin: 0; color: var(--ink); background: var(--cream); font: 16px/1.7 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
:focus-visible { outline: 2px solid #0873b0; outline-offset: 4px; }
.wrap { width: var(--page); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 12px; z-index: 4; padding: 8px 16px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header {
  position: sticky; top: 0; z-index: 3;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.site-header.is-scrolled {
  background: rgb(251 251 248 / .88);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 23px -19px #355d7b;
}
.site-header::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--blue) 92%, var(--red) 92%); }
.site-header::after {
  content: "";
  position: absolute;
  inset: 0 8% auto 0;
  height: 3px;
  background: #55a8d9;
  transform: scaleX(var(--reading-progress, 0));
  transform-origin: left;
  pointer-events: none;
}
.header-inner { min-height: 73px; display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; color: var(--ink); white-space: nowrap; }
.brand img { width: 44px; height: 44px; }
.brand strong { font-size: 23px; font-weight: 700; letter-spacing: -.015em; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { position: relative; padding: 8px 5px; font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; }
.site-nav a:hover, .site-nav [aria-current] { color: var(--blue); }
.site-nav [aria-current] { font-weight: 700; }
.site-nav a::after {
  content: "";
  position: absolute;
  height: 2px;
  inset: auto 5px 1px;
  border-radius: 9px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .19s ease;
}
.site-nav a[aria-current]::after, .site-nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.header-inner > .button { justify-self: end; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 13px; width: fit-content;
  min-height: 48px; padding: 9px 20px; border: 1px solid transparent; border-radius: var(--radius-control);
  color: white; background: var(--blue); font-size: 15px; line-height: 1.4; font-weight: 700;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.button:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 9px 16px -10px var(--blue); }
.button:active { transform: translateY(0); }
.button.outline { background: rgb(255 255 255 / .62); color: var(--blue); border-color: #cbd9e3; }
.button.outline:hover { background: var(--white); border-color: #7598b3; box-shadow: none; }
.button.compact { min-height: 40px; font-size: 14px; padding: 7px 15px; }
.arrow { font-size: 1.15em; line-height: 1; transition: transform .2s ease; }
a:hover .arrow { transform: translateX(3px); }

.masthead {
  --masthead-wash: #e7f2f8;
  position: relative;
  isolation: isolate;
}
.method-masthead { --masthead-wash: #e7eef6; }
.contact-masthead { --masthead-wash: #ecf1e7; }
.masthead::before, .masthead::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--site-header-height)) 0 0;
  pointer-events: none;
}
.masthead::before {
  z-index: -2;
  background: radial-gradient(ellipse at 85% 40%, var(--masthead-wash), transparent 68%), var(--paper);
}
.home-masthead::before {
  background:
    linear-gradient(to bottom, transparent 68%, var(--cream)),
    radial-gradient(ellipse at 87% 39%, #d9edf6, transparent 60%),
    var(--cream);
}
.home-hero {
  overflow: clip;
  padding: clamp(50px, 6vw, 91px) 0 clamp(51px, 6vw, 88px);
}
.masthead::after {
  z-index: -1;
  background:
    linear-gradient(to right, #d5e1e8 1px, transparent 1px) 0 3px / 76px 76px,
    linear-gradient(to bottom, #d5e1e8 1px, transparent 1px) 0 3px / 76px 76px;
  mask-image: linear-gradient(#000 4%, transparent 91%);
  opacity: .32;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: clamp(30px, 5vw, 76px); align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .045em; }
.eyebrow::before { content: ""; width: 23px; height: 2px; border-radius: 2px; background: var(--red); }
.display { font-family: var(--sans); font-weight: 700; letter-spacing: 0; text-wrap: balance; }
.home-hero h1 { margin-top: 17px; font-size: clamp(39px, 3.65vw, 54px); line-height: 1.17; }
.home-hero h1 span, .home-hero h1 em { display: block; }
.home-hero h1 em {
  font-style: normal;
  color: var(--blue);
  background: linear-gradient(105deg, #00386b 8%, #0b6394 72%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { margin-top: 21px; max-width: 31em; color: var(--text); font-size: clamp(15px, 1.25vw, 18px); text-wrap: balance; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-showcase {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}
.hero-showcase::before {
  content: "";
  position: absolute;
  inset: -12px -13px -12px 13px;
  border: 1px solid #ccdfe9;
  pointer-events: none;
  border-radius: 19px;
}
.showcase-visual {
  position: relative;
  padding: 9px 9px 0;
  border: 1px solid #c4d5e0;
  border-radius: var(--radius-panel);
  background: #fbfdfe;
  box-shadow: 0 22px 48px -34px rgb(19 61 94 / .54);
}
.showcase-panel { overflow: hidden; border: 1px solid #d2dde5; border-radius: 8px; aspect-ratio: 538 / 295; }
.showcase-screenshot { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.showcase-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.showcase-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 12px;
  min-height: 56px;
  padding: 7px 3px 7px 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.showcase-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 8px;
  background: #ecf2f6;
}
.showcase-controls[hidden] { display: none; }
.showcase-controls button {
  min-height: 31px;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.showcase-controls button { white-space: nowrap; }
.showcase-controls button:hover { color: var(--blue); }
.showcase-controls button[aria-pressed="true"] {
  border-color: #cadbe7;
  background: var(--white);
  color: var(--blue);
}

.exam-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, clamp(120px, 13vw, 180px)), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.exam-support-grid li {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf5f9;
  color: var(--blue);
  font: 700 clamp(16px, 1.45vw, 20px)/1.35 var(--sans);
  text-align: center;
}
.capabilities-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}
.capabilities-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.section { padding: clamp(52px, 7vw, 108px) 0; }
.section + .section,
.home-masthead + .capabilities { border-top: 1px solid var(--line); }
.capabilities + .exam-support { border-top: 0; }
.section-nav {
  position: sticky;
  top: var(--site-header-height);
  z-index: 2;
  background: rgb(249 251 252 / .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.section-nav-links { display: flex; align-items: stretch; gap: clamp(18px, 3.5vw, 45px); }
.section-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  white-space: nowrap;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.section-nav a[aria-current], .section-nav a:hover { color: var(--blue); }
.section-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.section-nav a[aria-current]::after, .section-nav a:hover::after { transform: scaleX(1); }
.method-section { scroll-margin-top: 47px; }
.section h2.display { font-size: clamp(30px, 3.15vw, 44px); line-height: 1.2; }
.capabilities { padding-block: clamp(54px, 6vw, 85px); }
.exam-support { padding-block: clamp(32px, 5vw, 64px); }
.heading-row {
  display: flex;
  gap: 18px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid #adc1ce;
  background: #d4e0e8;
}
.capability {
  --capability-fill: #edf5f9;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-column: span 7;
  grid-template-columns: minmax(0, 1fr) minmax(136px, .78fr);
  align-items: center;
  gap: clamp(9px, 1.4vw, 20px);
  min-height: 194px;
  padding: 18px clamp(14px, 2.35vw, 34px);
  background: var(--capability-fill);
}
.capability:nth-child(2), .capability:nth-child(3) { grid-column: span 5; }
.capability:nth-child(2) { --capability-fill: #f2f1f6; }
.capability:nth-child(3) { --capability-fill: #eef4ef; }
.capability:nth-child(4) { --capability-fill: #f7f1eb; }
.capability h3 { text-wrap: balance; font: 700 clamp(18px, 1.65vw, 24px)/1.3 var(--sans); color: var(--blue); }
.capability p { margin-top: 8px; color: var(--text); font-size: 15px; line-height: 1.7; }
.capability-art img {
  width: 100%;
  mask-image:
    linear-gradient(to right, transparent, #000 14%, #000 89%, transparent),
    linear-gradient(to bottom, transparent, #000 12%, #000 89%, transparent);
  mask-composite: intersect;
}

.cta-wrap { padding: 0 0 clamp(54px, 6vw, 90px); }
.cta-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(24px, 4.3vw, 62px);
  border: 1px solid #c2d7e5; border-radius: var(--radius-panel);
  background: linear-gradient(90deg, #e3eff7 8%, rgb(231 241 248 / .92) 45%, rgb(234 243 249 / .32)), url(trial-banner.webp) center / cover;
}
.cta-panel h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.25; }
.cta-panel .button { flex-shrink: 0; }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}
.page-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(320px, 32vw, 445px);
}
.page-copy { position: relative; z-index: 1; padding: 58px 0; }
.page-hero h1 { color: var(--blue); margin-top: 10px; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.14; }
.page-hero p { margin-top: 15px; font-size: clamp(16px, 1.55vw, 21px); color: var(--text); }
.page-hero .eyebrow { margin: 0; color: var(--blue); font: 700 13px/1.5 var(--sans); }
.interior-art {
  --art-fade-in: 37%;
  --art-fade-out: 82%;
  position: absolute;
  inset: 0 max(0px, (100% - 1570px) / 2) 0 auto;
  width: min(66%, 960px);
  pointer-events: none;
}
.interior-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--art-position, center);
  mask-image: linear-gradient(to right, transparent, #000 var(--art-fade-in), #000 var(--art-fade-out), transparent);
}
.method-art {
  --art-fade-in: 19%;
  --art-fade-out: 88%;
  --art-position: 50% 46%;
  width: min(51%, 690px);
}
.method-art > img {
  width: min(100%, 625px);
  margin-inline: auto;
}
.about-art { --art-position: 50% 40%; width: min(59%, 815px); }
.about-art > img { width: min(100%, 690px); margin-inline: auto; }
.location { --art-position: 59% 50%; }
.location > img { opacity: .86; }
.hero-address {
  display: flex;
  gap: 10px;
  align-items: baseline;
  width: fit-content;
  margin-top: 23px;
  padding-top: 13px;
  border-top: 1px solid #bdced6;
  color: var(--text);
  font-size: 14px;
  font-style: normal;
}
.hero-address strong { flex: 0 0 auto; color: var(--blue); }

.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(17px, 2.65vw, 38px); }
.highlight { display: grid; align-content: start; gap: 15px; padding: 21px 0 13px; border-top: 2px solid #c4d8e6; }
.feature-icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #cedee9; border-radius: 14px; color: #145780; background: #eaf3fa; }
.feature-icon i, .feature-icon i::before, .feature-icon i::after { position: relative; display: block; }
.feature-icon i::before, .feature-icon i::after { position: absolute; content: ""; }
.feature-icon.cloud i { width: 29px; height: 13px; border: 2px solid currentColor; border-radius: 12px; margin-top: 7px; }
.feature-icon.cloud i::before { width: 15px; height: 13px; left: 5px; top: -8px; border: 2px solid currentColor; border-bottom: 0; border-radius: 9px 9px 0 0; background: #eaf3fa; }
.feature-icon.exam { color: #354a83; background: #edf0fa; border-color: #d7ddef; }
.feature-icon.exam i { width: 28px; height: 18px; margin-top: -6px; border: 2px solid currentColor; border-radius: 3px; }
.feature-icon.exam i::before { width: 2px; height: 6px; top: 16px; left: 11px; background: currentColor; }
.feature-icon.exam i::after { width: 13px; height: 2px; top: 21px; left: 5.5px; border-radius: 2px; background: currentColor; }
.feature-icon.practice { color: #825133; background: #fbf2e8; border-color: #edddcd; }
.feature-icon.practice i { width: 21px; height: 26px; border: 2px solid currentColor; border-radius: 4px; }
.feature-icon.practice i::before { width: 9px; height: 2px; top: 7px; left: 4px; background: currentColor; box-shadow: 0 5px currentColor, 0 10px currentColor; }
.feature-icon.report { color: #306951; background: #ebf5ef; border-color: #d5e9dc; }
.feature-icon.report i { width: 27px; height: 23px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; border-radius: 0 0 0 3px; }
.feature-icon.report i::before { width: 4px; height: 9px; bottom: 3px; left: 5px; border-radius: 1px; background: currentColor; box-shadow: 7px -3px currentColor, 14px -8px currentColor; }
.highlight h2 { text-wrap: balance; color: var(--blue); font: 700 clamp(18px, 1.55vw, 22px)/1.38 var(--sans); }
.highlight p { margin-top: 10px; color: var(--text); font-size: 16px; line-height: 1.75; }

.reason { background: radial-gradient(ellipse at 18% 48%, #e4f2f8, transparent 68%), #eef4f7; }
.reason-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.reason-intro p { max-width: 23em; margin-top: 14px; color: var(--text); }
.reason-points {
  display: grid;
  grid-auto-rows: 1fr;
  margin: 0;
  border-top: 1px solid #c4d6e0;
}
.reason-points > div {
  display: grid;
  grid-template-columns: minmax(112px, .45fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 80px;
  padding: 16px 0;
  border-bottom: 1px solid #c4d6e0;
}
.reason-points dt { color: var(--blue); font-size: 18px; font-weight: 700; line-height: 1.2; }
.reason-points strong { font-size: clamp(26px, 3.4vw, 47px); letter-spacing: -.045em; }
.reason-points > div:nth-child(2) strong { font-size: clamp(24px, 2.45vw, 34px); }
.reason-points > div:last-child dt { font-size: clamp(24px, 2.3vw, 32px); }
.reason-points dd { margin: 0; color: var(--text); font-size: 15px; }

.system-overview h2 { margin-bottom: 26px; }
.module-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border-block: 1px solid #a7c2d4;
  background: var(--line);
}
.module {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: clamp(16px, 2vw, 28px);
  background: white;
}
.module dt {
  color: var(--blue);
  font: 700 clamp(19px, 1.75vw, 25px)/1.3 var(--sans);
}
.module dd {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  color: var(--text);
  font-size: 15px;
}
.module img {
  width: 100%;
  height: clamp(76px, 8.5vw, 124px);
  margin-top: auto;
}
.module img {
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(.9);
  border-radius: var(--radius-control);
}

.about-editorial {
  display: grid;
  grid-template-columns: minmax(215px, .73fr) minmax(0, 1.27fr);
  gap: clamp(26px, 8vw, 116px);
}
.about-index { align-self: start; position: sticky; top: calc(var(--site-header-height) + 28px); }
.about-index nav { display: grid; gap: 4px; margin-top: 23px; max-width: 250px; }
.about-index a {
  padding: 6px 9px;
  border-left: 2px solid #c7dce8;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.about-index a:hover { border-color: var(--blue); color: var(--blue); background: var(--mist); }
.prose { display: grid; gap: 28px; }
.prose section {
  padding: 15px 0 0;
  border-top: 1px solid #b9cdd9;
  transition: border-color .2s ease;
}
.prose h3 { margin-bottom: 8px; color: var(--blue); font: 700 25px/1.3 var(--sans); }
.prose p { max-width: 43em; color: var(--text); line-height: 1.8; overflow-wrap: anywhere; }
.prose p + p { margin-top: 12px; }
.about-jumps { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 13px; }
.about-jumps a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
}
.about-jumps a:hover { text-decoration: underline; text-underline-offset: 4px; }
.about-jumps a:hover .arrow { transform: translateY(2px); }
.prose section:target { border-top: 2px solid var(--blue); padding-top: 14px; }

.contact-card {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(20px, 4vw, 52px);
  background: linear-gradient(115deg, #fff 32%, #edf6fb); border: 1px solid #cbdce8;
  border-radius: var(--radius-panel); box-shadow: var(--shadow);
}
.contact-card h2 { margin-bottom: 9px; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.2; }
.contact-card p { color: var(--text); font-size: 16px; }
.contact-card .contact-hours { margin-top: 8px; color: var(--muted); font-size: 14px; }
.qr { flex: 0 0 auto; width: 140px; image-rendering: pixelated; border: 8px solid white; outline: 1px solid var(--line); border-radius: 7px; }
.map-actions {
  position: absolute;
  z-index: 2;
  right: max(18px, (100% - 1280px) / 2);
  bottom: 12px;
  display: flex;
  background: white;
  border: 1px solid #cbdbe5;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.map-actions a, .map-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 5px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.map-actions button { border-left: 1px solid var(--line); border-radius: 0 7px 7px 0; }
.map-actions a:hover, .map-actions button:hover { background: var(--mist); }
.map-actions [hidden], .copy-status:empty { display: none; }
.copy-status {
  position: absolute;
  right: 0;
  bottom: calc(100% + 7px);
  width: max-content;
  padding: 5px 9px;
  border-radius: 5px;
  background: var(--blue);
  color: white;
  font-size: 12px;
}
.qr-trigger { display: grid; justify-items: center; gap: 7px; color: var(--blue); font-size: 13px; font-weight: 500; }
.qr-trigger > span { display: inline-flex; align-items: center; gap: 5px; padding-block: 3px; }
.qr-trigger:hover > span { text-decoration: underline; text-underline-offset: 3px; }
.image-dialog {
  width: min(960px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  padding: clamp(12px, 3vw, 22px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  box-shadow: 0 20px 65px -32px var(--ink);
}
.image-dialog[data-kind="qr"] { width: min(350px, calc(100% - 28px)); }
.image-dialog::backdrop { background: rgb(19 34 48 / .48); }
.image-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.image-dialog-header h2 { font-size: 18px; line-height: 1.35; }
.image-dialog-header button {
  min-height: 36px;
  padding: 4px 10px;
  border: 1px solid #cbdbe5;
  border-radius: 7px;
  background: var(--cream);
  color: var(--blue);
  cursor: pointer;
}
.image-dialog-header button:hover { background: var(--mist); }
.image-dialog > img { width: 100%; height: auto; }
.image-dialog[data-kind="qr"] > img { width: min(100%, 280px); margin-inline: auto; image-rendering: pixelated; }

.site-footer { border-top: 1px solid #c8dce7; background: linear-gradient(145deg, #f3f7f8 19%, #eaf2f7); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) max-content auto; column-gap: clamp(16px, 3vw, 44px); align-items: end; padding: 44px 0 36px; }
.footer-brand p, .footer-service p { margin-top: 5px; color: var(--text); font-size: 14px; }
.footer-links { display: flex; gap: clamp(8px, 1.5vw, 24px); }
.footer-links a { color: var(--text); font-size: 14px; white-space: nowrap; }
.footer-links a:hover, .footer-service a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.footer-service { display: flex; gap: 13px; align-items: center; align-self: start; }
.footer-service a { color: var(--blue); font-weight: 700; }
.footer-service p { margin-top: 2px; font-size: 13px; }
.footer-qr { display: block; padding: 4px; border: 1px solid #cbd9e3; border-radius: 8px; background: white; }
.footer-qr img { width: 70px; height: 70px; }
.legal { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; align-items: center; border-top: 1px solid #cfdde6; padding: 16px 0 20px; color: var(--muted); font-size: 12px; }
.legal small { font-size: inherit; }
.legal a { display: inline-flex; align-items: center; gap: 5px; color: var(--text); }
.legal a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.back-to-top {
  position: fixed;
  z-index: 2;
  right: max(14px, (100% - 1350px) / 2);
  bottom: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid #bdd1df;
  border-radius: 50%;
  background: #fbfdff;
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.back-to-top:hover { background: var(--mist); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .home-hero .eyebrow { animation: arrive .48s ease-out both; }
  .home-hero h1 span { animation: arrive .6s 45ms ease-out both; }
  .home-hero h1 em { animation: arrive .66s 115ms ease-out both; }
  .home-hero .hero-lead, .home-hero .hero-actions { animation: arrive .6s 195ms ease-out both; }
  .hero-showcase { animation: art-arrive .7s 140ms ease-out both; }
  .showcase-panel:not([hidden]) { animation: showcase-enter .32s ease-out both; }
  .showcase-visual {
    transform: rotateX(var(--showcase-rx, 0deg)) rotateY(var(--showcase-ry, 0deg));
    transition: transform .24s ease-out;
  }
  @keyframes showcase-enter { from { opacity: .35; } to { opacity: 1; } }
  .page-hero .page-copy { animation: arrive .55s ease-out both; }
  .page-hero .interior-art { animation: art-arrive .7s 90ms ease-out both; }
  .image-dialog[open] { animation: arrive .22s ease-out both; }
  [data-reveal-pending] {
    opacity: .25;
    translate: 0 12px;
    transition: opacity .48s ease-out, translate .48s ease-out;
    transition-delay: var(--reveal-delay, 0ms);
  }
  [data-reveal-pending]:focus-within,
  [data-reveal-pending].in-view { opacity: 1; translate: 0 0; }
  .module [data-reveal-pending] {
    clip-path: inset(0 8% 0 0);
    transition-property: opacity, translate, clip-path;
  }
  .module [data-reveal-pending].in-view { clip-path: inset(0); }
  .highlight:nth-child(even), .prose > section:nth-of-type(even), .capability:nth-child(even), .module:nth-child(3n + 2) [data-reveal] { --reveal-delay: 70ms; }
  @keyframes arrive { from { opacity: 0; translate: 0 13px; } to { opacity: 1; translate: 0 0; } }
  @keyframes art-arrive { from { opacity: .2; translate: 14px 0; } to { opacity: 1; translate: 0 0; } }
}
@media (max-width: 1100px) {
  :root { --page: min(1280px, 100% - 72px); }
  .site-nav { gap: 24px; }
  .hero-grid { gap: 35px; }
  .home-hero h1 { font-size: clamp(32px, 3.85vw, 42px); }
}
@media (max-width: 800px) {
  :root { --page: calc(100% - 44px); --site-header-height: 92px; }
  .hero-lead-break { display: none; }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 14px; padding-top: 8px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; min-height: 40px; gap: clamp(13px, 5vw, 31px); }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 21px; }
  .hero-grid, .page-hero .hero-grid, .reason-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .capability-grid { grid-template-columns: minmax(0, 1fr); }
  .capability:nth-child(n) { grid-column: auto; grid-template-columns: minmax(0, 1fr) clamp(108px, 33vw, 228px); min-height: 0; }
  .about-editorial { grid-template-columns: minmax(0, 1fr); }
  .about-index { position: static; }
  .about-index nav { display: flex; flex-wrap: wrap; max-width: none; }
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero .hero-grid {
    grid-template-rows: minmax(228px, auto) auto;
    align-items: start;
    gap: 0;
    min-height: 0;
  }
  .page-copy { padding: 40px 0 9px; }
  .interior-art {
    --art-fade-in: 12%;
    --art-fade-out: 88%;
    position: static;
    width: 100vw;
    height: clamp(205px, 53vw, 350px);
    margin-inline: calc(50% - 50vw);
  }
  .about-art > img { width: min(100%, 570px); }
  .hero-address { margin-top: 16px; }
  .hero-showcase { margin: 4px 10px 0 0; max-width: 655px; }
  .hero-copy { max-width: 38rem; }
  .home-hero h1 { font-size: clamp(36px, 6.5vw, 50px); }
  .highlight { gap: 11px; padding: 16px 0; }
  .feature-icon { width: 45px; height: 45px; border-radius: 10px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) max-content; gap: 16px; }
  .footer-service { grid-column: 1 / -1; }
}
@media (max-width: 530px) {
  :root { --page: calc(100% - 36px); }
  .site-nav { justify-content: space-between; gap: 8px; }
  .site-nav a { font-size: 13px; }
  .home-hero { padding-top: 36px; }
  .home-hero h1 { font-size: clamp(29px, 7.3vw, 37px); }
  .showcase-visual { border-radius: 12px; }
  .hero-showcase::before { inset: -7px -9px -8px 9px; border-radius: 15px; }
  .showcase-footer { padding-inline: 1px; font-size: 12px; }
  .showcase-controls button { padding-inline: 6px; }
  .highlights { grid-template-columns: minmax(0, 1fr); }
  .highlight { grid-template-columns: 45px 1fr; }
  .heading-row { flex-wrap: wrap; gap: 7px 12px; margin-bottom: 13px; }
  .capability:nth-child(n) { grid-template-columns: minmax(0, 1fr) clamp(88px, 29vw, 149px); }
  .system-overview h2 { margin-bottom: 18px; }
  .module { padding: 12px; }
  .module dt { font-size: 19px; }
  .module dd { gap: 11px; }
  .cta-panel { align-items: start; flex-direction: column; }
  .contact-card { flex-wrap: wrap; }
  .contact-card p { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr; gap: 21px; padding-block: 26px; }
  .footer-service { grid-column: auto; }
}
@media (max-width: 380px) {
  .page-hero .hero-grid { grid-template-rows: minmax(252px, auto) auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
