:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.972 0.01 270);
  --surface-strong: oklch(0.94 0.024 270);
  --ink: oklch(0.22 0.044 276);
  --muted: oklch(0.47 0.042 276);
  --primary: oklch(0.48 0.21 270);
  --primary-deep: oklch(0.32 0.18 270);
  --pink: oklch(0.72 0.18 350);
  --sky: oklch(0.76 0.13 215);
  --green: oklch(0.78 0.15 138);
  --yellow: oklch(0.86 0.16 83);
  --line: oklch(0.86 0.021 270);
  --white: oklch(1 0 0);
  --shadow: 0 8px 24px oklch(0.22 0.04 276 / 0.12);
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 10%, oklch(0.92 0.08 350 / 0.72), transparent 30rem),
    linear-gradient(180deg, var(--bg), oklch(0.985 0.008 270));
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 2.25rem;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a,
.site-footer a,
.text-link {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  min-height: calc(100svh - 4.5rem);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.hero-kicker {
  width: fit-content;
  margin: 0 0 1.2rem;
  padding: 0.45rem 0.75rem;
  color: var(--primary-deep);
  background: oklch(0.91 0.08 83);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
}

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

h1 {
  max-width: 12em;
  margin-bottom: 1.35rem;
  font-size: clamp(3.1rem, 9vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: normal;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.72;
  text-wrap: pretty;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--primary);
}

.button.secondary {
  color: var(--primary-deep);
  background: var(--surface-strong);
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.phone-shell {
  width: min(390px, 100%);
  margin-left: auto;
  padding: 0.75rem;
  background: var(--ink);
  border-radius: 2.2rem;
  box-shadow: 0 26px 70px oklch(0.22 0.04 276 / 0.24);
}

.phone-screen {
  min-height: 600px;
  padding: 1.35rem;
  overflow: hidden;
  background:
    linear-gradient(160deg, oklch(0.98 0.035 350), oklch(0.965 0.035 230) 70%),
    var(--white);
  border-radius: 1.65rem;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.screen-top strong {
  color: var(--ink);
}

.quote-card,
.audio-row,
.score-panel {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.quote-card {
  padding: 1.35rem;
}

.quote-label {
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 800;
}

.quote-card p {
  margin: 0.7rem 0;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.08;
}

.quote-card small {
  color: var(--muted);
  font-size: 0.95rem;
}

.audio-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 1rem;
}

.play-dot {
  display: grid;
  place-items: center;
  width: 2.6rem;
  aspect-ratio: 1;
  background: var(--pink);
  border-radius: 999px;
}

.play-dot::after {
  width: 0;
  height: 0;
  margin-left: 0.18rem;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
  border-left: 0.62rem solid var(--white);
  content: "";
}

.audio-row div {
  display: grid;
  gap: 0.2rem;
}

.audio-row span:not(.play-dot) {
  color: var(--muted);
  font-size: 0.88rem;
}

.score-panel {
  margin-top: 1rem;
  padding: 1rem;
}

.score-panel div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.score-panel span {
  color: var(--muted);
  font-size: 0.9rem;
}

.score-panel strong {
  color: var(--primary);
  font-size: 3.3rem;
  line-height: 1;
}

.score-panel svg {
  width: 100%;
  height: auto;
}

.score-panel path {
  fill: none;
  stroke: var(--sky);
  stroke-linecap: round;
  stroke-width: 9;
}

.roadmap-mini {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.roadmap-mini span {
  display: block;
  flex: 1;
  height: 0.65rem;
  background: var(--line);
  border-radius: 999px;
}

.roadmap-mini .done {
  background: var(--green);
}

.roadmap-mini .today {
  background: var(--yellow);
}

.floating-note {
  position: absolute;
  right: min(46%, 18rem);
  bottom: 5rem;
  display: grid;
  gap: 0.3rem;
  width: min(15rem, 56vw);
  padding: 1rem;
  background: var(--primary-deep);
  color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 18px 46px oklch(0.22 0.04 276 / 0.22);
}

.floating-note span {
  color: oklch(0.92 0.025 270);
  line-height: 1.5;
}

.practice-band {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--primary-deep);
  color: var(--white);
}

.section-heading,
.practice-steps,
.features,
.about-section,
.download,
.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.58fr);
  gap: 2rem;
  align-items: end;
}

.section-heading p,
.feature-copy p,
.download p {
  color: color-mix(in oklch, currentColor 72%, transparent);
  font-size: 1.08rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.practice-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 5vw, 4rem);
  background: oklch(0.72 0.07 270 / 0.45);
  border: 1px solid oklch(0.72 0.07 270 / 0.45);
}

.practice-steps article {
  min-height: 16rem;
  padding: 1.4rem;
  background: var(--primary-deep);
}

.practice-steps span {
  color: var(--yellow);
  font-weight: 900;
}

.practice-steps h3 {
  margin: 3.4rem 0 0.7rem;
  color: var(--white);
}

.practice-steps p {
  color: oklch(0.88 0.025 270);
  line-height: 1.65;
}

