:root {
  --bg: #fffbf0;
  --bg-soft: #fff3e0;
  --text: #2c2c2c;
  --text-soft: #757575;
  --line: #e0e0e0;
  --primary: #ff5500;
  --primary-deep: #c41c00;
  --accent: #ff9800;
  --accent-soft: #fff3e0;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 40px rgba(255, 85, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% -10%, #ffe8da 0, transparent 45%),
    radial-gradient(circle at 100% 20%, #fff2df 0, transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
}

body {
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.bg-orb-a {
  background: rgba(255, 85, 0, 0.2);
  top: -18rem;
  right: -6rem;
}

.bg-orb-b {
  background: rgba(236, 64, 122, 0.14);
  bottom: -22rem;
  left: -12rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 251, 240, 0.88);
  border-bottom: 1px solid rgba(224, 224, 224, 0.95);
  padding: 0.9rem clamp(1rem, 3vw, 2.4rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(196, 28, 0, 0.3);
}

.brand-text {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.header-actions {
  display: flex;
  gap: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.66rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  background: linear-gradient(135deg, var(--primary), #ff8a50);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 85, 0, 0.3);
}

.btn-ghost {
  color: var(--primary-deep);
  background: #fff;
  border-color: #f2c9b2;
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

section {
  margin-top: clamp(2.2rem, 7vw, 5rem);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1rem, 4vw, 2.6rem);
  align-items: center;
}

.eyebrow {
  color: var(--primary-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.hero h1,
section h2 {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(1.8rem, 5.8vw, 3.6rem);
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 15ch;
}

.lead {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  max-width: 40ch;
}

.cta-row {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-points {
  margin: 1.1rem 0 0;
  padding-left: 1.05rem;
  color: var(--text-soft);
}

.hero-points li + li {
  margin-top: 0.35rem;
}

.hero-visual {
  background: linear-gradient(160deg, #fffdf8, #fff3e6);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.phone-card {
  background: #fff;
  border: 1px solid #f4d2bf;
  border-radius: 22px;
  padding: 0.6rem;
  margin-bottom: 0.8rem;
}

.phone-card.normal {
  transform: rotate(-1deg);
}

.phone-card.elder {
  transform: rotate(1deg);
}

.phone-head {
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.25rem 0.45rem;
  color: #8a5a3f;
}

.phone-screen {
  border-radius: 16px;
  border: 1px solid #f6d8c8;
  padding: 0.8rem;
  min-height: 128px;
  background: linear-gradient(180deg, #fffefd, #fff8f2);
}

.shot-title {
  font-weight: 700;
  font-size: 0.9rem;
}

.shot-line {
  height: 9px;
  border-radius: 999px;
  background: #f6d9c7;
  margin-top: 0.45rem;
}

.shot-line.short {
  width: 72%;
}

.shot-pill {
  margin-top: 0.7rem;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(130deg, #ffecd6, #ffd5a4);
}

.shot-action {
  margin-top: 0.7rem;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(130deg, #ff8a50, #ff5500);
}

.visual-note {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #8a6a57;
}

.feature-board h2,
.onboarding h2,
.assessment h2,
.download h2 {
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  margin-bottom: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.feature-item {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 1rem;
}

.feature-item h3 {
  margin: 0;
  font-size: 1.04rem;
}

.feature-item p {
  margin: 0.6rem 0 0;
  color: var(--text-soft);
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.step-list li {
  display: grid;
  grid-template-columns: 4.3rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.step-index {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.2rem;
}

.step-list h3 {
  margin: 0;
  font-size: 1.02rem;
}

.step-list p {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
}

.assessment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.assessment-copy p {
  color: var(--text-soft);
  margin-top: 1rem;
  max-width: 100%;
}


.risk-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1rem;
}

.risk-form fieldset {
  border: 0;
  margin: 0;
  padding: 0 0 0.82rem;
}

.risk-form legend {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.risk-form label {
  display: block;
  color: var(--text-soft);
  margin: 0.26rem 0;
}

.risk-result {
  min-height: 1.5rem;
  margin-top: 0.7rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.download-grid article {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 1rem;
}

.download-grid h3 {
  margin: 0;
}

.download-grid p {
  color: var(--text-soft);
}

.qr-card {
  text-align: center;
}

.qr-card img {
  border: 1px dashed #e9c3ac;
  border-radius: 12px;
  padding: 0.45rem;
  background: #fff9f4;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding: 1.2rem 1rem 2rem;
  text-align: center;
  color: #8a6a57;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.is-visible {
  animation: reveal-up 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.65rem;
  }

  .site-nav,
  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
