/*
 * DAPACAI custom theme overlay.
 * Loaded by Nginx so the upstream Docker image can stay upgradeable.
 */
:root {
  --dpc-ink: #142033;
  --dpc-muted: #607080;
  --dpc-line: rgba(70, 172, 183, 0.22);
  --dpc-soft-line: rgba(120, 210, 202, 0.16);
  --dpc-panel: rgba(255, 255, 255, 0.76);
  --dpc-panel-strong: rgba(255, 255, 255, 0.9);
  --dpc-teal: #11b8a7;
  --dpc-cyan: #35bdf7;
  --dpc-mint: #89f4c3;
  --dpc-orange: #ffb45e;
  --dpc-shadow: 0 18px 50px rgba(37, 83, 103, 0.12);
  --dpc-shadow-hover: 0 24px 70px rgba(27, 118, 132, 0.16);
}

html,
body,
#app {
  min-height: 100%;
}

body {
  color: var(--dpc-ink) !important;
  background:
    linear-gradient(rgba(48, 188, 205, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 188, 205, 0.052) 1px, transparent 1px),
    linear-gradient(135deg, #fbfdff 0%, #effcf8 48%, #fff8ec 100%) !important;
  background-size: 48px 48px, 48px 48px, auto !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(53, 189, 247, 0.045) 22px 23px, transparent 23px 46px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22));
}

body,
button,
input,
textarea,
select {
  letter-spacing: 0 !important;
}

::selection {
  color: #06252c;
  background: rgba(137, 244, 195, 0.75);
}

a {
  color: #0c9b92;
}

.bg-white,
[class*="bg-white/"],
.driver-popover {
  background-color: var(--dpc-panel) !important;
  border-color: var(--dpc-line) !important;
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.shadow,
.shadow-sm,
.shadow-md,
.shadow-lg,
.shadow-xl,
.shadow-2xl,
.driver-popover {
  box-shadow: var(--dpc-shadow) !important;
}

.border,
[class*="border-gray"],
[class*="border-slate"],
[class*="border-zinc"] {
  border-color: var(--dpc-line) !important;
}

button,
a,
input,
textarea,
select,
[role="button"] {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease !important;
}

button:hover,
a[role="button"]:hover,
[role="button"]:hover {
  transform: translateY(-1px);
}

.bg-teal-500,
.bg-teal-600,
.hover\:bg-teal-600:hover,
.bg-cyan-500,
.bg-blue-500,
.bg-blue-600,
.hover\:bg-blue-600:hover,
[class*="from-teal"],
[class*="to-teal"] {
  background-image: linear-gradient(135deg, var(--dpc-teal), var(--dpc-cyan)) !important;
  background-color: var(--dpc-teal) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(17, 184, 167, 0.24) !important;
}

.text-teal-500,
.text-teal-600,
.text-cyan-500,
.text-blue-500,
.text-blue-600 {
  color: #0aa79d !important;
}

.ring-teal-500,
.focus\:ring-teal-500:focus,
.focus\:border-teal-500:focus {
  --tw-ring-color: rgba(17, 184, 167, 0.35) !important;
  border-color: rgba(17, 184, 167, 0.55) !important;
}

input,
textarea,
select,
.el-input__wrapper,
.el-textarea__inner,
.n-input,
.ant-input,
.ant-select-selector {
  background: rgba(255, 255, 255, 0.74) !important;
  border-color: var(--dpc-line) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34) !important;
}

input:focus,
textarea:focus,
select:focus,
.el-input__wrapper.is-focus,
.ant-input:focus,
.ant-select-focused .ant-select-selector {
  border-color: rgba(17, 184, 167, 0.62) !important;
  box-shadow:
    0 0 0 4px rgba(137, 244, 195, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.54) !important;
}

.rounded-xl,
.rounded-2xl,
.rounded-3xl {
  border-radius: 18px !important;
}

.rounded-lg {
  border-radius: 14px !important;
}

.rounded-md {
  border-radius: 10px !important;
}

.rounded-full {
  border-radius: 999px !important;
}

