:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #101523;
  color: #f0eee9;
  --muted: #adb7c9;
  --line: #303b51;
  --surface: #192236;
  --accent: #c9ee9e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.site-header,
main,
footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  gap: 20px;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.05em;
}
.brand span {
  color: var(--accent);
  margin-right: 5px;
}
nav,
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 650;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.primary {
  color: #172315;
  background: var(--accent);
  border-color: var(--accent);
}
.primary:hover {
  color: #172315;
  background: #dcfac0;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  min-height: 570px;
  padding: 70px 0;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
h1 {
  margin: 14px 0 22px;
  font-size: clamp(2.6rem, 5.2vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}
h2 {
  letter-spacing: -0.035em;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}
.intro,
article p {
  color: var(--muted);
  line-height: 1.6;
}
.intro {
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 27px;
}
.muted,
small {
  color: var(--muted);
}
.hero .muted {
  font-size: 0.86rem;
  line-height: 1.5;
  margin-top: 20px;
}
.example {
  border-radius: 22px;
  border: 1px solid #405068;
  background: var(--surface);
  padding: 20px;
  box-shadow: 0 24px 70px #080c18a8;
  transform: rotate(1.25deg);
}
.example-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.example-head small {
  display: block;
  font-size: 0.75rem;
}
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #172315;
  background: var(--accent);
  font-weight: 750;
}
.status {
  margin-left: auto;
  color: var(--accent);
  font-size: 0.77rem;
}
.bubble {
  padding: 0.68rem 0.9rem;
  width: fit-content;
  max-width: 86%;
  margin: 10px 0;
  border-radius: 12px;
  font-size: 0.91rem;
  line-height: 1.5;
}
.incoming {
  background: #2a3750;
}
.outgoing {
  color: #182515;
  background: var(--accent);
  margin-left: auto;
}
.example-foot {
  margin-top: 21px;
  color: var(--muted);
  font-size: 0.78rem;
}
.example-foot span,
article > span {
  color: var(--accent);
}
.workflow {
  border-top: 1px solid var(--line);
  padding: 32px 0 55px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.features article,
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 20px;
}
article h3 {
  margin: 10px 0;
}
article p {
  margin-bottom: 0;
}
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.developer {
  padding: 36px 0;
}
.developer h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.developer .panel {
  margin: 20px 0;
}
.developer h2 {
  font-size: 1.35rem;
  margin-top: 0;
}
form.inline {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
}
label {
  display: grid;
  gap: 6px;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: #101523;
  border: 1px solid #54607a;
  border-radius: 7px;
  padding: 9px;
  max-width: 100%;
}
textarea {
  width: 100%;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.developer :is(td, dd) {
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
@media (max-width: 740px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 28px);
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 45px 0;
  }
  .example {
    transform: none;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
