/* Palette aligned with HiBit Uninstaller UI: sky/cyan header, white workspace, cool grays */
:root {
  --color-page: #f0f7fc;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #5a6b7a;
  --accent: #00aeef;
  --accent-hover: #0090c9;
  --accent-soft: rgba(0, 174, 239, 0.14);
  --accent-rgb: 0, 174, 239;
  --border: #d8e6f0;
  --header-offset: 5rem;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

::selection {
  background: #e3f2fd;
  color: var(--color-text);
}

/* Readable body copy: line length & rhythm (scoped to page content) */
#top {
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
}

#top h1,
#top h2,
#top h3 {
  line-height: 1.2;
  text-wrap: balance;
}

#top p,
#top li,
#top dd,
#top blockquote p {
  line-height: 1.68;
  max-width: 68ch;
  text-wrap: pretty;
}

#top li {
  max-width: none;
}

#top table p {
  max-width: none;
}

#top table.text-sm td,
#top table.text-sm th {
  line-height: 1.5;
  max-width: none;
}

#top footer,
#top .section-label {
  max-width: none;
}

#top dt {
  line-height: 1.35;
}

#top blockquote footer {
  line-height: 1.55;
  max-width: none;
}

.font-display {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Header product lockup (logo + wordmark) */
.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6875rem;
  max-width: 100%;
  min-height: 2.75rem;
  padding: 0.125rem 0.625rem 0.125rem 0.125rem;
  margin: -0.125rem 0 -0.125rem -0.125rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
  outline: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.header-brand:hover {
  background-color: #f1f5f9;
}

.header-brand:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(var(--accent-rgb), 0.4);
}

.header-brand:active {
  background-color: #e2e8f0;
}

.header-brand__mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  background: var(--color-surface);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(15, 23, 42, 0.06);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.header-brand:hover .header-brand__mark {
  border-color: #cbd5e1;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 2px 6px rgba(15, 23, 42, 0.07);
}

.header-brand__mark img {
  display: block;
  width: 2.125rem;
  height: 2.125rem;
  object-fit: contain;
  border-radius: 0.375rem;
}

.header-brand__wordmark {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.125rem;
  line-height: 1.15;
}

.header-brand__name {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.header-brand__name-accent {
  color: var(--accent);
}

.header-brand__sub {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}

@media (max-width: 360px) {
  .header-brand__sub {
    display: none;
  }
}

.clay-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--color-page);
}

.clay-blobs::before {
  content: "";
  position: absolute;
  width: min(72vw, 520px);
  height: min(72vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.07) 0%, transparent 68%);
  top: -12%;
  right: -8%;
}

.clay-blobs::after {
  content: "";
  position: absolute;
  width: min(60vw, 420px);
  height: min(60vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 65, 85, 0.04) 0%, transparent 65%);
  bottom: 5%;
  left: -6%;
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0 3.25rem;
}

@media (min-width: 640px) {
  .hero {
    padding: 3rem 0 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 3.5rem 0 5rem;
    min-height: min(36rem, calc(100vh - 5.5rem));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 42%, #f1f5f9 100%);
}

.hero__bg::before {
  content: "";
  position: absolute;
  width: min(100%, 720px);
  height: min(90vw, 520px);
  top: -18%;
  right: -12%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.09) 0%,
    rgba(var(--accent-rgb), 0.02) 45%,
    transparent 70%
  );
}

.hero__bg::after {
  content: "";
  position: absolute;
  width: min(85%, 480px);
  height: min(70vw, 360px);
  bottom: -8%;
  left: -16%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(51, 65, 85, 0.05) 0%,
    transparent 65%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  max-width: 72rem;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .hero__inner {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    padding-inline: 2rem;
  }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__eyebrow-line {
  flex-shrink: 0;
  width: 2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0.2));
}

#top .hero__label {
  margin: 0;
  max-width: none;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 1.25rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(2rem, 4vw, 3.75rem);
    align-items: center;
    margin-top: 1.75rem;
  }
}

#top .hero__title {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.875rem, 4.2vw + 0.5rem, 3.125rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text);
  text-wrap: balance;
}

#top .hero__title-brand {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 3.2vw + 0.35rem, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--accent);
}

#top .hero__title-lead {
  color: var(--accent);
}

#top .hero__title-rest {
  display: block;
  margin-top: 0.4rem;
  color: #1e293b;
}

#top .hero__lede {
  margin-top: 1.35rem;
  max-width: 38rem;
  padding: 0;
  border: none;
  background: none;
  font-size: 1.0625rem;
  line-height: 1.68;
  color: #64748b;
  text-wrap: pretty;
}

