:root {
  color-scheme: light;
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-soft: #ecfdf5;
  --text: #10201d;
  --muted: #5d6f6a;
  --line: #d9e7e3;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --accent: #f59e0b;
  --danger: #b91c1c;
  --shadow: 0 18px 48px rgba(15, 118, 110, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 250, 249, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

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

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-weight: 680;
}

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

.button.primary:hover {
  background: var(--brand-dark);
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  color: var(--brand);
  font-weight: 760;
  font-size: 14px;
  margin-bottom: 14px;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  margin: 20px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
}

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

.meta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.pill {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 10px;
}

.product-visual {
  min-height: 480px;
  position: relative;
}

.desktop-frame {
  position: absolute;
  inset: 28px 0 0 0;
  border-radius: 18px;
  background: #12312d;
  box-shadow: var(--shadow);
  padding: 16px;
}

.window-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fb7185;
}

.dot:nth-child(2) {
  background: #fbbf24;
}

.dot:nth-child(3) {
  background: #34d399;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 14px;
  height: 390px;
}

.panel {
  background: #f8fffc;
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
}

.panel h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.device-row,
.task-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  background: white;
}

.device-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  color: var(--brand);
  font-weight: 800;
}

.row-main {
  flex: 1;
  min-width: 0;
}

.row-title {
  font-weight: 720;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-sub {
  color: var(--muted);
  font-size: 13px;
}

.mini-button {
  border: 0;
  background: var(--brand);
  color: white;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 720;
}

.progress {
  height: 7px;
  border-radius: 999px;
  background: #dcefeb;
  overflow: hidden;
  margin-top: 10px;
}

.progress span {
  display: block;
  height: 100%;
  width: 72%;
  background: var(--brand);
}

.phone-frame {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: 172px;
  height: 330px;
  border-radius: 28px;
  background: #111827;
  padding: 10px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.phone-screen {
  background: #f8fffc;
  height: 100%;
  border-radius: 22px;
  padding: 16px 12px;
}

.phone-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
  margin-top: 14px;
}

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

.section h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
}

.section-intro {
  margin: 0 0 26px;
  max-width: 720px;
  color: var(--muted);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

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

.download-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-card .button {
  margin-top: auto;
}

.notice {
  border-left: 4px solid var(--accent);
  background: #fffbeb;
  padding: 14px 16px;
  border-radius: 8px;
  color: #573a05;
}

.doc-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 54px 24px;
}

.doc-page h1 {
  font-size: 42px;
}

.doc-page h2 {
  margin-top: 34px;
}

.doc-page p,
.doc-page li {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px;
  color: var(--muted);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}

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

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    margin-left: 0;
    flex-wrap: wrap;
  }

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

  h1 {
    font-size: 42px;
  }

  .product-visual {
    min-height: 420px;
  }

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

@media (max-width: 560px) {
  .app-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    display: none;
  }

  .desktop-frame {
    inset: 0;
  }
}
