:root {
  --bg: #ffefb8;
  --bg-soft: #fff6d2;
  --card: #ffffff;
  --ink: #2a2520;
  --muted: rgba(42, 37, 32, 0.72);
  --faint: rgba(42, 37, 32, 0.48);
  --line: rgba(60, 60, 67, 0.18);
  --tint: #f5a623;
  --tint-strong: #d88a0a;
  --red: #ff3b30;
  --blue: #0a84ff;
  --green: #34c759;
  --pink: #ff6b6b;
  --mint: #dff6ed;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 12px 28px rgba(70, 48, 12, 0.10);
  --radius: 16px;
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #ffe49c 0%, #fff6d2 42%, #f8fbf4 100%);
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--content));
  height: 68px;
  margin: 0 auto;
  backdrop-filter: blur(18px);
}

.site-header.is-elevated {
  border-bottom: 1px solid rgba(42, 37, 32, 0.10);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 10px 30px rgba(88, 66, 20, 0.08);
}

.site-nav a {
  min-height: 36px;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: #ffffff;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 42px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 10px 30px rgba(88, 66, 20, 0.08);
}

.lang-switch button {
  min-width: 44px;
  min-height: 32px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.lang-switch button.is-active {
  color: var(--ink);
  background: #ffffff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
}

.section-band {
  width: 100%;
}

.hero {
  min-height: 540px;
  padding: 22px 0 30px;
}

.hero-inner,
.section-inner {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--tint-strong);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.14;
  font-weight: 900;
}

h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.22;
  font-weight: 850;
}

.hero-lede {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(89, 60, 5, 0.10);
}

.button.primary {
  color: #ffffff;
  background: var(--tint);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.80);
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 44px 0 0;
}

.hero-signals div {
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 8px 20px rgba(80, 55, 12, 0.06);
}

.hero-signals dt {
  font-size: 29px;
  line-height: 1;
  font-weight: 900;
}

.hero-signals dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-stage {
  position: relative;
  min-height: 500px;
}

.hero-ip {
  position: absolute;
  right: 44px;
  bottom: 10px;
  z-index: 2;
  width: 300px;
  filter: drop-shadow(0 24px 30px rgba(82, 60, 8, 0.18));
}

.device-shell {
  position: absolute;
  top: 0;
  left: 0;
  width: 330px;
  min-height: 525px;
  padding: 20px 18px;
  border: 9px solid #25211d;
  border-radius: 42px;
  background: linear-gradient(135deg, #ffe49c, #fff7d8 64%, #ffffff);
  box-shadow: 0 30px 70px rgba(53, 36, 3, 0.22);
}

.phone-status,
.phone-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(42, 37, 32, 0.70);
  font-size: 12px;
  font-weight: 800;
}

.phone-title {
  justify-content: center;
  margin-top: 18px;
  color: var(--ink);
  font-size: 18px;
}

.care-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 136px;
  margin-top: 28px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffd2c9, #ffe0da);
  box-shadow: 0 6px 24px rgba(255, 59, 48, 0.14);
}

.care-alert p,
.care-alert strong {
  margin: 0;
}

.care-alert p {
  color: rgba(58, 26, 23, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.care-alert strong {
  display: block;
  margin-top: 8px;
  color: #c0392b;
  font-size: 35px;
  line-height: 1;
  font-weight: 900;
}

.alert-pulse {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
}

.alert-pulse::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 2px solid rgba(255, 59, 48, 0.36);
  border-radius: 50%;
  animation: pulse 1.8s ease-out infinite;
}

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

.metric-row div,
.host-card {
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.metric-row span,
.host-card span {
  display: block;
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
}

.metric-row strong,
.host-card strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.timeline {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.35fr 0.65fr;
  gap: 8px;
  height: 60px;
  margin-top: 14px;
  padding: 18px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
}

.timeline span {
  border-radius: 999px;
  background: var(--tint);
}

.timeline span:nth-child(2) {
  background: var(--blue);
}

.timeline span:nth-child(3) {
  background: var(--pink);
}

.timeline span:nth-child(4) {
  background: var(--green);
}

.host-card {
  margin-top: 14px;
}

.care-band,
.app-band {
  padding: 58px 0 84px;
  background: #ffffff;
}

.system-band {
  padding: 88px 0;
  background: linear-gradient(180deg, #fff8dd 0%, #f4fbff 100%);
}

.safety-band {
  padding: 88px 0;
  background: #f7fbf5;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.feature-card,
.safety-grid article {
  min-height: 236px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.feature-card img,
.safety-grid img,
.system-steps img {
  width: 30px;
  height: 30px;
}

.feature-card h3,
.safety-grid h3 {
  margin-top: 20px;
}

.feature-card p,
.safety-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.split-layout,
.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
}

.app-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.product-visual {
  position: relative;
  min-height: 430px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, #fff1c7);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.diaper-image {
  position: absolute;
  left: 8%;
  top: 14%;
  width: 72%;
  filter: drop-shadow(0 24px 28px rgba(86, 66, 19, 0.16));
}

.signal-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(78%, 280px);
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 30px rgba(38, 31, 10, 0.10);
}

.signal-panel div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
}

.signal-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tint);
  box-shadow: 0 0 0 5px rgba(245, 166, 35, 0.18);
}

