:root {
  --paper: #ffffff;
  --paper-raised: #ffffff;
  --paper-soft: #e1f1ff;
  --ink: #102b50;
  --ink-secondary: #4f6884;
  --ink-tertiary: #566c86;
  --line: rgba(32, 102, 177, 0.14);
  --line-strong: rgba(32, 102, 177, 0.24);
  --green: #0066cc;
  --green-dark: #0059b3;
  --green-soft: #ddefff;
  --coral: #4aafff;
  --coral-soft: #e6f5ff;
  --yellow: #8ad9ff;
  --warning: #8b4a00;
  --warning-soft: #fff3dc;
  --shadow: 0 24px 64px rgba(43, 119, 194, 0.12);
  --shadow-small: 0 10px 30px rgba(43, 119, 194, 0.09);
  --brand-gradient: linear-gradient(135deg, #0870c7 0%, #0066cc 55%, #00509f 100%);
  --brand-gradient-hover: linear-gradient(135deg, #0b79d2 0%, #0068cf 55%, #004d99 100%);
  --brand-glow: 0 10px 28px rgba(0, 113, 227, 0.2);
  --brand-glow-hover: 0 14px 38px rgba(0, 113, 227, 0.28);
  --icon-glow: 0 8px 24px rgba(0, 122, 255, 0.24);
  --ambient-glow: radial-gradient(circle, rgba(91, 189, 255, 0.28) 0, rgba(91, 189, 255, 0.1) 38%, transparent 70%);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --serif: ui-rounded, "SF Pro Rounded", "Avenir Next", "Apple SD Gothic Neo", "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Avenir Next", "Helvetica Neue", "Noto Sans TC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

[data-theme="dark"] {
  --paper: #07192d;
  --paper-raised: #0d2745;
  --paper-soft: #123557;
  --ink: #f7fbff;
  --ink-secondary: #aec9e5;
  --ink-tertiary: #7e9ebd;
  --line: rgba(151, 208, 255, 0.13);
  --line-strong: rgba(151, 208, 255, 0.24);
  --green: #69c9ff;
  --green-dark: #8dd8ff;
  --green-soft: #103b61;
  --coral: #70cfff;
  --coral-soft: #103a60;
  --yellow: #a1e6ff;
  --warning: #ffc268;
  --warning-soft: #3b2a14;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  --shadow-small: 0 10px 30px rgba(0, 0, 0, 0.23);
  --brand-gradient: linear-gradient(135deg, #b6ebff 0%, #7bd3ff 55%, #52b9f2 100%);
  --brand-gradient-hover: linear-gradient(135deg, #c9f1ff 0%, #91ddff 55%, #65c7f8 100%);
  --brand-glow: 0 10px 30px rgba(75, 183, 255, 0.14);
  --brand-glow-hover: 0 14px 40px rgba(75, 183, 255, 0.22);
  --icon-glow: 0 8px 26px rgba(80, 188, 255, 0.2);
  --ambient-glow: radial-gradient(circle, rgba(54, 156, 228, 0.2) 0, rgba(54, 156, 228, 0.07) 42%, transparent 72%);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--paper-raised);
  background: var(--green);
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, #f8fcff 76%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(40, 126, 206, 0.08);
}

[data-theme="dark"] .site-header {
  background: color-mix(in srgb, var(--paper) 78%, transparent);
}

[data-theme="dark"] body {
  background: var(--paper);
}

.header-inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 40px;
  object-fit: cover;
  background: #5aabf1;
  border-radius: 13px;
  box-shadow:
    var(--icon-glow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: box-shadow 180ms ease;
}

.brand:hover .brand-mark {
  box-shadow:
    var(--brand-glow-hover),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text span {
  margin-top: 3px;
  color: var(--ink-tertiary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-secondary);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--paper-soft);
}

.icon-button {
  width: 44px;
  height: 44px;
  margin-left: 4px;
  display: grid;
  place-items: center;
  color: var(--ink-secondary);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease;
}

.icon-button:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  transform: rotate(8deg);
}

.icon-button:focus-visible,
.button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--coral) 62%, transparent);
  outline-offset: 3px;
}

