:root {
  color-scheme: light;
  --ink: #16201f;
  --paper: #fffef9;
  --canvas: #e9ebe7;
  --panel: #f4f3ed;
  --line: #ccd2cc;
  --teal: #087f78;
  --gold: #d8a327;
  --muted: #66716e;
  --max: 1420px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Trebuchet MS", "Avenir Next", sans-serif;
  letter-spacing: 0;
}
a {
  color: inherit;
}
.site-header {
  height: 70px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 249, 0.94);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.brand {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 22px;
}
.brand img {
  width: 43px;
  height: 43px;
}
.site-header nav {
  display: flex;
  gap: 24px;
}
.site-header nav a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.site-header nav a:hover {
  color: var(--teal);
}
.open-app {
  justify-self: end;
  min-height: 39px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  color: white;
  background: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.hero {
  min-height: 720px;
  padding: 82px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(650px, 1.28fr);
  align-items: center;
  gap: 54px;
  background:
    linear-gradient(115deg, rgba(8, 127, 120, 0.06), transparent 42%),
    var(--paper);
}
.eyebrow {
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 610px;
  margin: 13px 0 22px;
  font-family: Georgia, serif;
  font-size: clamp(56px, 5.5vw, 88px);
  font-weight: 600;
  line-height: 0.94;
}
.hero h1 span {
  color: var(--teal);
}
.hero-copy > p {
  max-width: 570px;
  color: #56625f;
  font-size: 17px;
  line-height: 1.68;
}
.hero-actions {
  margin: 28px 0 24px;
  display: flex;
  gap: 10px;
}
.hero-actions a {
  min-height: 45px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.hero-actions .primary {
  color: white;
  border-color: var(--teal);
  background: var(--teal);
}
.trust-list {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  list-style: none;
  color: #66716e;
  font-size: 11px;
}
.trust-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--gold);
}
.workbench-demo {
  min-width: 0;
  border: 1px solid #aab3ad;
  border-radius: 7px;
  overflow: hidden;
  background: #f4f3ed;
  box-shadow: 0 30px 80px rgba(28, 40, 37, 0.18);
  position: relative;
}
.availability-band {
  min-height: 96px;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f4f3ed;
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.source-link img {
  width: 31px;
  height: 31px;
}
.source-link span {
  display: grid;
  gap: 2px;
}
.source-link small,
.browser-support > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.source-link strong {
  font-size: 13px;
}
.source-link:hover strong {
  color: var(--teal);
}
.browser-support {
  display: flex;
  align-items: center;
  gap: 18px;
}
.browser-support ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.browser-support li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #465350;
  font-size: 12px;
  font-weight: 800;
}
.browser-support img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.demo-bar {
  height: 56px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #dbe4e1;
  background: var(--ink);
  border-bottom: 3px solid var(--gold);
  font-size: 10px;
}
.demo-brand {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  color: white;
  font-family: Georgia, serif;
  font-size: 15px;
}
.demo-brand img {
  width: 34px;
  height: 34px;
}
.demo-bar button {
  height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 4px;
  color: white;
  background: var(--teal);
  font-weight: 800;
}
.demo-body {
  height: 540px;
  display: grid;
  grid-template-columns: 150px minmax(350px, 1fr) 170px;
}
.demo-body aside {
  padding: 16px 10px;
  border-right: 1px solid var(--line);
  background: #f4f3ed;
}
.demo-body aside > small {
  display: block;
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.demo-body aside > strong {
  display: block;
  margin-bottom: 14px;
  font-family: Georgia, serif;
  font-size: 20px;
}
.label-row {
  width: 100%;
  min-height: 55px;
  padding: 7px 4px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 7px;
  border: 0;
  border-bottom: 1px solid #d9ddd7;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.label-row.active {
  background: #d9efeb;
}
.label-row i {
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #bec6c0;
  background: white;
  font-size: 8px;
  font-style: normal;
}
.label-row span {
  min-width: 0;
  font-size: 10px;
  font-weight: 800;
}
.label-row small {
  margin-top: 4px;
  display: block;
  overflow: hidden;
  color: #6d7774;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet-wrap {
  min-width: 0;
  padding: 16px 18px 20px;
  overflow: hidden;
  background: #e1e4e0;
}
.demo-stock-bar {
  min-height: 34px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr);
  align-items: center;
  gap: 4px 8px;
}
.demo-stock-bar label {
  color: #596460;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.demo-stock-bar select {
  min-width: 0;
  height: 27px;
  padding: 0 25px 0 7px;
  border: 1px solid #b9c1bc;
  border-radius: 3px;
  color: var(--ink);
  background: white;
  font-size: 9px;
  font-weight: 800;
}
.demo-stock-bar span {
  grid-column: 1 / -1;
  overflow: hidden;
  color: #707a76;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet {
  width: auto;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  aspect-ratio: 8.5/11;
  padding: 4.5% 2.2%;
  display: grid;
  grid-template-columns: repeat(var(--demo-columns, 3), 1fr);
  grid-template-rows: repeat(var(--demo-rows, 10), 1fr);
  gap: 0 1.45%;
  background: white;
  box-shadow: 0 9px 28px rgba(31, 42, 39, 0.18);
}
.sheet[data-density="dense"] .sheet-cell span:not(:first-child),
.sheet[data-density="compact"] .sheet-cell span:not(:first-child) {
  display: none;
}
.sheet[data-density="compact"] .sheet-cell {
  padding: 0 2px;
  font-size: 5px;
}
.sheet-cell {
  padding: 3px 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed rgba(8, 127, 120, 0.18);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.16;
}
.sheet-cell span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet-cell.active {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
  background: #f3fbf9;
}
.editor {
  border: 0 !important;
  border-left: 1px solid var(--line) !important;
}
.editor label {
  margin-top: 12px;
  display: grid;
  gap: 5px;
  color: #68736f;
  font-size: 8px;
  font-weight: 800;
}
.demo-text-field {
  width: 100%;
  height: 29px;
  padding: 0 7px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: white;
  color: var(--ink);
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
}
.demo-text-field:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(8, 127, 120, 0.14);
  outline-offset: 1px;
}
.demo-toast {
  position: absolute;
  left: 50%;
  bottom: 18px;
  translate: -50% 12px;
  padding: 8px 13px;
  border-radius: 4px;
  color: white;
  background: var(--ink);
  font-size: 10px;
  opacity: 0;
  transition: 150ms;
}
.demo-toast.visible {
  translate: -50% 0;
  opacity: 1;
}
.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.template-catalog {
  padding: 76px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #f4f3ed;
}
.template-heading {
  max-width: 720px;
}
.template-heading h2,
.api-band h2 {
  margin: 11px 0 16px;
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1;
}
.template-heading p,
.compatibility-note,
.api-band p {
  color: var(--muted);
  line-height: 1.65;
}
.template-heading p {
  font-size: 18px;
}
.template-groups {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: white;
}
.template-groups article {
  min-width: 0;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}
