:root {
  --ink: #322b2a;
  --muted: #6e6462;
  --paper: #fffaf5;
  --surface: #fffefd;
  --line: #e9ded5;
  --blue: #79c7d9;
  --blue-dark: #277c90;
  --yellow: #f3cc71;
  --peach: #f2ae86;
  --coral: #ea8f7a;
  --coral-dark: #a84435;
  --shadow: 0 28px 80px rgba(81, 58, 46, 0.14);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 5% 12%, rgba(121, 199, 217, 0.13), transparent 24rem),
    var(--paper);
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 40px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(80, 59, 47, 0.1);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand span {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a,
.header-link,
.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  transition: color 160ms ease;
}

nav a:hover,
.header-link:hover,
.footer-links a:hover {
  color: var(--coral-dark);
}

.header-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(88svh - 74px);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 7rem) 0 3.5rem;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.15rem;
  color: var(--coral-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 13px 0 0 var(--yellow), 26px 0 0 var(--blue);
  margin-right: 26px;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(5.2rem, 10vw, 9.25rem);
  line-height: 0.82;
  letter-spacing: -0.095em;
  font-weight: 850;
}

.hero-title {
  max-width: 620px;
  margin: 2.2rem 0 1.1rem;
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
  font-weight: 750;
}

.hero-text {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button:focus-visible,
nav a:focus-visible,
.header-link:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(39, 124, 144, 0.35);
  outline-offset: 3px;
}

.button-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 30px rgba(50, 43, 42, 0.17);
}

.button-primary:hover {
  background: #181414;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.button-secondary:hover {
  border-color: #cdbdb2;
  background: white;
}

.platform-note {
  margin: 1.15rem 0 0;
  color: #877c79;
  font-size: 0.76rem;
  line-height: 1.6;
}

.product-stage {
  position: relative;
  min-height: 550px;
  display: grid;
  place-items: center;
}

.soft-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
}

.shape-blue {
  width: 185px;
  height: 185px;
  left: 0;
  top: 2%;
  background: rgba(121, 199, 217, 0.35);
}

.shape-yellow {
  width: 128px;
  height: 128px;
  right: 4%;
  bottom: 2%;
  background: rgba(243, 204, 113, 0.48);
}

.app-window {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  overflow: hidden;
  border: 1px solid rgba(120, 91, 76, 0.16);
  border-radius: 30px;
  background: rgba(255, 254, 253, 0.94);
  box-shadow: var(--shadow);
  transform: rotate(1.25deg);
}

.window-bar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 1.35rem;
  background: rgba(255, 250, 245, 0.72);
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.window-brand img {
  width: 28px;
  height: 28px;
}

.window-brand strong {
  font-size: 0.9rem;
}

.window-dots {
  display: flex;
  gap: 0.38rem;
}

.window-dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.window-dots i:nth-child(1) { background: var(--coral); }
.window-dots i:nth-child(2) { background: var(--yellow); }
.window-dots i:nth-child(3) { background: var(--blue); }

.workflow-intro {
  padding: 1.6rem 1.5rem 0.75rem;
}

.workflow-intro span,
.workflow-intro strong {
  display: block;
}

.workflow-intro span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.workflow-intro strong {
  margin-top: 0.35rem;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.workflow-list {
  margin: 0;
  padding: 0 1.5rem;
  list-style: none;
}

.workflow-list li {
  min-height: 83px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--line);
}

.step-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3ebe4;
  color: #81736e;
  font-size: 0.72rem;
  font-weight: 800;
}

.workflow-list small,
.workflow-list strong {
  display: block;
}

