:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-soft: #eef3eb;
  --ink: #18211b;
  --muted: #667064;
  --line: #d9dfd4;
  --green: #2f7d57;
  --green-deep: #1f5e41;
  --blue: #2f6fb6;
  --amber: #b56b22;
  --shadow: 0 24px 70px rgba(28, 45, 34, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 223, 212, 0.8);
  background: rgba(247, 245, 239, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.language-link {
  color: var(--green);
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 48px;
  align-items: center;
  padding: 78px 24px 54px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  border: 1px solid var(--line);
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

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

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

.phone {
  position: absolute;
  right: 0;
  top: 4px;
  width: min(340px, 88vw);
  min-height: 520px;
  padding: 18px;
  border: 1px solid rgba(24, 33, 27, 0.12);
  border-radius: 34px;
  background: #111b14;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 484px;
  border-radius: 24px;
  background: #fbfaf6;
  overflow: hidden;
  padding: 22px 18px;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.screen-title {
  font-size: 1.3rem;
  font-weight: 850;
}

.screen-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.project-list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #ffffff;
}

.project-name {
  font-weight: 750;
}

.project-count {
  color: var(--muted);
  font-size: 0.85rem;
}

.mindmap-preview {
  position: relative;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  overflow: hidden;
}

.node {
  position: absolute;
  min-width: 76px;
  border-radius: 8px;
  padding: 9px 10px;
  background: #ffffff;
  border: 1px solid rgba(47, 125, 87, 0.2);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
  text-align: center;
  box-shadow: 0 8px 18px rgba(28, 45, 34, 0.08);
}

.node.root {
  left: 96px;
  top: 82px;
  background: var(--green);
  color: #ffffff;
}

.node.a {
  left: 22px;
  top: 28px;
}

.node.b {
  right: 20px;
  top: 38px;
}

.node.c {
  left: 36px;
  bottom: 26px;
}

.node.d {
  right: 28px;
  bottom: 22px;
}

.line {
  position: absolute;
  height: 2px;
  background: rgba(47, 125, 87, 0.28);
  transform-origin: left center;
}

.line.one {
  width: 94px;
  left: 83px;
  top: 75px;
  transform: rotate(34deg);
}

.line.two {
  width: 96px;
  left: 160px;
  top: 87px;
  transform: rotate(-28deg);
}

.line.three {
  width: 90px;
  left: 86px;
  top: 150px;
  transform: rotate(-30deg);
}

.line.four {
  width: 90px;
  left: 162px;
  top: 144px;
  transform: rotate(28deg);
}

.floating-note {
  position: absolute;
  left: -150px;
  bottom: 54px;
  width: 230px;
  border-radius: 8px;
  padding: 18px;
  border: 1px solid rgba(217, 223, 212, 0.9);
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(28, 45, 34, 0.16);
}

.floating-note strong {
  display: block;
  margin-bottom: 6px;
}

.floating-note span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 74px 24px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 34px;
}

.section h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1.04;
}

.section-lede {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.feature {
  min-height: 210px;
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--green);
  font-weight: 900;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

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

.download-band {
  background: #21372a;
  color: #ffffff;
}

.download-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 40px;
  align-items: center;
  padding: 76px 24px;
}

.download-inner p {
  color: rgba(255, 255, 255, 0.72);
}

.platform-list {
  display: grid;
  gap: 10px;
}

.platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-radius: 8px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.platform span {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 74px 24px 38px;
}

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

.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 86px;
}

.content-section {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.content-section h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.content-section ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.content-section li + li {
  margin-top: 6px;
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

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

.footer-inner {
  max-width: 1120px;
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 880px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.9rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .phone {
    right: 50%;
    transform: translateX(50%);
  }

  .floating-note {
    left: 20px;
    bottom: 8px;
  }

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

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .section,
  .download-inner,
  .page-hero,
  .content {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 3.3rem;
  }

  .hero-visual {
    min-height: 430px;
  }

  .phone {
    width: 292px;
    min-height: 450px;
  }

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

  .floating-note {
    width: 210px;
  }

  .node.root {
    left: 82px;
  }

  .node.b,
  .node.d {
    right: 14px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 24px;
    padding-bottom: 24px;
  }
}
