/* Homepage styles. Keep selectors aligned with homepage.html sections. */
    :root {
      --blue: #0b82ff;
      --blue-dark: #0065d8;
      --ink: #05070b;
      --text: #232834;
      --muted: #565f6d;
      --line: #dfe8f4;
      --soft: #f5faff;
      --card: rgba(255, 255, 255, 0.88);
    }

    * {
      box-sizing: border-box;
    }

    html {
      background: #f4f8fe;
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--text);
      font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
      background: #f4f8fe;
    }

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

    .stage {
      width: min(100%, 1440px);
      margin: 0 auto;
      background: #ffffff;
    }

    .site {
      width: 100%;
      overflow: hidden;
      background:
        radial-gradient(circle at 82% 7%, rgba(11, 130, 255, 0.09), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #ffffff 100%);
      box-shadow: 0 0 0 1px rgba(12, 70, 128, 0.04);
    }

    .hero-wrap {
      position: relative;
      min-height: 820px;
      overflow: hidden;
    }

    .hero-wrap::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 28%, rgba(255, 255, 255, 0.58) 42%, rgba(255, 255, 255, 0.18) 58%, rgba(255, 255, 255, 0.04) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 52%, rgba(255, 255, 255, 0.62) 100%),
        radial-gradient(circle at 70% 23%, rgba(95, 170, 255, 0.13), transparent 34%);
      z-index: 1;
      pointer-events: none;
    }

    .hero-wrap::after {
      content: "";
      position: absolute;
      left: 37%;
      right: -6%;
      bottom: 0;
      height: 126px;
      z-index: 2;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.44) 76%, #ffffff 100%);
      pointer-events: none;
    }

    .hero-image {
      position: absolute;
      top: 112px;
      right: -8px;
      width: 1220px;
      height: 592px;
      object-fit: contain;
      object-position: center center;
      filter: saturate(0.96) brightness(1.08) contrast(0.98);
      opacity: 0.94;
      mix-blend-mode: multiply;
      transform: none;
      transform-origin: 68% 44%;
      mask-image:
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 9%, rgba(0, 0, 0, 0.38) 19%, rgba(0, 0, 0, 0.82) 31%, #000 48%, #000 100%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.52) 7%, #000 17%, #000 84%, rgba(0, 0, 0, 0.78) 94%, transparent 100%);
      mask-composite: intersect;
      -webkit-mask-image:
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 9%, rgba(0, 0, 0, 0.38) 19%, rgba(0, 0, 0, 0.82) 31%, #000 48%, #000 100%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.52) 7%, #000 17%, #000 84%, rgba(0, 0, 0, 0.78) 94%, transparent 100%);
      -webkit-mask-composite: source-in;
    }

    .nav {
      position: relative;
      z-index: 5;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 37px 57px 0 45px;
    }

    .logo {
      width: 342px;
      height: auto;
      display: block;
    }

    .slogan {
      color: #3c414b;
      font-size: 18px;
      letter-spacing: 0;
    }

    .nav-actions {
      display: inline-flex;
      align-items: center;
      gap: 18px;
      min-width: 0;
    }

    .home-menu-wrap {
      position: relative;
      z-index: 12;
      flex: 0 0 auto;
    }

    .home-menu-button {
      width: 46px;
      height: 46px;
      border: 0;
      border-radius: 8px;
      color: var(--blue-dark);
      background: rgba(255, 255, 255, 0.78);
      box-shadow: 0 8px 22px rgba(11, 130, 255, 0.12);
      display: grid;
      place-items: center;
      cursor: pointer;
    }

    .home-menu-button:hover,
    .home-menu-button:focus-visible {
      background: #ffffff;
      box-shadow: 0 0 0 4px rgba(11, 130, 255, 0.1), 0 8px 22px rgba(11, 130, 255, 0.14);
      outline: none;
    }

    .home-menu-button svg {
      width: 30px;
      height: 30px;
    }

    .home-quick-menu {
      position: absolute;
      right: 0;
      top: calc(100% + 10px);
      min-width: 186px;
      padding: 8px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 18px 42px rgba(20, 82, 140, 0.16);
    }

    .home-quick-menu[hidden] {
      display: none;
    }

    .home-quick-menu a,
    .home-quick-menu button {
      display: block;
      width: 100%;
      padding: 10px 12px;
      border: 0;
      border-radius: 6px;
      color: #1f3654;
      background: transparent;
      font: inherit;
      font-size: 14px;
      font-weight: 600;
      line-height: 1.4;
      text-align: left;
      white-space: nowrap;
      cursor: pointer;
    }

    .home-quick-menu a:hover,
    .home-quick-menu a:focus,
    .home-quick-menu button:hover,
    .home-quick-menu button:focus {
      background: var(--soft);
      color: var(--blue-dark);
      outline: none;
    }

    .hero-content {
      position: relative;
      z-index: 4;
      width: 620px;
      padding: 24px 0 0 45px;
    }

    h1 {
      margin: 76px 0 24px;
      color: var(--ink);
      font-size: 68px;
      line-height: 1.05;
      font-weight: 600;
      letter-spacing: 0;
      white-space: nowrap;
    }

    .hero-subtitle {
      margin: 0 0 54px;
      color: #111111;
      font-size: 36px;
      line-height: 1.2;
      font-weight: 400;
      letter-spacing: 0;
      white-space: nowrap;
    }

    .hero-copy {
      width: 505px;
      margin: 0;
      color: #303640;
      font-size: 18px;
      line-height: 1.95;
      letter-spacing: 0;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(3, 112px);
      column-gap: 58px;
      row-gap: 14px;
      width: 452px;
      margin-top: 56px;
    }

    .stat strong {
      display: block;
      color: var(--blue);
      font-size: 36px;
      line-height: 1;
      font-weight: 500;
      letter-spacing: 0;
    }

    .stat span {
      display: block;
      margin-top: 8px;
      color: #1f2630;
      font-size: 14px;
      line-height: 1.25;
    }

    .section {
      padding: 0 56px;
    }

    .section-title {
      margin: 0;
      color: #090b0f;
      text-align: center;
      font-size: 40px;
      line-height: 1.18;
      font-weight: 500;
      letter-spacing: 8px;
    }

    .section-subtitle {
      margin: 18px auto 0;
      color: #4e5561;
      text-align: center;
      font-size: 18px;
      line-height: 1.6;
    }

    .verify {
      position: relative;
      z-index: 3;
      margin-top: 12px;
      padding-bottom: 54px;
      background: #ffffff;
    }

    .verify-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 32px;
      margin-top: 42px;
    }

    .verify-card {
      position: relative;
      min-height: 715px;
      padding: 28px 26px 26px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.92);
      box-shadow: 0 12px 32px rgba(11, 54, 108, 0.03);
    }

    .verify-card:not(:last-child)::after {
      content: "›";
      position: absolute;
      top: 267px;
      right: -28px;
      z-index: 3;
      color: var(--blue);
      font-size: 64px;
      font-family: Arial, sans-serif;
      line-height: 1;
      font-weight: 300;
    }

    .verify-number {
      display: block;
      color: var(--blue);
      font-size: 34px;
      line-height: 1;
      font-weight: 500;
      letter-spacing: 0;
    }

    .verify-card h3 {
      margin: 31px 0 12px;
      color: #05070b;
      font-size: 28px;
      line-height: 1.12;
      font-weight: 500;
      letter-spacing: 0;
    }

    .verify-card p {
      margin: 0 0 32px;
      color: #29303a;
      font-size: 18px;
      line-height: 1.5;
    }

    .card-image {
      width: calc(100% + 52px);
      height: 268px;
      margin: 0 -26px 35px;
      overflow: hidden;
      background: #edf5ff;
    }

    .card-image img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(0.72) brightness(1.08);
    }

    .card-image.clinic img {
      object-position: center center;
      filter: none;
    }

    .card-image.proof {
      padding: 0;
      background: #f4f7fb;
    }

    .card-image.proof img {
      object-fit: contain;
      object-position: center center;
      filter: none;
    }

    .verify-card ul {
      margin: 0;
      padding-left: 24px;
      color: #111720;
      font-size: 21px;
      line-height: 1.92;
    }

    .verify-card li {
      padding-left: 8px;
    }

    .responsibility {
      padding-top: 28px;
      padding-bottom: 0;
      background:
        radial-gradient(circle at 50% 10%, rgba(11, 130, 255, 0.06), transparent 25%),
        #ffffff;
    }

    .responsibility .section-title {
      letter-spacing: 6px;
    }

    .responsibility-text {
      width: 870px;
      max-width: 100%;
      margin: 25px auto 24px;
      color: #4e5561;
      text-align: center;
      font-size: 18px;
      line-height: 1.7;
    }

    .responsibility-panel {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0;
      min-height: 178px;
      padding: 24px 36px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.92);
    }

    .responsibility-item {
      display: grid;
      grid-template-columns: 86px 1fr;
      gap: 28px;
      align-items: center;
      padding: 0 24px;
    }

    .responsibility-item:first-child {
      padding-left: 0;
    }

    .responsibility-item:last-child {
      padding-right: 0;
    }

    .line-icon {
      width: 82px;
      height: 82px;
      color: var(--blue);
    }

    .responsibility-item p {
      margin: 0;
      color: #1d2530;
      font-size: 19px;
      line-height: 1.72;
      text-align: left;
    }

    .responsibility-item strong {
      font-weight: 500;
    }

    .platform {
      padding-top: 0;
      padding-bottom: 0;
      background: #ffffff;
    }

    .platform .section-title {
      letter-spacing: 8px;
    }

    .platform .section-subtitle {
      margin-top: 12px;
    }

    .entry-guide {
      margin: 0 0 34px;
      padding: 28px 32px 30px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.96);
      box-shadow: 0 18px 46px rgba(11, 83, 160, 0.07);
    }

    .entry-guide h2 {
      margin: 0 0 18px;
      color: #111720;
      font-size: 34px;
      line-height: 1.18;
      font-weight: 500;
      letter-spacing: 2px;
      text-align: center;
    }

    .entry-guide-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }

    .entry-guide article {
      min-height: 190px;
      padding: 20px 22px;
      border: 1px solid rgba(11, 130, 255, 0.16);
      border-radius: 8px;
      background: linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(255, 255, 255, 0.98));
    }

    .entry-guide h3 {
      margin: 0 0 12px;
      color: var(--blue);
      font-size: 22px;
      line-height: 1.25;
      font-weight: 600;
      letter-spacing: 0;
    }

    .entry-guide p {
      margin: 0;
      color: #303946;
      font-size: 16px;
      line-height: 1.78;
      text-align: left;
    }

    .entry-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 32px;
      margin-top: 27px;
    }

    .entry {
      position: relative;
      display: grid;
      grid-template-columns: 42px 1fr 38px;
      align-items: center;
      min-height: 118px;
      padding: 24px 28px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.94);
      transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }

    .entry:hover,
    .entry:focus-visible {
      transform: translateY(-2px);
      border-color: rgba(11, 130, 255, 0.32);
      box-shadow: 0 16px 40px rgba(11, 83, 160, 0.08);
      outline: none;
    }

    .entry svg {
      width: 34px;
      height: 34px;
      color: var(--blue);
      stroke-width: 1.7;
    }

    .entry span {
      display: block;
      color: #111720;
      font-size: 23px;
      font-weight: 500;
      line-height: 1.2;
    }

    .entry-arrow {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      justify-self: end;
      color: #ffffff;
      background: var(--blue);
      border-radius: 50%;
      font-size: 24px;
      line-height: 1;
      font-family: Arial, sans-serif;
      font-weight: 600;
    }

    .entry-tooltip {
      position: absolute;
      left: 22px;
      bottom: calc(100% + 14px);
      z-index: 12;
      width: min(360px, calc(100vw - 72px));
      padding: 14px 16px;
      border: 1px solid rgba(11, 130, 255, 0.2);
      border-radius: 8px;
      color: #12345d;
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 18px 42px rgba(11, 83, 160, 0.16);
      font-size: 15px;
      font-weight: 500;
      line-height: 1.65;
      text-align: left;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    }

    .entry-tooltip::after {
      content: "";
      position: absolute;
      left: 34px;
      top: 100%;
      width: 13px;
      height: 13px;
      border-right: 1px solid rgba(11, 130, 255, 0.2);
      border-bottom: 1px solid rgba(11, 130, 255, 0.2);
      background: rgba(255, 255, 255, 0.98);
      transform: translateY(-7px) rotate(45deg);
    }

    .entry:hover .entry-tooltip,
    .entry:focus .entry-tooltip,
    .entry:focus-visible .entry-tooltip,
    .entry:focus-within .entry-tooltip {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 112px;
      padding: 0 56px;
      color: #777777;
      background: #050505;
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 42px;
      min-width: 0;
    }

    .footer-logo-img {
      display: block;
      width: 284px;
      height: auto;
    }

    .footer-slogan,
    .copyright {
      font-size: 17px;
      line-height: 1.4;
      color: #5b5b5b;
      white-space: nowrap;
    }

    .footer-slogan {
      transform: translateY(7px);
    }

    .site-dialog {
      width: min(100% - 48px, 1080px);
      max-height: min(86vh, 840px);
      padding: 0;
      border: 0;
      border-radius: 12px;
      background: transparent;
      color: var(--text);
    }

    .site-dialog::backdrop {
      background: rgba(5, 19, 36, 0.36);
      backdrop-filter: blur(8px);
    }

    .dialog-shell {
      max-height: min(86vh, 840px);
      overflow: auto;
      padding: 28px 32px 32px;
      border: 1px solid rgba(174, 209, 246, 0.72);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 26px 72px rgba(11, 58, 112, 0.22);
    }

    .dialog-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 24px;
    }

    .dialog-head h2 {
      margin: 0;
      color: var(--ink);
      font-size: 30px;
      line-height: 1.2;
      font-weight: 600;
    }

    .dialog-head p {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.6;
    }

    .dialog-close {
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      border-radius: 8px;
      color: var(--blue-dark);
      background: #ffffff;
      font-size: 30px;
      line-height: 1;
      cursor: pointer;
    }

    .dialog-close:hover,
    .dialog-close:focus-visible {
      border-color: rgba(11, 130, 255, 0.34);
      box-shadow: 0 0 0 4px rgba(11, 130, 255, 0.1);
      outline: none;
    }

    .admin-metrics {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      margin-bottom: 28px;
    }

    .admin-metrics article {
      min-height: 128px;
      padding: 18px;
      border: 1px solid rgba(11, 130, 255, 0.14);
      border-radius: 10px;
      background: linear-gradient(180deg, #f7fbff, #ffffff);
    }

    .admin-metrics span {
      display: block;
      color: #536174;
      font-size: 14px;
      line-height: 1.4;
    }

    .admin-metrics strong {
      display: block;
      margin-top: 12px;
      color: var(--blue-dark);
      font-size: 30px;
      line-height: 1.1;
      font-weight: 700;
    }

    .admin-metrics p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.4;
    }

    .admin-section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 14px;
    }

    .admin-section-head h3 {
      margin: 0;
      color: var(--ink);
      font-size: 22px;
      line-height: 1.3;
      font-weight: 600;
    }

    .feedback-table-wrap {
      overflow: auto;
      border: 1px solid var(--line);
      border-radius: 10px;
    }

    .feedback-table {
      width: 100%;
      min-width: 920px;
      border-collapse: collapse;
      background: #ffffff;
    }

    .feedback-table th,
    .feedback-table td {
      padding: 12px 14px;
      border-bottom: 1px solid var(--line);
      color: #263242;
      font-size: 14px;
      line-height: 1.5;
      text-align: left;
      vertical-align: top;
    }

    .feedback-table th {
      color: var(--blue-dark);
      background: #f5faff;
      font-weight: 700;
      white-space: nowrap;
    }

    .status-button {
      min-height: 32px;
      padding: 0 10px;
      border: 1px solid rgba(11, 130, 255, 0.24);
      border-radius: 999px;
      color: var(--blue-dark);
      background: #ffffff;
      font-size: 13px;
      cursor: pointer;
    }

    .status-button.is-closed {
      color: #16814c;
      border-color: rgba(22, 129, 76, 0.22);
      background: #f1fbf6;
    }

    .feedback-form {
      display: grid;
      gap: 18px;
    }

    .feedback-form label,
    .rating-field {
      display: grid;
      gap: 8px;
      margin: 0;
      padding: 0;
      border: 0;
    }

    .feedback-form label span,
    .rating-field legend {
      color: #152033;
      font-size: 16px;
      line-height: 1.4;
      font-weight: 700;
    }

    .rating-field p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    .feedback-form input[type="text"],
    .feedback-form textarea {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #ffffff;
      color: var(--text);
      font: inherit;
      font-size: 16px;
      line-height: 1.5;
      outline: none;
    }

    .feedback-form input[type="text"] {
      height: 46px;
      padding: 0 14px;
    }

    .feedback-form textarea {
      resize: vertical;
      min-height: 128px;
      padding: 12px 14px;
    }

    .feedback-form input:focus,
    .feedback-form textarea:focus {
      border-color: rgba(11, 130, 255, 0.5);
      box-shadow: 0 0 0 4px rgba(11, 130, 255, 0.09);
    }

    .star-rating {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .star-rating button {
      width: 34px;
      height: 34px;
      border: 0;
      color: #c8d4e4;
      background: transparent;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
      transition: color 140ms ease, transform 140ms ease;
    }

    .star-rating button.is-active {
      color: #ffb21a;
    }

    .star-rating button:hover,
    .star-rating button:focus-visible {
      transform: translateY(-1px);
      outline: none;
    }

    .form-actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      margin-top: 4px;
    }

    .primary-button,
    .secondary-button {
      min-height: 42px;
      padding: 0 18px;
      border-radius: 8px;
      font: inherit;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
    }

    .primary-button {
      border: 1px solid var(--blue);
      color: #ffffff;
      background: var(--blue);
    }

    .secondary-button {
      border: 1px solid rgba(11, 130, 255, 0.24);
      color: var(--blue-dark);
      background: #ffffff;
    }

    @media (max-width: 1100px) {
      .hero-wrap {
        min-height: auto;
        padding-bottom: 72px;
      }

      .hero-image {
        opacity: 0.28;
        width: 100%;
        right: 0;
        top: 84px;
        transform: none;
      }

      .hero-content {
        width: auto;
        padding-right: 40px;
      }

      .stats,
      .hero-copy {
        width: min(100%, 620px);
      }

      .verify-grid,
      .entry-guide-grid,
      .admin-metrics,
      .entry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .verify-card:not(:last-child)::after {
        display: none;
      }

      .responsibility-panel {
        grid-template-columns: 1fr;
        gap: 34px;
      }

      .responsibility-item {
        padding: 0;
      }
    }

    @media (max-width: 720px) {
      .nav {
        padding: 26px 24px 0;
      }

      .logo {
        width: 220px;
      }

      .slogan {
        display: none;
      }

      .nav-actions {
        gap: 0;
      }

      .hero-content,
      .section,
      .footer {
        padding-left: 24px;
        padding-right: 24px;
      }

      .hero-content {
        padding-top: 74px;
      }

      h1,
      .hero-subtitle {
        white-space: normal;
      }

      h1 {
        font-size: 40px;
      }

      .hero-subtitle {
        font-size: 26px;
      }

      .stats,
      .verify-grid,
      .entry-guide-grid,
      .admin-metrics,
      .entry-grid {
        grid-template-columns: 1fr;
      }

      .site-dialog {
        width: calc(100% - 28px);
      }

      .dialog-shell {
        padding: 22px 18px 24px;
      }

      .dialog-head {
        align-items: flex-start;
      }

      .form-actions,
      .admin-section-head {
        align-items: stretch;
        flex-direction: column;
      }

      .entry-guide {
        padding: 22px 20px 24px;
      }

      .entry-guide h2 {
        font-size: 28px;
      }

      .entry-guide article {
        min-height: auto;
      }

      .responsibility-item {
        grid-template-columns: 62px 1fr;
        gap: 18px;
      }

      .line-icon {
        width: 60px;
        height: 60px;
      }

      .footer {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 16px;
        padding-top: 24px;
        padding-bottom: 24px;
      }

      .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
      }
    }

    @media (min-width: 2000px) {
      .stage {
        width: 2160px;
      }

      .site {
        width: 1440px;
        transform: scale(1.5);
        transform-origin: left top;
      }
    }
