:root {
  --ink: #10151c;
  --ink-soft: rgba(16, 21, 28, 0.62);
  --paper: #eef2f8;
  --line: rgba(16, 21, 28, 0.1);
  --brand: #0a84ff;
  --brand-deep: #0062cc;
  --brand-soft: rgba(10, 132, 255, 0.14);
  --accent: #0a9d63;
  --warn: #b45309;

  /* Liquid glass surfaces */
  --glass-tint: linear-gradient(155deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.44));
  --glass-tint-strong: linear-gradient(155deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
  --glass-stroke: rgba(255, 255, 255, 0.6);
  --glass-blur: blur(28px) saturate(180%);
  --glass-sheen:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(255, 255, 255, 0.28);
  --control-fill: rgba(255, 255, 255, 0.9);

  --shadow-soft: 0 10px 30px rgba(18, 42, 84, 0.1);
  --shadow: 0 22px 60px rgba(18, 42, 84, 0.16);
  --radius: 22px;
  --radius-lg: 28px;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  letter-spacing: -0.01em;
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Soft colour field seen through every glass surface. */
body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -1;
  background:
    radial-gradient(38% 42% at 20% 16%, rgba(10, 132, 255, 0.42), transparent 62%),
    radial-gradient(34% 40% at 84% 10%, rgba(120, 92, 255, 0.34), transparent 60%),
    radial-gradient(36% 42% at 74% 66%, rgba(48, 209, 189, 0.32), transparent 62%),
    radial-gradient(34% 38% at 16% 80%, rgba(255, 138, 180, 0.28), transparent 60%);
  filter: blur(40px) saturate(140%);
  animation: aurora 28s ease-in-out infinite alternate;
  pointer-events: none;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

:where(a, button, select, summary):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

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

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Shared liquid-glass surface */
.glass,
.site-header .nav,
.download-panel,
.price-card,
.support-panel,
.legal-card,
.update-item,
.pricing-promo,
.billing-note {
  background: var(--glass-tint);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-soft), var(--glass-sheen);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.6rem 0;
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.6rem 0.5rem 1.05rem;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.lang-toggle {
  border: 1px solid var(--glass-stroke);
  background: var(--control-fill);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: var(--ink-soft);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-sheen);
}