.template-groups article:last-child {
  border: 0;
}
.template-groups span {
  display: block;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.template-groups strong {
  margin-top: 10px;
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 16px;
}
.template-groups p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.compatibility-note {
  margin: 20px 0 0;
  font-size: 12px;
}
.api-band {
  min-height: 260px;
  padding: 58px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: center;
  gap: 52px;
  border-top: 1px solid var(--line);
  background: #edf4f1;
}
.api-band p {
  margin: 0;
}
.api-links {
  display: grid;
  gap: 9px;
}
.api-links a {
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  border-radius: 4px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.api-links a:first-child {
  color: white;
  background: var(--teal);
}
.workflow > div {
  min-height: 310px;
  padding: 58px max(28px, calc((100vw - var(--max)) / 6));
  border-right: 1px solid var(--line);
}
.workflow > div:last-child {
  border: 0;
}
.workflow span {
  color: var(--gold);
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.workflow h2 {
  margin: 25px 0 15px;
  font-family: Georgia, serif;
  font-size: 33px;
}
.workflow p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.local-band {
  min-height: 320px;
  padding: 70px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 60px;
  color: white;
  background: var(--ink);
}
.local-band h2 {
  max-width: 560px;
  margin: 10px 0 0;
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1;
}
.local-band p {
  max-width: 500px;
  margin: 0;
  color: #aebbb8;
  line-height: 1.65;
}
.local-band > a {
  color: #f7d87d;
  font-weight: 800;
  text-underline-offset: 5px;
}
footer {
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #6b7471;
  font-size: 11px;
}
footer a:last-child {
  text-align: right;
}
@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }
  .workbench-demo {
    max-width: 900px;
  }
  .local-band {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .template-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .template-groups article {
    border-bottom: 1px solid var(--line);
  }
  .api-band {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .demo-body {
    height: 430px;
  }
}
@media (max-width: 700px) {
  .site-header {
    height: 62px;
    padding: 0 16px;
    grid-template-columns: 1fr auto;
  }
  .site-header nav {
    display: none;
  }
  .brand {
    font-size: 19px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .hero {
    min-height: auto;
    padding: 58px 18px;
    gap: 34px;
  }
  .hero > * {
    min-width: 0;
  }
  .hero h1 {
    max-width: 100%;
    font-size: 48px;
  }
  .hero-actions,
  .trust-list {
    align-items: stretch;
    flex-direction: column;
  }
  .demo-body {
    width: 100%;
    height: 370px;
    grid-template-columns: 86px minmax(0, 1fr);
  }
  .demo-body .editor {
    display: none;
  }
  .workbench-demo {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .availability-band {
    padding: 22px 18px;
    align-items: flex-start;
    flex-direction: column;
  }
  .browser-support {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
  .browser-support ul {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .browser-support li {
    gap: 5px;
    font-size: 10px;
  }
  .browser-support img {
    width: 19px;
    height: 19px;
  }
  .sheet-wrap {
    padding: 14px 8px;
  }
  .demo-stock-bar {
    grid-template-columns: 1fr;
  }
  .demo-stock-bar label {
    display: none;
  }
  .demo-stock-bar span {
    grid-column: auto;
  }
  .template-catalog {
    padding: 55px 20px;
  }
  .template-heading h2,
  .api-band h2 {
    font-size: 37px;
  }
  .template-groups {
    grid-template-columns: 1fr;
  }
  .template-groups article,
  .template-groups article:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .template-groups article:last-child {
    border-bottom: 0;
  }
  .api-band {
    padding: 52px 20px;
  }
  .site-header .open-app {
    padding-inline: 12px;
  }
  .workflow {
    grid-template-columns: 1fr;
  }
  .workflow > div {
    min-height: auto;
    padding: 45px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .local-band {
    padding: 55px 20px;
  }
  .local-band h2 {
    font-size: 38px;
  }
  footer {
    padding: 20px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }
  footer a:last-child {
    text-align: center;
  }
}