.card,
[class*="card"],
.el-card,
.ant-card,
.n-card,
table,
.el-table,
.ant-table-wrapper {
  background: var(--dpc-panel) !important;
  border-color: var(--dpc-line) !important;
  box-shadow: var(--dpc-shadow) !important;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.card:hover,
[class*="card"]:hover,
.el-card:hover,
.ant-card:hover {
  box-shadow: var(--dpc-shadow-hover) !important;
}

table thead,
.el-table__header-wrapper,
.ant-table-thead > tr > th {
  background: rgba(235, 252, 248, 0.82) !important;
}

table tr:hover,
.el-table__row:hover > td,
.ant-table-tbody > tr:hover > td {
  background: rgba(226, 250, 244, 0.62) !important;
}

aside,
nav,
[class*="sidebar"],
[class*="sider"] {
  border-color: var(--dpc-soft-line) !important;
}

aside,
[class*="sidebar"],
[class*="sider"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(240, 253, 249, 0.78)) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

nav a,
aside a,
[role="menuitem"] {
  border-radius: 12px !important;
}

nav a:hover,
aside a:hover,
[role="menuitem"]:hover {
  background: rgba(226, 250, 244, 0.72) !important;
}

.navigation-progress-bar {
  background: linear-gradient(90deg, transparent, var(--dpc-mint), var(--dpc-cyan), var(--dpc-orange), transparent) !important;
}

img[src="/logo.png"],
img[alt*="logo" i],
img[alt*="大趴菜"] {
  filter: drop-shadow(0 12px 22px rgba(24, 132, 141, 0.16));
}

.text-gray-500,
.text-gray-600,
.text-slate-500,
.text-slate-600 {
  color: var(--dpc-muted) !important;
}

.bg-gray-50,
.bg-slate-50,
.bg-zinc-50 {
  background-color: rgba(247, 252, 252, 0.82) !important;
}

.bg-gray-100,
.bg-slate-100,
.bg-zinc-100 {
  background-color: rgba(232, 250, 246, 0.72) !important;
}

.driver-popover {
  border: 1px solid var(--dpc-line) !important;
  border-radius: 16px !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

html.dark body,
:root.dark body {
  color: #e9fbff !important;
  background:
    linear-gradient(rgba(99, 226, 214, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 226, 214, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #101923 0%, #102323 54%, #211b13 100%) !important;
  background-size: 48px 48px, 48px 48px, auto !important;
}

html.dark .bg-white,
:root.dark .bg-white,
html.dark [class*="bg-white/"],
:root.dark [class*="bg-white/"],
html.dark .card,
:root.dark .card,
html.dark [class*="card"],
:root.dark [class*="card"] {
  background-color: rgba(18, 31, 39, 0.76) !important;
  border-color: rgba(121, 235, 224, 0.18) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28) !important;
}

/* Full landing-page redesign injected on the public home page. */
.dpc-home-active #app {
  display: none !important;
}

.dpc-home-active {
  overflow-x: hidden;
  background:
    linear-gradient(rgba(58, 138, 151, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 138, 151, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #f7fbff 0%, #edf9f7 42%, #fff8ec 100%) !important;
  background-size: 48px 48px, 48px 48px, auto !important;
}

.dpc-home-v2 {
  width: min(100%, 1600px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 32px 30px;
  color: #132033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.dpc-home-v2,
.dpc-home-v2 *,
.dpc-home-v2 *::before,
.dpc-home-v2 *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.dpc-home-v2 a {
  color: inherit;
  text-decoration: none;
}

.dpc-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 70px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(38, 103, 118, 0.13);
}

.dpc-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dpc-brand-logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(41, 164, 170, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(21, 101, 117, 0.11);
}

.dpc-brand-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.dpc-brand-copy {
  display: grid;
  gap: 2px;
}

.dpc-brand-copy strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.dpc-brand-copy small {
  color: #697785;
  font-size: 12px;
}

.dpc-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border: 1px solid rgba(38, 103, 118, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 12px 36px rgba(29, 84, 99, 0.08);
  backdrop-filter: blur(16px);
}

.dpc-nav-links a {
  min-width: 66px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #2d3c4d;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.dpc-nav-links a:hover,
.dpc-nav-links a.is-active {
  color: #0b766f;
  background: #e5faf4;
}

.dpc-nav-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.dpc-lang {
  color: #4c5b6b;
  font-size: 13px;
  font-weight: 700;
}

.dpc-login {
  display: inline-flex;
  min-width: 86px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: #fff !important;
  font-weight: 900;
  background: #101725;
  box-shadow: 0 16px 34px rgba(16, 23, 37, 0.18);
}

.dpc-login:hover {
  transform: translateY(-2px);
  background: #17243a;
}

.dpc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr);
  gap: 58px;
  align-items: center;
  padding: 52px 0 40px;
}

.dpc-hero-copy {
  max-width: 720px;
}

.dpc-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 184, 167, 0.18);
  border-radius: 999px;
  color: #0b766f;
  background: rgba(232, 250, 246, 0.82);
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(38, 152, 154, 0.1);
}

.dpc-badge span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff7b72;
  box-shadow: 0 0 0 6px rgba(255, 123, 114, 0.14);
}

.dpc-hero h1 {
  display: grid;
  gap: 6px;
  margin: 0;
  color: #111a2b;
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 950;
  line-height: 0.98;
}

.dpc-hero h1 span {
  width: fit-content;
  padding-right: 24px;
  border-bottom: 2px solid rgba(17, 26, 43, 0.72);
}

.dpc-hero h1 strong {
  font: inherit;
}

.dpc-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #3f4f63;
  font-size: 21px;
  line-height: 1.78;
}