.theme-icon {
  width: 18px;
  height: 18px;
}

.theme-icon-moon {
  display: none;
}

[data-theme="dark"] .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-moon {
  display: block;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-small {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
}

.button-primary {
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.button-primary:hover {
  background: var(--brand-gradient-hover);
  box-shadow: var(--brand-glow-hover), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

[data-theme="dark"] .button-primary {
  color: #07192d;
}

[data-theme="dark"] .button-primary:hover {
  background: var(--brand-gradient-hover);
}

.button-secondary {
  color: #0066cc;
  background: color-mix(in srgb, var(--paper-raised) 86%, transparent);
  border-color: rgba(43, 141, 225, 0.2);
  box-shadow: 0 6px 20px rgba(43, 119, 194, 0.06);
}

.button-secondary:hover {
  background: var(--paper-raised);
  border-color: rgba(43, 141, 225, 0.42);
}

[data-theme="dark"] .button-secondary {
  color: #a5ddff;
  background: rgba(15, 51, 84, 0.72);
  border-color: rgba(133, 207, 255, 0.2);
}

[data-theme="dark"] .button-secondary:hover {
  color: #d8f1ff;
  background: rgba(22, 65, 104, 0.9);
  border-color: rgba(133, 207, 255, 0.4);
}

.button-light {
  flex: 0 0 auto;
  color: #176fcf;
  background: #fff;
  box-shadow: 0 12px 25px rgba(11, 72, 132, 0.19);
}

.header-contact {
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: var(--brand-glow);
}

.header-contact:hover {
  box-shadow: var(--brand-glow-hover);
}

[data-theme="dark"] .header-contact {
  color: #07192d;
  background: var(--brand-gradient);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 112px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 74% 33%, rgba(128, 207, 255, 0.2), transparent 31rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(222, 242, 255, 0.32));
}

.hero::before {
  content: "";
  position: absolute;
  top: 12%;
  right: 4%;
  width: min(52vw, 680px);
  aspect-ratio: 1;
  background: var(--ambient-glow);
  filter: blur(24px);
  pointer-events: none;
}

[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 74% 33%, rgba(57, 151, 220, 0.18), transparent 31rem),
    linear-gradient(135deg, rgba(9, 32, 57, 0.6), rgba(8, 29, 52, 0.2));
}

.hero::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -10%;
  width: 44vw;
  height: 44vw;
  min-width: 440px;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.65;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
  align-items: center;
  gap: 90px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-orb-one {
  top: 13%;
  right: 2%;
  width: 20px;
  height: 20px;
  background: linear-gradient(145deg, #a9e5ff, #4faef7);
  box-shadow: 0 0 0 10px rgba(117, 205, 255, 0.08);
}

.hero-orb-two {
  right: 34%;
  bottom: 15%;
  width: 10px;
  height: 10px;
  background: linear-gradient(145deg, #d6f4ff, #7fd2ff);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--green) 13%, transparent);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5.2vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero h1 span {
  display: inline-block;
  padding-bottom: 0.09em;
  color: var(--green);
  font-family: "Apple SD Gothic Neo", "Avenir Next", var(--serif);
  font-size: 0.52em;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.hero-intro {
  max-width: 630px;
  margin: 27px 0 0;
  color: var(--ink-secondary);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.requirement-list {
  margin: 38px 0 0;
  padding: 18px 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(43, 141, 225, 0.11);
  border-radius: 16px;
}

.requirement-list li {
  min-width: 0;
  padding: 0 16px;
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 600;
}

.requirement-list li:first-child {
  padding-left: 0;
}

.requirement-list li + li {
  border-left: 1px solid var(--line);
}

[data-theme="dark"] .requirement-list {
  background: rgba(13, 45, 76, 0.68);
  border-color: rgba(124, 198, 255, 0.12);
}

.requirement-list span {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-tertiary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.support-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.94));
  border: 1px solid rgba(63, 155, 235, 0.13);
  border-radius: 28px;
  box-shadow:
    0 20px 52px rgba(44, 128, 211, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .support-card {
  background:
    linear-gradient(145deg, rgba(15, 44, 73, 0.98), rgba(10, 34, 58, 0.98));
  border-color: rgba(118, 199, 255, 0.14);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.support-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-icon {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  color: #0071e3;
  background: #eaf5ff;
  border: 1px solid rgba(0, 113, 227, 0.1);
  border-radius: 50%;
}

[data-theme="dark"] .support-icon {
  color: #75d1ff;
  background: rgba(0, 113, 227, 0.18);
  border-color: rgba(117, 209, 255, 0.16);
}

.support-icon svg {
  width: 24px;
  height: 24px;
}

.response-pill {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-secondary);
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.response-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: #34c759;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.12);
}

.support-card h2 {
  margin: 24px 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.support-card > p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 15px;
}

.support-email {
  position: relative;
  margin: 24px 0 16px;
  padding: 14px 44px 14px 16px;
  display: flex;
  flex-direction: column;
  color: #0066cc;
  background: color-mix(in srgb, var(--paper-soft) 48%, var(--paper-raised));
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: background 160ms ease, border-color 160ms ease;
}

.support-email::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 17px;
  color: var(--ink-tertiary);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-53%);
}

.support-email:hover {
  background: color-mix(in srgb, var(--paper-soft) 72%, var(--paper-raised));
  border-color: rgba(0, 113, 227, 0.3);
}

[data-theme="dark"] .support-email {
  color: #9cdcff;
  background: rgba(17, 55, 89, 0.62);
  border-color: rgba(114, 196, 255, 0.15);
}

[data-theme="dark"] .support-email:hover {
  background: rgba(21, 66, 105, 0.78);
  border-color: rgba(114, 196, 255, 0.3);
}

.support-email-label {
  margin-bottom: 3px;
  color: var(--ink-tertiary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.support-email strong {
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
}

.privacy-note {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 13px !important;
  line-height: 1.6;
}

.finder-section {
  padding: 70px 0 78px;
  background:
    radial-gradient(circle at 90% 0, rgba(116, 205, 255, 0.16), transparent 24rem),
    color-mix(in srgb, var(--paper-soft) 52%, transparent);
  border-bottom: 1px solid var(--line);
}

.finder-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.finder-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.finder-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.finder-heading > p {
  max-width: 380px;
  margin: 0 0 4px;
  color: var(--ink-secondary);
  font-size: 15px;
  text-align: right;
}

.search-box {
  height: 62px;
  margin-top: 32px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 19px;
  box-shadow: var(--shadow-small);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-box:focus-within {
  border-color: rgba(58, 153, 236, 0.58);
  box-shadow:
    0 0 0 4px rgba(90, 181, 255, 0.12),
    var(--shadow-small);
}

.search-box svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--ink-tertiary);
}

.search-box input {
  min-width: 0;
  flex: 1;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 17px;
}

.search-box input::placeholder {
  color: var(--ink-tertiary);
}

.search-box kbd {
  padding: 4px 7px;
  color: var(--ink-tertiary);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 12px;
}

.quick-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.quick-card {
  min-width: 0;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 64px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.quick-card:hover {
  border-color: rgba(73, 162, 239, 0.35);
  box-shadow: var(--shadow-small);
  transform: translateY(-3px);
}

.quick-card-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  color: #247fd0;
  background: linear-gradient(145deg, #e9f7ff, #d8efff);
  border-radius: 12px;
  font-family: var(--serif);
  font-size: 18px;
}

.quick-card > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  line-height: 1.3;
}

.quick-card strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-card small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--ink-tertiary);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-card .arrow {
  color: var(--ink-tertiary);
  font-size: 12px;
}

.search-status {
  min-height: 20px;
  margin: 12px 2px 0;
  color: var(--ink-tertiary);
  font-size: 13px;
}

.search-empty {
  margin-top: 18px;
  padding: 32px;
  text-align: center;
  background: var(--paper-raised);
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
}

.search-empty > span {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  color: var(--coral);
  background: var(--coral-soft);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 22px;
}

.search-empty strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
}

.search-empty p {
  margin: 4px 0 18px;
  color: var(--ink-secondary);
  font-size: 15px;
}

[data-search-hidden="true"] {
  display: none !important;
}

.page-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 110px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: 72px;
}

.section-index {
  position: sticky;
  top: 100px;
}

.index-label {
  margin: 0 0 18px;
  color: var(--ink-tertiary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.language-tab-group {
  margin-bottom: 28px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-soft);
  border-radius: 13px;
}

.language-tab {
  min-height: 44px;
  padding: 7px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-tertiary);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.language-tab:not(.is-active):hover {
  color: var(--ink-secondary);
  background: color-mix(in srgb, var(--paper-raised) 48%, transparent);
}

.language-tab.is-active {
  color: #0066cc;
  background: var(--paper-raised);
  box-shadow: 0 4px 14px rgba(37, 120, 193, 0.1);
}

[data-theme="dark"] .language-tab.is-active {
  color: #0a3158;
  background: #e8f5ff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.index-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.index-links a {
  position: relative;
  width: 100%;
  min-height: 44px;
  padding: 8px 0 8px 18px;
  display: flex;
  align-items: center;
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 150ms ease;
}

.index-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--line-strong);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 150ms ease, background 150ms ease;
}

