:root {
  --paper: #f4f8ff;
  --paper-deep: #dfeaf7;
  --ink: #071a3d;
  --ink-soft: #5d708b;
  --forest: #2f73d9;
  --forest-deep: #071b3d;
  --accent: #2f73d9;
  --sky: #78c9f5;
  --cloud: #fbfdff;
  --white: #fafdff;
  --line: rgba(7, 26, 61, 0.16);
  --line-light: rgba(238, 248, 255, 0.18);
  --font: "Avenir Next", "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", Consolas, monospace;
  --container: 1320px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img, svg { display: block; }
img { max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  min-height: 94px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}
.brand > img { width: 38px; height: auto; flex: none; filter: drop-shadow(0 7px 10px rgba(17, 67, 126, 0.16)); }
.brand > span { display: grid; gap: 3px; }
.brand b {
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.19em;
  font-weight: 750;
}
.brand small {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.18em;
}
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 46px); }
.site-nav a {
  position: relative;
  padding: 35px 0 31px;
  color: #50544e;
  font-size: 13px;
  transition: color 0.25s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 27px;
  height: 1px;
  background: currentColor;
  transition: right 0.35s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav .language-link {
  min-width: 42px;
  padding: 8px 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  text-align: center;
}
.site-nav .language-link::after { display: none; }
.language-switcher { position: relative; flex: none; }
.language-trigger {
  min-width: 132px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(47, 115, 217, 0.2);
  border-radius: 3px 13px 13px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  background: rgba(251, 253, 255, 0.72);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, transform 0.25s var(--ease);
}
.language-trigger:hover { color: var(--accent); border-color: rgba(47, 115, 217, 0.42); background: var(--cloud); }
.language-trigger:active { transform: scale(0.98); }
.language-trigger > svg { width: 12px; height: 8px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 0.25s var(--ease); }
.language-switcher[data-open="true"] .language-trigger > svg { transform: rotate(180deg); }
.language-flag {
  width: 26px;
  height: 18px;
  flex: none;
  overflow: hidden;
  display: grid;
  border: 1px solid rgba(7, 26, 61, 0.13);
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 3px 8px rgba(7, 27, 61, 0.09);
}
.language-flag svg { width: 100%; height: 100%; }
.language-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 12px);
  right: 0;
  width: 238px;
  padding: 10px;
  max-height: min(640px, calc(100dvh - 118px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  background: rgba(251, 253, 255, 0.97);
  border: 1px solid rgba(47, 115, 217, 0.17);
  border-radius: 3px 18px 18px 18px;
  box-shadow: 0 24px 64px rgba(7, 27, 61, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(1.16);
  transform-origin: top right;
  animation: language-menu-in 0.24s var(--ease) both;
}
.language-menu > p { margin: 0; padding: 9px 11px 12px; color: var(--ink-soft); border-bottom: 1px solid var(--line); font: 650 9px/1 var(--mono); letter-spacing: 0.12em; }
.language-options { padding-top: 6px; display: grid; }
.language-option {
  width: 100%;
  min-height: 48px;
  padding: 0 11px;
  border: 0;
  border-radius: 2px 10px 10px 10px;
  display: grid;
  grid-template-columns: 26px 1fr 8px;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 560;
  transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s var(--ease);
}
.language-option:hover { color: var(--accent); background: rgba(47, 115, 217, 0.065); transform: translateX(2px); }
.language-option:active { transform: scale(0.985); }
.language-option[aria-checked="true"] { color: #245fae; background: rgba(47, 115, 217, 0.1); font-weight: 680; }
.language-option > i { width: 7px; height: 7px; border: 1px solid rgba(47, 115, 217, 0.36); border-radius: 50%; }
.language-option[aria-checked="true"] > i { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 2px var(--cloud); }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.menu-button i { display: block; width: 22px; height: 1px; margin: 7px auto; background: var(--ink); }

.eyebrow {
  margin: 0;
  color: var(--accent);
  font: 700 11px/1.2 var(--mono);
  letter-spacing: 0.16em;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal]:nth-child(2) { transition-delay: 0.12s; }
[data-reveal][data-visible="true"] { opacity: 1; transform: translateY(0); }

/* Home */
.page-home {
  min-height: 100dvh;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 26, 23, 0.08) 1px, transparent 0);
  background-size: 44px 44px;
}
.home-main { min-height: calc(100dvh - 174px); }
.home-hero {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  min-height: calc(100dvh - 174px);
  margin: 0 auto;
  padding: clamp(64px, 9vh, 112px) 0 clamp(62px, 8vh, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: clamp(64px, 8vw, 132px);
}
.home-intro { align-self: center; }
.home-intro h1 {
  max-width: 760px;
  margin: 27px 0 0;
  font-size: clamp(50px, 5.15vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 760;
  text-wrap: balance;
}
.home-intro h1 span, .service-copy h1 span { color: var(--accent); }
.home-lead {
  max-width: 550px;
  margin: 31px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.85;
  text-wrap: pretty;
}
.hero-note {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #777b74;
  font-size: 12px;
}
.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--forest);
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(23, 63, 51, 0.38);
  border-radius: inherit;
  animation: breathe 2.8s ease-in-out infinite;
}
.service-directory {
  position: relative;
  overflow: hidden;
  padding: 20px 0 0;
  color: var(--white);
  background: var(--forest-deep);
  border-radius: 28px 5px 28px 28px;
  box-shadow: 0 32px 80px rgba(21, 48, 39, 0.16);
}
.service-directory::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -72px;
  top: -96px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.025), 0 0 0 58px rgba(255, 255, 255, 0.02);
}
.directory-head, .directory-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(24px, 3vw, 38px);
  font: 600 10px/1.2 var(--mono);
  letter-spacing: 0.12em;
}
.directory-head { padding-bottom: 20px; color: rgba(255, 253, 248, 0.58); }
.directory-item {
  position: relative;
  min-height: 116px;
  padding: 22px clamp(24px, 3vw, 38px);
  display: grid;
  grid-template-columns: 38px 1fr 46px;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line-light);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.directory-item:hover, .directory-item:focus-visible { background: var(--accent); }