.status-dot.blue {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(10, 132, 255, 0.14);
}

.status-dot.green {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(52, 199, 89, 0.16);
}

.system-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.system-steps div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.system-steps span {
  font-size: 14px;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(52, 199, 89, 0.13);
}

.app-preview {
  margin: 0;
  justify-self: center;
  width: min(100%, 360px);
}

.app-preview figcaption {
  margin-top: 12px;
  color: var(--faint);
  font-size: 13px;
  text-align: center;
}

.about-phone {
  width: 100%;
  min-height: 620px;
  padding: 28px 22px;
  border: 10px solid #27231f;
  border-radius: 36px;
  background: linear-gradient(135deg, #ffe49c, #fff6d2 70%, #ffffff);
  box-shadow: 0 24px 55px rgba(37, 28, 5, 0.16);
}

.about-phone-title {
  margin: 4px 0 28px;
  text-align: center;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.about-hero {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 132px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffc97a, #ffe89b);
  box-shadow: var(--shadow);
}

.about-hero img {
  width: 86px;
}

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

.about-hero strong {
  font-size: 26px;
  line-height: 1.05;
  font-weight: 900;
}

.about-hero span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 750;
}

.about-copy,
.about-list {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.about-copy {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.about-list {
  display: grid;
  gap: 12px;
}

.about-list strong {
  color: var(--ink);
  font-size: 20px;
}

.about-list span {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.about-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tint);
}

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

.cta-band {
  padding: 60px 0;
  background: linear-gradient(135deg, #ffe49c, #fff6d2);
}

.cta-inner {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.wordmark {
  width: 170px;
}

.cta-inner h2 {
  font-size: 30px;
}

.cta-inner p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.25fr) minmax(240px, 0.9fr);
  align-items: start;
  gap: 24px;
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer strong {
  color: var(--ink);
}

.footer-contact {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.footer-contact a {
  color: var(--ink);
  font-weight: 750;
}

.footer-note {
  margin: 0;
  line-height: 1.5;
}

@keyframes pulse {
  from {
    opacity: 0.95;
    transform: scale(0.78);
  }
  to {
    opacity: 0;
    transform: scale(1.36);
  }
}

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

  .alert-pulse::after {
    animation: none;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-inner,
  .split-layout,
  .app-layout {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 610px;
  }

  .hero-ip {
    right: 4%;
    width: 330px;
  }

  .device-shell {
    left: 4%;
  }

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

  .cta-inner {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .cta-inner .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

@media (max-width: 720px) {
  .site-header {
    height: 62px;
  }

  .nav-toggle {
    display: block;
  }

  .header-actions {
    gap: 8px;
  }

  .lang-switch {
    min-height: 38px;
    padding: 3px;
  }

  .lang-switch button {
    min-width: 38px;
    min-height: 30px;
    padding: 6px 8px;
    font-size: 12px;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 18px;
    background: #fffef8;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    display: block;
    text-align: center;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lede,
  .section-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .system-steps,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 18px 0 24px;
  }

  .hero-lede {
    margin-top: 16px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }

  .hero-signals div {
    min-height: 76px;
    padding: 13px 10px;
  }

  .hero-signals dt {
    font-size: 25px;
  }

  .hero-signals dd {
    font-size: 11px;
  }

  .hero-stage {
    min-height: 235px;
    margin-top: 18px;
    overflow: hidden;
  }

  .device-shell {
    left: 8px;
    width: 220px;
    min-height: 365px;
    padding: 14px 12px;
    border-width: 7px;
    border-radius: 30px;
  }

  .hero-ip {
    right: -18px;
    bottom: 0;
    width: 170px;
  }

  .phone-title {
    margin-top: 11px;
    font-size: 14px;
  }

  .care-alert {
    min-height: 86px;
    margin-top: 16px;
    padding: 14px;
    border-radius: 16px;
  }

  .care-alert strong {
    font-size: 25px;
  }

  .alert-pulse {
    width: 32px;
    height: 32px;
  }

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

  .care-band,
  .app-band {
    padding-top: 36px;
  }

  .product-visual {
    min-height: 360px;
  }

  .signal-panel {
    right: 16px;
    bottom: 16px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .wordmark {
    width: 150px;
  }

  .about-phone {
    min-height: 540px;
    padding: 22px 18px;
  }

}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 235px;
  }

  .device-shell {
    width: 220px;
    padding: 18px 15px;
  }

  .hero-ip {
    width: 160px;
  }

  .care-alert strong {
    font-size: 30px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }
}
