:root {
  --bg: #fff8f2;
  --paper: #ffffff;
  --ink: #202936;
  --muted: #647283;
  --line: rgba(17, 24, 39, .09);
  --brand: #f06f55;
  --brand-dark: #b64f3c;
  --mint: #25a476;
  --trust: #158765;
  --deep: #172033;
  --blue: #377dff;
  --shadow: 0 26px 70px rgba(86, 62, 47, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 4%, rgba(255, 198, 143, .26), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(103, 190, 162, .18), transparent 30%),
    linear-gradient(180deg, #fff8f2 0%, #fffdf9 46%, #f3fbf8 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 14px auto 0;
  padding: 0 14px 0 16px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 46px rgba(86, 62, 47, .10);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7f0, #ffe3d5);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(217, 130, 107, .20);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #526071;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--brand-dark);
}

.lang-select-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
  gap: 6px;
  min-height: 38px;
  min-width: 98px;
  padding: 0;
  border: 1px solid rgba(234, 222, 212, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.lang-select-wrap::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 30px 0 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.lang-select-wrap > span,
.lang-trigger > span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  pointer-events: none;
}

.lang-flag,
.lang-flag-img {
  width: 18px;
  height: 12px;
  flex: 0 0 18px;
  border-radius: 2px;
  background: center / cover no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 24'%3E%3Crect width='36' height='24' fill='%23de2910'/%3E%3Cpolygon fill='%23ffde00' points='6,3 7.1,6.2 10.5,6.2 7.8,8.2 8.8,11.4 6,9.5 3.2,11.4 4.2,8.2 1.5,6.2 4.9,6.2'/%3E%3Ccircle cx='13.6' cy='4.2' r='1.1' fill='%23ffde00'/%3E%3Ccircle cx='16.8' cy='7.4' r='1.1' fill='%23ffde00'/%3E%3Ccircle cx='16.5' cy='11.8' r='1.1' fill='%23ffde00'/%3E%3Ccircle cx='13.2' cy='15' r='1.1' fill='%23ffde00'/%3E%3C/svg%3E");
  box-shadow: 0 0 0 1px rgba(17, 24, 39, .12);
  color: transparent;
  font-size: 0;
  overflow: hidden;
}

.lang-current {
  min-width: 28px;
  white-space: nowrap;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  display: grid;
  min-width: 132px;
  padding: 8px;
  border: 1px solid rgba(234, 222, 212, .95);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 44px rgba(95, 65, 45, .14);
  backdrop-filter: blur(18px);
}

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

.lang-menu button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #172033;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lang-menu button:hover,
.lang-menu button.active {
  background: #fff1e8;
  color: var(--brand-dark);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  gap: 54px;
  align-items: center;
  width: 100%;
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: 54px max(20px, calc((100% - 1180px) / 2)) 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 248, 241, .88) 0%, rgba(255, 248, 241, .70) 42%, rgba(255, 248, 241, .22) 72%, rgba(255, 248, 241, .06) 100%),
    url("./landing-assets/hero-home-bg.png?v=2026051112") center / cover no-repeat;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--trust);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .14em;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 5.5vw, 72px);
}

.hero h1 span,
.hero h1 em {
  display: block;
  font-style: normal;
}

.hero h1 span {
  color: #3b2a25;
}

.hero h1 em {
  max-width: 780px;
  color: #3b2a25;
}

.hero h1 em::after {
  content: "";
  display: block;
  width: 104px;
  height: 4px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #f5c66d);
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
}

.hero-text {
  max-width: 660px;
  margin: 16px 0 0;
  color: #526071;
  font-size: 19px;
  line-height: 1.72;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 700px;
  margin-top: 24px;
}

.hero-metrics div {
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .70);
  box-shadow: 0 14px 36px rgba(86, 62, 47, .06);
  backdrop-filter: blur(10px);
}

.hero-metrics strong {
  display: block;
  color: var(--trust);
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.primary-action,
.secondary-action,
.share-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 900;
}