.dpc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.dpc-primary,
.dpc-secondary,
.dpc-price-cards a {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  font-size: 17px;
  font-weight: 950;
}

.dpc-primary {
  min-width: 140px;
  color: #fff !important;
  background: linear-gradient(135deg, #11b8a7, #39bdf7);
  box-shadow: 0 18px 36px rgba(17, 184, 167, 0.24);
}

.dpc-secondary {
  min-width: 128px;
  border: 1px solid rgba(19, 32, 51, 0.11);
  color: #142033 !important;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(29, 84, 99, 0.1);
}

.dpc-primary:hover,
.dpc-secondary:hover,
.dpc-price-cards a:hover {
  transform: translateY(-2px);
}

.dpc-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 650px;
  margin-top: 26px;
}

.dpc-stat-row div {
  min-height: 108px;
  padding: 18px 20px;
  border: 1px solid rgba(38, 103, 118, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 48px rgba(28, 75, 92, 0.1);
}

.dpc-stat-row strong {
  display: block;
  color: #091322;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 950;
  line-height: 1.1;
}

.dpc-stat-row span {
  display: block;
  margin-top: 8px;
  color: #536477;
  font-size: 14px;
  font-weight: 750;
}

.dpc-hero-art {
  position: relative;
  min-height: 500px;
  padding: 32px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(27, 120, 138, 0.14);
  background:
    linear-gradient(rgba(40, 125, 148, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 125, 148, 0.07) 1px, transparent 1px),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 38, 48, 0.94));
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: 0 28px 86px rgba(10, 21, 32, 0.18);
}

.dpc-hero-art::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(137, 244, 195, 0.18);
  border-radius: 26px;
}

.dpc-art-chip {
  position: absolute;
  z-index: 2;
  padding: 10px 15px;
  border-radius: 14px;
  color: #092325;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.dpc-art-chip-a {
  top: 34px;
  right: 46px;
  background: #8bf4c5;
}

.dpc-art-chip-b {
  top: 92px;
  left: 42px;
  color: #fff;
  background: #ff8f6b;
  transform: rotate(-4deg);
}

.dpc-pixel-mark {
  position: absolute;
  top: 114px;
  right: 72px;
  display: grid;
  grid-template-columns: repeat(5, 30px);
  gap: 12px;
  transform: rotate(8deg);
}

.dpc-pixel-mark span {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8fbff, #80e5ff);
  box-shadow:
    6px 6px 0 rgba(255, 143, 107, 0.38),
    0 0 28px rgba(57, 189, 247, 0.32);
}

.dpc-pixel-mark span:nth-child(1),
.dpc-pixel-mark span:nth-child(2),
.dpc-pixel-mark span:nth-child(3),
.dpc-pixel-mark span:nth-child(4),
.dpc-pixel-mark span:nth-child(5),
.dpc-pixel-mark span:nth-child(6),
.dpc-pixel-mark span:nth-child(10),
.dpc-pixel-mark span:nth-child(11),
.dpc-pixel-mark span:nth-child(15),
.dpc-pixel-mark span:nth-child(16),
.dpc-pixel-mark span:nth-child(20),
.dpc-pixel-mark span:nth-child(21),
.dpc-pixel-mark span:nth-child(22),
.dpc-pixel-mark span:nth-child(23),
.dpc-pixel-mark span:nth-child(24) {
  opacity: 1;
}