.index-links a:hover,
.index-links a.is-current {
  color: var(--ink);
}

.index-links a.is-current::before {
  background: var(--green);
  transform: translateY(-50%) scale(1.3);
}

.index-help {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.index-help p {
  margin: 0 0 4px;
  color: var(--ink-tertiary);
  font-size: 13px;
}

.index-help a {
  color: var(--green);
  font-family: var(--serif);
  font-size: 16px;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--green) 35%, transparent);
  text-underline-offset: 4px;
}

.content {
  min-width: 0;
}

.language-heading {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line-strong);
}

.language-heading h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.updated {
  margin: 18px 0 0;
  color: var(--ink-tertiary);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.language-intro {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--ink-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.help-card {
  position: relative;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.help-card:target {
  animation: target-pulse 1.3s ease;
}

@keyframes target-pulse {
  0% {
    background: color-mix(in srgb, var(--green-soft) 80%, transparent);
  }
  100% {
    background: transparent;
  }
}

.card-number {
  padding-top: 3px;
  color: var(--ink-tertiary);
  font-family: var(--mono);
  font-size: 13px;
}

.card-body {
  min-width: 0;
}

.card-body > h3,
.card-title-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tag {
  padding: 5px 9px;
  color: #005eb8;
  background: #e4f4ff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

[data-theme="dark"] .tag {
  color: #a6dfff;
  background: rgba(22, 72, 112, 0.78);
}

.card-body > p {
  margin: 18px 0 0;
  color: var(--ink-secondary);
}

.card-intro {
  font-size: 16px;
}

.inline-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--green) 35%, transparent);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.info-panel {
  margin-top: 22px;
  padding: 20px 22px;
  background: linear-gradient(145deg, rgba(224, 243, 255, 0.72), rgba(243, 250, 255, 0.7));
  border: 1px solid rgba(72, 158, 233, 0.09);
  border-radius: var(--radius-md);
}

[data-theme="dark"] .info-panel {
  background: linear-gradient(145deg, rgba(18, 53, 87, 0.74), rgba(13, 39, 69, 0.72));
}

.info-panel-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.warning-note {
  margin-top: 18px;
  padding: 12px 14px;
  color: var(--warning);
  background: var(--warning-soft);
  border-left: 3px solid #e5a74c;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  line-height: 1.7;
}

.warning-note-strong {
  margin-top: 20px;
}

.card-cta {
  margin-top: 22px;
}

.check-list,
.simple-list {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 2px;
  left: 0;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green-dark);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.check-list.compact {
  margin-top: 0;
  gap: 5px;
}

.check-list.compact li {
  font-size: 15px;
}

.simple-list {
  padding-left: 19px;
  color: var(--ink-secondary);
  list-style: decimal;
  font-size: 14px;
}

.simple-list li {
  padding-left: 4px;
}

.spec-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.38);
}

