:root {
  --ink: #17201d;
  --muted: #5f6f68;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #d9ded7;
  --green: #1f6f58;
  --green-strong: #0f513f;
  --blue: #255f9c;
  --red: #a14435;
  --yellow: #c7962f;
  --shadow: 0 18px 48px rgba(29, 38, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  background: rgba(247, 244, 238, 0.88);
  border-bottom: 1px solid rgba(217, 222, 215, 0.86);
  backdrop-filter: blur(18px);
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #34433e;
  font-size: 14px;
}

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

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

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 132px max(22px, calc((100vw - 1180px) / 2)) 82px;
  background: #19231f;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("./assets/latest-workspace.png");
  background-position: center top;
  background-size: cover;
  opacity: 0.42;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 26, 22, 0.92), rgba(15, 26, 22, 0.66) 48%, rgba(15, 26, 22, 0.22)),
    linear-gradient(0deg, rgba(15, 26, 22, 0.86), rgba(15, 26, 22, 0.2) 46%, rgba(15, 26, 22, 0.42));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  color: #fffaf0;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.hero-kicker {
  color: #9fe0c9;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.84);
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: #f7faf6;
  color: #17201d;
}

.button.secondary {
  color: #fffaf0;
  border-color: rgba(255, 250, 240, 0.38);
  background: rgba(255, 255, 255, 0.06);
}

.button.primary.dark {
  background: var(--ink);
  color: #fffaf0;
}

.button.secondary.dark {
  color: var(--ink);
  border-color: rgba(23, 32, 29, 0.24);
  background: transparent;
}

.section {
  padding: 96px max(22px, calc((100vw - 1180px) / 2));
}

.section-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-section,
.workflow-section,
.faq-section {
  background: #fffaf2;
}

.intro-grid,
.privacy-grid,
.evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.intro-copy p,
.section-heading p,
.privacy-grid p,
.download-inner p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
}

.intro-copy p + p {
  margin-top: 18px;
}

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

.section-heading p:last-child {
  margin-top: 16px;
}

.section-heading.narrow {
  max-width: 620px;
}

.screenshot-section {
  background: var(--paper);
}

.screenshot-frame,
.settings-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
}

.scenarios-section {
  background: #eef3ef;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.scenario-card,
.workflow-step,
.privacy-points div,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.scenario-card {
  min-height: 286px;
  padding: 22px;
}

.scenario-index {
  display: block;
  margin-bottom: 34px;
  color: var(--red);
  font-weight: 900;
}

.scenario-card p,
.workflow-step p,
.privacy-points span,
details p,
.feature-list li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

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

.workflow-step {
  min-height: 250px;
  padding: 24px;
}

.workflow-step span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 42px;
  border-radius: 8px;
  background: #e5efe9;
  color: var(--green-strong);
  font-weight: 900;
}

.privacy-section {
  background: #13201b;
  color: #f8f4eb;
}

.privacy-section h2,
.privacy-section strong {
  color: #f8f4eb;
}

.privacy-section p,
.privacy-points span {
  color: rgba(248, 244, 235, 0.72);
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.privacy-points div {
  min-height: 150px;
  padding: 22px;
  border-color: rgba(248, 244, 235, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.privacy-points strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.evidence-section {
  background: var(--paper);
}

.settings-frame img {
  width: 100%;
  height: auto;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

details {
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-weight: 850;
  font-size: 18px;
}

details p {
  margin: 14px 0 0;
}

.download-section {
  padding: 104px max(22px, calc((100vw - 1180px) / 2));
  background: #dce8e1;
}

.download-inner {
  max-width: 860px;
}

.download-inner p {
  max-width: 720px;
  margin-top: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px max(22px, calc((100vw - 1180px) / 2));
  background: #101713;
  color: #f8f4eb;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer span,
.site-footer .icp-link {
  color: rgba(248, 244, 235, 0.62);
  font-size: 14px;
}

.site-footer a {
  color: #f8f4eb;
  text-decoration: none;
}

.site-footer .icp-link:hover,
.site-footer .back-top:hover {
  color: #ffffff;
}

@media (max-width: 1020px) {
  .scenario-grid,
  .workflow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .privacy-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 82vh;
    padding-top: 106px;
    padding-bottom: 52px;
  }

  .hero p {
    font-size: 16px;
  }

  .section,
  .download-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .scenario-grid,
  .workflow-list,
  .privacy-points,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .scenario-card,
  .workflow-step {
    min-height: auto;
  }

  .scenario-index,
  .workflow-step span {
    margin-bottom: 20px;
  }

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