:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #5a6572;
  --line: #dce3e8;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --green: #1f7a68;
  --green-dark: #115446;
  --clay: #b84e3a;
  --amber: #d69a2d;
  --blue: #2b5d88;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.13);
  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(--paper);
  color: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 248, 244, 0.9);
  border-bottom: 1px solid rgba(220, 227, 232, 0.85);
  backdrop-filter: blur(18px);
}

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

.brand img {
  display: block;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

main {
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  padding: clamp(46px, 7vw, 92px) clamp(20px, 5vw, 72px) 54px;
}

.hero-copy {
  max-width: 680px;
}

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

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

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: #384653;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 20px;
  font-weight: 750;
}

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

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

.button.secondary {
  border-color: #c9d3da;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--green);
}

.product-view {
  position: relative;
  min-height: 510px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 70% 18%, rgba(214, 154, 45, 0.24), transparent 35%),
    radial-gradient(circle at 18% 92%, rgba(31, 122, 104, 0.2), transparent 38%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 8px;
  height: 44px;
  align-items: center;
  padding: 0 17px;
  border-bottom: 1px solid rgba(16, 24, 32, 0.1);
  background: rgba(255, 255, 255, 0.76);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfd8dd;
}

.window-bar span:nth-child(1) {
  background: var(--clay);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

.workspace {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 466px;
}

.workspace aside {
  padding: 26px 18px;
  border-right: 1px solid rgba(16, 24, 32, 0.1);
  background: rgba(255, 255, 255, 0.55);
}

.workspace aside strong {
  display: block;
  margin-bottom: 6px;
}

.workspace aside p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.84rem;
}

.workspace ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workspace li {
  border-radius: 6px;
  padding: 10px 12px;
  color: #51616d;
  font-size: 0.86rem;
}

.workspace li.active {
  background: #101820;
  color: #fff;
}

.board {
  padding: clamp(22px, 4vw, 38px);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}

.board-head div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.board-head small {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.timeline div {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(16, 24, 32, 0.09);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.timeline span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #e8f1ef;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.timeline p,
.file-list div {
  margin: 0;
  font-weight: 700;
}

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

.file-list div {
  min-height: 104px;
  border: 1px solid rgba(16, 24, 32, 0.09);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  color: #2f3b46;
  line-height: 1.35;
}

.file-list span {
  display: block;
  width: 38px;
  height: 7px;
  margin-bottom: 22px;
  border-radius: 10px;
  background: var(--blue);
}

.file-list div:nth-child(2) span {
  background: var(--clay);
}

.file-list div:nth-child(3) span {
  background: var(--amber);
}

.section,
.contact {
  padding: clamp(56px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--surface);
}

article h3 {
  margin-bottom: 16px;
  font-size: 1.18rem;
}

article p,
.contact p {
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #101820;
  color: #fff;
}

.contact p {
  max-width: 680px;
  color: #c8d2d8;
}

.contact .button.primary {
  flex: 0 0 auto;
  background: #fff;
  color: var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: #0b1117;
  color: #c8d2d8;
}

footer span {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .product-view {
    min-height: auto;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .workspace aside {
    display: none;
  }

  .features,
  .file-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
  }

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

  .button,
  .actions,
  .actions a {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