.primary-action {
  background: linear-gradient(135deg, #ff7c5f, #de5f4a);
  color: #fff;
  box-shadow: 0 18px 34px rgba(222, 95, 74, .28);
}

.secondary-action {
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(16, 42, 67, .14);
  color: #2d3542;
}

.share-action {
  border: 1px solid rgba(90, 168, 151, .34);
  background: rgba(238, 248, 244, .76);
  color: #36786a;
  cursor: pointer;
  font: inherit;
}

.phone-stage {
  display: flex;
  position: relative;
  z-index: 2;
  justify-content: center;
  animation: phoneDriftIn .72s cubic-bezier(.2, .8, .2, 1) .12s both;
}

.phone {
  width: min(330px, 82vw);
  border-radius: 38px;
  padding: 12px;
  background: linear-gradient(145deg, #362a24, #132d29 64%, #173c5f);
  box-shadow: 0 28px 82px rgba(54, 42, 36, .22);
}

@keyframes phoneDriftIn {
  from {
    opacity: 0;
    transform: translate3d(58px, 10px, 0) scale(.97);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-stage {
    animation: none;
  }
}

.hero-float-card {
  position: absolute;
  z-index: 4;
  width: 190px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 14px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(95, 65, 45, .075);
}

.hero-float-card strong,
.hero-float-card span {
  display: block;
}

.hero-float-card strong {
  color: var(--brand-dark);
  font-size: 16px;
  font-weight: 950;
}

.hero-float-card span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-float-top {
  top: 46px;
  left: -16px;
}

.hero-float-bottom {
  right: -20px;
  bottom: 78px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1180px, calc(100% - 40px));
  margin: -4px auto 34px;
}

.trust-strip div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px rgba(86, 62, 47, .06);
}

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 950;
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.phone-bar {
  width: 92px;
  height: 5px;
  margin: 5px auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
}

.phone-screen {
  border-radius: 25px;
  background: linear-gradient(180deg, #fffaf6 0%, #f4fbf8 100%);
}

.screen-carousel {
  position: relative;
  aspect-ratio: 361 / 778;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 36px;
  background: #fffaf6;
}

.screen-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  background: #fffaf6;
  opacity: 0;
  animation: screenFade 24s infinite;
}

.screen-slide:nth-child(2) {
  animation-delay: 4s;
}

.screen-slide:nth-child(3) {
  animation-delay: 8s;
}

.screen-slide:nth-child(4) {
  animation-delay: 12s;
}

.screen-slide:nth-child(5) {
  animation-delay: 16s;
}

.screen-slide:nth-child(6) {
  animation-delay: 20s;
}

.screen-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screen-slide figcaption {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .90);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(43, 33, 29, .10);
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
  z-index: 3;
}

.carousel-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 0 0 1px rgba(43, 33, 29, .12);
  animation: dotPulse 24s infinite;
}

.carousel-dots span:nth-child(1) {
  animation-delay: 0s;
}

.carousel-dots span:nth-child(2) {
  animation-delay: 4s;
}

.carousel-dots span:nth-child(3) {
  animation-delay: 8s;
}

.carousel-dots span:nth-child(4) {
  animation-delay: 12s;
}

.carousel-dots span:nth-child(5) {
  animation-delay: 16s;
}

.carousel-dots span:nth-child(6) {
  animation-delay: 20s;
}

@keyframes screenFade {
  0%, 13% { opacity: 1; }
  16.66%, 96% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes dotPulse {
  0%, 13% {
    width: 18px;
    border-radius: 999px;
    background: var(--brand);
  }
  16.66%, 100% {
    width: 6px;
    background: rgba(43, 33, 29, .28);
  }
}

.screen-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-weight: 900;
}

.screen-title strong {
  color: var(--mint);
  font-size: 13px;
}

.safe-card,
.report-card,
.metric-grid div,
.feature,
.qr-card,
.institution-plan-grid article,
.scene-list div {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(234, 222, 212, .82);
  box-shadow: 0 12px 28px rgba(105, 72, 55, .06);
  backdrop-filter: blur(14px);
}

.safe-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
}

.safe-card p,
.report-card p,
.feature p,
.qr-card p,
.section-heading p,
.institution-copy p,
.institution-flow span,
.institution-plan-grid span,
.scene-list span {
  color: var(--muted);
  line-height: 1.72;
}

.safe-card p,
.report-card p {
  margin: 5px 0 0;
  font-size: 13px;
}