.features {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.feature-copy {
  position: sticky;
  top: 6rem;
  align-self: start;
}

.text-link {
  color: var(--primary);
  font-weight: 850;
}

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-item {
  display: grid;
  grid-template-columns: minmax(8rem, 0.34fr) 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-item strong {
  font-size: 1.05rem;
}

.feature-item span {
  color: var(--muted);
  line-height: 1.68;
}

.about-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.about-body {
  background: var(--white);
}

.about-body .site-header {
  width: 100%;
  margin: 0;
  padding: 1rem max(1rem, calc((100% - 1180px) / 2));
  color: var(--white);
  background: oklch(0.2 0.08 252);
}

.about-body .brand-mark {
  color: oklch(0.2 0.08 252);
  background: var(--white);
}

.about-body .nav-links {
  color: oklch(0.94 0.02 245);
}

.about-body .nav-links a[aria-current="page"] {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--sky);
  text-decoration-thickness: 0.16rem;
  text-underline-offset: 0.55rem;
}

.about-page {
  width: 100%;
  margin: 0;
  padding-top: 0;
}

.about-hero {
  min-height: 18rem;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  background:
    linear-gradient(100deg, oklch(0.25 0.11 252 / 0.92), oklch(0.42 0.14 232 / 0.58)),
    radial-gradient(circle at 72% 18%, oklch(0.82 0.1 222 / 0.68), transparent 22rem),
    linear-gradient(145deg, oklch(0.2 0.1 255), oklch(0.62 0.12 225));
  border-radius: 1rem;
  overflow: hidden;
}

.about-page .about-hero {
  min-height: 24rem;
  border-radius: 0;
  background:
    linear-gradient(90deg, oklch(0.24 0.11 252 / 0.96), oklch(0.36 0.12 235 / 0.78) 48%, oklch(0.68 0.11 225 / 0.55)),
    repeating-linear-gradient(105deg, transparent 0 4.2rem, oklch(0.96 0.02 230 / 0.18) 4.25rem 4.65rem),
    linear-gradient(135deg, oklch(0.2 0.09 252), oklch(0.65 0.12 220));
}

.about-kicker {
  display: block;
  margin-bottom: 1rem;
  color: oklch(0.91 0.11 83);
  font-size: 1.05rem;
  font-weight: 900;
}

.about-page .about-kicker {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-hero h1,
.about-hero h2 {
  max-width: 11ch;
  margin-bottom: 1rem;
}

.about-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.about-page .about-hero h1 {
  max-width: 16ch;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-hero p {
  max-width: 34rem;
  color: oklch(0.93 0.02 245);
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-page .about-hero p {
  max-width: 27rem;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.about-page .about-intro,
.about-page .about-block {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.about-visual {
  min-height: 21rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    linear-gradient(135deg, oklch(0.98 0.01 240), oklch(0.9 0.025 230)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.about-page .about-visual {
  min-height: 20rem;
  align-items: end;
  background:
    linear-gradient(160deg, oklch(0.98 0.006 230), oklch(0.88 0.02 230)),
    var(--surface);
}

.about-logo-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.about-logo-mark {
  display: block;
  width: 3.3rem;
  aspect-ratio: 1;
  border-radius: 1rem;
  object-fit: cover;
}

.about-logo-card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
}

.about-logo-card small {
  color: var(--muted);
  font-weight: 850;
  letter-spacing: 0.02em;
}

.about-copy h2,
.about-copy h3,
.about-block h2,
.about-block h3 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-align: center;
}

.about-copy h2::after,
.about-block h2::after {
  display: block;
  width: 2.6rem;
  height: 0.22rem;
  margin: 0.65rem auto 0;
  background: var(--sky);
  border-radius: 999px;
  content: "";
}

.about-copy h2 {
  text-align: left;
}

.about-copy h2::after {
  margin-left: 0;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.82;
  text-wrap: pretty;
}

.company-facts {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0 0;
}

.company-facts div {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 0.8rem;
}

.company-facts dt {
  color: var(--ink);
  font-weight: 850;
}

.company-facts dd {
  margin: 0;
  color: var(--muted);
}

.about-block {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.service-grid article,
.product-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.about-page .service-grid article,
.about-page .product-list article {
  box-shadow: 0 8px 20px oklch(0.22 0.04 276 / 0.06);
}

.service-grid article {
  padding: 1.25rem;
}

.service-grid span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
}

.service-grid p,
.product-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-list {
  display: grid;
  gap: 0.85rem;
}

.product-list article {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
}

.product-list strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.about-body .site-footer {
  width: 100%;
  margin-top: 3rem;
  padding: 2rem max(1rem, calc((100% - 1180px) / 2));
  color: oklch(0.88 0.025 245);
  background: oklch(0.2 0.08 252);
  border-top: none;
}

.about-body .footer-identity strong {
  color: var(--white);
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  background:
    linear-gradient(135deg, var(--primary), var(--pink));
  border-radius: 1rem;
}

.download h2 {
  max-width: 14ch;
  margin-bottom: 0.9rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.download p {
  max-width: 46rem;
}

.download .button.secondary {
  color: var(--primary-deep);
  background: var(--white);
}

.download .button.primary {
  background: oklch(0.24 0.08 276);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(2rem, 7vw, 6rem);
  padding: 2rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-identity {
  display: grid;
  gap: 0.35rem;
  max-width: 38rem;
  line-height: 1.5;
}

.footer-identity strong {
  color: var(--ink);
  font-weight: 850;
}

.footer-contact {
  display: block;
  margin: 0.35rem 0 0;
  font-style: normal;
}

.footer-contact span,
.footer-contact a {
  display: inline;
}

.footer-links {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.legal-page {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

[data-animate] {
  animation: rise-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero,
  .section-heading,
  .features,
  .about-intro {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .phone-shell {
    margin: 0 auto;
  }

  .floating-note {
    right: 0;
    bottom: 1rem;
  }

  .feature-copy {
    position: static;
  }

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

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .feature-item {
    display: block;
  }

  .nav-links {
    margin-top: 0.9rem;
    justify-content: flex-start;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(2.7rem, 14vw, 4.1rem);
  }

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

  .button {
    width: 100%;
  }

  .phone-screen {
    min-height: 560px;
  }

  .floating-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .footer-links {
    margin-top: 1rem;
    flex-wrap: wrap;
    white-space: normal;
  }

  .company-facts div,
  .product-list article {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
