@import url("/fonts/fonts.css");
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: #101312;
  color: #e3e8dd;
  font:
    14px "DM Sans",
    Arial,
    sans-serif;
  line-height: 1.85;
}
a {
  color: #c2d1a7;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
header {
  display: flex;
  justify-content: space-between;
  padding: 25px 6%;
  border-bottom: 1px solid #2c342e;
  font-size: 11px;
}
header > a:first-child {
  font-size: 15px;
  letter-spacing: 0.16em;
  color: #e3e8dd;
}
header span {
  font-size: 8px;
  color: #98a58e;
  margin-left: 14px;
}
.layout {
  display: flex;
  max-width: 1350px;
  margin: auto;
}
nav {
  width: 260px;
  flex-shrink: 0;
  padding: 45px 25px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  border-right: 1px solid #2c342e;
}
nav a {
  display: block;
  padding: 9px 0;
  font-size: 11px;
  color: #a4b29a;
}
nav label {
  display: block;
  font-size: 10px;
  color: #a4b29a;
}
input {
  width: 100%;
  border: 1px solid #3b4636;
  background: #1b221b;
  color: #e4eadc;
  padding: 10px;
  margin: 8px 0 20px;
  border-radius: 4px;
}
main {
  padding: 65px 65px 30px;
  min-width: 0;
  max-width: 900px;
}
h1 {
  font:
    57px/1.15 "DM Serif Display",
    Georgia,
    serif;
  margin: 18px 0 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
h1 em {
  color: #bbcea7;
}
h2 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 18px 0;
}
h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 25px 0 8px;
}
p {
  margin: 0 0 17px;
  color: #b2bca9;
}
.intro {
  font-size: 16px;
  max-width: 630px;
}
.eyebrow,
.number {
  font-size: 9px;
  color: #8f9f83;
  letter-spacing: 0.15em;
}
.number {
  margin: 0;
}
section {
  padding: 50px 0;
  border-bottom: 1px solid #2c342e;
}
li {
  padding: 7px 0;
  color: #b2bca9;
}
strong {
  color: #dce5d2;
  font-weight: 500;
}
aside {
  padding: 20px 24px;
  background: #202c20;
  border-left: 2px solid #80996c;
  font-size: 12px;
  color: #bdcbb2;
  margin: 25px 0;
}
code {
  background: #263023;
  color: #c2d1a7;
  padding: 3px 5px;
  font-size: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 20px 0;
}
td,
th {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #2c342e;
}
th {
  color: #91a082;
  font-size: 10px;
  font-weight: 500;
}
td {
  color: #bac7b0;
}
dt {
  color: #dce5d2;
  margin: 22px 0 7px;
  font-weight: 500;
}
dd {
  color: #a7b69a;
  margin: 0;
}
footer {
  padding: 35px 0;
  font-size: 11px;
}
footer p {
  margin-top: 20px;
  color: #6f8064;
}
:focus-visible {
  outline: 2px solid #c2d1a7;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  main {
    padding: 40px 30px;
  }
  nav {
    width: 210px;
    padding: 30px 20px;
  }
  h1 {
    font-size: 47px;
  }
}
@media (max-width: 650px) {
  header {
    padding: 20px;
  }
  header span {
    display: none;
  }
  .layout {
    display: block;
  }
  nav {
    position: static;
    width: 100%;
    height: auto;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid #2c342e;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
  }
  nav label,
  nav input {
    grid-column: span 2;
  }
  nav a {
    font-size: 10px;
    padding: 6px 0;
  }
  main {
    padding: 35px 22px;
  }
  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 25px;
  }
  section {
    padding: 35px 0;
  }
  table {
    font-size: 10px;
  }
  td,
  th {
    padding: 9px 6px;
  }
  body {
    font-size: 13px;
  }
  .intro {
    font-size: 14px;
  }
}
#help-chat {
  background: #182019;
  border: 1px solid #3b4636;
  border-radius: 12px;
  padding: 25px;
  margin: 25px 0;
}
#help-chat textarea {
  display: block;
  width: 100%;
  resize: vertical;
  background: #101312;
  color: #e3e8dd;
  border: 1px solid #3b4636;
  border-radius: 6px;
  padding: 12px;
  font: inherit;
  margin: 8px 0 15px;
}
#help-chat button {
  font: inherit;
  border: 1px solid #54634a;
  border-radius: 6px;
  padding: 9px 14px;
  background: #283322;
  color: #e3e8dd;
  cursor: pointer;
}
#help-chat button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.help-actions,
.help-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.help-suggestions {
  margin-bottom: 15px;
}
.help-note,
#help-status {
  font-size: 12px;
  margin-top: 15px;
}
#help-messages {
  max-height: 500px;
  overflow: auto;
}
#help-messages article {
  border-bottom: 1px solid #3b4636;
  padding: 15px 0;
}
#help-messages p {
  white-space: pre-wrap;
  margin-top: 6px;
}
#help-messages ul {
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 12px;
}

/* Video tutorial entry points (0.10) */
nav a.tutorial-link { display:block; margin:0 0 14px; padding:12px 14px; border:1px solid #d9d9dc; border-radius:10px; background:linear-gradient(180deg,#f0f0f2,#c9c9ce); color:#0b0b0c !important; font-weight:600; letter-spacing:.01em; }
nav a.tutorial-link:hover { background:linear-gradient(180deg,#fff,#d9d9dc); }
.tutorial-hero { display:grid; grid-template-columns: minmax(220px, 2fr) 3fr; gap:24px; align-items:center; margin:28px 0 8px; padding:18px; border:1px solid rgba(217,217,220,.25); border-radius:14px; background:#111113; text-decoration:none; color:inherit; }
.tutorial-hero img { width:100%; height:auto; border-radius:8px; display:block; aspect-ratio:16/9; object-fit:cover; background:#000; }
.tutorial-hero-text { display:flex; flex-direction:column; gap:8px; }
.tutorial-hero-text strong { font-size:1.35rem; line-height:1.25; }
.tutorial-hero-cta { margin-top:4px; font-weight:600; color:#d9d9dc; }
.tutorial-hero:hover { border-color:#d9d9dc; }
@media (max-width: 720px) { .tutorial-hero { grid-template-columns: 1fr; } }