.pulse {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 8px rgba(90, 168, 151, .14);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.metric-grid div {
  min-height: 92px;
  border-radius: 8px;
  padding: 16px;
}

.metric-grid b {
  display: block;
  font-size: 24px;
}

.metric-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.report-card {
  margin-top: 16px;
  border-radius: 8px;
  padding: 18px;
}

.report-card span {
  color: var(--blue);
  font-weight: 900;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(30px, 4.2vw, 52px);
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  font-size: 17px;
}

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

.feature {
  min-height: 218px;
  border-radius: 8px;
  padding: 22px;
}

.feature:nth-child(n+5) {
  display: none;
}

.feature-art {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
}

.feature h3,
.qr-card h3 {
  margin: 20px 0 8px;
  font-size: 20px;
}

.qr-title-link {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff1e8;
  color: #a94f42;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  vertical-align: middle;
}

.qr-title-link:hover {
  background: #e08a72;
  color: #fff;
}

.feature p,
.qr-card p {
  margin: 0;
  font-size: 16px;
}

.institution-section {
  padding-top: 40px;
}

.institution-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(35, 150, 111, .16);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(239, 250, 245, .76));
  box-shadow: 0 24px 70px rgba(34, 106, 82, .10);
}

.institution-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
}

.institution-copy p {
  max-width: 720px;
  margin: 16px 0 0;
  font-size: 17px;
}

.institution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.institution-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(35, 150, 111, .10);
  color: var(--trust);
  font-size: 14px;
  font-weight: 900;
}

.institution-card {
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(31, 64, 54, .10);
}

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

.institution-card-head span {
  color: var(--ink);
  font-size: 21px;
  font-weight: 950;
}

.institution-card-head b {
  color: var(--trust);
  font-size: 14px;
}

.institution-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.institution-stat-grid div {
  min-height: 92px;
  padding: 16px;
  border-radius: 8px;
  background: #f6fbf8;
}

.institution-stat-grid strong {
  display: block;
  color: var(--deep);
  font-size: 26px;
  line-height: 1.1;
}

.institution-stat-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.institution-flow {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.institution-flow span {
  position: relative;
  min-height: 40px;
  padding: 9px 12px 9px 34px;
  border-radius: 8px;
  background: #fff9f4;
  font-size: 14px;
  font-weight: 800;
}

.institution-flow span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--trust);
}

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

.institution-plan-grid article {
  min-height: 128px;
  border-radius: 8px;
  padding: 18px;
}

.institution-plan-grid strong {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 19px;
}

.institution-plan-grid span {
  display: block;
  font-size: 14px;
}

.why-section {
  padding-top: 24px;
}

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

.why-grid article {
  min-height: 210px;
  padding: 24px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid rgba(234, 222, 212, .82);
  box-shadow: 0 14px 34px rgba(73, 48, 37, .06);
}

.why-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff1e8;
  color: var(--brand-dark);
  font-weight: 950;
}

.why-grid h3 {
  margin: 22px 0 10px;
  font-size: 21px;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.workflow-section {
  padding-top: 36px;
}

.care-reminder-section {
  padding-top: 26px;
}

.care-reminder-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(234, 222, 212, .82);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7ef 0%, #eef9f2 56%, #ffffff 100%);
  box-shadow: 0 18px 44px rgba(105, 72, 55, .08);
}

.care-reminder-copy h2 {
  margin: 0;
  color: #253044;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
}

.care-reminder-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.care-reminder-points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.care-reminder-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: #426050;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(73, 48, 37, .055);
}

.care-reminder-demo {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 22px 48px rgba(47, 155, 114, .12);
}

.reminder-phone-head,
.reminder-task {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.reminder-phone-head {
  margin-bottom: 12px;
  color: var(--deep);
  font-weight: 950;
}

.reminder-phone-head span {
  grid-column: 1 / 3;
  font-size: 20px;
}

.reminder-phone-head b {
  justify-self: end;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef8f4;
  color: var(--trust);
  font-size: 13px;
}

.reminder-task {
  min-height: 62px;
  padding: 12px;
  border-top: 1px solid rgba(17, 24, 39, .07);
}

.reminder-task b {
  color: var(--brand-dark);
  font-size: 18px;
}

.reminder-task span {
  color: var(--deep);
  font-size: 17px;
  font-weight: 950;
}

.reminder-task em {
  justify-self: end;
  min-width: 72px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff1e8;
  color: var(--brand-dark);
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
  text-align: center;
}

.reminder-task.done em {
  background: #e8f7ee;
  color: var(--trust);
}

.care-reminder-demo p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

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

.workflow-grid article {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(234, 222, 212, .82);
  box-shadow: 0 14px 34px rgba(73, 48, 37, .06);
}

.workflow-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f6e6de;
  color: var(--brand-dark);
  font-weight: 950;
}

.workflow-grid h3 {
  margin: 24px 0 10px;
  font-size: 20px;
}

.workflow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.privacy-section {
  padding-top: 24px;
}

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff4ea, #edf8f1 58%, #ffffff);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 44px rgba(105, 72, 55, .08);
}