[data-theme="dark"] .spec-grid {
  background: rgba(13, 43, 71, 0.56);
}

.spec {
  min-width: 0;
  padding: 18px;
}

.spec + .spec {
  border-left: 1px solid var(--line);
}

.spec-label {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-tertiary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.spec strong {
  display: block;
  font-size: 15px;
  line-height: 1.55;
}

.steps {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 50px;
  padding: 8px 0 18px 47px;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 15px;
  width: 1px;
  background: var(--line);
}

.steps li > span {
  position: absolute;
  top: 6px;
  left: 0;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green-dark);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(46, 142, 224, 0.16);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.steps p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.compact-steps {
  margin-top: 18px;
}

.compact-steps li {
  min-height: 42px;
  padding-bottom: 12px;
}

.compact-steps li:not(:last-child)::after {
  top: 31px;
}

.compact-steps li > span {
  width: 27px;
  height: 27px;
}

.faq {
  margin-top: 16px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 18px rgba(39, 111, 183, 0.035);
  transition: border-color 160ms ease;
}

.faq:first-of-type {
  margin-top: 24px;
}

.faq[open] {
  border-color: rgba(68, 158, 236, 0.3);
  box-shadow: 0 10px 30px rgba(42, 124, 203, 0.07);
}

.faq summary {
  padding: 17px 50px 17px 18px;
  position: relative;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
  user-select: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.summary-icon {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: translateY(-50%);
}

.summary-icon::before,
.summary-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1px;
  background: var(--ink-secondary);
  transform: translate(-50%, -50%);
}

.summary-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 160ms ease;
}