.dpc-pixel-mark span:nth-child(7),
.dpc-pixel-mark span:nth-child(8),
.dpc-pixel-mark span:nth-child(9),
.dpc-pixel-mark span:nth-child(12),
.dpc-pixel-mark span:nth-child(13),
.dpc-pixel-mark span:nth-child(14),
.dpc-pixel-mark span:nth-child(17),
.dpc-pixel-mark span:nth-child(18),
.dpc-pixel-mark span:nth-child(19),
.dpc-pixel-mark span:nth-child(25) {
  opacity: 0.08;
}

.dpc-wordmark {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 112px;
  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(42px, 7vw, 90px);
  font-weight: 950;
  line-height: 1;
  text-shadow: 8px 8px 0 rgba(255, 143, 107, 0.22);
}

.dpc-flow-card {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  color: #c8f6f1;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.dpc-flow-card span {
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.dpc-flow-card b {
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8bf4c5, #39bdf7);
}

.dpc-suite,
.dpc-pricing {
  margin-top: 22px;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(38, 103, 118, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(30, 81, 96, 0.11);
  backdrop-filter: blur(18px);
}

.dpc-suite-head {
  text-align: center;
}

.dpc-suite h2,
.dpc-pricing h2 {
  margin: 0;
  color: #07111f;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 950;
  line-height: 1.18;
}

.dpc-suite-head p,
.dpc-price-copy p {
  max-width: 720px;
  margin: 16px auto 0;
  color: #5b6d7e;
  font-size: 17px;
  line-height: 1.75;
  text-align: center;
}

.dpc-models {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  font-size: 18px;
  font-weight: 950;
}

.dpc-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: #0d1726;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(37, 83, 103, 0.1);
}

.dpc-model-pill i {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: currentColor;
}

.dpc-tone-coral { color: #ff7b72; }
.dpc-tone-mint { color: #11b8a7; }
.dpc-tone-sky { color: #39bdf7; }
.dpc-tone-violet { color: #6d7dfb; }

.dpc-feature-grid,
.dpc-price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.dpc-feature-grid article,
.dpc-price-cards article {
  padding: 26px;
  border: 1px solid rgba(38, 103, 118, 0.12);
  border-radius: 18px;
  background: rgba(248, 253, 253, 0.86);
  box-shadow: 0 16px 42px rgba(30, 81, 96, 0.08);
}

.dpc-price-cards article {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: flex-start;
  overflow: visible;
}

.dpc-feature-grid i {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #063238;
  background: #8bf4c5;
  font-style: normal;
  font-weight: 950;
}

.dpc-feature-grid h3,
.dpc-price-cards h3 {
  margin: 20px 0 10px;
  color: #091322;
  font-size: 22px;
  font-weight: 950;
}

.dpc-feature-grid p,
.dpc-price-cards p {
  margin: 0;
  color: #5c6a79;
  font-size: 15px;
  line-height: 1.72;
}

.dpc-price-cards p {
  flex: 1;
}

.dpc-pricing {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 20px;
}

.dpc-price-copy p {
  margin-left: 0;
  text-align: left;
}

.dpc-price-cards {
  margin-top: 0;
}

.dpc-price-cards strong {
  display: block;
  margin-top: 10px;
  color: #0d9187;
  font-size: 30px;
  font-weight: 950;
}

.dpc-price-cards a {
  min-height: 46px;
  margin-top: 22px;
  padding: 0 18px;
  color: #fff !important;
  line-height: 1;
  white-space: nowrap;
  background: #101725;
}

.dpc-price-cards .is-featured {
  color: #07111f;
  background: linear-gradient(145deg, #e3fff5, #eef7ff);
  box-shadow: 0 26px 66px rgba(17, 184, 167, 0.18);
  transform: translateY(-8px);
}

.dpc-price-cards .is-featured a {
  background: linear-gradient(135deg, #11b8a7, #39bdf7);
}

@media (max-width: 1020px) {
  .dpc-home-v2 {
    padding: 14px 18px 24px;
  }

  .dpc-nav {
    grid-template-columns: 1fr auto;
  }

  .dpc-nav-links {
    display: none;
  }

  .dpc-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 34px;
  }

  .dpc-hero-art {
    min-height: 430px;
  }

  .dpc-pricing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .dpc-home-v2 {
    padding-inline: 14px;
  }

  .dpc-brand-copy small,
  .dpc-lang {
    display: none;
  }

  .dpc-login {
    min-width: 72px;
    height: 44px;
    border-radius: 18px;
  }

  .dpc-hero {
    padding-top: 26px;
  }

  .dpc-hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .dpc-hero p {
    font-size: 16px;
    line-height: 1.72;
  }

  .dpc-stat-row,
  .dpc-feature-grid,
  .dpc-price-cards {
    grid-template-columns: 1fr;
  }

  .dpc-hero-art {
    min-height: 360px;
    padding: 22px;
    border-radius: 24px;
  }

  .dpc-pixel-mark {
    top: 80px;
    right: 38px;
    grid-template-columns: repeat(5, 22px);
    gap: 9px;
  }

  .dpc-pixel-mark span {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }

  .dpc-wordmark {
    bottom: 98px;
    left: 24px;
    right: 24px;
    font-size: clamp(34px, 13vw, 52px);
  }

  .dpc-flow-card {
    left: 22px;
    right: 22px;
    bottom: 22px;
    grid-template-columns: 1fr;
  }

  .dpc-flow-card b {
    display: none;
  }

  .dpc-suite,
  .dpc-pricing {
    padding: 24px;
  }

  .dpc-price-cards .is-featured {
    transform: none;
  }
}

/* Public installation and tutorial page. */
.dpc-guide-active #app {
  display: none !important;
}

.dpc-guide-active {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(70, 178, 196, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 178, 196, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #f8fcff 0%, #eefbf6 45%, #fff5ed 100%) !important;
  background-size: 44px 44px, 44px 44px, auto !important;
}

.dpc-guide-page {
  width: min(100%, 1500px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 32px 42px;
  overflow-x: hidden;
  color: #102033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.dpc-guide-page,
.dpc-guide-page *,
.dpc-guide-page *::before,
.dpc-guide-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.dpc-guide-page a {
  color: inherit;
  text-decoration: none;
}

.dpc-guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: stretch;
  padding: 52px 0 30px;
}

.dpc-guide-hero-copy {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
  border: 1px solid rgba(37, 119, 132, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(235, 255, 249, 0.72)),
    radial-gradient(circle at 88% 18%, rgba(255, 180, 94, 0.22), transparent 28%);
  box-shadow: 0 22px 64px rgba(33, 92, 106, 0.11);
}

.dpc-guide-hero h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  color: #071525;
  font-size: clamp(46px, 6.5vw, 92px);
  font-weight: 950;
  line-height: 0.98;
}

.dpc-guide-hero p {
  max-width: 760px;
  margin: 0;
  color: #52687a;
  font-size: 18px;
  line-height: 1.8;
}

.dpc-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.dpc-guide-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dpc-guide-metrics article {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(37, 119, 132, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(28, 86, 98, 0.09);
}

.dpc-guide-metrics span {
  color: #6b7d8d;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dpc-guide-metrics strong {
  display: block;
  overflow-wrap: anywhere;
  color: #0c776f;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 950;
  line-height: 1.05;
}

.dpc-guide-metrics small {
  color: #657586;
  font-size: 14px;
  line-height: 1.45;
}

.dpc-guide-tabs {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 28px;
  padding: 10px;
  border: 1px solid rgba(37, 119, 132, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 44px rgba(28, 86, 98, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dpc-guide-tabs a {
  min-height: 42px;
  padding: 11px 15px;
  border-radius: 13px;
  color: #2b3d4e;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.dpc-guide-tabs a:hover,
.dpc-guide-tabs a.is-active {
  color: #063238;
  background: #dffbf3;
}

.dpc-guide-band {
  scroll-margin-top: 100px;
  margin-top: 22px;
  padding: 34px;
  border: 1px solid rgba(37, 119, 132, 0.13);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 56px rgba(28, 86, 98, 0.08);
}

.dpc-guide-section-head {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin-bottom: 26px;
}

.dpc-guide-section-head span {
  color: #0c8f86;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.dpc-guide-section-head h2 {
  margin: 0;
  color: #0b1727;
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 950;
  line-height: 1.05;
}

.dpc-guide-section-head p {
  margin: 0;
  color: #5a6d7f;
  font-size: 17px;
  line-height: 1.75;
}

.dpc-guide-section-head code,
.dpc-guide-checks code,
.dpc-guide-card code {
  padding: 2px 6px;
  border-radius: 7px;
  color: #087f78;
  background: rgba(224, 251, 244, 0.82);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.dpc-guide-steps,
.dpc-guide-checks,
.dpc-guide-api-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dpc-guide-steps article,
.dpc-guide-checks article,
.dpc-guide-api-grid article,
.dpc-guide-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(37, 119, 132, 0.12);
  border-radius: 20px;
  background: rgba(248, 253, 253, 0.86);
  box-shadow: 0 14px 42px rgba(27, 84, 97, 0.07);
}

.dpc-guide-steps i {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: #08333a;
  background: linear-gradient(135deg, #8bf4c5, #9ee9ff);
  font-style: normal;
  font-weight: 950;
}

.dpc-guide-steps h3,
.dpc-guide-checks h3,
.dpc-guide-card h3 {
  margin: 18px 0 10px;
  color: #0b1727;
  font-size: 22px;
  font-weight: 950;
}

.dpc-guide-steps p,
.dpc-guide-checks p,
.dpc-guide-card p,
.dpc-guide-api-grid p {
  margin: 0;
  color: #5b6c7c;
  font-size: 15px;
  line-height: 1.72;
}

.dpc-guide-steps a,
.dpc-guide-timeline a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 18px;
  padding: 0 14px;
  border-radius: 12px;
  color: #063238 !important;
  font-size: 14px;
  font-weight: 900;
  background: #dffbf3;
}

.dpc-guide-feature-grid {
  margin-top: 0;
}

.dpc-guide-feature-grid article i {
  color: #082f36;
  font-size: 14px;
}

.dpc-guide-timeline {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.dpc-guide-timeline article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(37, 119, 132, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.dpc-guide-timeline b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: #111827;
  font-size: 18px;
  font-weight: 950;
}

.dpc-guide-timeline h3 {
  margin: 0 0 8px;
  color: #0b1727;
  font-size: 21px;
  font-weight: 950;
}

.dpc-guide-timeline p {
  margin: 0;
  color: #5b6c7c;
  font-size: 15px;
  line-height: 1.7;
}

.dpc-guide-manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dpc-guide-manual-grid > *,
.dpc-guide-api-grid > *,
.dpc-guide-checks > *,
.dpc-guide-steps > * {
  min-width: 0;
}

.dpc-code-shell {
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  margin-top: 16px;
  border: 1px solid rgba(22, 85, 96, 0.13);
  border-radius: 18px;
  background: #0e1724;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dpc-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 12px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #9fb2c5;
  font-size: 13px;
  font-weight: 900;
}

.dpc-copy-button {
  min-width: 64px;
  min-height: 32px;
  border: 1px solid rgba(137, 244, 195, 0.24);
  border-radius: 10px;
  color: #d9fff2;
  background: rgba(137, 244, 195, 0.1);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.dpc-code-shell pre {
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 18px;
  overflow-x: auto;
}

.dpc-code-shell code {
  color: #e9fbff;
  background: transparent;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre;
}

.dpc-guide-api-grid {
  margin-bottom: 18px;
}

.dpc-guide-api-grid article span {
  color: #0c8f86;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.dpc-guide-api-grid article strong {
  display: block;
  margin: 12px 0 8px;
  overflow-wrap: anywhere;
  color: #102033;
  font-size: 24px;
  font-weight: 950;
}

.dpc-guide-checks {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dpc-guide-checks h3 {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .dpc-guide-page {
    padding: 14px 18px 34px;
  }

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

  .dpc-guide-hero-copy {
    min-height: 0;
  }

  .dpc-guide-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .dpc-guide-hero-copy,
  .dpc-guide-band {
    padding: 24px;
    border-radius: 22px;
  }

  .dpc-guide-hero h1 {
    font-size: clamp(40px, 12vw, 62px);
  }

  .dpc-guide-metrics,
  .dpc-guide-steps,
  .dpc-guide-feature-grid,
  .dpc-guide-manual-grid,
  .dpc-guide-api-grid,
  .dpc-guide-checks {
    grid-template-columns: 1fr;
  }

  .dpc-guide-tabs {
    position: static;
  }
}

@media (max-width: 560px) {
  .dpc-guide-page {
    padding-inline: 12px;
  }

  .dpc-guide-nav {
    grid-template-columns: 1fr auto;
  }

  .dpc-guide-hero {
    padding-top: 28px;
  }

  .dpc-guide-hero-copy,
  .dpc-guide-band {
    padding: 20px;
  }

  .dpc-guide-hero p,
  .dpc-guide-section-head p {
    font-size: 15px;
  }

  .dpc-guide-metrics article {
    min-height: 150px;
  }

  .dpc-guide-tabs a {
    flex: 1 1 auto;
    text-align: center;
  }

  .dpc-guide-timeline article {
    grid-template-columns: 1fr;
  }
}