.service-index { align-self: start; padding-top: 5px; color: rgba(255, 253, 248, 0.52); font: 500 11px/1 var(--mono); }
.directory-copy { display: grid; gap: 7px; }
.directory-copy b { font-size: clamp(19px, 1.65vw, 24px); letter-spacing: -0.025em; font-weight: 650; }
.directory-copy small { color: rgba(255, 253, 248, 0.58); font-size: 12px; }
.directory-item:hover .directory-copy small, .directory-item:hover .service-index { color: rgba(255, 255, 255, 0.82); }
.arrow-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background 0.35s ease;
}
.arrow-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.directory-item:hover .arrow-icon { transform: translateX(4px); background: rgba(255, 255, 255, 0.12); }
.directory-foot {
  padding-top: 20px;
  padding-bottom: 22px;
  color: rgba(255, 253, 248, 0.45);
  border-top: 1px solid var(--line-light);
}
.directory-foot a { color: var(--white); }

/* Shared service pages */
.page-service { background: var(--paper); }
.service-hero {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  min-height: min(790px, calc(100dvh - 94px));
  margin: 0 auto;
  padding: clamp(58px, 8vh, 94px) 0 clamp(70px, 9vh, 106px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(64px, 8vw, 124px);
}
.service-copy { position: relative; z-index: 2; }
.back-link {
  width: max-content;
  margin-bottom: clamp(58px, 8vh, 84px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 12px;
}
.back-link svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 0.25s ease; }
.back-link:hover svg { transform: translateX(-4px); }
.service-copy h1 {
  margin: 22px 0 0;
  font-size: clamp(46px, 4.7vw, 69px);
  line-height: 1.06;
  letter-spacing: -0.06em;
  font-weight: 760;
  text-wrap: balance;
}
.service-lead {
  max-width: 510px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  text-wrap: pretty;
}
.primary-actions { margin-top: 36px; }
.primary-button {
  min-height: 56px;
  width: max-content;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 2px 18px 18px 18px;
  font-size: 13px;
  font-weight: 650;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}
.primary-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.primary-button:hover { background: var(--accent); transform: translateY(-3px); }
.primary-button:active { transform: scale(0.98); }
.destination {
  margin: 17px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #85887f;
  font-size: 11px;
}
.destination > span { width: 5px; height: 5px; border-radius: 50%; background: var(--forest); }
.service-visual { position: relative; min-width: 0; }

/* App visual */
.app-visual { padding: 0 0 38px 36px; }
.app-visual::before {
  content: "";
  position: absolute;
  inset: 46px 48px 0 0;
  background: var(--forest);
  border-radius: 3px 32px 32px 32px;
}
.app-image {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  background: #dfe9ef;
  border-radius: 24px 3px 24px 24px;
  box-shadow: 0 28px 70px rgba(37, 60, 73, 0.16);
}
.app-image img { width: 100%; aspect-ratio: 1.37; object-fit: cover; object-position: 56% center; }
.app-image figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 20px 23px;
  display: flex;
  justify-content: space-between;
  color: var(--white);
  background: rgba(16, 49, 39, 0.78);
  backdrop-filter: blur(12px);
  font: 600 9px/1 var(--mono);
  letter-spacing: 0.12em;
}
.platform-row {
  position: relative;
  z-index: 2;
  width: calc(100% - 70px);
  margin: -23px 0 0 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-radius: 16px 3px 16px 16px;
  box-shadow: 0 20px 52px rgba(24, 43, 35, 0.16);
}
.platform-row a { min-height: 73px; padding: 16px; display: grid; align-content: center; gap: 5px; border-right: 1px solid var(--line); transition: background 0.25s ease; }
.platform-row a:last-child { border: 0; }
.platform-row a:hover { background: var(--paper); }
.platform-row small { color: #8a8e87; font: 600 8px/1 var(--mono); letter-spacing: 0.1em; }
.platform-row b { font-size: 13px; font-weight: 650; }

/* Certificate visual */
.certificate-visual {
  min-height: 540px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 30px 4px 30px 30px;
  background: var(--forest-deep);
  box-shadow: 0 28px 70px rgba(30, 52, 64, 0.17);
}
.arena-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.certificate-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 34, 49, 0.24);
}
.certificate-sheet {
  position: relative;
  z-index: 2;
  width: min(65%, 390px);
  min-height: 290px;
  padding: 36px 30px 30px;
  display: grid;
  justify-items: center;
  align-content: start;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 24px 65px rgba(14, 34, 60, 0.28);
  transform: rotate(-2.4deg);
  transition: transform 0.5s var(--ease);
}
.certificate-visual:hover .certificate-sheet { transform: rotate(-0.6deg) translateY(-6px); }
.certificate-sheet::before, .certificate-sheet::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(23, 63, 51, 0.34); }
.certificate-sheet::after { inset: 17px; border-color: rgba(231, 94, 60, 0.28); }
.sheet-mark { width: 37px; margin-bottom: 12px; }
.certificate-sheet p { margin: 0; font: 700 11px/1 var(--mono); letter-spacing: 0.15em; }
.certificate-sheet h2 { margin: 27px 0 7px; font-size: clamp(29px, 3vw, 41px); letter-spacing: 0.12em; }
.certificate-sheet > span { color: #6f736d; font: 600 8px/1 var(--mono); letter-spacing: 0.15em; }
.certificate-sheet > i { width: 56%; height: 1px; margin: 36px 0 22px; background: var(--line); }
.certificate-sheet > small { font: 600 7px/1 var(--mono); letter-spacing: 0.2em; }
.certificate-entries {
  position: absolute;
  z-index: 3;
  right: 23px;
  bottom: 21px;
  display: flex;
  color: var(--white);
  background: rgba(16, 49, 39, 0.87);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px 14px 14px 14px;
}
.certificate-entries span { padding: 12px 15px; font-size: 10px; }
.certificate-entries span + span { border-left: 1px solid rgba(255, 255, 255, 0.18); }

/* Coupon visual */
.redeem-visual { min-height: 560px; display: grid; place-items: center; }
.redeem-visual::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 1px solid rgba(23, 26, 23, 0.08);
  box-shadow: 0 0 0 38px rgba(233, 227, 215, 0.46), 0 0 0 76px rgba(233, 227, 215, 0.22);
}
.ticket-shadow, .coupon-ticket {
  width: min(76%, 420px);
  min-height: 475px;
  border-radius: 4px 28px 28px 28px;
}
.ticket-shadow { position: absolute; z-index: 1; background: var(--forest); transform: rotate(6deg) translate(28px, 13px); opacity: 0.22; }
.coupon-ticket {
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: grid;
  grid-template-rows: 82px 1fr 84px;
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 30px 62px rgba(87, 54, 38, 0.2);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease);
}
.redeem-visual:hover .coupon-ticket { transform: rotate(-1deg) translateY(-7px); }
.coupon-ticket::before, .coupon-ticket::after { content: ""; position: absolute; z-index: 3; left: -13px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); }
.coupon-ticket::before { top: 69px; box-shadow: 420px 0 var(--paper); }
.coupon-ticket::after { bottom: 71px; box-shadow: 420px 0 var(--paper); }
.coupon-ticket header, .coupon-ticket footer { padding: 0 27px; display: flex; align-items: center; justify-content: space-between; font: 700 9px/1 var(--mono); letter-spacing: 0.13em; }
.coupon-ticket header { border-bottom: 1px dashed rgba(23, 26, 23, 0.34); }
.coupon-ticket header img { width: 31px; }
.ticket-body { padding: 48px 28px 30px; }
.ticket-body small { font-size: 13px; font-weight: 650; }
.ticket-body strong { margin: 11px 0 5px; display: block; font-size: 112px; line-height: 0.98; letter-spacing: -0.08em; }
.ticket-body sup { font-size: 30px; letter-spacing: 0; vertical-align: top; }
.ticket-body p { margin: 19px 0 0; color: rgba(23, 26, 23, 0.69); font-size: 12px; }
.coupon-ticket footer { border-top: 1px dashed rgba(23, 26, 23, 0.34); }
.coupon-ticket footer i { width: 60px; height: 37px; background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 6px); opacity: 0.78; }
.secure-tag {
  position: absolute;
  z-index: 4;
  right: 1%;
  bottom: 12%;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  border-radius: 2px 14px 14px 14px;
  box-shadow: 0 16px 36px rgba(32, 43, 37, 0.13);
}
.secure-tag > i { width: 9px; height: 9px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 5px rgba(23, 63, 51, 0.1); }
.secure-tag span { display: grid; gap: 3px; }
.secure-tag b { font-size: 11px; }
.secure-tag small { color: var(--ink-soft); font-size: 9px; }