.faq[open] .summary-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-content {
  padding: 0 18px 20px;
  border-top: 1px solid var(--line);
}

.faq-content > p:first-child {
  margin-top: 16px;
}

.faq-content p {
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.75;
}

.faq-content .steps {
  margin-top: 16px;
}

.subtle-note {
  color: var(--ink-tertiary) !important;
  font-size: 14px !important;
}

.mode-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mode-card {
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(90, 184, 255, 0.13), transparent 110px),
    color-mix(in srgb, var(--paper-soft) 58%, var(--paper-raised));
  border: 1px solid rgba(64, 154, 232, 0.1);
  border-radius: var(--radius-md);
}

.mode-card span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.mode-card p {
  margin: 7px 0 0;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.checklist-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.checklist-grid label {
  min-height: 48px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-secondary);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}

.checklist-grid input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.checklist-grid label:has(input:checked) {
  opacity: 0.6;
}

.checklist-grid label:has(input:checked) span {
  text-decoration: line-through;
}

.related-links {
  padding: 48px 0 0 68px;
}

.related-links h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.link-buttons {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-buttons a {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-secondary);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease, border-color 160ms ease;
}

.link-buttons a:hover {
  color: var(--green);
  border-color: var(--green);
}

.link-buttons svg {
  width: 14px;
  height: 14px;
}

.english-section {
  margin-top: 130px;
}