.hero {
  padding: 4.5rem 0 3.25rem;
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.42fr);
  gap: 1.6rem;
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--glass-stroke);
  background: var(--glass-tint);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-sheen);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 3.75rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero-lead {
  margin: 1.1rem 0 1.6rem;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  background: linear-gradient(180deg, #3d9dff, var(--brand) 55%, #0a76e6);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow:
    0 12px 28px rgba(10, 132, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #5aabff, #0a84ff 55%, #0069d6);
  color: #fff;
}

.btn-store {
  gap: 0.55rem;
}

.store-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.store-icon {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.btn-secondary {
  background: var(--glass-tint-strong);
  border-color: var(--glass-stroke);
  color: var(--ink);
  box-shadow: var(--shadow-soft), var(--glass-sheen);
}

.btn-quickstart::after {
  content: "→";
  margin-left: 0.15rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn-quickstart:hover::after {
  transform: translateX(3px);
}

.hero-visual {
  position: relative;
  width: 100%;
  margin-left: -0.75rem;
  animation: rise-in 0.8s ease both;
}

.browser-chrome {
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 2px 6px rgba(18, 42, 84, 0.08),
    0 30px 70px rgba(18, 42, 84, 0.24);
  border: 1px solid rgba(60, 64, 67, 0.18);
  background: #dee1e6;
}

.browser-titlebar {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  min-height: 0;
  padding: 0.2rem 0.3rem 0;
  background: #dee1e6;
}

.browser-traffic {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 0 0.2rem 0.32rem 0.28rem;
}

.browser-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}

.browser-dot-close { background: #ff5f57; }
.browser-dot-min { background: #febc2e; }
.browser-dot-max { background: #28c840; }

.browser-tabs {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
  flex: 1;
  padding-right: 0.25rem;
}

.browser-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  max-width: 140px;
  min-width: 0;
  height: 22px;
  padding: 0 0.4rem 0 0.45rem;
  border-radius: 6px 6px 0 0;
  background: #fff;
  color: #202124;
  font-size: 0.65rem;
  font-weight: 500;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8) inset;
}

.browser-tab-favicon {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  object-fit: contain;
  flex-shrink: 0;
}

.browser-tab-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-tab-close {
  width: 6px;
  height: 6px;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.4;
  background:
    linear-gradient(45deg, transparent 42%, #5f6368 42%, #5f6368 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, #5f6368 42%, #5f6368 58%, transparent 58%);
}

.browser-tab-new {
  width: 16px;
  height: 16px;
  margin: 0 0 0.18rem 0.1rem;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  background: transparent;
}

.browser-tab-new::before,
.browser-tab-new::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: #5f6368;
  border-radius: 1px;
}

.browser-tab-new::before {
  width: 8px;
  height: 1.2px;
  transform: translate(-50%, -50%);
}

.browser-tab-new::after {
  width: 1.2px;
  height: 8px;
  transform: translate(-50%, -50%);
}

.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.4rem 0.28rem;
  background: #fff;
  border-bottom: 1px solid #dadce0;
}

.browser-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding-left: 0.1rem;
}

.browser-nav-btn {
  width: 9px;
  height: 9px;
  opacity: 0.5;
  background: #5f6368;
  clip-path: polygon(40% 0, 0 50%, 40% 100%, 40% 70%, 100% 70%, 100% 30%, 40% 30%);
}

.browser-nav-btn:nth-child(2) {
  opacity: 0.28;
  transform: scaleX(-1);
}

.browser-nav-reload {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.3px solid #5f6368;
  border-right-color: transparent;
  background: transparent;
  clip-path: none;
  opacity: 0.5;
  position: relative;
}

.browser-nav-reload::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  width: 3px;
  height: 3px;
  border-top: 1.3px solid #5f6368;
  border-right: 1.3px solid #5f6368;
  transform: rotate(40deg);
}

.browser-omnibox {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
  height: 20px;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: #f1f3f4;
  color: #3c4043;
  font-size: 0.62rem;
  font-weight: 500;
}

.browser-omnibox-lock {
  width: 6px;
  height: 7px;
  border: 1.2px solid #5f6368;
  border-radius: 1px;
  position: relative;
  flex-shrink: 0;
  opacity: 0.6;
}

.browser-omnibox-lock::before {
  content: "";
  position: absolute;
  left: 0.5px;
  top: -3.5px;
  width: 3px;
  height: 3.5px;
  border: 1.2px solid #5f6368;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
}

.browser-omnibox-url {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-toolbar-end {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.browser-toolbar-icon {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 50%, #5f6368 1.1px, transparent 1.2px),
    radial-gradient(circle at 50% 1.5px, #5f6368 1.1px, transparent 1.2px),
    radial-gradient(circle at 50% 9.5px, #5f6368 1.1px, transparent 1.2px);
  opacity: 0.5;
}

.browser-toolbar-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(145deg, #8ab4f8, #4a9fe8);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.browser-viewport {
  position: relative;
  background: #000;
  line-height: 0;
}

.browser-viewport img,
.hero-carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3840 / 1890;
  object-fit: cover;
  object-position: center top;
}

.hero-carousel-track {
  position: relative;
}

.hero-carousel-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.hero-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-carousel-slide:not(.is-active) {
  position: absolute;
  inset: 0;
}

.hero-carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42));
  color: rgba(16, 21, 28, 0.8);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    0 6px 18px rgba(10, 20, 40, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease,
    transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.25s ease;
}

.hero-carousel:hover .hero-carousel-nav,
.hero-carousel:focus-within .hero-carousel-nav {
  opacity: 1;
}

.hero-carousel-prev {
  left: 0.55rem;
}

.hero-carousel-next {
  right: 0.55rem;
}

.hero-carousel-nav:hover {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.6));
  color: var(--brand-deep);
  transform: translateY(-50%) scale(1.06);
  box-shadow:
    0 10px 24px rgba(10, 20, 40, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}

.hero-carousel-nav:active {
  transform: translateY(-50%) scale(0.94);
}

.hero-carousel-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  opacity: 1;
}