/* Guidance and footer */
.service-guidance {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin: 0 auto;
  padding: 68px 0 90px;
  display: grid;
  grid-template-columns: 0.45fr 1fr 0.82fr;
  gap: clamp(34px, 5vw, 80px);
  border-top: 1px solid var(--line);
}
.section-number { margin: 6px 0 0; color: var(--accent); font: 650 9px/1.2 var(--mono); letter-spacing: 0.14em; }
.service-guidance h2 { margin: 0; max-width: 470px; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; letter-spacing: -0.045em; }
.service-guidance > div > p { max-width: 540px; margin: 20px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.service-guidance dl { margin: 0; border-top: 1px solid var(--line); }
.service-guidance dl > div { padding: 15px 0 16px; display: grid; grid-template-columns: 75px 1fr; gap: 14px; border-bottom: 1px solid var(--line); }
.service-guidance dt { color: #8a8d86; font: 600 10px/1.5 var(--mono); }
.service-guidance dd { margin: 0; font-size: 12px; line-height: 1.55; }
.site-footer {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin: 0 auto;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.compact-footer {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brandline { display: flex; gap: 18px; color: var(--ink); font: 650 9px/1 var(--mono); letter-spacing: 0.14em; }
.footer-brandline span + span { padding-left: 18px; border-left: 1px solid var(--line); color: var(--ink-soft); }
.site-footer p { margin: 0; font-size: 10px; }
.site-footer p a { color: inherit; transition: color 0.25s ease; }
.site-footer p a:hover { color: var(--accent); }
.service-footer { min-height: 142px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.service-footer > a { display: grid; gap: 8px; }
.service-footer > a span { color: var(--accent); font: 650 9px/1 var(--mono); letter-spacing: 0.13em; }
.service-footer > a b { font-size: 22px; font-weight: 650; letter-spacing: -0.03em; transition: transform 0.3s var(--ease); }
.service-footer > a:hover b { transform: translateX(5px); }

/* 404 */
.error-page main {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  min-height: calc(100dvh - 174px);
  margin: 0 auto;
  padding: 48px 0 70px;
  display: grid;
  grid-template-rows: 1fr;
}
.error-footer { min-height: 80px; }
.error-page main > div { align-self: center; padding-left: 16vw; }
.error-page main > div > p { color: var(--accent); font: 650 10px/1 var(--mono); letter-spacing: 0.15em; }
.error-page h1 { margin: 24px 0 38px; font-size: clamp(48px, 7vw, 96px); line-height: 1; letter-spacing: -0.065em; }

@keyframes breathe {
  0%, 100% { transform: scale(0.75); opacity: 0.35; }
  50% { transform: scale(1.15); opacity: 0.9; }
}
@keyframes language-menu-in {
  from { opacity: 0; transform: translateY(-7px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1080px) {
  .home-hero { grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.82fr); gap: 54px; }
  .service-hero { grid-template-columns: minmax(0, 0.76fr) minmax(460px, 1fr); gap: 52px; }
  .back-link { margin-bottom: 48px; }
  .redeem-visual::before { width: 440px; height: 440px; }
}

@media (max-width: 860px) {
  .site-header { min-height: 78px; }
  .menu-button { display: block; justify-self: end; }
  .site-nav {
    position: absolute;
    inset: 78px 0 auto;
    padding: 12px 20px 18px;
    display: grid;
    gap: 0;
    background: rgba(244, 248, 255, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    transform-origin: top;
    transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
  }
  .site-nav[data-open="false"] { opacity: 0; visibility: hidden; transform: translateY(-8px); }
  .site-nav[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav .language-link { width: max-content; margin-top: 12px; padding: 8px 12px; border: 1px solid var(--line); }
  .language-switcher { width: 100%; padding-top: 12px; }
  .language-trigger { width: 100%; }
  .language-menu { position: relative; top: auto; right: auto; width: 100%; margin-top: 8px; transform-origin: top; }
  .home-main { min-height: auto; }
  .home-hero {
    min-height: auto;
    padding: 72px 0 80px;
    grid-template-columns: 1fr;
    gap: 68px;
  }
  .home-intro h1 { max-width: 680px; }
  .home-lead { max-width: 620px; }
  .service-directory { width: min(100%, 610px); margin-left: auto; }
  .service-hero {
    min-height: auto;
    padding: 52px 0 78px;
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .service-copy { max-width: 680px; }
  .back-link { margin-bottom: 58px; }
  .service-visual { width: min(100%, 680px); margin-left: auto; }
  .service-guidance { grid-template-columns: 0.45fr 1.55fr; }
  .service-guidance dl { grid-column: 2; }
}

@media (max-width: 600px) {
  :root { --gutter: 19px; }
  .site-header { width: calc(100% - 38px); }
  .brand > img { width: 34px; }
  .brand b { font-size: 12px; }
  .brand small { font-size: 8px; }
  .home-hero { padding: 58px 0 62px; gap: 54px; }
  .home-intro h1 { margin-top: 22px; font-size: clamp(43px, 13.5vw, 60px); line-height: 1.04; }
  .home-lead { margin-top: 24px; font-size: 15px; line-height: 1.72; }
  .hero-note { margin-top: 32px; }
  .service-directory { border-radius: 22px 3px 22px 22px; }
  .directory-head, .directory-foot { padding-left: 20px; padding-right: 20px; }
  .directory-item { min-height: 98px; padding: 18px 20px; grid-template-columns: 26px 1fr 38px; gap: 10px; }
  .directory-copy b { font-size: 18px; }
  .directory-copy small { font-size: 10px; }
  .arrow-icon { width: 36px; height: 36px; }
  .directory-foot { display: grid; justify-content: start; }
  .compact-footer { padding: 24px 0 28px; display: grid; }
  .footer-brandline { display: grid; gap: 8px; }
  .footer-brandline span + span { padding: 0; border: 0; }
  .service-hero { padding-top: 38px; gap: 52px; }
  .back-link { margin-bottom: 46px; }
  .service-copy h1 { font-size: clamp(42px, 12vw, 58px); }
  .service-lead { margin-top: 23px; font-size: 14px; }
  .primary-actions { margin-top: 30px; }
  .primary-button { width: 100%; min-height: 55px; padding: 0 18px; }
  .app-visual { padding: 0 0 34px 13px; }
  .app-image { border-radius: 18px 3px 18px 18px; }
  .app-image img { aspect-ratio: 1.05; object-position: 59% center; }
  .app-image figcaption { padding: 15px; }
  .platform-row { width: calc(100% - 20px); margin: -16px 0 0 6px; grid-template-columns: 1fr; }
  .platform-row a { min-height: 60px; padding: 13px 17px; border-right: 0; border-bottom: 1px solid var(--line); }
  .certificate-visual { min-height: 430px; }
  .certificate-sheet { width: 72%; min-height: 240px; padding: 28px 20px 22px; }
  .certificate-sheet h2 { margin-top: 20px; font-size: 27px; }
  .certificate-sheet > i { margin: 28px 0 18px; }
  .certificate-entries { right: 12px; bottom: 12px; }
  .redeem-visual { min-height: 480px; }
  .redeem-visual::before { width: 340px; height: 340px; }
  .ticket-shadow, .coupon-ticket { width: 80%; min-height: 415px; }
  .coupon-ticket { grid-template-rows: 72px 1fr 74px; }
  .ticket-body { padding: 39px 23px 25px; }
  .ticket-body strong { font-size: 89px; }
  .coupon-ticket::before { top: 59px; box-shadow: 340px 0 var(--paper); }
  .coupon-ticket::after { bottom: 61px; box-shadow: 340px 0 var(--paper); }
  .secure-tag { right: -3px; bottom: 5%; }
  .service-guidance { padding: 50px 0 64px; grid-template-columns: 1fr; gap: 27px; }
  .service-guidance dl { grid-column: auto; }
  .service-footer { min-height: 134px; padding: 28px 0; display: grid; }
  .error-page main > div { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