.privacy-panel h2 { color: #3b2a25; }
.privacy-panel .eyebrow { color: var(--trust); }

.privacy-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.privacy-panel p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.privacy-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.privacy-points span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(234, 222, 212, .82);
  color: #3b2a25;
  font-weight: 950;
}

.timeline-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.timeline-modal.show {
  display: flex;
}

.timeline-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 33, 29, .36);
  backdrop-filter: blur(10px);
}

.timeline-dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border-radius: 8px;
  background: #fffaf6;
  border: 1px solid rgba(234, 222, 212, .9);
  box-shadow: 0 34px 90px rgba(43, 33, 29, .25);
  padding: 30px;
}

.timeline-close {
  position: sticky;
  top: 0;
  float: right;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.timeline-head {
  max-width: 680px;
  margin-bottom: 22px;
}

.timeline-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.timeline-head p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.landing-timeline {
  display: grid;
  gap: 12px;
}

.landing-timeline-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(234, 222, 212, .9);
}

.landing-timeline-item time {
  color: var(--brand-dark);
  font-weight: 950;
}

.landing-timeline-item span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f6e6de;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
}

.landing-timeline-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.landing-timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.timeline-copy.can-expand {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.timeline-copy.expanded {
  display: block;
  overflow: visible;
}

.timeline-more-btn {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 950;
}

.timeline-image-button {
  display: block;
  width: min(520px, 100%);
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.timeline-image {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.timeline-image-preview {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.timeline-image-preview.show {
  display: flex;
}

.timeline-image-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 16, .72);
  backdrop-filter: blur(8px);
}

.timeline-image-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(980px, 100%);
  max-height: calc(100vh - 36px);
}

.timeline-image-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 56px);
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.timeline-image-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .24);
}

.timeline-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 18px;
}

.timeline-foot a {
  color: var(--brand-dark);
  font-weight: 900;
}

.scene-band {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - 1160px) / 2));
  background: #fff;
}

.scene-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.scene-list div {
  min-height: 150px;
  border-radius: 8px;
  padding: 22px;
}

.scene-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 19px;
}

.compliance-section {
  padding-top: 28px;
}

.compliance-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.compliance-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(234, 222, 212, .9);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 900;
}

.download-section {
  padding-bottom: 92px;
}

.qr-grid {
  display: grid;
  gap: 18px;
}

.download-groups {
  display: grid;
  gap: 22px;
}

.download-group {
  padding: 20px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .64);
  box-shadow: 0 18px 54px rgba(16, 42, 67, .06);
}