@media (min-width: 1024px) {
  #top .hero__lede {
    font-size: 1.125rem;
    margin-top: 1.5rem;
  }
}

.hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .hero__actions {
    margin-top: 2rem;
    gap: 0.75rem;
  }
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  padding: 0.65rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    box-shadow 0.15s ease, transform 0.12s ease;
}

@media (min-width: 640px) {
  .hero__btn {
    padding: 0.7rem 1.65rem;
  }
}

.hero__btn--primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.hero__btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.28);
}

.hero__btn--primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero__btn--primary:active {
  transform: translateY(1px);
}

.hero__btn--secondary {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1e293b;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hero__btn--secondary:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.hero__btn--secondary:focus-visible {
  outline: 2px solid #94a3b8;
  outline-offset: 2px;
}

@media (max-width: 419px) {
  .hero__btn {
    width: 100%;
  }
}

.hero__badges {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .hero__badges {
    margin-top: 2rem;
  }
}

.hero__badges > li {
  margin: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #475569;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.hero__badge--muted {
  background: rgba(248, 250, 252, 0.9);
  color: #475569;
  border-color: #e2e8f0;
}

.hero__media {
  margin: 0;
}

@media (min-width: 1024px) {
  .hero__media {
    justify-self: stretch;
  }
}

.hero__figure {
  position: relative;
  margin: 0;
  border-radius: 0.875rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 24px 48px -16px rgba(15, 23, 42, 0.12),
    0 12px 24px -12px rgba(var(--accent-rgb), 0.08);
  overflow: hidden;
}

.hero__figure-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-hover) 100%);
}

.hero__figure-dots {
  display: flex;
  gap: 0.35rem;
}

.hero__figure-dots i {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hero__figure-dots i:first-child {
  background: rgba(255, 255, 255, 0.95);
}

.hero__figure-caption {
  flex: 1;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero__figure-body {
  padding: 0.5rem;
  background: #f5f5f5;
}

.hero__figure-body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}

/* Hero → content bridge */
.hero-trust {
  border-bottom: 1px solid var(--border);
  background: #eef5fa;
}

.hero-trust__inner {
  margin: 0 auto;
  max-width: 72rem;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-trust__inner {
    padding-inline: 1.5rem;
    gap: 0.5rem 0.65rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .hero-trust__inner {
    padding-inline: 2rem;
  }
}

.hero-trust__dot {
  display: none;
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .hero-trust__dot {
    display: block;
  }
}

/* --- Download section ----------------------------------------------------- */
.download-section {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0 3.5rem;
  border-top: 4px solid var(--accent);
  scroll-margin-top: var(--header-offset);
}

@media (min-width: 640px) {
  .download-section {
    padding: 3.5rem 0 4.5rem;
  }
}

.download-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.1) 0%,
    rgba(255, 255, 255, 0.92) 42%,
    #f0f7fc 100%
  );
}

.download-section__intro {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .download-section__intro {
    margin-bottom: 2.5rem;
  }
}

#top .download-section__intro .section-label {
  margin-inline: auto;
}

.download-section__headline {
  margin: 0.5rem 0 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--color-text);
  text-wrap: balance;
}

.download-section__subhead {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--color-muted);
  text-wrap: pretty;
}

.download-section__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .download-section__layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
    align-items: start;
  }
}

.download-section__cta-card {
  border-radius: 1rem;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: #fff;
  padding: 1.75rem 1.5rem 2rem;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 4px 6px rgba(15, 23, 42, 0.05),
    0 20px 50px -12px rgba(var(--accent-rgb), 0.2);
}

@media (min-width: 640px) {
  .download-section__cta-card {
    padding: 2.25rem 2rem 2.5rem;
  }
}

.download-section__cta-icon-wrap {
  display: inline-flex;
  width: 4.25rem;
  height: 4.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.75rem;
}

.download-section__cta-label {
  margin: 1.25rem 0 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.download-section__cta-line {
  margin: 0.65rem auto 0;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #475569;
  text-wrap: pretty;
}

.download-section__primary {
  display: inline-flex;
  margin-top: 1.75rem;
  width: 100%;
  max-width: 22rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.38);
  transition: background-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.download-section__primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.42);
  color: #fff;
}

.download-section__primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.download-section__primary:active {
  transform: translateY(0);
}

.download-section__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