.workflow-list small {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.workflow-list strong {
  font-size: 0.86rem;
  line-height: 1.35;
}

.step-state {
  border-radius: 999px;
  background: #f3eee9;
  color: #786b66;
  padding: 0.42rem 0.62rem;
  font-size: 0.66rem;
  font-weight: 800;
}

.step-state.detected {
  background: rgba(121, 199, 217, 0.18);
  color: var(--blue-dark);
}

.step-state.protected {
  background: rgba(243, 204, 113, 0.24);
  color: #806017;
}

.window-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1rem 1.5rem 1.4rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.mock-button {
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 0.62rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.intro-band,
.section,
.final-cta,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.intro-band {
  min-height: 330px;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 3rem;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 5.5rem 0;
}

.intro-band h2,
.section-heading h2,
.principles h2,
.download h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.intro-band div {
  max-width: 790px;
}

.intro-band p:last-child,
.principles-copy > p:last-child,
.download-copy > p {
  max-width: 720px;
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.section {
  padding: clamp(5rem, 9vw, 9rem) 0;
}

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

.section-heading.compact {
  max-width: 700px;
}

.feature-list {
  margin-top: clamp(3rem, 6vw, 6.5rem);
  border-top: 1px solid var(--line);
}

.feature-list article {
  display: grid;
  grid-template-columns: 0.25fr 0.65fr 1.1fr;
  gap: 2rem;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 2.25rem 0;
}

.feature-index {
  margin: 0;
  color: var(--coral-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-list h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: -0.035em;
}

.feature-list article > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.principles {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(4rem, 9vw, 9rem);
  align-items: start;
  border-top: 1px solid var(--line);
}

.principles-copy {
  position: sticky;
  top: 2rem;
}

.principle-list {
  margin: 0;
}

.principle-list div {
  border-top: 1px solid var(--line);
  padding: 1.7rem 0 2rem;
}

.principle-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.principle-list dt {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.principle-list dd {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.download {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(3rem, 9vw, 8rem);
  align-items: center;
  border-radius: 38px;
  background: #f8e4d8;
  padding-left: clamp(1.5rem, 6vw, 6rem);
  padding-right: clamp(1.5rem, 6vw, 6rem);
}

.download-copy > p {
  max-width: 620px;
}

.download code {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.13rem 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82em;
}

.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  border-top: 1px solid rgba(120, 80, 60, 0.18);
  padding: 1.5rem 0;
}

.install-steps li:last-child {
  border-bottom: 1px solid rgba(120, 80, 60, 0.18);
}

.install-steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--coral-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.install-steps strong {
  font-size: 1rem;
}

.install-steps p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.roadmap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.roadmap-line {
  border-top: 1px solid var(--line);
}

.roadmap-line p {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 1rem;
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 0;
  line-height: 1.65;
}

.roadmap-line span {
  color: var(--coral-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 1px solid var(--line);
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.final-cta img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.final-cta .hero-actions {
  justify-content: center;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1.35fr auto;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.footer-brand span {
  margin-top: 0.16rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.1rem;
}

.footer-links a {
  font-size: 0.76rem;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 920px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.92fr;
    gap: 2.5rem;
  }

  .product-stage {
    min-height: 460px;
  }

  .workflow-list li {
    grid-template-columns: auto 1fr;
  }

  .step-state {
    display: none;
  }

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

  .principles-copy {
    position: static;
  }

  .download {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

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

  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .site-header,
  .hero,
  .intro-band,
  .section,
  .final-cta,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    height: 64px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 3rem 0 2.5rem;
  }

  h1 {
    font-size: clamp(5rem, 25vw, 7rem);
  }

  .hero-title {
    margin-top: 1.7rem;
  }

  .hero-text {
    line-height: 1.75;
  }

  .platform-note {
    max-width: 340px;
  }

  .product-stage {
    min-height: 342px;
  }

  .shape-blue {
    width: 110px;
    height: 110px;
  }

  .shape-yellow {
    width: 82px;
    height: 82px;
  }

  .app-window {
    border-radius: 22px;
    transform: none;
  }

  .window-bar {
    min-height: 54px;
  }

  .workflow-intro {
    padding-top: 1.1rem;
  }

  .workflow-intro strong {
    font-size: 1.15rem;
  }

  .workflow-list li {
    min-height: 64px;
  }

  .workflow-list li:nth-child(2),
  .workflow-list li:nth-child(3) {
    display: none;
  }

  .window-action {
    padding-bottom: 1rem;
  }

  .intro-band {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 4.2rem 0;
  }

  .intro-band h2,
  .section-heading h2,
  .principles h2,
  .download h2,
  .final-cta h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .feature-list article {
    grid-template-columns: 3rem 1fr;
    gap: 0.6rem 0.9rem;
  }

  .feature-list article > p:last-child {
    grid-column: 2;
  }

  .download {
    width: 100%;
    border-radius: 0;
  }

  .roadmap-line p {
    grid-template-columns: 4.5rem 1fr;
  }

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

  .footer-links {
    grid-column: auto;
  }

  .copyright {
    grid-column: auto;
  }
}

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

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