@media (hover: none) {
  .hero-carousel-nav {
    opacity: 0.85;
  }
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: calc(100% - 5.5rem);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.38));
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    0 6px 18px rgba(10, 20, 40, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.hero-carousel-dots::-webkit-scrollbar {
  display: none;
}

.hero-carousel-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 21, 28, 0.28);
  cursor: pointer;
  transition: width 0.3s cubic-bezier(0.32, 0.72, 0, 1), background 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-carousel-dot:hover {
  background: rgba(16, 21, 28, 0.5);
}

.hero-carousel-dot.is-active {
  width: 18px;
  background: linear-gradient(180deg, #3d9dff, var(--brand));
  box-shadow: 0 1px 4px rgba(10, 132, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-carousel-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero-visual-fallback {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 2rem;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, #1d334f, #2f5f8f 55%, #4a9fe8);
}

.hero-visual-fallback strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-slide {
    transition: none;
  }
}

@media (max-width: 900px) {
  .browser-tab-label {
    max-width: 72px;
  }

  .browser-omnibox {
    font-size: 0.68rem;
  }
}

.section {
  padding: 3.25rem 0;
}

#features.section {
  padding-bottom: 1.25rem;
}

#pricing.section {
  padding-top: 1.5rem;
}

/* Keep anchored sections clear of the floating glass nav. */
.section,
.hero {
  scroll-margin-top: 5.5rem;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40rem;
}

.feature-carousel {
  position: relative;
  padding: 0 0 2rem;
  background: none;
}

.feature-carousel-viewport {
  background: none;
}

.feature-carousel-track {
  display: grid;
  width: 100%;
  background: none;
}

.feature-page {
  grid-area: 1 / 1;
  min-width: 0;
  background: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.feature-page.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.feature-page:not(.is-active) .feature::before {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(var(--feature-cols, 3), minmax(0, 1fr));
  gap: 1rem;
  min-height: 100%;
  background: none;
  border: 0;
  box-shadow: none;
}

.feature-carousel-nav {
  position: absolute;
  top: calc(50% - 1.1rem);
  z-index: 2;
  transform: translateY(-50%);
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.46));
  color: rgba(16, 21, 28, 0.82);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    0 6px 18px rgba(10, 20, 40, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.25s ease, opacity 0.25s ease;
}

.feature-carousel:not(.has-pages) .feature-carousel-nav,
.feature-carousel:not(.has-pages) .feature-carousel-dots {
  display: none;
}

.feature-carousel-prev {
  left: -1.15rem;
}

.feature-carousel-next {
  right: -1.15rem;
}

.feature-carousel-nav:hover {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66));
  color: var(--brand-deep);
  transform: translateY(-50%) scale(1.06);
  box-shadow:
    0 10px 24px rgba(10, 20, 40, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}

.feature-carousel-nav:active {
  transform: translateY(-50%) scale(0.94);
}