.download-section__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.download-section__trust i {
  color: var(--accent);
  opacity: 0.95;
}

.download-section__fine-print {
  margin: 1.25rem auto 0;
  max-width: 32rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-muted);
  text-align: left;
}

.download-section__sidebar {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

@media (min-width: 640px) {
  .download-section__sidebar {
    padding: 1.75rem 1.5rem;
  }
}

.download-section__sidebar-title {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
}

.download-section__steps {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.55;
  color: #334155;
}

.download-section__steps li {
  margin-top: 0.5rem;
}

.download-section__steps li:first-child {
  margin-top: 0;
}

.download-section__sidebar-callout {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 0.625rem;
  border: 1px dashed rgba(var(--accent-rgb), 0.35);
  background: var(--accent-soft);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #334155;
}

.download-section__sidebar-callout i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent-hover);
}

.download-section__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .download-section__grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 2.5rem;
    gap: 1.25rem;
  }
}

.download-section__panel {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.download-section__panel-icon {
  flex-shrink: 0;
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 1rem;
}

.download-section__panel-icon--muted {
  background: #f1f5f9;
  color: #64748b;
}

.download-section__panel-title {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
}

#top .download-section__panel-text {
  margin: 0.35rem 0 0;
  max-width: none;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
}

/* --- Workflow (03) -------------------------------------------------------- */
.workflow {
  position: relative;
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .workflow {
    padding: 6rem 0;
  }
}

.workflow__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(241, 245, 249, 0.45),
    transparent 55%
  );
}

.workflow__inner {
  position: relative;
  margin-inline: auto;
  max-width: 72rem;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .workflow__inner {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .workflow__inner {
    padding-inline: 2rem;
  }
}

.workflow__layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .workflow__layout {
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
  }
}

.workflow__intro {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .workflow__intro {
    position: sticky;
    top: 7rem;
    width: 100%;
    max-width: 20rem;
  }
}

@media (min-width: 1280px) {
  .workflow__intro {
    max-width: 28rem;
  }
}

#top .workflow__title {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-text);
  margin-top: 0.5rem;
  text-wrap: balance;
}

.workflow__tagline {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

#top .workflow__lede {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.68;
  color: #334155;
  text-wrap: pretty;
  max-width: 36ch;
}

@media (min-width: 1024px) {
  #top .workflow__lede {
    max-width: none;
  }
}

.workflow__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .workflow__main {
    margin-top: 0;
  }
}

.workflow__figure {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  padding: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

@media (min-width: 640px) {
  .workflow__figure {
    padding: 1rem;
  }
}

.workflow__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(26rem, 58vh);
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: #f8fafc;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 639px) {
  .workflow__figure img {
    max-height: min(20rem, 50vh);
  }
}

.workflow__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .workflow__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.workflow-step {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--color-surface);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.workflow-step--accent {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(240, 253, 250, 0.45);
}

.workflow-step--muted {
  border-color: var(--border);
  background: rgba(248, 250, 252, 0.85);
}

.workflow-step__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-hover);
}

.workflow-step--accent .workflow-step__label {
  color: var(--accent-hover);
}

.workflow-step--muted .workflow-step__label {
  color: #475569;
}

#top .workflow-step__title {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-text);
  max-width: none;
  text-wrap: balance;
}

#top .workflow-step__body {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
  max-width: none;
}

.clay-card {
  border-radius: 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.clay-card-warm {
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.clay-hero-img {
  border-radius: 0.75rem;
  overflow: hidden;
  padding: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px -12px rgba(15, 23, 42, 0.12);
}

.clay-hero-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.stripe-table th,
.stripe-table td {
  border: 1px solid var(--border);
}

.stripe-table tbody tr:nth-child(odd) {
  background: #f8fafc;
}

a.site-nav-link.nav-active {
  color: var(--accent-hover) !important;
  background: var(--accent-soft) !important;
  border-radius: 0.375rem;
}

.back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 60;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  color: var(--accent);
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease,
    color 0.15s ease, border-color 0.15s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--accent-hover);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.fixed-download-btn {
  position: fixed;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 55;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.9rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.fixed-download-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-50%) scale(1.03);
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.4);
  color: #fff;
}

.fixed-download-btn i {
  font-size: 1rem;
  writing-mode: horizontal-tb;
}

@media (max-width: 640px) {
  .fixed-download-btn span {
    display: none;
  }
  .fixed-download-btn {
    writing-mode: horizontal-tb;
    padding: 0.6rem 0.85rem;
    border-radius: 9999px;
  }
  .fixed-download-btn:hover {
    transform: translateY(-50%) scale(1.03);
  }
}