.download-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.download-group-head span {
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.download-group-head b {
  color: var(--muted);
  font-size: 14px;
}

.qr-grid-primary {
  grid-template-columns: minmax(260px, 1.2fr) minmax(220px, .8fr);
}

.qr-grid-secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qr-grid-test {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qr-grid-overseas {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qr-card {
  position: relative;
  border-radius: 8px;
  padding: 22px;
  text-align: center;
}

.qr-card-featured {
  border-color: rgba(90, 168, 151, .45);
  box-shadow: 0 18px 44px rgba(35, 113, 96, .12);
}

.qr-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-top: 14px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.status-ready {
  background: rgba(90, 168, 151, .14);
  color: var(--trust);
}

.status-soon {
  background: #fff1e8;
  color: var(--brand-dark);
}

.qr-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: min(210px, 100%);
  margin: 0 auto;
  border: 1px dashed #d4b8a9;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(217, 130, 107, .08) 50%, transparent 50%) 0 0 / 24px 24px,
    linear-gradient(rgba(217, 130, 107, .08) 50%, transparent 50%) 0 0 / 24px 24px,
    #fffaf6;
  color: var(--brand-dark);
  font-weight: 950;
}

.qr-image-box {
  padding: 12px;
  background: #fff;
  border-style: solid;
}

.qr-image-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 6px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 16px 28px;
  box-sizing: border-box;
  border-top: 1px solid var(--line);
  color: #999;
  font-size: 12px;
  text-align: center;
  line-height: 1.8;
}

.footer-main {
  display: grid;
  gap: 2px;
  justify-items: center;
  min-width: 0;
}

.footer-brand {
  color: #666;
  font-weight: 500;
}

.footer-slogan {
  color: var(--muted);
  line-height: 1.5;
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  line-height: 1.7;
}

.site-footer .icp-link {
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.beian-badge {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.site-footer .icp-link:hover {
  color: var(--trust);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  color: #999;
  font-weight: 500;
  line-height: 1.8;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

.back-top {
  position: fixed;
  right: max(18px, calc((100vw - 1180px) / 2));
  bottom: 24px;
  z-index: 30;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(234, 216, 207, .95);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--brand-dark);
  box-shadow: 0 14px 34px rgba(95, 65, 45, .16);
  backdrop-filter: blur(14px);
  font-size: 20px;
  font-weight: 950;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top:hover {
  background: #fff1e8;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 100px);
    padding-top: 40px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 248, 241, .78) 0%, rgba(255, 248, 241, .64) 45%, rgba(255, 248, 241, .88) 100%),
      url("./landing-assets/hero-home-bg.png?v=2026051112") 36% top / cover no-repeat;
  }

  .hero-copy {
    grid-column: 1;
    justify-self: start;
    max-width: 620px;
  }

  .feature-grid,
  .why-grid,
  .workflow-grid,
  .scene-list,
  .trust-strip,
  .qr-grid-primary,
  .qr-grid-test,
  .qr-grid-secondary,
  .qr-grid-overseas {
    grid-template-columns: 1fr 1fr;
  }

  .care-reminder-panel {
    grid-template-columns: 1fr;
  }

  .institution-panel {
    grid-template-columns: 1fr;
  }

  .institution-plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .privacy-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: min(100% - 28px, 1160px);
    height: auto;
    min-height: 76px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand lang"
      "nav nav";
    gap: 6px 10px;
    padding: 9px 10px 10px;
    align-items: center;
    overflow: visible;
  }

  .brand {
    grid-area: brand;
    gap: 7px;
    min-width: 0;
    font-size: 17px;
    line-height: 1;
    justify-self: start;
  }

  .brand span:last-child {
    max-width: none;
    white-space: nowrap;
    word-break: normal;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .nav {
    grid-area: nav;
    justify-content: flex-start;
    gap: 16px;
    min-width: 0;
    width: 100%;
    padding: 3px 2px 0;
    font-size: 12px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 4px 0;
  }

  .lang-select-wrap {
    grid-area: lang;
    justify-self: end;
    gap: 5px;
    min-height: 34px;
    min-width: 86px;
    max-width: 100px;
    font-size: 12px;
    line-height: 1;
  }

  .lang-trigger {
    min-height: 34px;
    padding: 0 26px 0 10px;
  }

  .lang-flag,
  .lang-flag-img {
    width: 17px;
    height: 11px;
    flex-basis: 17px;
  }

  .lang-select-wrap::after {
    right: 10px;
  }

  .feature-home-link {
    display: none;
  }
}

@media (max-width: 640px) {

  .hero,
  .section,
  .site-footer,
  .trust-strip {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
    gap: 24px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 248, 241, .82) 0%, rgba(255, 248, 241, .72) 42%, rgba(255, 248, 241, .90) 100%),
      url("./landing-assets/hero-home-bg.png?v=2026051112") 35% top / cover no-repeat;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.12;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.68;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-actions .primary-action {
    grid-column: 1 / -1;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .hero-float-card {
    display: none;
  }

  .hero-actions .secondary-action:nth-child(n+4) {
    display: none;
  }

  .hero-actions a,
  .hero-actions button {
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
  }

  .feature-grid,
  .why-grid,
  .workflow-grid,
  .scene-list,
  .trust-strip,
  .qr-grid-primary,
  .qr-grid-test,
  .qr-grid-secondary,
  .qr-grid-overseas {
    grid-template-columns: 1fr;
  }

  .care-reminder-panel {
    padding: 22px;
  }

  .institution-panel {
    padding: 22px;
  }

  .institution-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .institution-stat-grid,
  .institution-plan-grid {
    grid-template-columns: 1fr;
  }

  .reminder-phone-head,
  .reminder-task {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .reminder-task em {
    grid-column: 2;
    justify-self: start;
  }

  .download-group {
    padding: 14px;
  }

  .download-group-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: center;
    padding-bottom: 34px;
  }

  .footer-links {
    justify-content: center;
  }

  .back-top {
    right: 16px;
    bottom: 18px;
  }

  .privacy-panel {
    padding: 22px;
  }

  .privacy-points {
    grid-template-columns: 1fr;
  }

  .landing-timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-dialog {
    padding: 22px;
  }

  .phone {
    width: min(320px, 88vw);
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .site-footer .icp-link {
    white-space: normal;
  }
}

