:root {
  color-scheme: light;
  --bg: #f7f4ed;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #232323;
  --muted: #6f675d;
  --faint: #a69c8f;
  --line: #e2dccf;
  --accent: #176d5d;
  --accent-2: #416b98;
  --coral: #c85d48;
  --amber: #9d6b1f;
  --shadow: 0 24px 60px rgba(35, 35, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(23, 109, 93, 0.09), transparent 30%),
    linear-gradient(215deg, rgba(65, 107, 152, 0.1), transparent 34%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(247, 244, 237, 0.84);
  border-bottom: 1px solid rgba(226, 220, 207, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(23, 109, 93, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
  min-height: calc(100vh - 66px);
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 72px) 64px;
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(64px, 12vw, 136px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-subtitle {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.08;
}

.hero-description {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

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

.primary-action {
  background: var(--ink);
  color: #fff;
}

.secondary-action {
  border: 1px solid rgba(23, 109, 93, 0.28);
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent);
}

.domain-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 0;
}

.domain-strip div {
  min-width: 0;
  border: 1px solid rgba(226, 220, 207, 0.9);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  padding: 12px;
}

.domain-strip dt {
  color: var(--faint);
  font-size: 12px;
  font-weight: 900;
}

.domain-strip dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.product-visual {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 380px);
  border: 10px solid #202522;
  border-radius: 36px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-status,
.app-topbar,
.week-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-status {
  height: 38px;
  padding: 0 20px;
  background: #f6f7f5;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.app-topbar {
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #d8ded8;
  background: #fdfefc;
}

.app-topbar p {
  margin-bottom: 3px;
  font-size: 20px;
  font-weight: 900;
}

.app-topbar strong {
  color: var(--accent);
  font-size: 12px;
}

.avatar-row {
  display: flex;
}

.avatar-row span {
  display: grid;
  width: 30px;
  height: 30px;
  margin-left: -8px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.avatar-row span:nth-child(2) {
  background: var(--coral);
}

.avatar-row span:nth-child(3) {
  background: var(--accent-2);
}

.week-row {
  height: 58px;
  border-bottom: 1px solid #d8ded8;
  background: #fdfefc;
}

.week-row span {
  flex: 1;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.week-row .today {
  height: 100%;
  padding-top: 10px;
  background: #eef7f2;
  color: var(--accent);
}

.timeline-preview {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 420px;
}

.time-labels {
  position: relative;
  border-right: 1px solid #e4e8e3;
  background: #f9faf8;
}

.time-labels span {
  position: absolute;
  right: 8px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 900;
}

.time-labels span:nth-child(1) {
  top: 26px;
}

.time-labels span:nth-child(2) {
  top: 102px;
}

.time-labels span:nth-child(3) {
  top: 178px;
}

.time-labels span:nth-child(4) {
  top: 254px;
}

.time-labels span:nth-child(5) {
  top: 330px;
}

.day-grid {
  position: relative;
  background:
    repeating-linear-gradient(to bottom, transparent 0 37px, #f0f2ef 38px),
    #fff;
}

.grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e6e0;
}

.line-1 {
  top: 84px;
}

.line-2 {
  top: 168px;
}

.line-3 {
  top: 252px;
}

.event-block,
.moment-line {
  position: absolute;
  left: 16px;
  right: 18px;
  border-radius: 8px;
  font-weight: 900;
}

.event-block {
  border: 1px solid rgba(23, 109, 93, 0.28);
  border-left: 4px solid var(--accent);
  background: rgba(23, 109, 93, 0.12);
  padding: 9px 10px;
  color: var(--accent);
  font-size: 13px;
}

.event-a {
  top: 42px;
  height: 72px;
}

.event-b {
  top: 136px;
  height: 58px;
  border-color: rgba(200, 93, 72, 0.36);
  border-left-color: var(--coral);
  background: rgba(200, 93, 72, 0.13);
  color: var(--coral);
}

.event-c {
  top: 238px;
  height: 84px;
  border-color: rgba(65, 107, 152, 0.34);
  border-left-color: var(--accent-2);
  background: rgba(65, 107, 152, 0.13);
  color: var(--accent-2);
}

.moment-line {
  top: 348px;
  border-top: 6px solid var(--amber);
  padding-top: 8px;
  color: var(--amber);
  font-size: 12px;
}

.section {
  padding: 76px clamp(18px, 5vw, 72px);
}

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

.section h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.intro-text,
.section-copy {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.feature-card,
.download-card,
.status-list article,
.contact-panel {
  border: 1px solid rgba(226, 220, 207, 0.95);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.8);
}

.feature-card {
  min-height: 210px;
  padding: 22px;
}

.feature-index {
  display: block;
  margin-bottom: 34px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.download-section {
  background: #f6f7f5;
  border-block: 1px solid #d8ded8;
}

.download-card {
  display: flex;
  min-height: 148px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.download-card h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.download-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.download-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.download-action[disabled],
.download-action.is-disabled {
  background: #d7dadf;
  color: #676f76;
  cursor: default;
}

.download-action.is-testing {
  background: var(--accent-2);
}

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

.status-list article {
  padding: 18px;
}

.status-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 18px;
}

.status-list span {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

.contact-panel {
  padding: 24px;
}

.contact-panel p {
  color: var(--muted);
  font-size: 18px;
}

.contact-panel strong {
  color: var(--ink);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.policy-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer span,
.icp-slot {
  color: rgba(255, 255, 255, 0.72);
}

.icp-slot a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .hero,
  .intro-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-visual {
    justify-content: flex-start;
  }

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

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
  }

  .hero {
    padding-top: 36px;
  }

  .domain-strip,
  .feature-grid,
  .download-grid,
  .status-list {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .phone-shell {
    border-width: 7px;
    border-radius: 30px;
  }

  .section {
    padding-block: 56px;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-index {
    margin-bottom: 18px;
  }

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