:root {
  --ink: #101820;
  --muted: #66727f;
  --paper: #fffdf8;
  --green: #16a34a;
  --mint: #28ceb5;
  --gold: #e6b955;
  --red: #e56f5b;
  --line: rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(90deg, rgba(22, 163, 74, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(22, 163, 74, 0.08) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: 42px 42px;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 34px;
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.actions,
.remote-list {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.brand strong {
  position: relative;
  display: block;
  font-size: 24px;
  font-weight: 860;
}

.wordmark em {
  position: absolute;
  top: -9px;
  right: -44px;
  color: var(--green);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  gap: 6px;
}

.nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: #202a33;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
}

.nav > a:hover {
  color: #075f31;
  background: rgba(40, 206, 181, 0.14);
  border-color: rgba(22, 163, 74, 0.24);
}

.nav > .nav-cta {
  color: #ffffff;
  background: #10231a;
  border-color: #10231a;
}

.nav > .nav-cta:hover {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  width: min(1220px, calc(100% - 36px));
  min-height: calc(100vh - 79px);
  margin: 0 auto;
  padding: 36px 0 60px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid #18212a;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 18px 18px 0 #12201a;
}

.hero-media::after,
.workflow::after {
  content: "Novada TEAM";
  position: absolute;
  top: 14px;
  left: 50%;
  padding: 3px 10px;
  color: #17231b;
  font-size: 11px;
  font-weight: 850;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
}

.hero-media img,
.workflow img {
  display: block;
  width: 100%;
}

.hero-copy {
  padding-bottom: 16px;
}

.tag,
.section-title span,
.workflow-copy span,
.remote span {
  color: var(--green);
  font-size: 13px;
  font-weight: 860;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.14;
}

.hero-copy p {
  max-width: 660px;
  color: #596673;
  font-size: 18px;
  line-height: 1.82;
}

.actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.primary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  font-weight: 820;
  border-radius: 6px;
}

.primary {
  color: #ffffff;
  background: #10231a;
}

.ghost {
  background: #ffffff;
  border: 1px solid var(--line);
}

.suite,
.workflow,
.remote,
.beta {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.section-title h2,
.workflow h2,
.remote h2 {
  max-width: 780px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.14;
}

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

.suite-grid article {
  min-height: 240px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.suite-grid article:nth-child(2) {
  border-top: 6px solid var(--gold);
}

.suite-grid article:nth-child(3) {
  border-top: 6px solid var(--red);
}

.suite-grid article:first-child {
  border-top: 6px solid var(--mint);
}

.suite-grid p,
.workflow p,
.remote p {
  color: var(--muted);
  line-height: 1.76;
}

.workflow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
}

.workflow img {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(16, 24, 32, 0.12);
}

.remote {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) 1fr;
  gap: 36px;
}

.remote-panel {
  display: grid;
  gap: 18px;
}

.remote-panel img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(16, 24, 32, 0.12);
}

.remote-list {
  align-items: stretch;
  gap: 14px;
}

.remote-list article {
  flex: 1;
  padding: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.remote-list b {
  color: #0e7a42;
}

.beta {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.beta-copy span {
  color: var(--green);
  font-size: 13px;
  font-weight: 860;
  text-transform: uppercase;
}

.beta-copy p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.8;
}

.beta-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(16, 24, 32, 0.09);
}

.beta-form label {
  display: grid;
  gap: 8px;
}

.beta-form label span {
  color: #26313b;
  font-size: 13px;
  font-weight: 780;
}

.beta-form input,
.beta-form select,
.beta-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 6px;
  background: #ffffff;
  outline: none;
}

.beta-form textarea {
  padding-block: 11px;
  resize: vertical;
}

.beta-form input:focus,
.beta-form select:focus,
.beta-form textarea:focus {
  border-color: rgba(22, 163, 74, 0.58);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

.wide,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

.form-submit {
  border: none;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status.success {
  color: #0e7a42;
}

.form-status.error {
  color: #be3c2c;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 34px 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

  .hero,
  .workflow,
  .remote,
  .beta {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .suite-grid,
  .remote-list,
  .beta-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wordmark em {
    right: -40px;
  }
}
