:root {
  --canvas: #ffffff;
  --surface: #f6f5f4;
  --surface-soft: #fafaf9;
  --hairline: rgba(0, 0, 0, 0.1);
  --hairline-strong: #c8c4be;
  --ink: rgba(0, 0, 0, 0.95);
  --charcoal: #37352f;
  --slate: #615d59;
  --stone: #a39e98;
  --blue: #0075de;
  --blue-pressed: #005bab;
  --purple: #5645d4;
  --tag-blue-bg: #f2f9ff;
  --tag-blue-text: #097fe8;
  --tag-purple-bg: #e6e0f5;
  --tag-purple-text: #391c57;
  --tag-gray-bg: #f0eeec;
  --tag-gray-text: #615d59;
  --tag-peach-bg: #ffe8d4;
  --tag-peach-text: #793400;
  --tag-mint-bg: #d9f3e1;
  --tag-mint-text: #1aae39;
  --tag-yellow-bg: #fef7d6;
  --tag-yellow-text: #523410;
  --shadow-card:
    rgba(0, 0, 0, 0.04) 0 4px 18px,
    rgba(0, 0, 0, 0.027) 0 2px 8px,
    rgba(0, 0, 0, 0.02) 0 1px 3px,
    rgba(0, 0, 0, 0.01) 0 0 1px;
  --shadow-deep:
    rgba(15, 15, 15, 0.01) 0 1px 3px,
    rgba(15, 15, 15, 0.02) 0 3px 7px,
    rgba(15, 15, 15, 0.02) 0 7px 15px,
    rgba(15, 15, 15, 0.04) 0 14px 28px,
    rgba(15, 15, 15, 0.05) 0 23px 52px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  font-feature-settings: "lnum", "locl";
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
}

.brand-symbol,
.doc-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--canvas);
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 650;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 500;
}

.site-nav a:hover,
.button.secondary:hover {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.3;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.button {
  padding: 10px 18px;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--blue);
  color: var(--canvas);
}

.button.primary:hover {
  background: var(--blue-pressed);
}

.button.secondary {
  border-color: var(--hairline-strong);
  background: transparent;
  color: var(--ink);
}

.button:active {
  transform: scale(0.98);
}

.hero-section {
  display: grid;
  gap: 44px;
  align-items: start;
  width: min(1220px, calc(100% - 64px));
  margin: 0 auto;
  padding: 92px 0 104px;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.hero-copy h1,
.section-heading h2,
.showcase-copy h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -1.5px;
  text-wrap: pretty;
}

.hero-copy h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: -2px;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.showcase-copy p {
  margin: 20px 0 0;
  color: var(--slate);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  text-wrap: pretty;
}

.hero-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.workspace-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--canvas);
  box-shadow: var(--shadow-deep);
}

.workspace-sidebar {
  padding: 22px 16px;
  border-right: 1px solid var(--hairline);
  background: var(--surface);
}

.workspace-sidebar strong {
  display: block;
  margin: 0 8px 4px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 650;
}

.workspace-sidebar small {
  display: block;
  margin: 0 8px 14px;
  color: var(--stone);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.sidebar-item {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.4;
}

.sidebar-item.active {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
  font-weight: 600;
}

.workspace-main {
  padding: 34px;
}

.workspace-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.workspace-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.workspace-title p {
  margin: 0 0 3px;
  color: var(--stone);
  font-size: 12px;
  font-weight: 600;
}

.workspace-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.workspace-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  background: var(--surface-soft);
}

.workspace-tabs span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 9999px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 600;
}

.workspace-tabs .active {
  background: var(--ink);
  color: var(--canvas);
}

.database-table {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--canvas);
}