.feature-carousel-nav:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.feature-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.38));
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    0 6px 18px rgba(10, 20, 40, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.feature-carousel-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 21, 28, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.feature-carousel-dot:hover {
  background: rgba(16, 21, 28, 0.45);
}

.feature-carousel-dot.is-active {
  background: var(--brand);
  transform: scale(1.2);
}

.feature-carousel-dot:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.feature-more {
  grid-column: span 2;
}

.download-panel {
  padding: 1.6rem 1.75rem;
  border-radius: var(--radius-lg);
}

.download-version {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.download-version strong {
  color: var(--ink);
  font-size: 1.15rem;
}

.download-hint {
  margin: 1rem 0 0;
}

.feature {
  position: relative;
  z-index: 0;
  padding: 1.35rem 1.4rem;
  border-radius: 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 10px 28px rgba(18, 42, 84, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.22) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  pointer-events: none;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 16px 36px rgba(18, 42, 84, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature:hover::before {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.3) 100%);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(var(--pricing-plan-count, 3), minmax(0, 1fr));
  gap: 1rem;
}

.pricing-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(10, 132, 255, 0.18), rgba(48, 209, 189, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--ink);
  text-align: center;
}

.pricing-promo[hidden] {
  display: none !important;
}

.pricing-promo-label {
  font-weight: 700;
}

.pricing-promo-countdown {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 750;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.plan-billing-slot {
  min-height: 1.6rem;
  margin-top: 0.35rem;
}

.plan-billing-static {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.plan-billing-toggle {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(16, 21, 28, 0.06);
  box-shadow: inset 0 1px 2px rgba(16, 21, 28, 0.08);
}

.plan-billing-option {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
}

.plan-billing-option.is-active {
  background: var(--control-fill);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.plan-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
  margin: 0.7rem 0 0.15rem;
}

.plan-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.plan-price-unit {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.plan-note {
  margin: 0 0 0.2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.plan-savings {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.plan-savings strong {
  font-weight: 800;
  color: var(--ink);
}

.plan-note + .plan-list,
.plan-note + .plan-list-compare {
  margin-top: 0.85rem;
}

.plan-compare-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.plan-discount {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(10, 157, 99, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.plan-list-compare {
  list-style: none;
  padding-left: 0;
}

.plan-list-compare li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.plan-list-compare li.is-off {
  opacity: 0.45;
}

.plan-feature-mark {
  flex: 0 0 auto;
  width: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.plan-list-compare li.is-off .plan-feature-mark {
  color: #9aa7b8;
}

.plan-feature-text {
  flex: 1;
}

.btn.is-disabled,
a.btn.is-disabled,
.btn:disabled {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.price-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.price-card.featured {
  border-color: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(170deg, rgba(10, 132, 255, 0.18), rgba(255, 255, 255, 0.62) 46%),
    var(--glass-tint-strong);
  box-shadow: var(--shadow), var(--glass-sheen);
}

.plan-name {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.plan-price-alt {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.plan-price-alt span {
  font-size: 0.88rem;
  font-weight: 600;
}

.plan-list {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  flex: 1;
}

.plan-list li + li {
  margin-top: 0.35rem;
}

.price-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.price-card .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.billing-note {
  margin-top: 1rem;
  padding: 1.05rem 1.25rem;
  background: linear-gradient(155deg, rgba(255, 214, 158, 0.5), rgba(255, 255, 255, 0.5));
  border-color: rgba(255, 255, 255, 0.6);
  color: #7c3f0a;
  font-size: 0.95rem;
}

.update-list {
  display: grid;
  gap: 0.9rem;
}

.update-item {
  padding: 1.15rem 1.35rem;
}

.update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.update-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.update-item p {
  margin: 0;
  color: var(--ink-soft);
}

.support-panel,
.legal-card {
  padding: 1.5rem 1.7rem;
  border-radius: var(--radius-lg);
}

.support-panel a.mail {
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}

.legal-page {
  padding: 2.5rem 0 4rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.legal-meta {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
}

.legal-card h2 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.15rem;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
}

.legal-card ul {
  padding-left: 1.2rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.6));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

[data-lang="en"] [data-i18n-zh],
[data-lang="zh"] [data-i18n-en] {
  display: none;
}

.lang-select {
  appearance: none;
  border: 1px solid var(--glass-stroke);
  background: var(--control-fill);
  box-shadow: var(--glass-sheen);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 1.7rem 0.35rem 0.75rem;
  max-width: min(11.5rem, 42vw);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 55%,
    calc(100% - 9px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.lang-select:hover,
.lang-select:focus {
  border-color: rgba(10, 132, 255, 0.55);
  outline: none;
}

.mail-nav {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
}

.mail-nav:hover {
  color: var(--brand-deep);
}

.footer-support {
  margin-top: 0.35rem;
}

.footer-support a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.footer-support a:hover {
  color: var(--brand-deep);
}

.plan-price-alt[hidden] {
  display: none !important;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes aurora {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1.02) rotate(0.5deg);
  }
  to {
    transform: translate3d(2%, 1.5%, 0) scale(1.06) rotate(-0.5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }

  .hero-visual {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(var(--feature-cols, 1), minmax(0, 1fr));
  }

  .feature-carousel {
    padding: 0 0 1.85rem;
  }

  .feature-carousel-prev {
    left: -0.35rem;
  }

  .feature-carousel-next {
    right: -0.35rem;
  }

  .feature-more {
    grid-column: auto;
  }

  .hero {
    padding-top: 2.5rem;
    gap: 1.5rem;
    width: min(1080px, calc(100% - 2rem));
  }

  .hero-visual {
    margin-left: 0;
  }

  .nav-links .hide-sm {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-lg);
  }

  .nav-links {
    justify-content: center;
    gap: 0.5rem 0.75rem;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(var(--feature-cols, 2), minmax(0, 1fr));
  }

  .feature-more {
    grid-column: 1 / -1;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f7fa;
    --ink-soft: rgba(245, 247, 250, 0.66);
    --paper: #0a0d13;
    --line: rgba(255, 255, 255, 0.12);
    --brand: #0a84ff;
    --brand-deep: #64b1ff;
    --brand-soft: rgba(10, 132, 255, 0.22);
    --accent: #30d183;

    --glass-tint: linear-gradient(155deg, rgba(60, 68, 84, 0.55), rgba(24, 28, 38, 0.42));
    --glass-tint-strong: linear-gradient(155deg, rgba(70, 78, 96, 0.66), rgba(26, 30, 40, 0.58));
    --glass-stroke: rgba(255, 255, 255, 0.16);
    --glass-sheen:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    --control-fill: rgba(255, 255, 255, 0.16);

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  }

  body::before {
    filter: blur(46px) saturate(130%);
    opacity: 0.72;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .feature {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  .feature::before {
    background:
      linear-gradient(165deg, rgba(70, 78, 96, 0.48) 0%, rgba(24, 28, 38, 0.28) 100%);
  }

  .feature:hover {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow:
      0 16px 36px rgba(0, 0, 0, 0.36),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  .feature:hover::before {
    background:
      linear-gradient(165deg, rgba(78, 86, 104, 0.56) 0%, rgba(28, 32, 42, 0.36) 100%);
  }

  .feature-carousel-nav {
    background: linear-gradient(160deg, rgba(70, 78, 96, 0.72), rgba(26, 30, 40, 0.58));
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(245, 247, 250, 0.88);
  }

  .feature-carousel-nav:hover {
    color: #fff;
  }

  .feature-carousel-dots {
    background: linear-gradient(160deg, rgba(70, 78, 96, 0.72), rgba(26, 30, 40, 0.5));
    border-color: rgba(255, 255, 255, 0.16);
  }

  .feature-carousel-dot {
    background: rgba(245, 247, 250, 0.35);
  }

  .feature-carousel-dot:hover {
    background: rgba(245, 247, 250, 0.55);
  }

  .feature-carousel-dot.is-active {
    background: var(--brand);
  }

  .price-card.featured {
    background:
      linear-gradient(170deg, rgba(10, 132, 255, 0.34), rgba(30, 36, 48, 0.5) 46%),
      var(--glass-tint-strong);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .pricing-promo {
    background: linear-gradient(120deg, rgba(10, 132, 255, 0.32), rgba(48, 209, 189, 0.24));
    border-color: rgba(255, 255, 255, 0.2);
  }

  .billing-note {
    background: linear-gradient(155deg, rgba(180, 83, 9, 0.32), rgba(30, 24, 18, 0.5));
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffd9a8;
  }

  .plan-billing-toggle {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  }

  .plan-list-compare li.is-off .plan-feature-mark {
    color: rgba(245, 247, 250, 0.4);
  }

  .site-footer {
    background: linear-gradient(180deg, rgba(20, 24, 32, 0.35), rgba(14, 18, 24, 0.6));
    border-top-color: rgba(255, 255, 255, 0.12);
  }
}

/* Bookmark templates gallery */
.templates-page .templates-main {
  padding: 2.5rem 0 4rem;
}

.templates-hero {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.templates-hero h1 {
  margin: 0.25rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.templates-lead {
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.templates-hint {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.templates-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* Author display rules must not override the hidden attribute. */
#templates-list[hidden],
.templates-filters[hidden],
.templates-grid[hidden],
.templates-detail[hidden],
.templates-state[hidden] {
  display: none !important;
}

.templates-filter {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  padding: 0.42rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 550;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.templates-filter:hover {
  border-color: rgba(10, 132, 255, 0.35);
  background: rgba(255, 255, 255, 0.7);
}

.templates-filter.is-active {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

.templates-state {
  padding: 1.5rem 0;
  color: var(--ink-soft);
}

.template-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.15rem 1.05rem;
  border-radius: var(--radius);
  min-height: 100%;
}

.template-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
}

.template-card-category {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.template-card-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.template-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.template-card-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  flex: 1;
}

.template-card-favicons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 18px;
}

.template-card-favicons img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
}

.template-card-actions {
  margin-top: 0.35rem;
}

.template-card-actions .btn {
  width: 100%;
  justify-content: center;
}

.templates-detail {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 1.5rem 1.4rem 1.4rem;
  border-radius: var(--radius-lg);
}

.templates-back {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--brand-deep);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 550;
  padding: 0;
  margin: 0 0 0.85rem;
  cursor: pointer;
}

.templates-back:hover {
  color: var(--ink);
}

.templates-detail h2 {
  margin: 0.15rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.templates-detail-desc {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .templates-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  .templates-filter {
    background: rgba(255, 255, 255, 0.06);
  }

  .templates-filter:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .template-card-favicons img {
    background: rgba(255, 255, 255, 0.08);
  }
}

/* Shared folder viewer */
.share-page .share-main {
  padding: 2.5rem 0 4rem;
}

.share-panel {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
}

.share-state h1,
.share-content h1 {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.share-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.share-meta {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.share-unlock-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.share-unlock-form input {
  flex: 1 1 220px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--control-fill);
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
}

.share-error {
  margin: 0.75rem 0 0;
  color: #b42318;
  font-size: 0.9rem;
}

.share-tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.share-tree > ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.share-folder-node {
  margin: 0.35rem 0;
}

.share-folder-heading {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.55rem 0 0.35rem;
  color: var(--ink);
}

.share-folder-node > ul {
  margin-left: 0.85rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.share-bookmark a {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.share-bookmark a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.share-bookmark img {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.share-bookmark-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 500;
}

.share-bookmark-host {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 160px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.share-cta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.share-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.share-import-status {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.share-import-status.is-error {
  color: #c43c31;
}

.share-empty {
  color: var(--ink-soft);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-color-scheme: dark) {
  .share-bookmark a {
    background: rgba(255, 255, 255, 0.05);
  }

  .share-bookmark a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .share-error {
    color: #ff8d82;
  }

  .share-import-status.is-error {
    color: #ff8d82;
  }
}