/* CJK pages load Noto via locale index.html; prefer it for body copy */
html[lang="zh-CN"] body {
  font-family: "Noto Sans SC", "Inter", system-ui, sans-serif;
}

html[lang="ja"] body {
  font-family: "Noto Sans JP", "Inter", system-ui, sans-serif;
}

html[lang="zh-CN"] .font-display,
html[lang="ja"] .font-display {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ─── Professional site header (single row, guide dropdown) ─── */
.site-header-pro {
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.site-header-pro__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 1rem;
  min-height: 3.25rem;
}

@media (min-width: 640px) {
  .site-header-pro__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-header-pro__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.header-brand--nav-compact .header-brand__sub {
  display: none;
}

@media (min-width: 1100px) {
  .header-brand--nav-compact .header-brand__sub {
    display: block;
  }
}

.site-header-pro__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.125rem;
  row-gap: 0.35rem;
  max-width: min(100%, 58rem);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

@media (min-width: 640px) {
  .nav-pill {
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
  }
}

.nav-pill:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.nav-pill--current {
  background-color: rgba(0, 174, 239, 0.12);
  color: #01579b;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(165deg, #00b8f5 0%, #00aeef 45%, #0090c9 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(0, 174, 239, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

@media (min-width: 640px) {
  .nav-cta {
    font-size: 0.875rem;
    padding: 0.5rem 1.15rem;
  }
}

.nav-cta:hover {
  filter: brightness(1.05);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.1),
    0 4px 14px rgba(0, 174, 239, 0.4);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.65rem 0.45rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  border: 1px solid transparent;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.nav-dropdown__trigger::-webkit-details-marker {
  display: none;
}

@media (min-width: 640px) {
  .nav-dropdown__trigger {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem 0.5rem 0.85rem;
  }
}

.nav-dropdown__trigger:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.nav-dropdown[open] > .nav-dropdown__trigger {
  background-color: #fff;
  border-color: #e2e8f0;
  color: #01579b;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.nav-dropdown__panel {
  position: absolute;
  z-index: 70;
  top: calc(100% + 0.4rem);
  left: 0;
  right: auto;
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(70vh, 26rem);
  overflow-y: auto;
  padding: 0.65rem;
  border-radius: 0.875rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.06),
    0 20px 40px -12px rgba(15, 23, 42, 0.15);
}

@media (max-width: 480px) {
  .nav-dropdown__panel {
    left: auto;
    right: 0;
    width: min(20rem, calc(100vw - 1.25rem));
  }
}

.nav-dropdown__label {
  display: block;
  padding: 0.35rem 0.5rem 0.25rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.nav-dropdown__grid {
  display: grid;
  gap: 0.15rem;
}

@media (min-width: 380px) {
  .nav-dropdown__grid--2 {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.5rem;
  }
}

.nav-dropdown__grid a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.nav-dropdown__grid a:hover {
  background-color: #f1f5f9;
  color: #01579b;
}

.nav-dropdown__grid a.nav-active {
  background-color: rgba(0, 174, 239, 0.12);
  color: #01579b;
}

/* Supplementary pages: hero + imagery */
.page-hero-visual {
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(145deg, #fff 0%, #f0f9ff 50%, #e0f2fe 100%);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.page-hero-visual img,
.page-hero-visual picture img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.content-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(160deg, #f8fafc 0%, #f0f9ff 100%);
  border: 1px solid #e2e8f0;
}

.content-thumb img {
  width: 100%;
  max-width: 11rem;
  height: auto;
  object-fit: contain;
}

.article-figure {
  margin: 1.75rem 0;
  border-radius: 0.875rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  overflow: hidden;
}

.article-figure img {
  display: block;
  width: 100%;
  max-height: 14rem;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.article-figure figcaption {
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
}

.blog-card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .blog-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.blog-card:hover {
  border-color: #bae6fd;
  box-shadow: 0 8px 24px rgba(0, 174, 239, 0.12);
}

.blog-card__media {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%);
  border-bottom: 1px solid #e2e8f0;
}

.blog-card__media img {
  max-width: 85%;
  max-height: 100%;
  object-fit: contain;
}

.blog-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__body h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.blog-card__body h2 a {
  color: #01579b;
  text-decoration: none;
}

.blog-card__body h2 a:hover {
  text-decoration: underline;
}

.blog-card__body p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
  flex: 1;
}

.blog-card__read {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #00aeef;
}

