:root {
  --ink: #233f35;
  --green: #284f43;
  --muted: #596b60;
  --sage: #e7ecdf;
  --paper: #fafbf7;
  --line: #d9e0d3;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #b47830;
  outline-offset: 5px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.07;
}
h1 {
  font-size: clamp(3.25rem, 5.8vw, 5.4rem);
  max-width: 11ch;
}
h2 {
  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
}
h3 {
  font-size: 1.23rem;
  letter-spacing: -0.025em;
  line-height: 1.35;
}
p {
  color: var(--muted);
}
.wrap {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 40px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.header {
  display: flex;
  gap: 32px;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.brand small {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  margin-top: 7px;
  color: var(--muted);
}
.brand svg {
  width: 42px;
  height: 42px;
  background: var(--green);
  padding: 9px;
  border-radius: 12px;
  fill: none;
  stroke: white;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.header nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.9rem;
}
.header nav a {
  text-decoration: none;
}
.header nav a:hover {
  text-decoration: underline;
}
.language {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 3px;
}
.language button {
  background: transparent;
  border: 0;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--muted);
}
.language button[aria-pressed="true"] {
  background: var(--green);
  color: #fff;
}
.hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 35px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 80px;
}
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.19em;
  font-weight: 750;
  color: var(--green);
  margin-bottom: 22px;
}
.lead {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-top: 25px;
  max-width: 39ch;
}
.actions {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px;
  background: var(--green);
  border: 1px solid var(--green);
  color: white;
  text-decoration: none;
  border-radius: 7px;
  font-weight: 650;
  font-size: 0.9rem;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #183b2f;
  transform: translateY(-2px);
}
.text-link {
  font-size: 0.88rem;
  font-weight: 650;
}
.micro {
  font-size: 0.8rem;
  line-height: 1.7;
}
.hero .micro {
  margin-top: 19px;
}
.hero-visual {
  background: transparent;
  padding: 0;
}
.screenshot {
  display: block;
  /* Screenshots include a transparent native window shadow. Keep it intact. */
  overflow: visible;
  cursor: zoom-in;
}
.screenshot img {
  display: block;
  width: 100%;
  height: auto;
}
.hero figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.73rem;
  margin-top: 13px;
}
.principles {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 23px;
  border-block: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.principles span:before {
  content: "•";
  color: #8b9d73;
  margin-right: 10px;
}
.section {
  padding-block: 85px;
}
.section-head {
  max-width: 700px;
  margin-bottom: 38px;
}
.section-head p:not(.eyebrow) {
  margin-top: 20px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 45px 0 65px;
}
.number {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #7e906d;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.features p {
  font-size: 0.93rem;
  margin-top: 14px;
}
.showcase {
  background: transparent;
  padding: 28px 0;
}
.showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.showcase-top p {
  font-size: 0.8rem;
  margin-top: 5px;
}
.tabs {
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid #cbd4c2;
  border-radius: 30px;
  flex-shrink: 0;
}
.tabs button {
  padding: 9px 17px;
  border: 0;
  border-radius: 22px;
  background: transparent;
  font-size: 0.8rem;
  color: var(--green);
}
.tabs button[aria-selected="true"] {
  background: var(--green);
  color: #fff;
}
.showcase .screenshot {
  max-width: 960px;
  margin: auto;
}
.documents {
  background: var(--paper);
  padding-block: 80px;
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.split h2 {
  max-width: 14ch;
  margin-bottom: 24px;
}
.split p {
  font-size: 0.95rem;
}
.split .micro {
  font-size: 0.8rem;
}
.checklist {
  list-style: none;
  margin: 25px 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding: 10px 0 10px 25px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
}
.local {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.local p + p {
  margin-top: 20px;
}
.downloads {
  background: var(--green);
  color: #f7f9f2;
  padding-block: 80px;
}
.downloads .eyebrow {
  color: #c7d5b7;
}
.downloads .section-head p {
  color: #d6e0d0;
}
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.download-card {
  padding: 35px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
}
.platform {
  font-size: 1.8rem;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.download-card .button {
  margin-top: 25px;
  min-width: 220px;
}
.file-info {
  font-size: 0.72rem;
  margin-top: 10px;
}
.download-card ol {
  padding-left: 20px;
  margin-block: 27px;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--muted);
}
.install-note {
  font-size: 0.78rem;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  line-height: 1.65;
}
.release-note {
  margin-top: 25px;
  padding: 22px;
  border: 1px solid #668373;
  border-radius: 8px;
  font-size: 0.82rem;
}
.release-note p {
  color: #d6e0d0;
  margin: 6px 0 10px;
  max-width: 95ch;
}
.release-note a {
  color: #fff;
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.faq h2 {
  max-width: 12ch;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
details:first-child {
  padding-top: 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}
details p {
  font-size: 0.9rem;
  margin-top: 16px;
}
.footer {
  padding-block: 30px 45px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 0.78rem;
}
.footer .brand {
  font-size: 1rem;
}
.footer > div {
  margin-left: auto;
  display: flex;
  gap: 22px;
}
dialog {
  max-width: 95vw;
  max-height: 94vh;
  padding: 38px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
dialog::backdrop {
  background: #0e211ce8;
}
dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(94vh - 55px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.close {
  position: absolute;
  right: 10px;
  top: 1px;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  color: var(--ink);
  width: 35px;
  height: 35px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 110px;
  }
}
@media (max-width: 950px) {
  .wrap {
    padding-inline: 26px;
  }
  .hero {
    gap: 22px;
    padding-top: 65px;
    grid-template-columns: 1fr 1fr;
  }
  h1 {
    font-size: 3.6rem;
  }
  .hero-visual {
    padding: 0;
  }
  .features {
    gap: 25px;
  }
  .split {
    gap: 35px;
  }
  .local,
  .faq {
    gap: 40px;
  }
  .showcase-top {
    flex-wrap: wrap;
  }
  .principles {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding-inline: 22px;
  }
  .header {
    min-height: 94px;
    gap: 14px;
    flex-wrap: wrap;
    padding-block: 18px;
  }
  .header .brand {
    font-size: 1.15rem;
  }
  .header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    font-size: 0.8rem;
  }
  .language {
    margin-left: auto;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    padding-bottom: 45px;
    gap: 38px;
  }
  h1 {
    font-size: 3.6rem;
    max-width: 13ch;
  }
  .lead {
    font-size: 1rem;
  }
  .hero-visual {
    box-shadow: none;
  }
  .principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 0.71rem;
    gap: 12px;
  }
  .section {
    padding-block: 55px;
  }
  .features,
  .split,
  .local,
  .download-grid,
  .faq {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .features {
    margin: 30px 0 40px;
  }
  .number {
    padding-bottom: 10px;
    margin-bottom: 13px;
  }
  .showcase {
    padding: 17px;
  }
  .showcase-top {
    gap: 17px;
  }
  .tabs button {
    padding: 8px 13px;
  }
  .split h2 {
    max-width: none;
  }
  .documents,
  .downloads {
    padding-block: 55px;
  }
  .download-card {
    padding: 25px;
  }
  .download-card .button {
    width: 100%;
  }
  .faq h2 {
    max-width: none;
  }
  .footer {
    gap: 16px;
  }
  .footer > div {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 16px;
  }
  dialog {
    max-width: 100vw;
    width: 100%;
    padding-inline: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Shared DCApps navigation, also available on this standalone landing page. */
body { padding-top: 64px; }
#sidebar .components { list-style: none; margin: 0; }
#sidebar .sidebar-header { text-align: center; }
#sidebar .sidebar-header h3 { font-size: 1.5rem; }

.roadmap { border-top: 1px solid var(--line); }
.roadmap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.roadmap-grid article { padding: 28px; background: var(--sage); border-radius: 12px; }
.roadmap-grid p { margin-top: 14px; font-size: .93rem; }
@media (max-width: 640px) { .roadmap-grid { grid-template-columns: 1fr; gap: 20px; } }

.assistant-guide { border-top: 1px solid var(--line); }
.guide-note { padding: 22px; border-left: 3px solid var(--green); background: var(--sage); border-radius: 0 8px 8px 0; }
.setup-steps { padding-left: 26px; margin: 32px 0; }
.setup-steps li { padding: 0 0 24px 12px; }
.setup-steps li::marker { color: var(--green); font-weight: 700; }
.setup-steps p { margin-top: 8px; max-width: 90ch; }
.database-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 20px 0; }
.database-paths > div { padding: 22px; background: var(--sage); border-radius: 10px; }
.database-paths code { display: block; margin-top: 10px; overflow-wrap: anywhere; font-size: .85rem; }
.plugin-prompt { margin: 26px 0; border-top: 1px solid var(--line); }
.plugin-prompt .button { margin: 18px 12px 18px 0; }
#copy-status { font-size: .85rem; }
.plugin-prompt pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--sage); padding: 24px; border-radius: 10px; font-size: .85rem; line-height: 1.7; max-height: 520px; overflow-y: auto; }
.guide-sources { margin-top: 22px; font-size: .85rem; }
@media (max-width: 640px) { .database-paths { grid-template-columns: 1fr; } .header nav { gap: 14px; flex-wrap: wrap; } }

.subscription-info { margin-top: 26px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.subscription-info p { margin-top: 14px; }
.subscription-info a { display: inline-block; margin-top: 18px; font-size: .9rem; }

.document-examples { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.document-examples > p { margin-top: 14px; max-width: 90ch; }
.document-examples .actions { margin-top: 22px; }

.workflow-checklist { margin-top: 30px; padding: clamp(22px, 4vw, 38px); border: 2px solid #547761; border-left: 7px solid #284f43; background: #f0f5e9; border-radius: 14px; }
.workflow-checklist h3 { font-size: 1.5rem; }
.workflow-checklist p { margin-top: 14px; }
.workflow-checklist ol { padding-left: 24px; margin: 24px 0; }
.workflow-checklist li { padding-left: 8px; margin-bottom: 18px; }
.workflow-checklist li::marker { font-weight: 750; color: var(--green); }
.workflow-checklist > a { font-weight: 650; }

/* Feature walkthroughs reuse the existing screenshot viewer and language switch. */
.feature-screenshot { margin-top: 32px; }
.feature-screenshot figcaption, .screenshot-caption { margin-top: 16px; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.backup-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-left: 24px; margin: 28px 0; }
.backup-steps li { padding-left: 8px; }
.backup-steps li::marker { color: var(--green); font-weight: 700; }
.backup-steps h3 { margin-bottom: 12px; }
@media (max-width: 760px) { .backup-steps { grid-template-columns: 1fr; gap: 24px; } }

/* Keep everyday setup separate from the optional assistant guide. */
.app-checklist { margin-top: 0; }
.app-start-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 44px; }
.app-start-steps h3 { font-size: 1.15rem; }
.app-start-steps p { margin-top: 8px; }
.optional-workflow { border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 3vw, 32px); }
.optional-workflow > summary { color: var(--green); font-size: 1.15rem; }
.optional-workflow > summary:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
.optional-workflow[open] > summary { margin-bottom: 28px; }
@media (max-width: 700px) { .app-start-steps { grid-template-columns: 1fr; } }