.table-row {
  display: grid;
  grid-template-columns: 1.05fr 1.45fr 1.35fr 126px;
  min-height: 62px;
  border-bottom: 1px solid var(--hairline);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row span {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 13px 16px;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.35;
}

.table-head span {
  background: var(--surface-soft);
  color: var(--stone);
  font-size: 12px;
  font-weight: 650;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 9999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  white-space: nowrap;
}

.tag.blue {
  background: var(--tag-blue-bg);
  color: var(--tag-blue-text);
}

.tag.purple {
  background: var(--tag-purple-bg);
  color: var(--tag-purple-text);
}

.tag.gray {
  background: var(--tag-gray-bg);
  color: var(--tag-gray-text);
}

.tag.peach {
  background: var(--tag-peach-bg);
  color: var(--tag-peach-text);
}

.tag.mint {
  background: var(--tag-mint-bg);
  color: var(--tag-mint-text);
}

.tag.yellow {
  background: var(--tag-yellow-bg);
  color: var(--tag-yellow-text);
}

.section {
  padding: 88px 32px;
}

.alt-section {
  background: var(--surface);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.showcase-copy h2 {
  font-size: 46px;
  line-height: 1;
}

.section-heading p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.service-card,
.showcase-card {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--canvas);
  box-shadow: var(--shadow-card);
}

.service-card {
  overflow: hidden;
}

.service-image {
  height: 250px;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-soft);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 28px;
}

.service-content h3,
.method-row h3 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.625px;
}

.service-content p,
.method-row p,
.showcase-card p {
  margin: 12px 0 0;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.55;
}

.service-content ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-content li {
  position: relative;
  padding-left: 18px;
  color: var(--charcoal);
  font-size: 14px;
  line-height: 1.5;
}

.service-content li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stone);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: start;
}

.method-list {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--canvas);
}

.method-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--hairline);
}

.method-row:last-child {
  border-bottom: 0;
}

.method-row > span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--slate);
  font-size: 15px;
  font-weight: 650;
}

.method-row h3 {
  margin-top: 0;
  font-size: 22px;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.66fr);
  gap: 64px;
  align-items: center;
}

.showcase-copy {
  max-width: 680px;
}

.showcase-copy p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.showcase-copy .button {
  margin-top: 26px;
}

.showcase-card {
  display: block;
  overflow: hidden;
  color: inherit;
}

.showcase-card:hover strong {
  color: var(--blue);
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-bottom: 1px solid var(--hairline);
}

.showcase-card div {
  padding: 22px;
}

.showcase-card strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.25px;
}

.site-footer {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  padding: 36px 32px;
  border-top: 1px solid var(--hairline);
  background: var(--canvas);
  color: var(--slate);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.site-footer span,
.site-footer p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .site-nav {
    display: none;
  }

  .hero-section,
  .method-layout,
  .showcase-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    width: min(820px, calc(100% - 48px));
    min-height: auto;
    padding: 64px 0 78px;
  }

  .workspace-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }

}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 20px;
  }

  .hero-section {
    width: calc(100% - 40px);
    padding: 52px 0 64px;
  }

  .hero-copy h1 {
    font-size: 42px;
    line-height: 1.06;
    letter-spacing: -1px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .workspace-card {
    display: block;
    min-height: auto;
  }

  .workspace-sidebar {
    display: none;
  }

  .workspace-main {
    padding: 18px;
  }

  .workspace-title h2 {
    font-size: 21px;
  }

  .database-table {
    border-radius: 10px;
  }

  .table-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .table-row span {
    min-height: 36px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--hairline);
  }

  .table-row span:last-child {
    border-bottom: 0;
  }

  .table-head {
    display: none;
  }

  .section {
    padding: 64px 20px;
  }

  .section-heading h2,
  .showcase-copy h2 {
    font-size: 34px;
    line-height: 1.06;
    letter-spacing: -0.75px;
  }

  .section-heading p,
  .showcase-copy p {
    font-size: 16px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: 180px;
  }

  .service-content,
  .method-row,
  .showcase-card div {
    padding: 20px;
  }

  .service-content h3,
  .method-row h3 {
    font-size: 22px;
  }

  .method-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .method-row > span {
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 20px;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    font-size: 15px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