.language-divider {
  margin-bottom: 58px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--ink-tertiary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.language-divider a {
  color: var(--green);
}

.divider-line {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.closing-card {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 90px;
  padding: 48px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #f8fcff;
  background:
    radial-gradient(circle at 82% 20%, rgba(185, 235, 255, 0.24), transparent 220px),
    linear-gradient(135deg, #0870c7 0%, #0066cc 52%, #00509f 100%);
  border-radius: var(--radius-xl);
  box-shadow:
    0 26px 70px rgba(35, 121, 204, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.closing-card .section-kicker {
  color: #dff5ff;
}

.closing-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.closing-card p:not(.section-kicker) {
  max-width: 580px;
  margin: 13px 0 0;
  color: rgba(250, 253, 255, 0.8);
  font-size: 15px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 130px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 10px;
}

.footer-brand > div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-brand strong {
  font-size: 14px;
}

.footer-brand div span {
  margin-top: 2px;
  color: var(--ink-tertiary);
  font-size: 12px;
}

.footer-inner > p {
  margin: 0;
  color: var(--ink-tertiary);
  font-size: 12px;
}

.footer-inner nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-inner nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 600;
}

.footer-inner nav a:hover {
  color: var(--green);
}

.back-to-top {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--paper-raised);
  background: var(--brand-gradient);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--brand-glow);
  cursor: pointer;
}

.back-to-top svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 1000px) {
  .hero-inner {
    gap: 44px;
  }

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

  .page-shell {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 44px;
  }

  .footer-inner {
    padding: 30px 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 88px;
  }

  .header-inner,
  .hero-inner,
  .page-shell,
  .finder-inner,
  .footer-inner {
    width: 100%;
    max-width: 712px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .closing-card {
    width: calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    max-width: 680px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-text span,
  .header-nav .nav-link {
    display: none;
  }

  .header-contact {
    padding-inline: 12px;
  }

  .hero {
    padding: 62px 0 74px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero h1 span {
    font-size: 0.5em;
  }

  .hero-intro {
    font-size: 17px;
  }

  .requirement-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .requirement-list li {
    padding: 0;
    font-size: 13px;
  }

  .requirement-list li + li {
    padding-left: 10px;
  }

  .support-card {
    padding: 24px;
    transform: none;
  }

  .support-card-top {
    align-items: flex-start;
  }

  .response-pill {
    white-space: normal;
  }

  .finder-section {
    padding: 56px 0 64px;
  }

  .finder-heading {
    display: block;
  }

  .finder-heading > p {
    margin-top: 12px;
    text-align: left;
  }

  .search-box {
    height: 56px;
  }

  .search-box kbd {
    display: none;
  }

  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quick-card {
    padding: 13px;
  }

  .quick-card small,
  .quick-card .arrow {
    display: none;
  }

  .page-shell {
    padding: 48px 0 76px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-index {
    position: static;
  }

  .index-label,
  .index-links,
  .index-help {
    display: none;
  }

  .language-tab-group {
    width: 150px;
    margin: 0;
  }

  .language-heading {
    padding-bottom: 32px;
  }

  .language-heading h2 {
    font-size: clamp(38px, 10.5vw, 48px);
  }

  .help-card {
    padding: 36px 0;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 6px;
  }

  .card-body > h3,
  .card-title-row h3 {
    font-size: 26px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .spec + .spec {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .mode-grid,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .related-links {
    padding-left: 38px;
  }

  .english-section {
    margin-top: 96px;
  }

  .closing-card {
    margin-bottom: 64px;
    padding: 34px 27px;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    border-radius: 24px;
  }

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

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

  .footer-inner nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

@media (max-width: 360px) {
  .brand-text {
    display: none;
  }

  .language-tab-group {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .button {
    padding-inline: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .help-card {
    grid-template-columns: 1fr;
  }

  .card-number {
    padding: 0;
  }

  .related-links {
    padding-left: 0;
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-secondary: #304c69;
    --ink-tertiary: #3e5873;
    --line: rgba(24, 80, 139, 0.3);
    --line-strong: rgba(24, 80, 139, 0.52);
  }

  [data-theme="dark"] {
    --ink-secondary: #d2e7fb;
    --ink-tertiary: #bed8f0;
    --line: rgba(191, 226, 255, 0.34);
    --line-strong: rgba(191, 226, 255, 0.56);
  }

  .site-header,
  .support-card,
  .faq,
  .search-box,
  .quick-card,
  .link-buttons a {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: var(--line-strong);
  }

  .hero::before,
  .hero-orb {
    display: none;
  }

  .brand-mark,
  .button-primary,
  .header-contact,
  .back-to-top,
  .support-card {
    box-shadow: none;
  }

  .button-primary,
  .header-contact,
  .back-to-top {
    background: var(--green-dark);
  }

  [data-theme="dark"] .button-primary,
  [data-theme="dark"] .header-contact,
  [data-theme="dark"] .back-to-top {
    color: #07192d;
    background: var(--green);
  }
}

@media (forced-colors: active) {
  .button,
  .icon-button,
  .search-box,
  .quick-card,
  .faq,
  .link-buttons a {
    border: 1px solid ButtonText;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .hero,
  .finder-section,
  .section-index,
  .closing-card,
  .site-footer,
  .back-to-top,
  .language-divider {
    display: none !important;
  }

  .page-shell {
    width: 100%;
    padding: 0;
    display: block;
  }

  .help-card {
    break-inside: avoid;
  }

  details {
    display: block;
  }

  details > summary {
    list-style: none;
  }

  details .faq-content {
    display: block !important;
  }
}
